LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2005, 01:46 PM   #1
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Rep: Reputation: 15
problem compiling gnomesu


Hi guys!

I'm trying to install "GnomeSu", but I can't seem to be able to compilit..., here is the output when I do "make"


make all-recursive
make[1]: Entering directory `/home/fernando/programas/gnomesu/gnomesu-0.3.1'
Making all in src
make[2]: Entering directory `/home/fernando/programas/gnomesu/gnomesu-0.3.1/src'
gcc -DHAVE_CONFIG_H -DCHECK_SU_OUTPUT -DLOCALEDIR=\"/usr/local/share/locale\" -DORBIT2=1 -pthread -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnome-2.0 -I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/gnome-vfs-2.0 -I/opt/gnome/lib/gnome-vfs-2.0/include -I/opt/gnome/include/bonobo-activation-2.0 -I/opt/gnome/include/libzvt-2.0 -I/opt/gnome/include/libglade-2.0 -I/usr/include/libart-2.0 -I/usr/include/libxml2 -Wimplicit -Wunused -Werror -g -c xsu.c
In file included from /opt/gnome/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:57,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:7,
from xsu.h:37,
from xsu.c:22:
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:26:30: gtk/gtkicontheme.h: No such file or directory
In file included from /opt/gnome/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:57,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:7,
from xsu.h:37,
from xsu.c:22:
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:37: error: parse error before "GnomeIconTheme"
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:37: warning: type defaults to `int' in declaration of `GnomeIconTheme'
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:37: warning: data definition has no type or storage class
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:44: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:66: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:66: warning: type defaults to `int' in declaration of `gnome_icon_theme_new'
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:66: warning: data definition has no type or storage class
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:67: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:70: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:73: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:75: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:76: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:78: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:80: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:82: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:87: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:89: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:91: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:92: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:97: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:97: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:97: warning: type defaults to `int' in declaration of `_gnome_icon_theme_get_gtk_icon_theme'
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:97: warning: data definition has no type or storage class
In file included from /opt/gnome/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:59,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:7,
from xsu.h:37,
from xsu.c:22:
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-lookup.h:26:30: gtk/gtkicontheme.h: No such file or directory
In file included from /opt/gnome/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:59,
from /opt/gnome/include/libgnomeui-2.0/gnome.h:7,
from xsu.h:37,
from xsu.c:22:
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-lookup.h:48: error: parse error before '*' token
/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-lookup.h:56: error: parse error before '*' token
make[2]: *** [xsu.o] Error 1
make[2]: Leaving directory `/home/fernando/programas/gnomesu/gnomesu-0.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fernando/programas/gnomesu/gnomesu-0.3.1'
make: *** [all-recursive-am] Error 2


Any ideas what is it I need to install??
 
Old 05-25-2005, 02:56 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
obviously some gnome or gtk library. I don't know which (sorry), so compare the requirements of the package with what you already have.

Wait, let me correct that: let *the package management system* compare dependencies. At download those unfulfilled. And sort out in which order to install what. And install it all for you.

chances are that the package you want contains the word 'dev' or 'devel' (short for 'development', which in your case translates into compiling).

Trust me, your life will be much easier.

Also, go to User CP -> Edit profile -> distro and fill out the field. That way I don't have to ask you what distro you're running.

hth --Jonas
 
Old 05-25-2005, 04:05 PM   #3
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
>Wait, let me correct that: let *the package management system* compare dependencies. At >download those unfulfilled. And sort out in which order to install what. And install it all for you.

Ok, how do I do that??

I'm using SuSE 9.1 by the way....
 
Old 05-26-2005, 04:08 AM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
It depends on what the suse package manager is.

But I've read between the lines that suse doesn't have a *The* Package Management System (`PMS'), but multiples of *a* PMS. At least I heard that both rmp-stuff (yum, perhaps?) and apt is used. If you choose to do apt (possibly among others), I recommend the gui frontend called Synaptic.

maybe searching google and/or the suse forum will help?

--Jonas Kölker

also, have a look at http://www.linuxquestions.org/questi...hreadid=310702
especially the part about PMSes right before "So I'm a sed script"
 
Old 05-26-2005, 04:13 AM   #5
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
btw, the key error msg. in your output is this one:

/opt/gnome/include/libgnomeui-2.0/libgnomeui/gnome-icon-theme.h:26:30: gtk/gtkicontheme.h: No such file or directory

Perhaps you didn't have the file, perhaps it wasn't in your include path.
You could try ./configure --help to see how you set your include path wrt. configure.

But in any case, go for the PMS first.
 
Old 05-26-2005, 12:33 PM   #6
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
I read that post, but didn't find anything usefull..., maybe I missed it I don't know..., the PMS I use, is YAST, it lets you intall any package and checks for dependencies..., the thing is..., I can't find the package that will install that file that I'm missing....I've search through anything that says "gtk" but no luck..., the worst part is, that in the home page of "gnomesu", there are no requirements....

Any idea???
 
Old 05-26-2005, 02:33 PM   #7
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
you need to install either gtk+-2.x or if you already have that the gtk+-2.x-devel package. remember you are on a rpm distro so the packages are split. gtkicontheme.h comes with gtk+-2.x
 
Old 05-26-2005, 07:32 PM   #8
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
why not just go ahead and install the package which contains gnomesu? If yast resolves dependencies, then what's left to discuss? (Sorry if I sound arrogant--not intended).

--Jonas
 
Old 05-27-2005, 08:04 AM   #9
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
Well. because I don't have a rpm for gnomesu..., all I have is the source..., so I'm trying to compile it...., I actually manage to solve the problem...I installed a new version of the gtk package, but now I have more problems....

Once I passed that problem, it asked me for the file "libesd.la"....couldn't find so.., so I google a bit, and found that a lot of people had the same problem, and they created theire own .la, so..., I did the same.., and now I get this error when I try to "make" the program:

gcc: /opt/gnome/lib/libgnome-2.so: No such file or directory
gcc: /usr/lib/libesd.so: No such file or directory
gcc: /opt/gnome/lib/libglade-2.0.so: No such file or directory
make[2]: *** [gnomesu] Error 1
make[2]: Leaving directory `/home/fernando/programas/gnomesu/gnomesu-0.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fernando/programas/gnomesu/gnomesu-0.3.1'
make: *** [all-recursive-am] Error 2

And the worst part is...., the files are there..., libglade, libgnome, and libesd they're all there..., any ideas???
 
Old 05-27-2005, 09:53 AM   #10
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
set the library path; I think LD_LIBRARY_PATH is used *at least* at runtime; possibly compile time too. Try it out.
 
Old 05-27-2005, 09:59 AM   #11
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
Well, I did:

echo $LD_LIBRARY_PATH
and nothing is printed..., so I'm guessing that's not good... how do I fix this???
 
Old 05-27-2005, 10:26 AM   #12
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
add "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/whatever" to your ~/.bashrc and source it ("$ . ~/.bashrc")

--Jonas
 
Old 05-27-2005, 12:50 PM   #13
haora
Member
 
Registered: Mar 2005
Distribution: SuSE 9.1, Ubuntu 5.10
Posts: 69

Original Poster
Rep: Reputation: 15
what is supposed to be "whatever"???, another directory or the library it self???
 
Old 05-28-2005, 12:46 PM   #14
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
Quote:
what is supposed to be "whatever"???, another directory or the library it self???
the path to the library; /usr/lib/gtk-2.0, for example
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem while compiling shinni Programming 1 02-08-2005 12:13 AM
Problem compiling Kami.JZ Linux - Newbie 6 10-26-2004 06:28 AM
Problem using gnomesu to connect to X server : Suse 9.1 clintongormley Linux - Distributions 1 09-24-2004 10:26 AM
problem compiling :( celeron2002 Linux - Software 1 02-22-2004 07:19 PM
problem compiling qt qanopus Linux - Software 3 03-08-2003 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration