Re: [ROOT] Error in makefile

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Sep 06 2002 - 16:12:02 MEST


Hi Ray,

  how are you running ./configure? Try running ./configure with the -x
flag (chang #!/bin/sh to #!/bin/sh -x) and send me the output.

-- Fons


On Fri, 2002-09-06 at 14:59, Ray Fliller III wrote:
> 
> 
>   I'm was updateing to the CVS version of root today on Mandrake Linux
> 8.2.  I was trying to enable TTF when I get the following error on
> compilation
> 
>   g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
> -D_REENTRANT -I/opt/cern/root/ttf/include -o x11ttf/src/TGX11TTF.o -c
> x11ttf/src/TGX11TTF.cxx
> g++ -shared -Wl,-soname,libGX11TTF.so.3.03 -O -o lib/libGX11TTF.so.3.03
> x11ttf/src/TGX11TTF.o x11ttf/src/G__X11TTF.o /opt/cern/root/lib
> /opt/cern/root/ttf/lib/libttf.a
> /opt/cern/root/lib: file not recognized: Is a directory
> collect2: ld returned 1 exit status
> gmake: *** [lib/libGX11TTF.so] Error 1
> 
> 
>  Looking on Makefile.config I see the line
>  TTFLIBDIR      := /opt/cern/root/lib
> 
>  This should be 
>  TTFLIBDIR      := -L/opt/cern/root/lib
> 
>   Then it compiles and runs fine.
> 
> This did not happen on version 3.02.07.
> 
> 
> 
> -- 
> 
>  RAINMAN
>       "How much does a piece of gum cost Ray?"
>       "About $100."
>       "How much does a new car cost Ray?"
>       "`Bout $100."
>       "There goes working for NASA!"
> 
> ==================================================================
> Ray Fliller: rfliller@bnl.gov      Office Phone: (631)-344-6124 
> C-A Accelerator Physics            Dept. Fax: (631)-344-5954
> Building 911B
> Brookhaven National Lab
> Upton, NY 11973                    Office: Room 211
> 
> http://www.agsrhichome.bnl.gov/People/rfliller/
> ==================================================================
-- 
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 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:08 MET