[lazarus] forms.pp ?

Tjabo Kloppenburg Tjabo.Kloppenburg at unix-ag.org
Mon May 28 04:40:19 EDT 2001


hi again :-)

when startung the build ("success...") I see this in the console:
[TCompiler.Compile] CmdLine="/usr/lib/fpc/1.0.5/ppc386 -Rintel -S2cgi -C -Ch8000000 -Og1p1
-XD -vwnhi -l /amd/vmax/vmax/home/tjabo/test/Project1.pp"
[TCompiler.Compile] Output="Error: Illegal parameter: if [ $# == 0 ]; then"
[TCompiler.Compile] Output="Error: Illegal parameter: echo 'Usage :'"
[TCompiler.Compile] Output="Error: Illegal parameter: echo 'samplecfg fpcdir confdir'"
[TCompiler.Compile] Output="Error: Illegal parameter: echo 'fpcdir = Path where FPC is
installed'"
[TCompiler.Compile] Output="Error: Illegal parameter: echo 'confdir = Path to /etc'"
[TCompiler.Compile] Output="Error: Illegal parameter: exit 1"
[TCompiler.Compile] Output="Error: Illegal parameter: fi"
[TCompiler.Compile] Output="Error: Illegal parameter: if [  ]; then"
[TCompiler.Compile] Output="Error: Illegal parameter: sysdir="
[TCompiler.Compile] Output="Error: Illegal parameter: [ -d $sysdir ] || mkdir $sysdir"
[TCompiler.Compile] Output="Error: Illegal parameter: else"
[TCompiler.Compile] Output="Error: Illegal parameter: sysdir=/etc"
[TCompiler.Compile] Output="Error: Illegal parameter: fi"
[TCompiler.Compile] Output="Error: Illegal parameter: if [ -w $sysdir ] ; then"
[TCompiler.Compile] Output="Error: Illegal parameter: echo Write permission in $sysdir."
[TCompiler.Compile] Output="Error: Illegal parameter: thefile=$sysdir/ppc386.cfg"
[TCompiler.Compile] Output="Error: Illegal parameter: else"
[TCompiler.Compile] Output="Error: Illegal parameter: echo No write premission in $sysdir."
[TCompiler.Compile] Output="Error: Illegal parameter: thefile=$HOME/.ppc386.cfg"
[TCompiler.Compile] Output="Error: Illegal parameter: fi"
[TCompiler.Compile] Output="Error: Illegal parameter: if [ -f $thefile ] ; then"
[TCompiler.Compile] Output="Error: Illegal parameter: mv $thefile $thefile.orig  >/dev/null
2>&1"
[TCompiler.Compile] Output="Error: Illegal parameter: if [ $? == 0 ]; then"
[TCompiler.Compile] Output="Error: Illegal parameter: echo Saved old config to $thefile.orig"
[TCompiler.Compile] Output="Error: Illegal parameter: else"
[TCompiler.Compile] Output="Error: Illegal parameter: echo Could not save old config. Bailing
out..."
[TCompiler.Compile] Output="Error: Illegal parameter: exit"
[TCompiler.Compile] Output="Error: Illegal parameter: fi"
[TCompiler.Compile] Output="Error: Illegal parameter: fi"
[TCompiler.Compile] Output="Error: Illegal parameter: GCCSPEC=`(gcc -v 2>&1)| head -n 1| awk
'{ print $4 } '`"
[TCompiler.Compile] Output="Error: Illegal parameter: GCCDIR=`dirname $GCCSPEC`"
[TCompiler.Compile] Output="Error: Illegal parameter: echo Found libgcc.a in $GCCDIR"
[TCompiler.Compile] Output="Error: Illegal parameter: echo Writing sample configuration file
to $thefile"
[TCompiler.Compile] Output="Error: Illegal parameter: cat <<EOFCFG > $thefile"
[TCompiler.Compile] Output="Error: Illegal parameter: EOFCFG"
[TCompiler.Compile] end


seems to be a shell script, not a compiler.
I think someone was too optimistic when coding the source for
detecting a successful built process... :-/

tk.






More information about the Lazarus mailing list