Re: Cannot compile gprolog-1.2.16 on a Sun Solaris workstation
Lindsey Spratt <[email protected]>
| Newsgroups | gmane.comp.gnu.prolog.bugs |
|---|---|
| Message-ID | <[email protected]> |
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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/bug-prolog
>