[Dot] mandrake 10.1 compile error
Ported Issue from Mantis Original ID: 866 Reported By: Ryan
SEVERITY: MINOR Submitted: 2005-04-07 03:29:13
OS: X86-LINUX-MANDRAKE 10.1
DESCRIPTION
I congigure without any troubles doing ./configure --prefix=/usr
While executing make about 90 percent through these error codes and I'm not sure where to fix it
Making install in Sfio_dc
make[3]: Entering directory `/home/swimmy/setupfiles/kdevelop/graphviz2/lib/sfio/Sfio_dc'
if /bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib/sfio -g -O2 -Wno-unused-parameter -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT sfdcdio.lo -MD -MP -MF ".deps/sfdcdio.Tpo" -c -o sfdcdio.lo sfdcdio.c; \
then mv -f ".deps/sfdcdio.Tpo" ".deps/sfdcdio.Plo"; else rm -f ".deps/sfdcdio.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib/sfio -g -O2 -Wno-unused-parameter -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT sfdcdio.lo -MD -MP -MF .deps/sfdcdio.Tpo -c sfdcdio.c -fPIC -DPIC -o .libs/sfdcdio.o
In file included from ../../../lib/sfio/sfhdr.h:31,
from sfdchdr.h:21,
from sfdcdio.c:17:
../../../FEATURE/sfio:1: error: stray '\27' in program
../../../FEATURE/sfio:1: error: syntax error before '[' token
../../../FEATURE/sfio:1: error: stray '\27' in program
make[3]: *** [sfdcdio.lo] Error 1
make[3]: Leaving directory `/home/swimmy/setupfiles/kdevelop/graphviz2/lib/sfio/Sfio_dc'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/swimmy/setupfiles/kdevelop/graphviz2/lib/sfio'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/swimmy/setupfiles/kdevelop/graphviz2/lib'
make: *** [install-recursive] Error 1
STEPS TO REPRODUCE
./configure --prefix=/usr/
make
ADDITIONAL INFORMATION
As stated above I get compile errors. I have tried to troubleshoot it myself, but to no avail
[ellson] FEATURE/sfio is a generated file from a ksh script. Do you have ksh installed? N.B. Must be ksh. sh or bash won't work.
After checking, do:
rm FEATURE/*
make