On Friday 31 July 2009 09:07:18 am 野宮 賢 / NOMIYA Masaru wrote:
Hello,
In the Message;
Subject : Re: [opensuse] Frustrated building inkscape 0.47, issue should be simple, just need a bit of help. Message-ID : <200907310858.50149.drankinatty@suddenlinkmail.com> Date & Time: Fri, 31 Jul 2009 08:58:49 -0500
[David] == "David C. Rankin"
has written: Me>> In my case, I could compile inkscape-0.47pre1.tar.bz2 without any probs. Me>> But, mine is openSUSE 11.1. [...] David> So I know that the problem is the libgc.so.1 library config David> issue on the 11.0 box. The question is how do I fix it? or where David> do I put additional compile flags or link options to get around David> it? How do I tell ldconfig to fix it??
How about this;
$ export LDFLAGS="-llibgc" $ ./configure --prefix=/usr
Regards,
--- 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp
「eメールや携帯電話に縛られた社会は、自分自身と向き合ったり、 空想にふけったりする自由を奪う。」 -- M. Crichton --
AARGH, what in the heck is going on?? After setting LDFLAGS (export LDFLAGS="-llibgc") config.log says: configure:2875: checking for C++ compiler default output file name configure:2902: g++ -llibgc conftest.cpp -l/usr/lib/libgc.so.1 >&5 /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -llibgc collect2: ld returned 1 exit status configure:2905: $? = 1 configure:2943: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "inkscape" | #define PACKAGE_TARNAME "inkscape" | #define PACKAGE_VERSION "0.46+devel" | #define PACKAGE_STRING "inkscape 0.46+devel" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "inkscape" | #define VERSION "0.46+devel" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2950: error: C++ compiler cannot create executables See `config.log' for more details. After setting LIBS (export LIBS="-l/usr/lib/libgc.so.1") config.log says: configure:2875: checking for C++ compiler default output file name configure:2902: g++ conftest.cpp -l/usr/lib/libgc.so.1 >&5 /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -l/usr/lib/libgc.so.1 collect2: ld returned 1 exit status configure:2905: $? = 1 configure:2943: result: configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "inkscape" | #define PACKAGE_TARNAME "inkscape" | #define PACKAGE_VERSION "0.46+devel" | #define PACKAGE_STRING "inkscape 0.46+devel" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "inkscape" | #define VERSION "0.46+devel" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2950: error: C++ compiler cannot create executables What does it mean it can't find /usr/lib/libgc.so.1? It's right here: 08:59 alchemy:~/linux/programming/c-cpp/prg> l /usr/lib/libgc.so.1 lrwxrwxrwx 1 root root 14 2009-07-30 23:52 /usr/lib/libgc.so.1 -> libgc.so.1.0.2* Is all this just telling me the gcc on 11.0 is to *old*? -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org