bug-prolog
[Top][All Lists]
Advanced

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

Re: Cannot compile gprolog-1.2.16 on a Sun Solaris workstation


From: Telmo Trigo
Subject: Re: Cannot compile gprolog-1.2.16 on a Sun Solaris workstation
Date: Wed, 6 Jul 2005 23:29:24 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Lindsey Spratt <spratt <at> alum.mit.edu> writes:

> 
> You might try that last compilation with 'verbose' mode:
> 
> > gplc --verbose -c --fast-math fd2c.pl
> 
> This might be helpful in narrowing down the problem.
> 
> Lindsey
> 
> On Jul 4, 2005, at 1:03 PM, Telmo Trigo wrote:
> 
> > Hello,
> >
> > I'm trying to compile the gprolog-1.2.16 on a Sun
> > Solaris v10 SunOS unknown 5.10 Generic sun4u sparc
> > SUNW,Sun-Blade-100 and I'm not being able to do it.
> > The output from the 'configure' script is :
> >
> > # ./configure
> > 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 ranlib... :
> > checking whether make sets ${MAKE}... ./configure:
> > make: not found
> > no
> > checking for a BSD compatible install... ./install-sh
> > -c
> > checking whether ln -s works... yes
> > checking build system type... sparc-sun-solaris2.10
> > checking host system type... sparc-sun-solaris2.10
> > checking how to run the C preprocessor... gcc -E
> > checking for ANSI C header files... yes
> > checking for sys/types.h... yes
> > checking for sys/stat.h... yes
> > checking for stdlib.h... yes
> > checking for string.h... yes
> > checking for memory.h... yes
> > checking for strings.h... yes
> > checking for inttypes.h... yes
> > checking for stdint.h... yes
> > checking for unistd.h... yes
> > checking for long... yes
> > checking size of long... 4
> > checking for sys/ioctl_compat.h... no
> > checking for termios.h... yes
> > checking for malloc.h... yes
> > checking for stdlib.h... (cached) yes
> > checking for unistd.h... (cached) yes
> > checking for getpagesize... yes
> > checking for working mmap... yes
> > checking for mallopt... no
> > checking for fgetc... yes
> > checking for gcc option to accept ANSI C... none
> > needed
> > checking for inline... inline
> > checking for socket... no
> > checking for socket in -lsocket... yes
> > checking for gethostbyname... no
> > checking for gethostbyname in -lnsl... yes
> > DIRECTORIES
> > --> Installation:       /usr/local/gprolog-1.2.16
> > --> Link to binaries:   /usr/local/bin
> > --> Documentation:      /usr/local/gprolog-1.2.16/doc
> > --> HTML documentation:
> > /usr/local/gprolog-1.2.16/doc/Html
> > --> Examples:           /usr/local/gprolog-1.2.16
> > configure: creating ./config.status
> > config.status: creating Makefile
> > config.status: creating TopComp/Makefile
> > config.status: creating Pl2Wam/Makefile
> > config.status: creating Wam2Ma/Makefile
> > config.status: creating Ma2Asm/Makefile
> > config.status: creating Fd2C/Makefile
> > config.status: creating Linedit/Makefile
> > config.status: creating W32GUICons/Makefile
> > config.status: creating EnginePl/Makefile
> > config.status: creating BipsPl/Makefile
> > config.status: creating EngineFD/Makefile
> > config.status: creating BipsFD/Makefile
> > config.status: creating EnginePl/gp_config.h
> > config.status: EnginePl/gp_config.h is unchanged
> >
> > Then running the make script I get at some stage the
> > following error:
> > # /usr/sfw/bin/gmake
> > (cd EnginePl; /usr/sfw/bin/gmake config)
> > gmake[1]: Entering directory
> > `/util/telmo/gprolog-1.2.16/src/EnginePl'
> > gmake[1]: Nothing to be done for `config'.
> > gmake[1]: Leaving directory
> > `/util/telmo/gprolog-1.2.16/src/EnginePl'
> > . ./SETVARS;for i in TopComp EnginePl Wam2Ma Ma2Asm
> > Linedit BipsPl Pl2Wam Fd2C EngineFD BipsFD;do (cd $i;
> > /usr/sfw/bin/gmake) || exit 1; done;\
> > (cd TopComp; /usr/sfw/bin/gmake gprolog)
> > gmake[1]: Entering directory
> > `/util/telmo/gprolog-1.2.16/src/TopComp'
> > gmake[1]: Nothing to be done for `first'.
> > gmake[1]: Leaving directory
> > `/util/telmo/gprolog-1.2.16/src/TopComp'
> > gmake[1]: Entering directory
> > `/util/telmo/gprolog-1.2.16/src/EnginePl'
> > gmake[1]: Nothing to be done for `all'.
> > gmake[1]: Leaving directory
> > `/util/telmo/gprolog-1.2.16/src/EnginePl'
> > gmake[1]: Entering directory
> > `/util/telmo/gprolog-1.2.16/src/Wam2Ma'
> > gmake[1]: Nothing to be done for `all'.
> > gmake[1]: Leaving directory
> > `/util/telmo/gprolog-1.2.16/src/Wam2Ma'
> > gmake[1]: Entering directory
> > `/util/telmo/gprolog-1.2.16/src/Ma2Asm'
> > gmake[1]: Nothing to be done for `all'.
> > gmake[1]: Leaving directory
> > `/util/telmo/gprolog-1.2.16/src/Ma2Asm'
> > gmake[1]: Entering directory
> > `/util/telmo/gprolog-1.2.16/src/Linedit'
> > gmake[1]: `liblinedit.a' is up to date.
> > gmake[1]: Leaving directory
> > `/util/telmo/gprolog-1.2.16/src/Linedit'
> > gmake[1]: Entering directory
> > `/util/telmo/gprolog-1.2.16/src/BipsPl'
> > gmake[1]: `libbips_pl.a' is up to date.
> > gmake[1]: Leaving directory
> > `/util/telmo/gprolog-1.2.16/src/BipsPl'
> > gmake[1]: Entering directory
> > `/util/telmo/gprolog-1.2.16/src/Pl2Wam'
> > gmake[1]: `pl2wam' is up to date.
> > gmake[1]: Leaving directory
> > `/util/telmo/gprolog-1.2.16/src/Pl2Wam'
> > gmake[1]: Entering directory
> > `/util/telmo/gprolog-1.2.16/src/Fd2C'
> > gplc -c --fast-math fd2c.pl
> > compilation failed
> > gmake[1]: *** [fd2c.o] Error 1
> > gmake[1]: Leaving directory
> > `/util/telmo/gprolog-1.2.16/src/Fd2C'
> > gmake: *** [all] Error 1
> >
> >
> > And the compilation ends at the line above!
> >
> > Is there a fix for this bug?
> >
> > Thanks a lot,
> >                   Telmo
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
> > _______________________________________________
> > Bug-prolog mailing list
> > Bug-prolog <at> gnu.org
> > http://lists.gnu.org/mailman/listinfo/bug-prolog
> >
> 
Hi,

I get the following compiling error:

make[1]: Entering directory `/util/telmo/gprolog-1.2.16/src/BipsPl'
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' error_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' stream_supp.c
gplc -c -C '-O3 -fomit-frame-pointer -funsigned-char' flag_c.c
rm -f libbips_pl.a
ar rc  libbips_pl.a error_supp.o c_supp.o foreign_supp.o pred_supp.o term_supp.o
stream_supp.o scan_supp.o parse_supp.o write_supp.o dynam_supp.o callinf_supp.o
bc_supp.o foreign.o pl_error.o utils.o unify.o assert.o assert_c.o read.o
read_c.o write.o write_c.o print.o const_io.o const_io_c.o oper.o oper_c.o
pred.o pred_c.o atom.o atom_c.o control.o control_c.o call.o call_args.o
call_args_c.o catch.o throw.o throw_c.o flag.o flag_c.o arith_inl.o
arith_inl_c.o type_inl.o type_inl_c.o term_inl.o term_inl_c.o g_var_inl.o
g_var_inl_c.o all_solut.o all_solut_c.o sort.o sort_c.o list.o stat.o stat_c.o
stream.o stream_c.o file.o file_c.o char_io.o char_io_c.o dec10io.o format.o
format_c.o os_interf.o os_interf_c.o expand.o expand_c.o consult.o consult_c.o
pretty.o pretty_c.o random.o random_c.o top_level.o top_level_c.o debugger.o
debugger_c.o src_rdr.o src_rdr_c.o all_pl_bips.o sockets.o sockets_c.o
le_interf.o le_interf_c.o
: libbips_pl.a
make[1]: Leaving directory `/util/telmo/gprolog-1.2.16/src/BipsPl'
make[1]: Entering directory `/util/telmo/gprolog-1.2.16/src/Pl2Wam'
make[1]: `pl2wam' is up to date.
make[1]: Leaving directory `/util/telmo/gprolog-1.2.16/src/Pl2Wam'
make[1]: Entering directory `/util/telmo/gprolog-1.2.16/src/Fd2C'
gplc -c --verbose --fast-math fd2c.pl
Prolog compiler (GNU Prolog) 1.2.16
By Daniel Diaz
Copyright (C) 1999-2002 Daniel Diaz
GNU Prolog comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Prolog
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.

Path used: /util/telmo/gprolog-1.2.16/src (development mode)

*** Compiling

--- file: fd2c.pl
pl2wam --fast-math -o /var/tmp/gplcNFt0nb.wam fd2c.pl
compilation failed
deleting temporary files before exit
delete /var/tmp/gplcNFt0nb.wam
make[1]: *** [fd2c.o] Error 1
make[1]: Leaving directory `/util/telmo/gprolog-1.2.16/src/Fd2C'
make: *** [all] Error 1

I wonder if you can help?

                          Telmo







reply via email to

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