[opensuse] Frustrated building inkscape 0.47, issue should be simple, just need a bit of help.
Listmates, I think I have looked for an answer before on this, but can't recall for certain. I'm trying to build inkscape 0.47 on openSuSE 11.0 and I'm running into problems with having libgc.a or libgc.so properly recognized by ./configure. This libgc is the boehm garbage collector from hp: http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc.tar.gz (** This is version 6.8 -- meets requirements of >6.4) It is installed with the normal ./configure --prefix=/usr, make, make install and it installs, among other things: -rw-r--r-- 1 root root 849284 2009-07-30 23:52 /usr/lib/libgc.a -rwxr-xr-x 1 root root 700 2009-07-30 23:52 /usr/lib/libgc.la* lrwxrwxrwx 1 root root 14 2009-07-30 23:52 /usr/lib/libgc.so -> libgc.so.1.0.2* lrwxrwxrwx 1 root root 14 2009-07-30 23:52 /usr/lib/libgc.so.1 -> libgc.so.1.0.2* -rwxr-xr-x 1 root root 491964 2009-07-30 23:52 /usr/lib/libgc.so.1.0.2* Pursuant to its install instructions, the path to /usr/lib needs to be in /etc/ld.so.conf, it is by default: 00:55 alchemy:~/linux/apps/gc6.8> grep /usr/lib /etc/ld.so.conf /usr/lib64/Xaw3d /usr/lib/Xaw3d /usr/lib64 /usr/lib However, after the ./autogen.sh (completes OK), the ./configure dies at: <snip> checking for GC_init in -lgc... yes checking libgc version 6.4+... no configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc Now the strange part is the same packages (gc and inkscape), build and install just fine with the exact same options on archlinux, so my problem here is something on opensuse that I can't figure out how to set so that the library is seen by ./configure. How do I go about finding out why ./configure for inkscape won't see the libgc on openSuSE 11.0? -- 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
On Friday 31 July 2009 01:06:21 am David C. Rankin wrote:
Listmates,
I think I have looked for an answer before on this, but can't recall for certain. I'm trying to build inkscape 0.47 on openSuSE 11.0 and I'm running into problems with having libgc.a or libgc.so properly recognized by ./configure.
This libgc is the boehm garbage collector from hp:
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc.tar.gz
(** This is version 6.8 -- meets requirements of >6.4)
It is installed with the normal ./configure --prefix=/usr, make, make install and it installs, among other things:
-rw-r--r-- 1 root root 849284 2009-07-30 23:52 /usr/lib/libgc.a -rwxr-xr-x 1 root root 700 2009-07-30 23:52 /usr/lib/libgc.la* lrwxrwxrwx 1 root root 14 2009-07-30 23:52 /usr/lib/libgc.so -> libgc.so.1.0.2* lrwxrwxrwx 1 root root 14 2009-07-30 23:52 /usr/lib/libgc.so.1 -> libgc.so.1.0.2* -rwxr-xr-x 1 root root 491964 2009-07-30 23:52 /usr/lib/libgc.so.1.0.2*
Pursuant to its install instructions, the path to /usr/lib needs to be in /etc/ld.so.conf, it is by default:
00:55 alchemy:~/linux/apps/gc6.8> grep /usr/lib /etc/ld.so.conf /usr/lib64/Xaw3d /usr/lib/Xaw3d /usr/lib64 /usr/lib
However, after the ./autogen.sh (completes OK), the ./configure dies at:
<snip> checking for GC_init in -lgc... yes checking libgc version 6.4+... no configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc
Now the strange part is the same packages (gc and inkscape), build and install just fine with the exact same options on archlinux, so my problem here is something on opensuse that I can't figure out how to set so that the library is seen by ./configure. How do I go about finding out why ./configure for inkscape won't see the libgc on openSuSE 11.0?
For some reason you have to manually copy the gc.h into the inkscape/src directory on opensuse 11 before configure will complete. Now, let's see if I can beat the 27 minutes it took to make inkscape on my desktop on my laptop ;-) I seriously doubt it. Phenom 9850 & 8G vs Turion-58 with 4G. I'll know in about 1/2 hour. -- 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
On Fri, 31 Jul 2009 01:30:39 -0500, you wrote: For some reason you have to manually copy the gc.h into the inkscape/src directory on opensuse 11 before configure will complete. Now, let's see if I can beat the 27 minutes it took to make inkscape on my desktop on my laptop ;-) That can't be the right way. Where does configure look for gc.h? Maybe you need to pass configure the directory where it should search for the header (if it's not in /usr/include). Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 31 July 2009 07:39:00 am Philipp Thomas wrote:
On Fri, 31 Jul 2009 01:30:39 -0500, you wrote:
For some reason you have to manually copy the gc.h into the inkscape/src directory on opensuse 11 before configure will complete. Now, let's see if I can beat the 27 minutes it took to make inkscape on my desktop on my laptop ;-)
That can't be the right way. Where does configure look for gc.h? Maybe you need to pass configure the directory where it should search for the header (if it's not in /usr/include).
Philipp
Damn, how right you are! When I started the make I hit ./configure and make in the wrong konsole tab so the what I thought was a successful configure and kick-off of the build process on host "alchemy" was actually running on host "archangel" (the arch box that had no trouble building the package in the first place) So I'm back to square 1. The configure files for both the working configure file and the opensuse one as the compressed tar archive configure.tar.bz2 containing: configure.archlinux configure.openSuSE (90k) is available at: http://www.3111skyline.com/download/openSUSE_bugs/configure.tar.bz2 Ironically, the configure file from openSuSE is 200k larger than the one on arch. Any help deciphering it would be greatly appreciated. The configure test that is throwing the error on openSuSE begins on line 9244 and exits on 9279: 9244 if { (ac_try="$ac_link" 9245 case "(($ac_try" in 9246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9247 *) ac_try_echo=$ac_try;; 9248 esac 9249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9250 (eval "$ac_link") 2>&5 9251 ac_status=$? 9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9253 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9254 { (case "(($ac_try" in 9255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9256 *) ac_try_echo=$ac_try;; 9257 esac 9258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9259 (eval "$ac_try") 2>&5 9260 ac_status=$? 9261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9262 (exit $ac_status); }; }; then 9263 gc_ok=yes 9264 else 9265 echo "$as_me: program exited with status $ac_status" >&5 9266 echo "$as_me: failed program was:" >&5 9267 sed 's/^/| /' conftest.$ac_ext >&5 9268 ( exit $ac_status ) 9269 gc_ok=no 9270 fi 9271 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9272 fi 9273 { echo "$as_me:$LINENO: result: $gc_ok" >&5 9274 echo "${ECHO_T}$gc_ok" >&6; } 9275 fi 9276 if test "x$gc_ok" != "xyes"; then 9277 { { echo "$as_me:$LINENO: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc" >&5 9278 echo "$as_me: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc" >&2;} 9279 { (exit 1); exit 1; }; } 9280 fi The same test that completes successfully on archlinux, begins about 7636, includes gc.h on line 7650 and passes the test on line 7672: 7636 if test "x$gc_ok" = "xyes" && test "x$cross_compiling" = "xno" ; then 7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libgc version 6.4+" >&5 7638 $as_echo_n "checking libgc version 6.4+... " >&6; } 7639 if test "$cross_compiling" = yes; then : 7640 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7642 as_fn_error "cannot run test program while cross compiling 7643 See \`config.log' for more details." "$LINENO" 5; } 7644 else 7645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7646 /* end confdefs.h. */ 7647 #ifdef HAVE_GC_GC_H 7648 # include <gc/gc.h> 7649 #else 7650 # include <gc.h> 7651 #endif 7652 #include <stdio.h> 7653 extern unsigned GC_version; 7654 int main(void){ 7655 unsigned min = ((6 << 16) | (4 << 8) | 0); 7656 printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF); 7657 if (GC_version>=min) return 0; 7658 return 1; 7659 } 7660 _ACEOF 7661 if ac_fn_cxx_try_run "$LINENO"; then : 7662 gc_ok=yes 7663 else 7664 gc_ok=no 7665 fi 7666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7667 conftest.$ac_objext conftest.beam conftest.$ac_ext 7668 fi 7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gc_ok" >&5 7670 $as_echo "$gc_ok" >&6; } 7671 fi 7672 if test "x$gc_ok" != "xyes"; then 7673 as_fn_error "libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc" "$LINENO" 5 7674 fi I am no wizard at deciphering all of the configure language, so a skilled set of eyes would be greatly appreciated. -- 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
David C. Rankin wrote:
For some reason you have to manually copy the gc.h into the inkscape/src directory on opensuse 11 before configure will complete.
The gc include files are placed in /usr/include/gc - add that to the include paths when you run configure. /Per -- Per Jessen, Zürich (23.2°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 31 July 2009 08:53:11 am Per Jessen wrote:
David C. Rankin wrote:
For some reason you have to manually copy the gc.h into the inkscape/src directory on opensuse 11 before configure will complete.
The gc include files are placed in /usr/include/gc - add that to the include paths when you run configure.
/Per
Per, sorry, the header wasn't the problem. It found gc.h without any help. Something really funky is going on with libgc.so.1 that ./configtest won't accept. -- 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
Hi David, On Fri, 31 Jul 2009 01:06:21 -0500, you wrote:
I think I have looked for an answer before on this, but can't recall for certain. I'm trying to build inkscape 0.47 on openSuSE 11.0 and I'm running into problems with having libgc.a or libgc.so properly recognized by ./configure.
What system are you building on, x86 or x64? If it's the latter, you need to explicitly pass configure '--libdir=/usr/lib64' so that libraries are installed in /usr/lib64. For binaries it not that simple as many programmers still haven't fixed their autoconf stuff to look in /lib64 /usr/lib64 when searching for libraries.
checking for GC_init in -lgc... yes checking libgc version 6.4+... no configure: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc
What exactly does config.log show? It should contain some lines that give a hint as to which particular test ist failing. so my problem here is something on opensuse that I can't figure out how to set so that the library is seen by ./configure. How do I go about finding out why ./configure for inkscape won't see the libgc on openSuSE 11.0? Does archlinux put the 64 bit libraries in lib64 on biarch systems like x86_64? If they follow the debian way of putting the libraries for the main architecture in /lib and /usr/lib then it's rather obvious why it succeeds there. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hello, In the Message; Subject : [opensuse] Frustrated building inkscape 0.47, issue should be simple, just need a bit of help. Message-ID : <200907310106.21768.drankinatty@suddenlinkmail.com> Date & Time: Fri, 31 Jul 2009 01:06:21 -0500 [Rankin] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written: Rankin> checking for GC_init in -lgc... yes Rankin> checking libgc version 6.4+... no Rankin> configure: error: libgc (the Boehm Conservative Collector) Rankin> 6.4+, is needed to compile inkscape -- Rankin> http://www.hpl.hp.com/personal/Hans_Boehm/gc This is just a library's problem, not gc.h's. How about; # ldconfig Then, $ ./configure --prefix=/usr Best Regards, --- 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp "Bill! You married with Computers. Not with Me!" "No..., with money." -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 31 July 2009 07:55:43 am Masaru Nomiya wrote:
Hello,
In the Message;
Subject : [opensuse] Frustrated building inkscape 0.47, issue should be simple, just need a bit of help. Message-ID : <200907310106.21768.drankinatty@suddenlinkmail.com> Date & Time: Fri, 31 Jul 2009 01:06:21 -0500
[Rankin] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written:
Rankin> checking for GC_init in -lgc... yes Rankin> checking libgc version 6.4+... no Rankin> configure: error: libgc (the Boehm Conservative Collector) Rankin> 6.4+, is needed to compile inkscape -- Rankin> http://www.hpl.hp.com/personal/Hans_Boehm/gc
This is just a library's problem, not gc.h's.
How about;
# ldconfig
Then,
$ ./configure --prefix=/usr
Best Regards,
Thanks Masaru, I had already tried to do that (although I'm not sure I tried correctly). I have tried: 12190 libtool --mode=install install /usr/lib/libgc.a /home/david/linux/apps/inkscape/dcrlib/libgc.a 12193 libtool --mode=install install /usr/lib/libgc.so.1.0.2 /home/david/linux/apps/inkscape/dcrlib/libgc.so.1.0.2 I then created the symlinks like are in /usr/lib: 08:22 alchemy:~/linux/apps/inkscape> l dcrlib/ total 1336 drwxr-xr-x 2 david dcr 4096 2009-07-31 01:20 ./ drwxr-xr-x 13 david dcr 4096 2009-07-31 02:00 ../ -rw-r--r-- 1 david dcr 849284 2009-07-31 01:14 libgc.a -rwxr-xr-x 1 david dcr 700 2009-07-31 01:20 libgc.la* lrwxrwxrwx 1 david dcr 14 2009-07-31 01:18 libgc.so -> libgc.so.1.0.2* lrwxrwxrwx 1 david dcr 14 2009-07-31 01:18 libgc.so.1 -> libgc.so.1.0.2* -rwxr-xr-x 1 david dcr 491964 2009-07-31 01:17 libgc.so.1.0.2* But that didn't get me anywhere. Anything else you can think of? -- 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
Hello, In the Message; Subject : Re: [opensuse] Frustrated building inkscape 0.47, issue should be simple, just need a bit of help. Message-ID : <200907310824.37526.drankinatty@suddenlinkmail.com> Date & Time: Fri, 31 Jul 2009 08:24:37 -0500 [Rankin] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written: Me>> How about; Me>> Me>> # ldconfig Me>> Me>> Then, Me>> Me>> $ ./configure --prefix=/usr Rankin> I had already tried to do that (although I'm not sure Rankin> I tried correctly). Oh, have you? Anyway, have you checked the log file of configure? In my case, I could compile inkscape-0.47pre1.tar.bz2 without any probs. But, mine is openSUSE 11.1. Best Regards, --- 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp 「先端技術の開発は、優れた頭脳を持つ人間が集中しないと成功しない。 しかし、技術開発と、それが何をもたらすかを考えることは別だ。 一人の人間に二つは望めない。」 -- M. Crichton -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 31 July 2009 08:37:22 am Masaru Nomiya 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 : <200907310824.37526.drankinatty@suddenlinkmail.com> Date & Time: Fri, 31 Jul 2009 08:24:37 -0500
[Rankin] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written:
Me>> How about; Me>> Me>> # ldconfig Me>> Me>> Then, Me>> Me>> $ ./configure --prefix=/usr
Rankin> I had already tried to do that (although I'm not sure Rankin> I tried correctly).
Oh, have you?
That why I say I think I have and I showed what I have done. My understanding is that libtool did exactly what you suggested. Though I say I "think" I have because my knowledge about all of the configure and compile intricacies on large projects is shaky at best.
Anyway, have you checked the log file of configure?
Ahah! We are getting close. The failure on opensuse 11.0 is: configure:10342: ./conftest ./conftest: error while loading shared libraries: libgc.so.1: cannot open shared object file: No such file or directory configure:10345: $? = 127 configure: program exited with status 127
In my case, I could compile inkscape-0.47pre1.tar.bz2 without any probs. But, mine is openSUSE 11.1.
I think this is the big issue. openSuSE 11.0 isn't handling the libraries right. Like I said, I built the very same packages (gc and inkscape from svn) on another archlinux box simply by rsync'ing the gc.tar.gz file and the inkscape directory to the archlinux box and the running ./configure --prefix=/usr, make, make install on gc and ./autogen.sh ./configure --prefix=/usr, make, make install on inkscape. All built without *any* problem. So I know that the problem is the libgc.so.1 library config issue on the 11.0 box. The question is how do I fix it? or where do I put additional compile flags or link options to get around it? How do I tell ldconfig to fix it?? -- 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
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" <drankinatty@suddenlinkmail.com> 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 -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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" <drankinatty@suddenlinkmail.com> 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 --
Hmm.. I think that gave me a few more problems. We don't even get to the point of failure with the LDFLAGS defined: 09:17 alchemy:~/linux/apps/inkscape> export LDFLAGS="-llibgc" 09:17 alchemy:~/linux/apps/inkscape> ./configure --prefix=/usr checking build system type... x86_64-suse-linux-gnu checking host system type... x86_64-suse-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a pax tar archive... gnutar checking for style of include used by make... GNU checking for g++... g++ checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables See `config.log' for more details. Looking further into config.log, the exact test that is failed is: configure:10342: ./conftest ./conftest: error while loading shared libraries: libgc.so.1: cannot open shared object file: No such file or directory configure:10345: $? = 127 configure: program exited with status 127 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" | #define STDC_HEADERS 1 | #define GETTEXT_PACKAGE "inkscape" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define ENABLE_NLS 1 | #define HAVE_GC_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_GC_GC_H | # include <gc/gc.h> | #else | # include <gc.h> | #endif | #include <stdio.h> | extern unsigned GC_version; | int main(void){ | unsigned min = ((6 << 16) | (4 << 8) | 0); | printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF); | if (GC_version>=min) return 0; | return 1; | } configure:10361: result: no configure:10365: error: libgc (the Boehm Conservative Collector) 6.4+, is needed to compile inkscape -- http://www.hpl.hp.com/personal/Hans_Boehm/gc However libgc.so.1 is clearly defined in: 09:24 alchemy:~/linux/apps/inkscape> 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* and in the ./configure settings --prefix=/usr --eprefix=[prefix] --libdir=[eprefix/lib] I'll try passing the library directly with: LIBS libraries to pass to the linker, e.g. -l<library> and see if that help. Thank you for your help! -- 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
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" <drankinatty@suddenlinkmail.com> 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
For the curious, I have put the config.log for both the arch and opensuse ./configure attempts at: http://www.3111skyline.com/download/openSUSE_bugs/config.log.tar.bz2 (17k) contains: config.log.suse config.log.arch in case somebody has a minute to take a look and try to help sort out this compiler craziness. Thanks. I've looked with kdiff3 and can see the difference, but can't explain why there is a difference in the way configure sees the same gc package on the two different OS's. -- 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
Hello, On Fri, 31 Jul 2009, David C. Rankin wrote:
For the curious, I have put the config.log for both the arch and opensuse ./configure attempts at:
http://www.3111skyline.com/download/openSUSE_bugs/config.log.tar.bz2
(17k)
contains: config.log.suse config.log.arch
in case somebody has a minute to take a look and try to help sort out this compiler craziness. Thanks.
Have you run 'ldconfig'? What's the output of /sbin/ldconfig -p | grep libgc ? -dnh -- "I have a very firm grasp on reality! I can reach out and strangle it any time!" -- from the BSD fortune file -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 02 August 2009 09:22:22 pm David Haller wrote:
Hello,
On Fri, 31 Jul 2009, David C. Rankin wrote:
For the curious, I have put the config.log for both the arch and opensuse ./configure attempts at:
http://www.3111skyline.com/download/openSUSE_bugs/config.log.tar.bz2
(17k)
contains: config.log.suse config.log.arch
in case somebody has a minute to take a look and try to help sort out this compiler craziness. Thanks.
Have you run 'ldconfig'? What's the output of
/sbin/ldconfig -p | grep libgc
?
-dnh
Dave, Sorry there was a break in this thread - reality called. Here is what ldconfig says: [19:01 alchemy:/home/david/linux/apps/inkscape] # /sbin/ldconfig -p | grep libgc libgcrypt.so.11 (libc6,x86-64) => /lib64/libgcrypt.so.11 libgcrypt.so.11 (libc6) => /lib/libgcrypt.so.11 libgcrypt.so (libc6,x86-64) => /usr/lib64/libgcrypt.so libgconf-2.so.4 (libc6,x86-64) => /usr/lib64/libgconf-2.so.4 libgconf-2.so.4 (libc6) => /usr/lib/libgconf-2.so.4 libgconf-2.so (libc6,x86-64) => /usr/lib64/libgconf-2.so libgcj.so.10 (libc6,x86-64) => /usr/lib64/libgcj.so.10 libgcj.so.9 (libc6,x86-64) => /usr/lib64/libgcj.so.9 libgcj.so.9 (libc6) => /usr/lib/libgcj.so.9 libgcj-tools.so.10 (libc6,x86-64) => /usr/lib64/libgcj-tools.so.10 libgcj-tools.so.9 (libc6,x86-64) => /usr/lib64/libgcj-tools.so.9 libgcj-tools.so.9 (libc6) => /usr/lib/libgcj-tools.so.9 libgcc_s.so.1 (libc6,x86-64) => /lib64/libgcc_s.so.1 libgcc_s.so.1 (libc6) => /lib/libgcc_s.so.1 libgc.so.1 (libc6,x86-64) => /usr/lib/libgc.so.1 libgc.so (libc6,x86-64) => /usr/lib/libgc.so This just confuses the issue even more. ldconfig sees both /usr/lib/libgc.so and /usr/lib/libgc.so.1 so why can inkscape ./configure find the thing?? Any ideas? -- 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
Hello, In the Message; Subject : Re: [opensuse] Frustrated building inkscape 0.47, issue should be simple, just need a bit of help. Message-ID : <200907310937.36614.drankinatty@suddenlinkmail.com> Date & Time: Fri, 31 Jul 2009 09:37:36 -0500 [David] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written: [...] David> Is all this just telling me the gcc on 11.0 is to *old*? I don't think so. Have you seen these? 1. http://wiki.inkscape.org/wiki/index.php/CompilingInkscape#Boehm-GC 2.http://www.linuxquestions.org/questions/slackware-14/compiling-inkscape-boeh... HTH, PS. I could compile the very latest svn of inkscape, as well. My system; 2.6.27.25-0.1-default #1 SMP 2009-07-01 15:37:09 +0200 x86_64 x86_64 x86_64 GNU/Linux Kind Regards, -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 01 August 2009 01:44:50 am Masaru Nomiya wrote:
Have you seen these?
1. http://wiki.inkscape.org/wiki/index.php/CompilingInkscape#Boehm-GC
2.http://www.linuxquestions.org/questions/slackware-14/compiling-inkscape-boeh...
Ooh, thank the articles look good. I'll go take a read.
HTH,
PS. I could compile the very latest svn of inkscape, as well. My system; 2.6.27.25-0.1-default #1 SMP 2009-07-01 15:37:09 +0200 x86_64 x86_64 x86_64 GNU/Linux
Yes, that's what got me thinking that inkscape may think something is old on my opensuse 11.0 box. The arch box is running on kernel 2.6.30 while 11.0 is running on 2.6.25. Hopefully the articles will hold a pearl of wisdom... -- 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
On Saturday 01 August 2009 01:44:50 am Masaru Nomiya wrote:
Have you seen these?
1. http://wiki.inkscape.org/wiki/index.php/CompilingInkscape#Boehm-GC
already done..
2.http://www.linuxquestions.org/questions/slackware-14/compiling-inkscape-boeh...
BINGO! Masaru, you're the genius! Not contained in any of the INSTALL or README* files distributed with inkscape, the answer was contained in link 2 above. In order to be able to successfully ./configure inkscape 0.47 on openSuSE 11.0, you must compile the Boehm garbage collector (http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc.tar.gz) with the following configure options: ./configure --prefix=/usr --disable-shared --enable-static After that, inkscape will configure and make without a problem. P.S. You 11.2 devs ought to release Inkscape 0.47 svn with 11.2. The interface is much cleaner and I haven't had any problems with it yet. The svn url is: svn co https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk inkscape See: http://www.inkscape.org/download/ -- 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
Hello, In the Message; Subject : Re: [opensuse] Frustrated building inkscape 0.47, issue should be simple, just need a bit of help. Message-ID : <200907310937.36614.drankinatty@suddenlinkmail.com> Date & Time: Fri, 31 Jul 2009 09:37:36 -0500 [David] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written: David> What does it mean it can't find /usr/lib/libgc.so.1? It's right here: David> 08:59 alchemy:~/linux/programming/c-cpp/prg> l /usr/lib/libgc.so.1 David> lrwxrwxrwx 1 root root 14 2009-07-30 23:52 /usr/lib/libgc.so.1 -> libgc.so.1.0.2* Another question; With gc6.8, does the 'make check' end without any fail? In my case (I've installed gc 7.1), it ends as follows; ================== All 6 tests passed ================== Regards, --- 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp 「私たちが今日直面している化学物質の危険性に関する疑問に対し、通常の 科学的な正確さをもって答えようとすれば、たぶんさらに数十年を要するで あろう。」 -- J. V. Rodricks -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
David C. Rankin
-
David Haller
-
Masaru Nomiya
-
Per Jessen
-
Philipp Thomas
-
野宮 賢 / NOMIYA Masaru