[ROOT] Error in makefile

From: Ray Fliller III (rfliller@bnl.gov)
Date: Fri Sep 06 2002 - 14:59:27 MEST


  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/
==================================================================



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