LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   xmakefile (https://www.linuxquestions.org/questions/linux-from-scratch-13/xmakefile-458627/)

deucedlt 06-26-2006 11:12 PM

xmakefile
 
After installing lfs 6.1 using the livecd I tried to
install X following instr in BLFS book. Installed de-
pendencies (expat, freetype, etc.) and got as far as
page 508, where the recommended build command failed
with "Error 2", complaining about can't find xmakefile.
I found a reference to xmakefile in the xc directory
Makefile but don't know how to make it work. Any help
much appreciated.

deucedlt 06-28-2006 10:33 AM

xorg-compile.log
 
for more info on this query, here is log file with errors.


Building Release 6.8.2.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

Mon Jun 26 13:01:41 PDT 2006

cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean
make[1]: Entering directory `/sources/xc/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
rm -f imakemdep_cpp.h
make[1]: Leaving directory `/sources/xc/config/imake'
make Makefile.boot
make[1]: Entering directory `/sources/xc'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc"
make[2]: Entering directory `/sources/xc/config/imake'
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
cc -o ccimake -DCROSSCOMPILEDIR=\"\" -O -I../../include -I../../imports/x11/include/X11 ccimake.c
if [ -n "" ] ; then \
/cc -E `./ccimake` \
-DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h; \
else touch imakemdep_cpp.h; fi
cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
cc -o imake -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory `/sources/xc/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
cd ./config/makedepend && rm -f -r Makefile Makefile.dep makedepend *.o bootstrap
cd ./config/makedepend && make -f Makefile.proto bootstrap
make[2]: Entering directory `/sources/xc/config/makedepend'
Makefile.proto:34: *** missing separator. Stop.
make[2]: Leaving directory `/sources/xc/config/makedepend'
make[1]: *** [depend.bootstrap] Error 2
make[1]: Leaving directory `/sources/xc'
make: *** [World] Error 2

hbinded 07-02-2006 06:03 PM

try removing the build and source directories and start afresh.
pay special attention to the host.def file. I've built it 3 or 4 times and I never had any problems.


All times are GMT -5. The time now is 08:24 AM.