Re: [Evolution-hackers] looking for a bit of help with a build failure



On Mon, 2014-05-05 at 09:37 +0200, Milan Crha wrote:
On Fri, 2014-05-02 at 14:02 +0000, Reid Thompson wrote:
$ env |egrep "PKG|LD"
LD_LIBRARY_PATH=/opt/evo/lib
PKG_CONFIG_PATH=/opt/evo/lib/pkgconfig/

$ pkg-config -version
0.28

      Hi,
I have the same pkg-config version and the .pc file content (except of
version, it shows 3.13.2 for me), but the output is correct for me.
Please run:
  $ pkg-config --libs libedataserver-1.2 --debug

do not paste it here, the debugging info is too long, but check where it
got it. The most interesting part starts at lines which contain "from
file" string. I used:
  $ pkg-config --libs libedataserver-1.2 --debug 2>&1 | grep "from file"
to see that
   Reading 'libedataserver-1.2' from file '$PREFIX/lib/pkgconfig/libedataserver-1.2.pc'
and the rest of the required libraries goes from the system directory
for me. The thing is that the debug output of pkg-config shows many
useful details, thus it's possible to see where the values are taken
from. I hope it'll shed some light on the issue.

Also, I guess "Path position" defines how the string is concatenated,
where it prints to me 1 for libedataserver-1.2 and camel-1.2, and number
3 for anything else. If the libedataserver-1.2 looks correct, can the
problem be with camel-1.2?
      Bye,
      Milan

ugh - Thank you for the help Milan, and sorry for the noise.  Your
request to ask for --debug information led me to the answer.  pkg-config
responded that --debug was an unknown option, which led me to discover
that my distro had defaulted to installing

     Homepage:            https://github.com/pkgconf/pkgconf
     Description:         pkg-config compatible replacement with no dependencies other than ANSI C89

rather than 

     Homepage:            http://pkgconfig.freedesktop.org/wiki/
     Description:         Package config system that manages compile/link flags

once I corrected that, things appeared as they should.

Again, thank you, and sorry for the noise.

reid




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]