Re: [java-gnome-hackers] setting library path - garnome
Brought to you by:
afcowie
From: Mark H. <mh...@ca...> - 2003-12-16 16:38:24
|
On Tue, Dec 16, 2003 at 04:32:24PM +0100, Luca De Rugeriis wrote: > Il mar, 2003-12-16 alle 12:12, Mark Howard ha scritto: > > I've now got garnome installed, but haven't managed to compile > > java-gnome against it. The configure script picks up the directories > > from garnome, but also includes the system directories - java-gnome uses > > these and compiles against the old libraries. Can anyone advise how to > > tell the build system to use garnome libraries instead? > Is it solved? I was thinking: just put garnome libs directory before > system libs dir in LD_LIBRARY_PATH? However I guess there will be a lot > of pointers about developing with garnome, after all it's intended for > developers ;) Not yet. I've also found surprisingly little documentation about developing under garnome. garnome sets LD_LIBRARY_PATH anyway, so that hasn't fixed the problem. I don't think configure uses LD_LIBRARY_PATH anyway. Looking at it more closely, the problem seems to be that gcc is passed -I/usr/include/ before the -I/...GAR... This is part of the CFLAGS variable, so perhaps moving $(CFLAGS) to the end of the .c.o target in common/src-Makefile.in.common will fix it. Unfortunately this means changing a make files once again, so everything will be recompiled. It's still compiling so I don't know if it's worked or not. Slow computer. ... no, that didn't work - java-gnome still compiles fine. Does anyone have any other suggestions? -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |