After dist-upgrading to Ubuntu 12.10, updating to the latest Geany and Geany-plugins doesn't seem to work:
$ geany -V geany 1.23 (git >= d019741) (built on Dec 4 2012 with GTK 2.24.13, GLib 2.34.0)
$ ./waf configure && ./waf build Setting top to : /home/harold/src/geany-plugins Setting out to : /home/harold/src/geany-plugins/_build_ Checking for waf version in 1.6.1-1.7.0 : ok Checking for 'gcc' (c compiler) : ok Checking for program pkg-config : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.16.0 : yes Checking for 'geany' >= 1.23 : not found The configuration failed (complete log in /home/harold/src/geany-plugins/_build_/config.log)
$ cat /home/harold/src/geany-plugins/_build_/config.log ... Checking for 'geany' >= 1.23 ['/usr/bin/pkg-config', '--atleast-version=1.23', 'geany'] not found from /home/harold/src/geany-plugins: The configuration failed
Geany is prefixed with /usr/local, just like -plugins defaults to.
Is this an Ubuntu error, user error, or is something wrong in the configure waf script of geany-plugins?
Cheers!
Harold
On Tue, Dec 04, 2012 at 01:24:33PM +0100, Harold Aling wrote:
After dist-upgrading to Ubuntu 12.10, updating to the latest Geany and Geany-plugins doesn't seem to work:
$ geany -V geany 1.23 (git >= d019741) (built on Dec 4 2012 with GTK 2.24.13, GLib 2.34.0)
$ ./waf configure && ./waf build Setting top to : /home/harold/src/geany-plugins Setting out to : /home/harold/src/geany-plugins/_build_ Checking for waf version in 1.6.1-1.7.0 : ok Checking for 'gcc' (c compiler) : ok Checking for program pkg-config : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.16.0 : yes Checking for 'geany' >= 1.23 : not found The configuration failed (complete log in /home/harold/src/geany-plugins/_build_/config.log)
$ cat /home/harold/src/geany-plugins/_build_/config.log ... Checking for 'geany' >= 1.23 ['/usr/bin/pkg-config', '--atleast-version=1.23', 'geany'] not found from /home/harold/src/geany-plugins: The configuration failed
Geany is prefixed with /usr/local, just like -plugins defaults to.
Is this an Ubuntu error, user error, or is something wrong in the configure waf script of geany-plugins?
pkg-config will not search in /usr/local by default. Try setting PKG_CONFIG_PATH to /usr/local/lib/pkgconfig
Cheers,
On 04/12/2012 20:35, Quentin Glidic wrote:
On Tue, Dec 04, 2012 at 01:24:33PM +0100, Harold Aling wrote:
After dist-upgrading to Ubuntu 12.10, updating to the latest Geany and Geany-plugins doesn't seem to work:
$ geany -V geany 1.23 (git >= d019741) (built on Dec 4 2012 with GTK 2.24.13, GLib 2.34.0)
$ ./waf configure && ./waf build Setting top to : /home/harold/src/geany-plugins Setting out to : /home/harold/src/geany-plugins/_build_ Checking for waf version in 1.6.1-1.7.0 : ok Checking for 'gcc' (c compiler) : ok Checking for program pkg-config : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.16.0 : yes Checking for 'geany' >= 1.23 : not found The configuration failed (complete log in /home/harold/src/geany-plugins/_build_/config.log)
$ cat /home/harold/src/geany-plugins/_build_/config.log ... Checking for 'geany' >= 1.23 ['/usr/bin/pkg-config', '--atleast-version=1.23', 'geany'] not found from /home/harold/src/geany-plugins: The configuration failed
Geany is prefixed with /usr/local, just like -plugins defaults to.
Is this an Ubuntu error, user error, or is something wrong in the configure waf script of geany-plugins?
pkg-config will not search in /usr/local by default. Try setting PKG_CONFIG_PATH to /usr/local/lib/pkgconfig
If you use autotools, it'll automatically find the geany in the --prefix you use to configure geany-plugins.
On Tue, Dec 4, 2012 at 1:53 PM, Chow Loong Jin hyperair@debian.org wrote:
On 04/12/2012 20:35, Quentin Glidic wrote:
On Tue, Dec 04, 2012 at 01:24:33PM +0100, Harold Aling wrote:
After dist-upgrading to Ubuntu 12.10, updating to the latest Geany and Geany-plugins doesn't seem to work:
$ geany -V geany 1.23 (git >= d019741) (built on Dec 4 2012 with GTK 2.24.13, GLib 2.34.0)
$ ./waf configure && ./waf build Setting top to : /home/harold/src/geany-plugins Setting out to : /home/harold/src/geany-plugins/_build_ Checking for waf version in 1.6.1-1.7.0 : ok Checking for 'gcc' (c compiler) : ok Checking for program pkg-config : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.16.0 : yes Checking for 'geany' >= 1.23 : not found The configuration failed (complete log in /home/harold/src/geany-plugins/_build_/config.log)
$ cat /home/harold/src/geany-plugins/_build_/config.log ... Checking for 'geany' >= 1.23 ['/usr/bin/pkg-config', '--atleast-version=1.23', 'geany'] not found from /home/harold/src/geany-plugins: The configuration failed
Geany is prefixed with /usr/local, just like -plugins defaults to.
Is this an Ubuntu error, user error, or is something wrong in the configure waf script of geany-plugins?
pkg-config will not search in /usr/local by default. Try setting PKG_CONFIG_PATH to /usr/local/lib/pkgconfig
If you use autotools, it'll automatically find the geany in the --prefix you use to configure geany-plugins.
Ah, didn't know I could also use that, I alway used the waf script ...
$ ./autogen.sh --prefix=/usr/local ... checking pkg-config is at least version 0.9.0... yes checking for GEANY... no configure: error: Package requirements (geany >= 1.23) were not met:
Requested 'geany >= 1.23' but version of Geany is 1.22
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.
-H-
On 04/12/2012 20:58, Harold Aling wrote:
On Tue, Dec 4, 2012 at 1:53 PM, Chow Loong Jin hyperair@debian.org wrote:
On 04/12/2012 20:35, Quentin Glidic wrote:
On Tue, Dec 04, 2012 at 01:24:33PM +0100, Harold Aling wrote:
After dist-upgrading to Ubuntu 12.10, updating to the latest Geany and Geany-plugins doesn't seem to work:
$ geany -V geany 1.23 (git >= d019741) (built on Dec 4 2012 with GTK 2.24.13, GLib 2.34.0)
$ ./waf configure && ./waf build Setting top to : /home/harold/src/geany-plugins Setting out to : /home/harold/src/geany-plugins/_build_ Checking for waf version in 1.6.1-1.7.0 : ok Checking for 'gcc' (c compiler) : ok Checking for program pkg-config : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.16.0 : yes Checking for 'geany' >= 1.23 : not found The configuration failed (complete log in /home/harold/src/geany-plugins/_build_/config.log)
$ cat /home/harold/src/geany-plugins/_build_/config.log ... Checking for 'geany' >= 1.23 ['/usr/bin/pkg-config', '--atleast-version=1.23', 'geany'] not found from /home/harold/src/geany-plugins: The configuration failed
Geany is prefixed with /usr/local, just like -plugins defaults to.
Is this an Ubuntu error, user error, or is something wrong in the configure waf script of geany-plugins?
pkg-config will not search in /usr/local by default. Try setting PKG_CONFIG_PATH to /usr/local/lib/pkgconfig
If you use autotools, it'll automatically find the geany in the --prefix you use to configure geany-plugins.
Ah, didn't know I could also use that, I alway used the waf script ...
$ ./autogen.sh --prefix=/usr/local ... checking pkg-config is at least version 0.9.0... yes checking for GEANY... no configure: error: Package requirements (geany >= 1.23) were not met:
Requested 'geany >= 1.23' but version of Geany is 1.22
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.
Oh hang on, are you sure you have a new enough geany?
$ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig pkg-config --modversion geany
Am 2012-12-04 13:58, schrieb Harold Aling:
On Tue, Dec 4, 2012 at 1:53 PM, Chow Loong Jin hyperair@debian.org wrote:
On 04/12/2012 20:35, Quentin Glidic wrote:
On Tue, Dec 04, 2012 at 01:24:33PM +0100, Harold Aling wrote:
After dist-upgrading to Ubuntu 12.10, updating to the latest Geany and Geany-plugins doesn't seem to work:
$ geany -V geany 1.23 (git >= d019741) (built on Dec 4 2012 with GTK 2.24.13, GLib 2.34.0)
$ ./waf configure && ./waf build Setting top to : /home/harold/src/geany-plugins Setting out to : /home/harold/src/geany-plugins/_build_ Checking for waf version in 1.6.1-1.7.0 : ok Checking for 'gcc' (c compiler) : ok Checking for program pkg-config : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.16.0 : yes Checking for 'geany' >= 1.23 : not found The configuration failed (complete log in /home/harold/src/geany-plugins/_build_/config.log)
$ cat /home/harold/src/geany-plugins/_build_/config.log ... Checking for 'geany' >= 1.23 ['/usr/bin/pkg-config', '--atleast-version=1.23', 'geany'] not found from /home/harold/src/geany-plugins: The configuration failed
Geany is prefixed with /usr/local, just like -plugins defaults to.
Is this an Ubuntu error, user error, or is something wrong in the configure waf script of geany-plugins?
pkg-config will not search in /usr/local by default. Try setting PKG_CONFIG_PATH to /usr/local/lib/pkgconfig
If you use autotools, it'll automatically find the geany in the --prefix you use to configure geany-plugins.
Ah, didn't know I could also use that, I alway used the waf script ...
$ ./autogen.sh --prefix=/usr/local ... checking pkg-config is at least version 0.9.0... yes checking for GEANY... no configure: error: Package requirements (geany >= 1.23) were not met:
Requested 'geany >= 1.23' but version of Geany is 1.22
Please run a ./waf clean on geany-sources and install it again. For some reason the version number seems not to be updated after 1.22 when using waf.
Cheers, Frank
On Tue, Dec 4, 2012 at 1:35 PM, Quentin Glidic sardemff7+geany@sardemff7.net wrote:
On Tue, Dec 04, 2012 at 01:24:33PM +0100, Harold Aling wrote:
After dist-upgrading to Ubuntu 12.10, updating to the latest Geany and Geany-plugins doesn't seem to work:
$ geany -V geany 1.23 (git >= d019741) (built on Dec 4 2012 with GTK 2.24.13, GLib 2.34.0)
$ ./waf configure && ./waf build Setting top to : /home/harold/src/geany-plugins Setting out to : /home/harold/src/geany-plugins/_build_ Checking for waf version in 1.6.1-1.7.0 : ok Checking for 'gcc' (c compiler) : ok Checking for program pkg-config : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.16.0 : yes Checking for 'geany' >= 1.23 : not found The configuration failed (complete log in /home/harold/src/geany-plugins/_build_/config.log)
$ cat /home/harold/src/geany-plugins/_build_/config.log ... Checking for 'geany' >= 1.23 ['/usr/bin/pkg-config', '--atleast-version=1.23', 'geany'] not found from /home/harold/src/geany-plugins: The configuration failed
Geany is prefixed with /usr/local, just like -plugins defaults to.
Is this an Ubuntu error, user error, or is something wrong in the configure waf script of geany-plugins?
pkg-config will not search in /usr/local by default. Try setting PKG_CONFIG_PATH to /usr/local/lib/pkgconfig
Cheers,
$ pkg-config --variable pc_path pkg-config /usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
So it seems /usr/local is already in the pkg-config ... trying your suggeston anyway:
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig $ ./waf configure && ./waf build Setting top to : /home/harold/src/geany-plugins Setting out to : /home/harold/src/geany-plugins/_build_ Checking for waf version in 1.6.1-1.7.0 : ok Checking for 'gcc' (c compiler) : ok Checking for program pkg-config : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.16.0 : yes Checking for 'geany' >= 1.23 : not found The configuration failed (complete log in /home/harold/src/geany-plugins/_build_/config.log)
I built geany-plugins many times before without any problems (with the build process ;))
-H-
On Tue, Dec 04, 2012 at 01:54:20PM +0100, Harold Aling wrote:
$ pkg-config --variable pc_path pkg-config /usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
So it seems /usr/local is already in the pkg-config ... trying your suggeston anyway:
That sounds good yes.
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig $ ./waf configure && ./waf build Setting top to : /home/harold/src/geany-plugins Setting out to : /home/harold/src/geany-plugins/_build_ Checking for waf version in 1.6.1-1.7.0 : ok Checking for 'gcc' (c compiler) : ok Checking for program pkg-config : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.16.0 : yes Checking for 'geany' >= 1.23 : not found The configuration failed (complete log in /home/harold/src/geany-plugins/_build_/config.log)
I built geany-plugins many times before without any problems (with the build process ;))
Is the geany.pc file correctly installed?
Also, does it work using autotools? (They’re mostly clean now, don’t be afraid! ;-) )
On Tue, Dec 4, 2012 at 2:01 PM, Quentin Glidic sardemff7+geany@sardemff7.net wrote:
On Tue, Dec 04, 2012 at 01:54:20PM +0100, Harold Aling wrote:
$ pkg-config --variable pc_path pkg-config /usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig
So it seems /usr/local is already in the pkg-config ... trying your suggeston anyway:
That sounds good yes.
$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig $ ./waf configure && ./waf build Setting top to : /home/harold/src/geany-plugins Setting out to : /home/harold/src/geany-plugins/_build_ Checking for waf version in 1.6.1-1.7.0 : ok Checking for 'gcc' (c compiler) : ok Checking for program pkg-config : /usr/bin/pkg-config Checking for 'gtk+-2.0' >= 2.16.0 : yes Checking for 'geany' >= 1.23 : not found The configuration failed (complete log in /home/harold/src/geany-plugins/_build_/config.log)
I built geany-plugins many times before without any problems (with the build process ;))
Is the geany.pc file correctly installed?
Ah, there's my problem!
$ cat /usr/local/lib/pkgconfig/geany.pc prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include datarootdir=${prefix}/share datadir=${datarootdir} localedir=${datarootdir}/locale
Name: Geany Description: A fast and lightweight IDE using GTK2 Requires: gtk+-2.0 >= 2.16.0 glib-2.0 >= 2.20.0 Version: 1.22 Libs: -L${libdir} Cflags: -DGTK -I${includedir}/geany -I${includedir}/geany/tagmanager -I${includedir}/geany/scintilla
$ ls -la /usr/local/lib/pkgconfig/geany.pc -rw-r--r-- 1 root root 423 May 2 2012 /usr/local/lib/pkgconfig/geany.pc
I have an old geany.pc installed! Rebuilding Geany using waf configure && waf build && waf install doesn't replace it ...
Using autogen && make && make install produced a current geany.pc:
$ ls -la /usr/local/lib/pkgconfig/geany.pc -rw-r--r-- 1 root root 420 Dec 4 14:16 /usr/local/lib/pkgconfig/geany.pc $ cat /usr/local/lib/pkgconfig/geany.pc prefix=/usr/local exec_prefix=/usr/local libdir=${exec_prefix}/lib includedir=${prefix}/include datarootdir=${prefix}/share datadir=${datarootdir} localedir=${datarootdir}/locale
Name: Geany Description: A fast and lightweight IDE using GTK2 Requires: gtk+-2.0 >= 2.16 glib-2.0 >= 2.20 Version: 1.23 Libs: -L${libdir} Cflags: -DGTK -I${includedir}/geany -I${includedir}/geany/tagmanager -I${includedir}/geany/scintilla
... and geany-plugins can be built again!
Thanks!
-H-