bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Errors


From: Adam Fedor
Subject: Re: Errors
Date: Thu, 23 Aug 2007 08:33:27 -0600


On Aug 21, 2007, at 4:41 PM, Steven Quinones-Colon wrote:


When I do gcc -print-file-name=libobjc.so I get :
/home/stevenq/Applications/gcc/bin/../lib/gcc/x86_64-unknown-linux- gnu/4.2.1/../../../../lib64/libobjc.so
which i have in my .tchsrc:
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/home/stevenq/ Applications/gcc/lib64:/usr/people/stevenq/App lications/gcc/bin/../lib/gcc/x86_64-unknown-linux-gnu/ 4.2.1/../../../../lib64/libobjc.so

I also tried to compile pakages individially, started with "base" after installing gnuMake and like this:

./configure --prefix=/usr/people/stevenq/Applications/gnuStep -- with-config-file=/usr/people/stevenq/Applications/gnuStep/ GNUstep.conf --includedir=/usr/people/stevenq/Applications/gcc/lib/ gcc/x86_64-unknown-linux-gnu/4.2.1/include/objc --libdir=/usr/ people/stevenq/Applications/gcc/lib



There's a few problems. First, I'm not sure what's going on with your PATHs, but at least when you run ./configure, it finds the gcc in / usr/bin/gcc (which I guess does not come with objc) and not the gcc I assume you compiled yourself. You might make sure that /home/stevenq/ Applications/gcc/bin is first in your path or run something like

CC=/home/stevenq/Applications/gcc/bin/gcc ./configure {other arguments...}

Also, in LD_LIBRARY_PATH, don't put the name of the library, just the directory where libobjc is. In fact I think it should be

setenv LD_LIBRARY_PATH /home/stevenq/Applications/gcc/lib64:$ {LD_LIBRARY_PATH}

(Notice the library dirs you want are first, to make sure they are found in preference to other directories)








reply via email to

[Prev in Thread] Current Thread [Next in Thread]