Thread: [java-gnome-hackers] setting library path - garnome
Brought to you by:
afcowie
From: Mark H. <mh...@ca...> - 2003-12-16 11:12:59
|
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? -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Luca De R. <pie...@li...> - 2003-12-16 14:05:21
|
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? Uhm, I could only think: remove Gnome, then install Garnome in $PREFIX (pheeewww ;) -- Luca De Rugeriis <pie...@li...> |
From: Luca De R. <pie...@li...> - 2003-12-16 15:33:46
|
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 ;) -- Luca De Rugeriis <pie...@li...> |
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... |
From: Mark H. <mh...@ca...> - 2003-12-17 08:18:34
|
I've looked more, but not found a solution. Even if the garnome path is searched first, gcc will find the headers in the system path for the gnomeui widgets which have been removed. gcc has an option -nostdinc to make it stop searching standard include paths. Unfortunately it then can't find lots of other things it does need, which aren't in garnome. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |
From: Luca De R. <pie...@li...> - 2003-12-17 10:56:41
|
Il mar, 2003-12-16 alle 20:33, Mark Howard ha scritto: > I've looked more, but not found a solution. Even if the garnome path is > searched first, gcc will find the headers in the system path for the > gnomeui widgets which have been removed. > > gcc has an option -nostdinc to make it stop searching standard include > paths. Unfortunately it then can't find lots of other things it does > need, which aren't in garnome. I' ve found: > Also, what's the correct way to install garnome in /usr like gnome1 > (or where ever gnome1 is installed). Do I just make the build prefix > /usr (currently I build garnome in /opt). I haven't done that and it hasn't stopped me from using gnome-2 exclusively for use *and* development for quite some time. Though you'd just have to change some values in gar.conf.mk ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Uhm... you should post your question there (garnome-list) if it hasn't be done already. -- Luca De Rugeriis <pie...@li...> |