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

Re: compiling gnome-0.11?



I have not compiled Gnome myself but your Makefile seems to lack -lXpm even 
though it's needed.

Brian K Servis writes:

[cut]
> Now I am getting this error:
> 
> /bin/sh ../libtool --mode=link gcc -g -O2  -o htmltest  test.o
> ../gtk-xmhtml/libgtkxmhtml.la -lgtk -lgdk -lglib -lm -L/usr/X11R6/lib
> -lX11  -lXext -lSM -lICE -lz -ljpeg   
> gcc -g -O2 -o _libs/htmltest test.o -Wl,-rpath -Wl,/usr/local/lib
> ../gtk-xmhtml/_libs/libgtkxmhtml.so -lgtk -lgdk -lglib -lm
> -L/usr/X11R6/lib -lX11 -lXext -lSM -lICE -lz -ljpeg
                                                      ^^^^^^^^
It looks like there are references to the Xpm library but you do not have 
-lXpm among the libraries to use. Try fixing the Makefile and adding -lXpm 
after -ljpeg. Also, if the Xpm library is in /usr/local/lib you need 
-L/usr/local/lib before -lXpm. You probably knew it but I sometimes manage to 
forget
the -L flag :)

> ../gtk-xmhtml/_libs/libgtkxmhtml.so: undefined reference to
> `XpmCreateXpmImageFromBuffer'
> ../gtk-xmhtml/_libs/libgtkxmhtml.so: undefined reference to
> `XpmFreeXpmInfo'
> ../gtk-xmhtml/_libs/libgtkxmhtml.so: undefined reference to
> `XpmGetErrorString'
> ../gtk-xmhtml/_libs/libgtkxmhtml.so: undefined reference to
> `XpmCreateXpmImageFromData'
> ../gtk-xmhtml/_libs/libgtkxmhtml.so: undefined reference to
> `XpmFreeXpmImage'
> make[2]: *** [htmltest] Error 1
> 
> 
> I have gettext, guile, gtk, slib, xlockmore, libXpm, libjpeg, libpng,
> zlib all installed either with deb packages or under /usr/local as
> required by the README for gnome.  ldconfig -v shows libXpm in it's list
> and I have run ldconfig after I installed each of the above packages.
> What am I missing?  I am really interested in checking out gnome.
> Thanks for any help or pointers.

// Heikki
-- 
Heikki Vatiainen                  * hessu@cs.tut.fi
Tampere University of Technology  * Tampere, Finland



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: