Re: [Java-gnome-developer] errors when install gnome !
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2004-10-13 12:42:30
|
Quoting bbskill <bb...@to...>: > I downloaded java-gnome-2.7.2,and ./configure > then when I executed make,the error appeared as follows: > > jni/org_gnu_gnome_IconList.o(.text+0x56b): In function > `Java_org_gnu_gnome_IconL ist_gnome_1icon_1list_1select_1all': > jni/org_gnu_gnome_IconList.c:278: undefined reference to > `gnome_icon_list_select _all' > collect2: ld returned 1 exit status > make[2]: *** [../lib/libgnomejava2.7.so.2.7.2] ´íÎó 1 > make[2]: Leaving directory `/mnt/incoming/java-gnome-2.7.2/gnome/src' > make[1]: *** [distro] ´íÎó 2 > make[1]: Leaving directory `/mnt/incoming/java-gnome-2.7.2/gnome' > make: *** [all] ´íÎó 1 > > what is the problem ? Looks like you're using a version of gnome (libgnome or libgnomeui) which is too old, so doesn't have that function. > another problem: > I have tried |aptitude |install |libjava-gnome-doc libgtk0-java > libgnome0-java libglade0-java in debian > And I could not find the gtk.jar and gnome.jar in my debian ?? > How can I fix it? The lib*0-java packages are dummy packages - the description of them in aptitude should say this (I've just updated this on the java-gnome website too, thanks for reminding me). You need the lib*2-java packages instead. These contain the newer jar files. You will then have to add these to your classpath and set ld_library_path See the following page for more details: http://java-gnome.sourceforge.net/cgi-bin/bin/view/Main/SettingLDLibPath Please write back if you have any more problems -- .""`. Mark Howard : :" : `. `" http://www.tildemh.com `- mh...@de... | mh...@ti... |