Re: compiling ROOT 2.23/09 on Mandrake Linux 6.1

From: allister@malapacan.msuiit.edu.ph
Date: Sun Dec 05 1999 - 00:34:15 MET


Hello Fons :)

Thanks a lot.  Your suggestion looks good (Actually I had to modify it a 
bit for my setup):

XLIBS  = -L/usr/X11R6/lib -lX11 -L/usr/local/root/lib -lXpm

Thanks to every one who responded.

Cheers,

Allister Levi C. Sanchez
IITHEP, MSU-IIT, Philippines


On Sat, 4 Dec 1999, Fons Rademakers wrote:

> Hi Allister,
> 
>    libXpm comes in the Mandrake (and RedHat) package xpm-3.4k-1 (version
> numbers may be different). You have to load this package from your Mandrake
> CD or otherwise download it from the web. All Linux distributions come
> with this lib so we assume it is there (just like the g++ compiler).
> However, we still distribute a binary version in $ROOTSYS/lib so you
> could change Makefile.linuxegcs:
> XLIBS         = -L/usr/X11R6/lib -lX11 -L$ROOTSYS/lib -lXpm
> 
> 
> Cheers, Fons.
> 
> 
> > Hi,
> > 
> > I tried installing ROOT 2.23/09 on Mandrake Linux 6.1 in a Cyrix MII 333
> > MHz.  When I do:
> > 
> > $ ./configure linuxegcs --prefix=/usr/local
> > $ make depend
> > $ make
> > 
> > There's an error:
> > 
> > g++ -shared -Wl,-soname,libGX11.so -O2 -Wl,-rpath,/usr/local/lib/root
> > -L/usr/local/lib/root -o ../lib/libGX11.so X11_GX11.o X11_GX11Gui.o
> > X11_Rotated.o X11_gifdecode.o X11_gifencode.o X11_gifquantize.o
> > X11_G__X11.o -L/usr/X11R6/lib -lX11 -lXpm
> > /usr/bin/ld: cannot open -lXpm: No such file or directory
> > collect2: ld returned 1 exit status
> > make[1]: *** [../lib/libGX11.so] Error 1
> > make[1]: Leaving directory `/usr/local/root/src'
> > make: *** [default] Error 2
> > 
> > Where's -lXpm from?  Please help me out.
> > 
> > Best wishes,
> > 
> > ALLISTER LEVI C. SANCHEZ
> > DEPARTMENT OF PHYSICS
> > MSU - ILIGAN INSTITUTE OF TECHNOLOGY
> > 9200 ILIGAN CITY
> > PHILIPPINES
> > 
> > Today's Line: Forgiveness! Oh what a way to solve memory leaks!
> > 
> > 
> 
> 
> -- 
> Org:    CERN, European Laboratory for Particle Physics.
> Mail:   1211 Geneve 23, Switzerland
> E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910
> 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:44 MET