Can't compile, can't find libgc
When I try to configure Inkscape 0.44, I get a message:
checking gc.h usability... yes checking gc.h presence... yes checking for gc.h... yes checking for GC_init in -lgc... yes checking libgc version 6.4+... 6.3.255 no configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc
I have libgc 6.7 installed, so I'm not certain why Inkscape doesn't like it. Any ideas?
Slackware 10.2
--------------------------------- Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
Spectre wrote:
When I try to configure Inkscape 0.44, I get a message:
checking gc.h usability... yes checking gc.h presence... yes checking for gc.h... yes checking for GC_init in -lgc... yes checking libgc version 6.4+... 6.3.255 no configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc
I have libgc 6.7 installed, so I'm not certain why Inkscape doesn't like it. Any ideas?
Slackware 10.2
Some questions first: - Did you just do "./configure" or did you explicitly specify the gc path? - gc isn't a slackware package, where did you download it from? Or did you compile it from source?
Basically this is the little test program (modified from "configure" file) to extract the gc version:
#ifdef HAVE_GC_GC_H # include <gc/gc.h> #else # include <gc.h> #endif #include <stdio.h> extern unsigned GC_version; int main(void){ printf("%d.%d.%d\n",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF); return 0; }
(Don't forget to compile with '-l gc' flag, or else GC_version symbol will not be found)
Once this little program prints a valid version number (6.4+), the "configure" script will work fine.
I am also running Slackware-current and I didn't have any problems at all with the configuration script.
- Spyros Blanas
checking for GC_init in -lgc... yes checking libgc version 6.4+... 6.3.255 no configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc
I have libgc 6.7 installed, so I'm not certain why Inkscape doesn't like it. Any ideas?
Please check with "ldconfig -v |grep libgc" which of these is in your LDPATH and in which order. Try again after it, since you might have forgotten ldconfig anyway after make install of libgc.
ralf
participants (3)
-
Ralf Stephan
-
Spectre
-
Spyros Blanas