Re: [opensuse] Frustrated building inkscape 0.47, issue should be simple, just need a bit of help.



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@xxxxxxxxxxxxxxxxxx>
Date & Time: Fri, 31 Jul 2009 08:58:49 -0500

[David] == "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] Frustrated building inkscape 0.47, issue should be simple, just need a bit of help.
    ... I could compile inkscape-0.47pre1.tar.bz2 without any probs. ... David> issue on the 11.0 box. ... configure: failed program was: ... | #define PACKAGE_TARNAME "inkscape" ...
    (SuSE)
  • Re: Single Source for Framework and CF
    ... One thing we are not sure on how to tackle, is how do you compile the ... David Clegg wrote: ... >> compact framework applications. ... > data access variable declarations and instantiation. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: __STRICT_ANSI__ checks in headers
    ... On Oct 01, 2006, at 00:53:43, Andrew Morton wrote: ... It would be good to apply this for 2.6.19 so all of KDE would compile with kernel-headers. ... Andrew, now that David gave his blessing, can you push this for 2.6.19? ... With the suggestion of Kyle Moffett I replace strict ansi checks with __extension__ to tell gcc not to error or warn on gcc extensions. ...
    (Linux-Kernel)
  • Re: In the need for some advice!
    ... David, I have spent the whole day on this and I feel a little discouraged. ... If I may politely ask you to take the files one at a time and copy them as they are in VC++ and try to compile it, you may see the problem better than I can. ... But I guess if you use .cpp consistently, then your program will compile as ... Don't define variables in header files. ...
    (microsoft.public.vc.language)
  • Re: Compile at runtime?
    ... > or try this Dev Hashish code: ... > In a new app I use a codelibrary. ... Thanks David, ... option to Compile was/is still enabled ... ...
    (comp.databases.ms-access)