LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error in compile Garnome!! (https://www.linuxquestions.org/questions/linux-newbie-8/error-in-compile-garnome-343925/)

Neda 07-17-2005 03:45 AM

Error in compile Garnome!!
 
Hi all!
I want to compile Garnome in order to install GNOME 2.10. but when I type
make paranoid-install
in desktop directory I get this error

./.libs/libeel-2.so: undefined reference to `gtk_label_set_single_line_mode'

is any idea????

Thanks
Neda

edong23 07-17-2005 04:59 AM

alittle odd... do you have eel installed. eel 2 that is. depending on the distro, you can google for eel slackware, or eel suse, or eel mandrake. or get the source from the gnome homepage.

Neda 07-17-2005 05:50 AM

Thanks for your fast reply,

I have eel 2.4.6 is installed in my PC ,but I need eel 2.10.1 for GNOME 2.10!
when I try to compilel eel 2.10.1 I get the same error

./.libs/libeel-2.so: undefined reference to `gtk_label_set_single_line_mode'

and when I want to compile eel 2.11.1 I get the error message ..

./.libs/libeel-2.so:undefined reference to 'menu_tree_entry_get_desktop_file_path'

is any idea???

Neda

edong23 07-18-2005 06:53 PM

well, again, you didnt state your distro. but try running

ldconfig

as root. if you are compiling from source on an rpm based system, not a good idea. get the rpm if you are using mandrake (mandriva) redhat, suse, whatever if it is rpm based.

if it is source based then you probably need to update the libs. maybe..

i could be completely wrong too. it looks like a library problem, but might not be. you could have a problem building from source on an rpm system aside from library problems..

Neda 07-18-2005 11:59 PM

I am sorry , but pay attention to me I am a newbie!!!

Yes, right,
I am trying to compile source on a Fedora Core 3...
why it is not a good idea?
and what do you mean of source based???
I try ldconfig and I didnt get result , It seams it is a link error and I am not familier with them is any source to introduce link error???

Is any suggestion?
Thanks alot

edong23 07-19-2005 02:15 AM

fedora is rpm based and you need to get the rpm for what you are doing. make sure it is a fedora 3 rpm.. there reason it is a problem to build from source on an rpm bases system is that rpms are precompiled packages that just stick the files into predestined directories.. when you build a source, it links files and checks for files and uses pkg-config usually. so if the source cannot find the libs to link to, then you have to find them yourself if you relaly want to build from source.. you can do that by typing locate libeel-2.so and you might try locating all libeel packages and making symlinks into directories that are in the /etc/ld.so.conf file. ldconfig will not give a result.. it just links the dynamic libraries.. but it uses ld.so.conf to do so.. it is best for you to get the fedora 3 rpm for what you are looking for. source based distros are built from source, from the ground up. they are meant to have source built on them. and they wont work well with rpms either. you must choose.... not both..

Neda 07-20-2005 04:32 AM

Thanks alot for your usefull informmation !!

but libeel.so is binary !!How could I type on it ??

regarding to your post , if I chose source based, what should I do??
Is there any refrence for introduce source base???

Thanks!

edong23 07-20-2005 05:57 PM

im afraid i dont understand what you are asking. what i said was type:

locate libeel-2.so

it will search for it and display where it is. tehn you just have to make sure that the path to it is in the /etc/ld.so.conf file.. edit the file to include it then run ldconfig as root. then try the install.



references huh, there are several, usualy about one per distro. of some sort or another. gentoo handbook, slackware essentials, google is your friend.

Neda 07-22-2005 10:51 PM

Thanks alot!

__J 07-23-2005 06:49 AM

what version of gtk-2.x do yo have installed? your problem is coming from the linker being unable to find that symbol in the library path. that symbol ( gtk_label_set_single_.....) is in gtk-2.6 and above only.

look in the platform directory inside the garnome directory, you might want to build those libs first and then go to the desktop directory and do make paranoid install ( it will take up a little more space, but you won't have to depend on your distro's libs).

Neda 07-24-2005 12:45 AM

The gtk version that is installed in my machin is 2.6.8!!!
and I installed all the package in platform directory.
:(
Any idea???


All times are GMT -5. The time now is 11:21 AM.