gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] configure and make failed on FreeBSD


From: Camm Maguire
Subject: Re: [Gcl-devel] configure and make failed on FreeBSD
Date: 26 Oct 2002 12:32:57 -0400

Greetings, and thanks for your feedback here!

1) All you seem to be missing now is GNU make, or gmake on some
   systems.  Thus far, GCL uses the -include syntax to optionally
   include the makedefs only if present.  We need to rework this, but
   so far it has taken on a lower priority than work on the core
   system.  Eventually, we will be using automake, which should
   produce Makefiles usable by more generic make programs.  For now,
   if you could just get a hold of gmake and try it, I think you are
   very close.

2) We are in need of someone like yourself with access to *BSD systems
   to maintain the GCL build process there.  Would you be interested
   in helping with this?  If so, please register at savannah.gnu.org
   and email me your user id -- I can then set you up as a GCL
   developer with access to the repository.

Take care,

GOTO Kentaro <address@hidden> writes:

> Hi,
> 
> At 25 Oct 2002 11:27:29 -0400,
> Camm Maguire wrote:
> > Greetings!  OK, you have a few problems.  GCL has had quite a bit of
> > work since 1.1, the version indicated in the FreeBSD.h file.  In
> > general, I would suggest starting with 386-linux.(h,defs}, which will
> > probably work right off the bat, and then only if necessary taking
> > what youp might need from the older FreeBSD.{h,defs} files.
> 
> I see.  I would try --enable-wish=386-linux at first. 
> 
> > Second, is this a CVS snapshot, or 2.4.3?  You should not attempt an
> > older version.  I don't recognize the order of your configure output,
> > though it could be that of 2.4.3.  CVS looks quite different.
> 
> I'm very sorry that I was using pretty old snapshot cvs-checkout'ed
> from utexas :<
> 
> Now, I did cvs co'ed from address@hidden, read previous
> log again with your suggestion, patched the configure script a bit,
> but the configure looked to fail with messages quite different from
> what I post previously.
> 
> I would attach a complete log below.  If these attachments are too
> large to post here, I would put them on my web site in next time.  
> 
> 
> Thanks, 
> 
> 
> Gotoken
> 
> % rm -fr gcl
> % cvs -z3 -d:pserver:address@hidden:/cvsroot/gcl co gcl
> [...]
> % cd gcl
> % mv configure configure~
> % cp -p ~/tmp/configure .
> % cvs diff configure > configure.diff
> % ./configure --enable-wish=wish8.0jp \
>               --enable-tclsh=tclsh8.0jp \
>               --enable-machine=386-linux >& configure.log-386-linux
> % gmake
> cat h/config.h | sed -e "1,/Begin for cmpincl/d" \
>         -e "/End for cmpinclude/,50000d" > tmpx
> cat h/cmpincl1.h h/gclincl.h h/compbas.h h/enum.h h/mgmp.h h/object.h h/vs.h 
> h/bds.h h/frame.h h/lex.h h/eval.h    h/funlink.h h/att_ext.h h/new_decl.h 
> h/compbas2.h h/compat.h h/cmponly.h o/regexp.h h//protoize.h >> tmpx
> ./xbin/move-if-changed mv tmpx h/cmpinclude.h
> tmpx and h/cmpinclude.h were not the same.
> ln tmpx h/cmpinclude.h
> ./xbin/move-if-changed cp h/cmpinclude.h o/cmpinclude.h
> h/cmpinclude.h and o/cmpinclude.h were not the same.
> ln h/cmpinclude.h o/cmpinclude.h
> (cd bin; make all)
> "makefile", line 5: Need an operator
> make: fatal errors encountered -- cannot continue
> gmake: *** [unixport/saved_gcl] Error 1
> % 
> 
> % cat configure.diff
> Index: configure
> ===================================================================
> RCS file: /cvsroot/gcl/gcl/configure,v
> retrieving revision 1.83
> diff -u -r1.83 configure
> --- configure 9 Oct 2002 03:46:33 -0000       1.83
> +++ configure 25 Oct 2002 17:47:57 -0000
> @@ -627,6 +627,26 @@
>    enable_notify="yes"
>  fi
>  
> + 
> +# Check whether --enable-tclsh or --disable-tclsh was given.
> +if test "${enable_tclsh+set}" = set; then
> +  enableval="$enable_tclsh"
> +  TCLSH=$enableval
> +else
> +  TCLSH="unknown"
> +end
> +fi
> + 
> +
> +# Check whether --enable-wish or --disable-wish was given.
> +if test "${enable_wish+set}" = set; then   
> +  enableval="$enable_wish"
> +  TKSH=$enableval
> +else
> +  TKSH="unknown"
> +end
> +fi
> +
>  
>  # Check whether --enable-tkconfig or --disable-tkconfig was given.
>  if test "${enable_tkconfig+set}" = set; then
> 
> % cat configure.log-386-linux
> creating cache ./config.cache
> checking host system type... i386-unknown-freebsd4.5
> host=i386-unknown-freebsd4.5
> enable_machine=386-linux
> use=386-linux
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking how to run the C preprocessor... gcc -E
> checking system version (for dynamic loading)... checking for gawk... no
> checking for nawk... no
> checking for awk... awk
> checking for makeinfo... makeinfo
> FreeBSD-4.5-RELEASE
> checking use_gmp=yes, doing configure in gmp directory... 
> #
> #
> # -------------------
> # Subconfigure of GMP
> #
> #
> checking build system type... pentium3-unknown-freebsd4.5
> checking host system type... pentium3-unknown-freebsd4.5
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for mawk... no
> checking for gawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets ${MAKE}... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking compiler gcc -g -O2 -fomit-frame-pointer ... yes
> checking compiler gcc -g -O2 -fomit-frame-pointer  -mcpu=pentiumpro... yes
> checking whether gcc -march=pentiumpro is good... no
> checking compiler gcc -g -O2 -fomit-frame-pointer -mcpu=pentiumpro  
> -march=i486... yes
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for executable suffix... 
> checking for object suffix... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of gcc... none
> checking for gcc option to accept ANSI C... none needed
> checking how to run the C preprocessor... gcc -E
> using ABI="standard"
>       CC="gcc"
>       CFLAGS="-g -O2 -fomit-frame-pointer -mcpu=pentiumpro -march=i486"
>       CPPFLAGS=""
> checking for gcc option to accept ANSI C... none needed
> checking for function prototypes... yes
> checking for ANSI C header files... yes
> checking for string.h... yes
> checking for ar... ar
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking for ld used by GCC... /usr/libexec/elf/ld
> checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
> checking for /usr/libexec/elf/ld option to reload object files... -r
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... pass_all
> checking for dlfcn.h... yes
> checking the maximum length of command line arguments... 24577
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for objdir... .libs
> checking for ranlib... ranlib
> checking for strip... strip
> checking if gcc static flag  works... yes
> checking if gcc supports -fno-rtti -fno-exceptions... yes
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking whether the gcc linker (/usr/libexec/elf/ld) supports shared 
> libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... freebsd4.5 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> configure: creating libtool
> checking if the assembler knows about MMX instructions... yes
> checking for ANSI C header files... (cached) yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for locale.h... yes
> checking for sys/mman.h... yes
> checking for sys/param.h... yes
> checking for sys/processor.h... no
> checking for sys/resource.h... yes
> checking for sys/sysctl.h... yes
> checking for sys/systemcfg.h... no
> checking for sys/time.h... yes
> checking for sys/times.h... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... (cached) yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... no
> checking for unistd.h... yes
> checking whether fgetc is declared... yes
> checking whether fscanf is declared... yes
> checking whether optarg is declared... yes
> checking whether ungetc is declared... yes
> checking whether vfprintf is declared... yes
> checking return type of signal handlers... void
> checking for intmax_t... no
> checking for long double... yes
> checking for long long... yes
> checking for ptrdiff_t... yes
> checking for quad_t... yes
> checking for preprocessor stringizing operator... yes
> checking whether <stdarg.h> exists and works... yes
> checking whether gcc __attribute__ ((const)) works... yes
> checking whether gcc __attribute__ ((malloc)) works... no
> checking whether gcc __attribute__ ((mode (XX))) works... yes
> checking whether gcc __attribute__ ((noreturn)) works... yes
> checking for inline... inline
> checking for main in -lm... yes
> checking for working alloca.h... no
> checking for alloca (via gmp-impl.h)... yes
> checking how to allocate temporary memory... alloca
> checking for alarm... yes
> checking for getpagesize... yes
> checking for getrusage... yes
> checking for gettimeofday... yes
> checking for localeconv... yes
> checking for memset... yes
> checking for mmap... yes
> checking for mprotect... yes
> checking for obstack_vprintf... no
> checking for popen... yes
> checking for processor_info... no
> checking for read_real_time... no
> checking for strchr... yes
> checking for strnlen... no
> checking for strtoul... yes
> checking for sysconf... yes
> checking for sysctl... yes
> checking for sysctlbyname... yes
> checking for times... yes
> checking for vsnprintf... yes
> checking whether vsnprintf works... yes
> checking whether sscanf needs writable input... no
> checking for suitable m4... m4
> checking if m4wrap produces spurious output... no
> checking how to switch to text section... .text
> checking how to switch to data section... .data
> checking what assembly label suffix to use... :
> checking how to export a symbol... .globl
> checking if globals are prefixed by underscore... no
> checking how to switch to read-only data section...   .section        .rodata
> checking if the export directive needs an attribute... 
> checking for assembler .type directive... .type       $1,@$2
> checking for assembler .size directive... .size       $1,$2
> checking what prefix to use for a local label... .L
> checking how to define a 32-bit word... .long
> checking if .align assembly directive is logarithmic... no
> checking if the .align directive accepts an 0x90 fill in .text... yes
> checking if the assembler takes cl with shldl... yes
> creating config.m4
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating mpbsd/Makefile
> config.status: creating mpf/Makefile
> config.status: creating mpn/Makefile
> config.status: creating mpq/Makefile
> config.status: creating mpz/Makefile
> config.status: creating printf/Makefile
> config.status: creating scanf/Makefile
> config.status: creating cxx/Makefile
> config.status: creating tests/Makefile
> config.status: creating tests/devel/Makefile
> config.status: creating tests/mpbsd/Makefile
> config.status: creating tests/mpf/Makefile
> config.status: creating tests/mpn/Makefile
> config.status: creating tests/mpq/Makefile
> config.status: creating tests/mpz/Makefile
> config.status: creating tests/rand/Makefile
> config.status: creating tests/misc/Makefile
> config.status: creating tests/cxx/Makefile
> config.status: creating tune/Makefile
> config.status: creating demos/Makefile
> config.status: creating demos/calc/Makefile
> config.status: creating demos/expr/Makefile
> config.status: creating gmp.h
> config.status: creating mp.h
> config.status: creating demos/expr/expr-impl.h
> config.status: creating config.h
> config.status: linking ./mpn/x86/udiv.asm to mpn/udiv.asm
> config.status: linking ./mpn/x86/umul.asm to mpn/umul.asm
> config.status: linking ./mpn/generic/add.c to mpn/add.c
> config.status: linking ./mpn/generic/add_1.c to mpn/add_1.c
> config.status: linking ./mpn/x86/aors_n.asm to mpn/add_n.asm
> config.status: linking ./mpn/generic/sub.c to mpn/sub.c
> config.status: linking ./mpn/generic/sub_1.c to mpn/sub_1.c
> config.status: linking ./mpn/x86/aors_n.asm to mpn/sub_n.asm
> config.status: linking ./mpn/x86/mul_1.asm to mpn/mul_1.asm
> config.status: linking ./mpn/x86/p6/aorsmul_1.asm to mpn/addmul_1.asm
> config.status: linking ./mpn/x86/p6/aorsmul_1.asm to mpn/submul_1.asm
> config.status: linking ./mpn/x86/p6/mmx/lshift.asm to mpn/lshift.asm
> config.status: linking ./mpn/x86/p6/mmx/rshift.asm to mpn/rshift.asm
> config.status: linking ./mpn/x86/p6/dive_1.asm to mpn/dive_1.asm
> config.status: linking ./mpn/x86/p6/diveby3.asm to mpn/diveby3.asm
> config.status: linking ./mpn/generic/divis.c to mpn/divis.c
> config.status: linking ./mpn/generic/divrem.c to mpn/divrem.c
> config.status: linking ./mpn/x86/p6/mmx/divrem_1.asm to mpn/divrem_1.asm
> config.status: linking ./mpn/generic/divrem_2.c to mpn/divrem_2.c
> config.status: linking ./mpn/generic/fib2_ui.c to mpn/fib2_ui.c
> config.status: linking ./mpn/x86/p6/mod_1.asm to mpn/mod_1.asm
> config.status: linking ./mpn/x86/mod_34lsub1.asm to mpn/mod_34lsub1.asm
> config.status: linking ./mpn/x86/p6/mode1o.asm to mpn/mode1o.asm
> config.status: linking ./mpn/generic/dump.c to mpn/dump.c
> config.status: linking ./mpn/generic/mul.c to mpn/mul.c
> config.status: linking ./mpn/generic/mul_fft.c to mpn/mul_fft.c
> config.status: linking ./mpn/generic/mul_n.c to mpn/mul_n.c
> config.status: linking ./mpn/x86/mul_basecase.asm to mpn/mul_basecase.asm
> config.status: linking ./mpn/x86/p6/sqr_basecase.asm to mpn/sqr_basecase.asm
> config.status: linking ./mpn/generic/random.c to mpn/random.c
> config.status: linking ./mpn/generic/random2.c to mpn/random2.c
> config.status: linking ./mpn/generic/sqrtrem.c to mpn/sqrtrem.c
> config.status: linking ./mpn/generic/get_str.c to mpn/get_str.c
> config.status: linking ./mpn/generic/set_str.c to mpn/set_str.c
> config.status: linking ./mpn/generic/scan0.c to mpn/scan0.c
> config.status: linking ./mpn/generic/scan1.c to mpn/scan1.c
> config.status: linking ./mpn/x86/p6/p3mmx/popham.asm to mpn/popcount.asm
> config.status: linking ./mpn/x86/p6/p3mmx/popham.asm to mpn/hamdist.asm
> config.status: linking ./mpn/generic/cmp.c to mpn/cmp.c
> config.status: linking ./mpn/generic/perfsqr.c to mpn/perfsqr.c
> config.status: linking ./mpn/generic/bdivmod.c to mpn/bdivmod.c
> config.status: linking ./mpn/generic/gcd_1.c to mpn/gcd_1.c
> config.status: linking ./mpn/generic/gcd.c to mpn/gcd.c
> config.status: linking ./mpn/generic/gcdext.c to mpn/gcdext.c
> config.status: linking ./mpn/generic/tdiv_qr.c to mpn/tdiv_qr.c
> config.status: linking ./mpn/generic/dc_divrem_n.c to mpn/dc_divrem_n.c
> config.status: linking ./mpn/generic/sb_divrem_mn.c to mpn/sb_divrem_mn.c
> config.status: linking ./mpn/generic/jacbase.c to mpn/jacbase.c
> config.status: linking ./mpn/x86/copyi.asm to mpn/copyi.asm
> config.status: linking ./mpn/x86/p6/copyd.asm to mpn/copyd.asm
> config.status: linking ./mpn/x86/p6/gmp-mparam.h to gmp-mparam.h
> #
> #
> #
> # Subconfigure of GMP done
> # ------------------------
> #
> checking for size of gmp limbs... 4
> checking _SHORT_LIMB... no
> checking _LONG_LONG_LIMB... no
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking for dnet_ntoa in -ldnet... no
> checking for dnet_ntoa in -ldnet_stub... no
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> -I/usr/X11R6/include
> -L/usr/X11R6/lib
> 
> -lSM -lICE
> checking for main in -lXaw... yes
> checking for main in -lXmu... yes
> checking for main in -lXt... yes
> checking for main in -lXext... yes
> checking for main in -lX11... yes
> checking for bfd.h... no
> checking size of long *... 4
> checking for endian.h... no
> checking finding DBEGIN... got 0x8000000
> checking finding CSTACK_ADDRESS... got -1077938460
> checking sizeof long long int... yes
> checking for pagewidth... 12
> checking for getcwd... yes
> checking for getwd... yes
> checking for uname... yes
> checking for gettimeofday... yes
> checking for sys/ioctl.h... yes
> checking for BSDgettimeofday... no
> checking for gettimeofday... (cached) yes
> checking for gettimeofday declaration... present
> checking for sin in -lm... yes
> checking for main in -lmingwex... no
> checking for math.h... yes
> checking for values.h... no
> checking for isnormal... checking for fpclass in ieeefp.h... no
> checking for isfinite... checking for finite()... yes
> checking for sockets... checking for connect... (cached) yes
> checking for gethostbyname... (cached) yes
> checking for main in -lreadline... yes
> checking For network code for nsocket.c... yes
> checking check for listen using fcntl... yes
> checking for profil... yes
> checking for setenv... yes
> checking for _cleanup... yes
> checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
> checking check for SV_ONSTACK... yes
> checking check for SIGSYS... yes
> checking check for SIGEMT... yes
> checking for asm/sigcontext.h... no
> checking for asm/signal.h... no
> sigcontext in signal.h
> checking for emacs... /usr/local/bin/emacs
> checking emacs site lisp directory... /usr/local/share/emacs/21.2/site-lisp
> checking emacs default.el... /usr/local/share/emacs/21.2/site-lisp/default.el
> checking emacs info/dir... /usr/local/info/
> checking for tcl/tk... checking for tclsh... tclsh8.0jp
> checking for main in -llieee... no
> using TK_VERSION=8.0jp in /usr/local/lib/tk8.0jp
> checking alloca... yes
> checking Checking for buggy gcc version from redhat... no
> updating cache ./config.cache
> creating ./config.status
> creating makedefc
> creating h/gclincl.h
> makedefc
> 
> # begin makedefs
> 
> # use=386-linux
> 
> # for main link of raw_gcl
> LIBS= -lm  -lbfd -liberty -lreadline -lncurses
> 
> #The multi precision library stuff
> MPFILES=$(MPDIR)/@MPI_FILE@ $(MPDIR)/libmport.a
> 
> 
> # root for the installation, eg /usr/local
> # This would cause make install to create /usr/local/bin/gcl and
> # /usr/local/lib/gcl-2-??/* with some basic files.
> prefix=/usr/local
> 
> # where to place the info files
> INFO_DIR=/usr/local/info/
> 
> # where to put emacs lisp files.
> EMACS_SITE_LISP=/usr/local/share/emacs/21.2/site-lisp
> 
> # the default.el file
> EMACS_DEFAULT_EL=/usr/local/share/emacs/21.2/site-lisp/default.el
> 
> # numerous TCL/TK variables culled from the tkConfig.sh and tclConfig.sh
> # if these are found.
> TK_CONFIG_PREFIX=/usr/local/lib/tk8.0jp
> TK_LIBRARY=/usr/local/lib/tk8.0jp/../tk8.0jp
> TCL_LIBRARY=/usr/local/lib/tk8.0jp/../tcl8.0jp
> TK_XINCLUDES=-I/usr/X11R6/include
> TK_INCLUDE=
> TCL_INCLUDE=
> TK_LIB_SPEC=-L/usr/local/lib -ltk80jp${TK_DBGX}
> TK_BUILD_LIB_SPEC=-L/usr/ports/japanese/tk80/work/tk8.0.5/unix 
> -ltk80jp${TK_DBGX}
> TK_XLIBSW=-L/usr/X11R6/lib -lX11 -lxpg4
> TK_XINCLUDES=-I/usr/X11R6/include
> TCL_LIB_SPEC=-L/usr/local/lib -ltcl80jp${TCL_DBGX}
> TCL_DL_LIBS=
> TCL_LIBS=-lm
> 
> NOTIFY=yes
> CC=gcc
> CFLAGS=-Wall -DVOL=volatile -fsigned-char -fwritable-strings -pipe -O6 
> -fomit-frame-pointer -I$(GCLDIR)/o
> FINAL_CFLAGS=-Wall -DVOL=volatile -fsigned-char -fwritable-strings -pipe
> O3FLAGS=-O6 -fomit-frame-pointer
> O2FLAGS=-O
> 
> RL_OBJS=readline.o
> 
> RL_LIB=lsp/readline.o
> 
> MAKEINFO=makeinfo
> 
> FLISP=saved_gcl
> BUILD_BFD=
> GMPDIR=gmp3
> X_LIBS= -L/usr/X11R6/lib -lXaw -lXmu -lXt -lXext -lX11
> X_CFLAGS= -I/usr/X11R6/include
> 
> add-defs1 386-linux
> using 386-linux.defs
> 
> % cat bin/makefile
> DEFS  = -I../h 
> CC      = cc
> APPEND  = ../bin/append
> 
> -include ../makedefs
> 
> all:  dpp${EXE} ${APPEND}${EXE} file-sub${EXE}
> 
> dpp${EXE}:    pdpp.c
>       ${CC} ${DEFS}  -DUNIX -o dpp${EXE} dpp.c
> 
> file-sub${EXE}:       file-sub.c
>       ${CC} ${DEFS} -o file-sub${EXE} file-sub.c
> 
> ${APPEND}${EXE}: append.c
>       ${CC}  ${DEFS} -o append${EXE}  append.c
> 
> clean:
>       rm -f dpp${EXE} append${EXE} file-sub${EXE} core a.out *.o gcl gclm.bat
> 
> # end of log
> 
> 
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
> 
> 

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]