Hi,
I tried to build root 4.03/04 on Mac OS X 10.3.8 using the new configuration option to disable the builtin freetype, i.e.
configure macosx --disable-builtin-freetype
The subsequent make fails with:
make: *** No rule to make target `-lfreetype', needed by
`graf/src/TLatex.o'. Stop.
It turns out that in case that disable-builtin-freetype is active, this code in freetype/Module.mk is executed:
FREETYPELIBF := $(shell freetype-config --libs) FREETYPEINC := $(shell freetype-config --cflags) FREETYPELIB := $(filter -l%,$(FREETYPELIBF)) FREETYPELDFLAGS := $(filter-out -l%,$(FREETYPELIBF))
thus FREETYPELIB is set to '-lfreetype'. So far so good, but in the following Module.mk the variable FREETYPELIB is also used for the dependency tracking, i.e. there are lines like:
$(GRAFLIB): $(GRAFO) $(GRAFDO) $(FREETYPELIB) $(MAINLIBS)
$(GRAFLIBDEP)
graf/Module.mk
x11ttf/Module.mk
asimage/Module.mk
This triggers the error above. I just removed the dependency on
$(FREETYPELIB) from the three Module.mk files and the compile finished
successfully.
Cheers,
Remi
Remigius K. Mommsen e-mail: mommsen_at_slac.stanford.edu University of California, Irvine URL: http://cern.ch/mommsen c/o SLAC voice: ++1 (650) 926-3595 2575 Sand Hill Road #35 fax: ++1 (650) 926-3882 Menlo Park, CA 94025, US home: ++1 (650) 233-9041 *********************************************************************Received on Sun Apr 10 2005 - 01:06:17 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET