[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: [Axiom-developer] Build trouble on Mandrake
From: |
Martin RUBEY |
Subject: |
[Gcl-devel] Re: [Axiom-developer] Build trouble on Mandrake |
Date: |
Mon, 15 Mar 2004 08:53:28 +0100 (CET) |
Hi (and thanks a lot for your time)
On Sun, 14 Mar 2004, David MENTRE wrote:
> Hello,
>
> Martin RUBEY <address@hidden> writes:
>
> >> Could you post the content of lsp/gcl-2.6.1/config.log of your Axiom
> >> compilation?
> > int main() { exit(alloca(500) != NULL ? 0 : 1);}
> > configure:5918: checking Checking for buggy gcc version from redhat
>
> Apparently, there isn't the end of this file. In my own config.log, I
> have after the above line ("Checking for buggy gcc version from
> redhat"), I have:
> configure:9772: result: no
> configure:9875: creating ./config.status
>
> ## ---------------------- ##
> ## Running config.status. ##
> ## ---------------------- ##
>
> Is this part really missing in your config.log?
YES.
> If configure succeeded in creating config.status, you should have a
> section:
> #
> # CONFIG_FILES section.
> #
>
>
> # No need to generate the scripts if there are no CONFIG_FILES.
> # This happens for instance when ./config.status config.h
> if test -n "$CONFIG_FILES"; then
> # Protect against being on the right side of a sed subst in config.status.
> sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
> s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
> s,@SHELL@,/bin/sh,;t t
> s,@PATH_SEPARATOR@,:,;t t
>
> Could you send it, with all the "s,@PATH_SEPARATOR@,:,;t t" patterns
> (until the CEOF line)?
>
>
>
> As a side note, when compiling Axiom, it is always nice to make a full
> transcript of the compilation by using the script command or by
> compiling in an Emacs shell. Thus we can have the full compilation
> commands and results.
unfortunately, this is a lot of stuff. But if you like, I mail it to
you...
>
> It is always difficult to debug by emails. :)
>
> Yours,
> d.
>
Thanks for the effort anyway. On my own, I'd be simply lost.
Here comes config.status. although there is nothing like the aove. I just
copied everything from the first appearance of CONFIG_FILES...
CONFIG_FILES=${CONFIG_FILES-"makedefc windows/gcl.iss windows/sysdir.bat
windows/install.lsp "}
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting
infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
# Remove last slash and all that follows it. Not all systems have
dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
# A "../" for each directory in $ac_dir_suffix.
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
else
ac_dir_suffix= ac_dots=
fi
case "$ac_given_srcdir" in
.) srcdir=.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
/*) srcdir="$ac_given_srcdir$ac_dir_suffix";
top_srcdir="$ac_given_srcdir" ;;
*) # Relative path.
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed
's%.*/%%'` by configure."
case "$ac_file" in
*Makefile*) ac_comsub="1i\\
# $configure_input" ;;
*) ac_comsub= ;;
esac
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e
"s%:% $ac_given_srcdir/%g"`
sed -e "$ac_comsub
address@hidden@%$configure_input%g
address@hidden@%$srcdir%g
address@hidden@%$top_srcdir%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being
given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_uB='\([ ]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME
VALUE".
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'
if test "${CONFIG_HEADERS+set}" != set; then
CONFIG_HEADERS="h/gclincl.h"
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting
infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
echo creating $ac_file
rm -f conftest.frag conftest.in conftest.out
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e
"s%:% $ac_given_srcdir/%g"`
cat $ac_file_inputs > conftest.in
cat > conftest.frag <<CEOF
${ac_dA}MAXPAGE${ac_dB}MAXPAGE${ac_dC}128*1024${ac_dD}
${ac_uA}MAXPAGE${ac_uB}MAXPAGE${ac_uC}128*1024${ac_uD}
${ac_eA}MAXPAGE${ac_eB}MAXPAGE${ac_eC}128*1024${ac_eD}
${ac_dA}VSSIZE${ac_dB}VSSIZE${ac_dC}65536*2${ac_dD}
${ac_uA}VSSIZE${ac_uB}VSSIZE${ac_uC}65536*2${ac_uD}
${ac_eA}VSSIZE${ac_eB}VSSIZE${ac_eC}65536*2${ac_eD}
${ac_dA}MP_LIMB_BYTES${ac_dB}MP_LIMB_BYTES${ac_dC}4${ac_dD}
${ac_uA}MP_LIMB_BYTES${ac_uB}MP_LIMB_BYTES${ac_uC}4${ac_uD}
${ac_eA}MP_LIMB_BYTES${ac_eB}MP_LIMB_BYTES${ac_eC}4${ac_eD}
${ac_dA}GMP${ac_dB}GMP${ac_dC}1${ac_dD}
${ac_uA}GMP${ac_uB}GMP${ac_uC}1${ac_uD}
${ac_eA}GMP${ac_eB}GMP${ac_eC}1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}HAVE_LIBBFD${ac_dB}HAVE_LIBBFD${ac_dC}1${ac_dD}
${ac_uA}HAVE_LIBBFD${ac_uB}HAVE_LIBBFD${ac_uC}1${ac_uD}
${ac_eA}HAVE_LIBBFD${ac_eB}HAVE_LIBBFD${ac_eC}1${ac_eD}
${ac_dA}HAVE_BFD_BOOLEAN${ac_dB}HAVE_BFD_BOOLEAN${ac_dC}1${ac_dD}
${ac_uA}HAVE_BFD_BOOLEAN${ac_uB}HAVE_BFD_BOOLEAN${ac_uC}1${ac_uD}
${ac_eA}HAVE_BFD_BOOLEAN${ac_eB}HAVE_BFD_BOOLEAN${ac_eC}1${ac_eD}
${ac_dA}SIZEOF_LONG${ac_dB}SIZEOF_LONG${ac_dC}4${ac_dD}
${ac_uA}SIZEOF_LONG${ac_uB}SIZEOF_LONG${ac_uC}4${ac_uD}
${ac_eA}SIZEOF_LONG${ac_eB}SIZEOF_LONG${ac_eC}4${ac_eD}
${ac_dA}SIZEOF_CONTBLOCK${ac_dB}SIZEOF_CONTBLOCK${ac_dC}8${ac_dD}
${ac_uA}SIZEOF_CONTBLOCK${ac_uB}SIZEOF_CONTBLOCK${ac_uC}8${ac_uD}
${ac_eA}SIZEOF_CONTBLOCK${ac_eB}SIZEOF_CONTBLOCK${ac_eC}8${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}HAVE_ENDIAN_H${ac_dB}HAVE_ENDIAN_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_ENDIAN_H${ac_uB}HAVE_ENDIAN_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_ENDIAN_H${ac_eB}HAVE_ENDIAN_H${ac_eC}1${ac_eD}
${ac_dA}LITTLE_END${ac_dB}LITTLE_END${ac_dC}1${ac_dD}
${ac_uA}LITTLE_END${ac_uB}LITTLE_END${ac_uC}1${ac_uD}
${ac_eA}LITTLE_END${ac_eB}LITTLE_END${ac_eC}1${ac_eD}
${ac_dA}DBEGIN${ac_dB}DBEGIN${ac_dC}0x8000000 /* where data begins
*/${ac_dD}
${ac_uA}DBEGIN${ac_uB}DBEGIN${ac_uC}0x8000000 /* where data begins
*/${ac_uD}
${ac_eA}DBEGIN${ac_eB}DBEGIN${ac_eC}0x8000000 /* where data begins
*/${ac_eD}
${ac_dA}CSTACK_ADDRESS${ac_dB}CSTACK_ADDRESS${ac_dC}-1073745548 ${ac_dD}
${ac_uA}CSTACK_ADDRESS${ac_uB}CSTACK_ADDRESS${ac_uC}-1073745548 ${ac_uD}
${ac_eA}CSTACK_ADDRESS${ac_eB}CSTACK_ADDRESS${ac_eC}-1073745548 ${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}HAVE_LONG_LONG${ac_dB}HAVE_LONG_LONG${ac_dC}1${ac_dD}
${ac_uA}HAVE_LONG_LONG${ac_uB}HAVE_LONG_LONG${ac_uC}1${ac_uD}
${ac_eA}HAVE_LONG_LONG${ac_eB}HAVE_LONG_LONG${ac_eC}1${ac_eD}
${ac_dA}PAGEWIDTH${ac_dB}PAGEWIDTH${ac_dC}12${ac_dD}
${ac_uA}PAGEWIDTH${ac_uB}PAGEWIDTH${ac_uC}12${ac_uD}
${ac_eA}PAGEWIDTH${ac_eB}PAGEWIDTH${ac_eC}12${ac_eD}
${ac_dA}HAVE_GETCWD${ac_dB}HAVE_GETCWD${ac_dC}1${ac_dD}
${ac_uA}HAVE_GETCWD${ac_uB}HAVE_GETCWD${ac_uC}1${ac_uD}
${ac_eA}HAVE_GETCWD${ac_eB}HAVE_GETCWD${ac_eC}1${ac_eD}
${ac_dA}HAVE_GETWD${ac_dB}HAVE_GETWD${ac_dC}1${ac_dD}
${ac_uA}HAVE_GETWD${ac_uB}HAVE_GETWD${ac_uC}1${ac_uD}
${ac_eA}HAVE_GETWD${ac_eB}HAVE_GETWD${ac_eC}1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}HAVE_SYS_IOCTL_H${ac_dB}HAVE_SYS_IOCTL_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_SYS_IOCTL_H${ac_uB}HAVE_SYS_IOCTL_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_SYS_IOCTL_H${ac_eB}HAVE_SYS_IOCTL_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_MATH_H${ac_dB}HAVE_MATH_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_MATH_H${ac_uB}HAVE_MATH_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_MATH_H${ac_eB}HAVE_MATH_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_MATH_H${ac_dB}HAVE_MATH_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_MATH_H${ac_uB}HAVE_MATH_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_MATH_H${ac_eB}HAVE_MATH_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_VALUES_H${ac_dB}HAVE_VALUES_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_VALUES_H${ac_uB}HAVE_VALUES_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_VALUES_H${ac_eB}HAVE_VALUES_H${ac_eC}1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}HAVE_VALUES_H${ac_dB}HAVE_VALUES_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_VALUES_H${ac_uB}HAVE_VALUES_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_VALUES_H${ac_eB}HAVE_VALUES_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_FLOAT_H${ac_dB}HAVE_FLOAT_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_FLOAT_H${ac_uB}HAVE_FLOAT_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_FLOAT_H${ac_eB}HAVE_FLOAT_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_FLOAT_H${ac_dB}HAVE_FLOAT_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_FLOAT_H${ac_uB}HAVE_FLOAT_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_FLOAT_H${ac_eB}HAVE_FLOAT_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_ISNORMAL${ac_dB}HAVE_ISNORMAL${ac_dC}1${ac_dD}
${ac_uA}HAVE_ISNORMAL${ac_uB}HAVE_ISNORMAL${ac_uC}1${ac_uD}
${ac_eA}HAVE_ISNORMAL${ac_eB}HAVE_ISNORMAL${ac_eC}1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}HAVE_ISFINITE${ac_dB}HAVE_ISFINITE${ac_dC}1${ac_dD}
${ac_uA}HAVE_ISFINITE${ac_uB}HAVE_ISFINITE${ac_uC}1${ac_uD}
${ac_eA}HAVE_ISFINITE${ac_eB}HAVE_ISFINITE${ac_eC}1${ac_eD}
${ac_dA}HAVE_NSOCKET${ac_dB}HAVE_NSOCKET${ac_dC}1${ac_dD}
${ac_uA}HAVE_NSOCKET${ac_uB}HAVE_NSOCKET${ac_uC}1${ac_uD}
${ac_eA}HAVE_NSOCKET${ac_eB}HAVE_NSOCKET${ac_eC}1${ac_eD}
${ac_dA}LISTEN_USE_FCNTL${ac_dB}LISTEN_USE_FCNTL${ac_dC}1${ac_dD}
${ac_uA}LISTEN_USE_FCNTL${ac_uB}LISTEN_USE_FCNTL${ac_uC}1${ac_uD}
${ac_eA}LISTEN_USE_FCNTL${ac_eB}LISTEN_USE_FCNTL${ac_eC}1${ac_eD}
${ac_dA}HAVE_SETENV${ac_dB}HAVE_SETENV${ac_dC}1${ac_dD}
${ac_uA}HAVE_SETENV${ac_uB}HAVE_SETENV${ac_uC}1${ac_uD}
${ac_eA}HAVE_SETENV${ac_eB}HAVE_SETENV${ac_eC}1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}HAVE_SV_ONSTACK${ac_dB}HAVE_SV_ONSTACK${ac_dC}1${ac_dD}
${ac_uA}HAVE_SV_ONSTACK${ac_uB}HAVE_SV_ONSTACK${ac_uC}1${ac_uD}
${ac_eA}HAVE_SV_ONSTACK${ac_eB}HAVE_SV_ONSTACK${ac_eC}1${ac_eD}
${ac_dA}HAVE_SIGSYS${ac_dB}HAVE_SIGSYS${ac_dC}1${ac_dD}
${ac_uA}HAVE_SIGSYS${ac_uB}HAVE_SIGSYS${ac_uC}1${ac_uD}
${ac_eA}HAVE_SIGSYS${ac_eB}HAVE_SIGSYS${ac_eC}1${ac_eD}
${ac_dA}HAVE_ASM_SIGCONTEXT_H${ac_dB}HAVE_ASM_SIGCONTEXT_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_ASM_SIGCONTEXT_H${ac_uB}HAVE_ASM_SIGCONTEXT_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_ASM_SIGCONTEXT_H${ac_eB}HAVE_ASM_SIGCONTEXT_H${ac_eC}1${ac_eD}
${ac_dA}HAVE_ASM_SIGNAL_H${ac_dB}HAVE_ASM_SIGNAL_H${ac_dC}1${ac_dD}
${ac_uA}HAVE_ASM_SIGNAL_H${ac_uB}HAVE_ASM_SIGNAL_H${ac_uC}1${ac_uD}
${ac_eA}HAVE_ASM_SIGNAL_H${ac_eB}HAVE_ASM_SIGNAL_H${ac_eC}1${ac_eD}
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
cat > conftest.frag <<CEOF
${ac_dA}SIGNAL_H_HAS_SIGCONTEXT${ac_dB}SIGNAL_H_HAS_SIGCONTEXT${ac_dC}1${ac_dD}
${ac_uA}SIGNAL_H_HAS_SIGCONTEXT${ac_uB}SIGNAL_H_HAS_SIGCONTEXT${ac_uC}1${ac_uD}
${ac_eA}SIGNAL_H_HAS_SIGCONTEXT${ac_eB}SIGNAL_H_HAS_SIGCONTEXT${ac_eC}1${ac_eD}
${ac_dA}HAVE_ALLOCA${ac_dB}HAVE_ALLOCA${ac_dC}1${ac_dD}
${ac_uA}HAVE_ALLOCA${ac_uB}HAVE_ALLOCA${ac_uC}1${ac_uD}
${ac_eA}HAVE_ALLOCA${ac_eB}HAVE_ALLOCA${ac_eC}1${ac_eD}
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
rm -f conftest.frag conftest.h
echo "/* $ac_file. Generated automatically by configure. */" >
conftest.h
cat conftest.in >> conftest.h
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
echo "$ac_file is unchanged"
rm -f conftest.h
else
# Remove last slash and all that follows it. Not all systems have
dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
fi
rm -f $ac_file
mv conftest.h $ac_file
fi
fi; done
exit 0