#39 cannot compile sentry

closed
nobody
Bug (11)
5
2009-06-07
2009-05-21
Alex Coppens
No

It's not really a 'bug' (actually it might be) but I cannot install bot sentry :

./configure
....
checking purple_prefix... /usr
checking purple_exec_prefix... /usr
checking purple_libdir... /usr/lib
checking plugindir... ${exec_prefix}/lib/purple-2
checking locale_CPPFLAGS... -DLOCALEDIR=\"$(prefix)/$(DATADIRNAME)/locale\"
checking for library containing g_get_current_time... no
configure: error: cannot link to glib-2.0

I am running Linux Mint 6 (based on ubuntu 8.10) and pidgin 2.5.5.

Discussion

  • David Everly
    David Everly
    2009-05-22

    • status: open --> pending
     
  • David Everly
    David Everly
    2009-05-22

    I can't tell from what little is here, and I don't have Mint. I do use Debian. If the packages are the same, then you'll need to run 'apt-get install pidgin-dev' before trying to build bot-sentry.

    If you still have trouble, please provide the the full output of configure, including the command line and also config.log which is created from running configure.

     
  • Alex Coppens
    Alex Coppens
    2009-05-23

    • status: pending --> open
     
  • David Everly
    David Everly
    2009-05-23

    This is the problem:

    configure:21271: gcc -o conftest -g -O2 -DLOCALEDIR=\"$(prefix)/$(DATADIRNAME)/locale\" -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lpurple -lglib-2.0 conftest.c >&5
    <command-line>: warning: missing terminating " character
    /usr/bin/ld: cannot find -lpurple

    configure runs the following (among other things) to get the correct parameters:

    pkg-config --libs purple

    On my system, '-lpurple -lglib-2.0' is returned

    Then it tries a compiling a small program, but on your system that doesn't work (as noted above) because it can't find a necessary pidgin library: libpurple.so.

    On my system this library is here: /usr/lib/libpurple.so

    Given the output of your config.log, your pkg-config is also expecting this to be the case on your system:

    configure:21142: checking purple_LIBS
    configure:21145: result: -lpurple -lglib-2.0

    But as noted above it can't find libpurple.so on your system.

    Unfortunately, I'm not sure what the next step should be for you. If you already have pidgin-dev installed on your system, then it should have brought in libpurple-dev, which contains /usr/lib/libpurple.so.

    Does 'dpkg -l libpurple-dev' and 'dpkg-l 'pidgin-dev' indicate these are installed? Or did you compile and install pidgin from source?

     
  • David Everly
    David Everly
    2009-05-23

    • status: open --> pending
     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed