On Wed, 5 Nov 2003, Jianglai Liu wrote: > I have been tring to compile ROOT 3.05/07 on my desktop. I did the > normal > > ./configure linux > and then > > gmake > > Somehow it dies when trying to look for the X11 header file. Below is the > initial portion of the error messages (it was way too long so I can't copy > all of them.) > > g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -D_REENTRANT -o It shouldn't be flag -Iinclude, but -I(where are includes), eg -I/usr/include or even more -I/usr/include -I. -I/some/other/dir so... 1) rather than gmake try to type make all I typed it and it succesfully compiled everything 2) another way is to before ./configure set CPPFLAGS, like that: export CPPFLAGS="-I/needed/include/dir -I/second/needed/include/dir -I." etc. Good lock -- Łukasz Ślusarczyk http://rainbow.mimuw.edu.pl/~lucasso/ http://508.ds2.uw.edu.pl
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET