According to the instructions I should be able to run either ./configure or ./autogen.sh, however, configure file is missing and autogen.sh fails because "macro AM_GLIB_GNU_GETTEXT not found in library".
Should the ./configure file exist or should the instructions be corrected? I assume autogen.sh fails because of missing dependencies? Can they be pulled in automatically?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379
The configure is not supposed to exist in the Git tree, only in tarballs. Git trees require you to run *autogen.sh*. To generate it properly you need GLib's development files.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191430331
I used yum to install glib-devel which I think is the Centos/RHEL version of Glib's development files. Even so, running ./autogen.sh in the geany-plugin directory failed with the exact same error message as below. Did I misunderstand what I need to do?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191929162
Google told me something like glib2-devel -- give it a try.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191930984
also you'll need gettext and others, but it shouldn't be the reason here. Anyway, a Fedora .spec file suggests you need glib2-devel, gtk2-devel, pango-devel, gettext and intltool.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191932871
Thank you, have installed all of the above. Now I get as far as: "checking for GEANY... configure: error: Package requirements (geany >= 1.26) were not met: No package 'geany' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables GEANY_CFLAGS and GEANY_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." Version 1.26 of geany is indeed installed and PKG_CONFIG_PATH is empty.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191938915
I should have mentioned that geany is installed in /usr/bin/geany and can be found in the path.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191941842
Are there also the dev-files of Geany installed?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191943509
I have the geany-libgeany-1.26 package installed. Are you thinking of another package?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191947440
If you are using geany-plugins from current git repo it depends on Geany 1.27. You will need to install geany 1.27 too (not yet release) or use geany-plugins 1.26
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191949549
@hg2581 what does `pkg-config --modversion geany` tells you? and if it says it doesn't find any packages like this, check whether you have a file named *geany.pc* somewhere, likely in */usr/lib/pkgconfig* or */usr/local/lib/pkgconfig*. If you don't have this file anywhere on your system, then the development files for Geany aren't properly installed.
BTW, I could imagine your distro having something like *geany-devel*, *geany-libgeany-1.26-devel* or alike, in which case you should install it to get the appropriate development files.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191954650
But @frlan in right, if you want to build the development version of Geany-Plugins, you'll need the development version of Geany for several of them.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-191955138
autogen.sh from github tests for geany version 1.26, not for version 1.27.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-192461399
Yes, I used the git source, now I downloaded the plugins version 1.26 and tried to run ./configure but encountered the same error message. pkg-config --modversion geany tells me: "Package geany was not found in the pkg-config search path. Perhaps you should add the directory containing `geany.pc' to the PKG_CONFIG_PATH environment variable No package 'geany' found" I then looked for geany.pc but it is not on the system. Unfortunately "yum install geany-devel" finds version 1.24 in EPEL but I have version 1.26 of geany installed from melvilletheatre. Next step: where do I find the development files for geany 1.26 and what do I need to do? And, could we get the current version of geany and associated files into EPEL? Thank you for your help!
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-192463987
On 04.03.2016 21:45, hg2581 wrote:
autogen.sh from github tests for geany version 1.26, not for version 1.27.
Actually this is true. But most liekly will not work.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-192465461
Well... either ask your distributor to package a newer version of Geany or install your complete Geany stack from source and don't depend on Centos packages. You can download the latest stable versions from geany.org or do a git clone for most recent development version from https://github.com/geany/geany
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-192466351
How do I get any missing development files for geany? I have already installed gtk2-devel and intltool mentioned on http://www.geany.org/manual/reference/howto.html.
Apparently geany.pc is missing?
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-192479260
*geany.pc* is installed by Geany. If you built Geany from source, it'll likely be installed to `/usr/local/lib/pkgconfig`. If your system doesn't use this path for looking up pkg-config files by default, alter the `PKG_CONFIG_PATH` variable before running Geany-Plugin's configure script: `export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"`, then `./configure`. It should also allow `pkg-config --modversion geany` to find Geany and show you the installed version number.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-192483172
Also use the weird `--with-geany-libdir=/the/prefix/lib` option to Geany-Plugins' `configure` script, I think it might affect the pkg-config lookup path.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-192544182
Closed #379.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#event-587748899
I know this is closed, but just in case somebody else runs into this issue - I installed geany-devel and it fixed the issue.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/issues/379#issuecomment-238038377
bbrady1992's answer works for me.
In Centos, $ sudo yum install geany-devel
solves: "checking for GEANY... configure: error: Package requirements (geany >= 1.26) were not met: No package 'geany' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables GEANY_CFLAGS and GEANY_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details."
github-comments@lists.geany.org