[Geany-Devel] Can't build geany-plugins

Harold Aling geany at sait.nl
Tue Dec 4 12:54:20 UTC 2012


On Tue, Dec 4, 2012 at 1:35 PM, Quentin Glidic
<sardemff7+geany at 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-


More information about the Devel mailing list