Re: Wont compile 0.12 from scratch



Sebastien Carpe wrote:
> Tryong to see what Gnome would look like on my Unix-box, i'm trying to 
> compile the last version i.e. 0.12 from scratch ... I've sucessfully
> compile dependance package (gtk, slib, gmp guile, etc...) but i get
> the following error while compiling gnome-session.c (see libgnomeui):
> 
> gnome-session.c: In function `gnome_session_set_discard_command':
> gnome-session.c:245: `SmDiscardCommand' undeclared (first use this function)
> gnome-session.c:245: (Each undeclared identifier is reported only once
> gnome-session.c:245: for each function it appears in.)
> gnome-session.c: In function `gnome_session_set_restart_command':
> gnome-session.c:251: `SmRestartCommand' undeclared (first use this function)
> gnome-session.c: In function `gnome_session_set_clone_command':
> gnome-session.c:257: `SmCloneCommand' undeclared (first use this function)
These guys are in one of the X libraries, -lSM I believe:
In my gnome-libs/libgnomeui/Makefile:
GNOMEUI_LIBS = -lgnomeui -lgtk -lgdk -lglib -lm  -L/usr/X11R6/lib  -lSM -lICE -l
X11  -lXext -lSM -lICE -lgnome  -ldl
GNOME_LIBS = -lgnome  -ldl
GTKXMHTML_LIBS = -lgtkxmhtml -lgtk -lgdk -lglib -lm -lXpm     -L/usr/X11R6/lib  
-lSM -lICE -lX11  -lXext -lSM -lICE
GTK_LIBS = -lgtk -lgdk -lglib -lm -ldl

I think I had to put the -ldl in myself, but autoconf did the rest for me.


  - Craig
-- 
Craig Small VK2XLZ, PGP: AD 8D D8 63 6E BF C3 C7  47 41 B1 A2 1F 46 EC 90
|@work: csmall@scooter.o.i.net,            @play: vk2xlz@vk2xlz.ampr.org|
|@home: csmall@small.dropbear.id.au,           @debian:csmall@debian.org|
Finger csmall@triode.net.au for PGP key, http://www.triode.net.au/~csmall



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]