Re: Users-prolog Digest, Vol 76, Issue 2

Duncan Patton a Campbell <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Organization NeoText
Message-ID <[email protected]>
Howdy Daniel, all?

I recently aquired a Sparc Ultra 5 on which I've installed
OpenBSD (yes, i know it is not supported, but...).  When
I attempt to compile it breaks on BipsPl/foreign.wam as
follows:

[babayaga:/usr/local/src/gprolog-1.3.2/src] # gmake
(cd EnginePl; gmake config)
gmake[1]: Entering directory `/usr/local/src/gprolog-1.3.2/src/EnginePl'
gmake[1]: Nothing to be done for `config'.
gmake[1]: Leaving directory `/usr/local/src/gprolog-1.3.2/src/EnginePl'
. ./SETVARS;for i in TopComp EnginePl Wam2Ma Ma2Asm Linedit BipsPl Pl2Wam Fd2C EngineFD BipsFD;do (cd $i; gmake) || exit 1; done;\
        (cd TopComp; gmake gprolog)
gmake[1]: Entering directory `/usr/local/src/gprolog-1.3.2/src/TopComp'
gmake[1]: Nothing to be done for `first'.
gmake[1]: Leaving directory `/usr/local/src/gprolog-1.3.2/src/TopComp'
gmake[1]: Entering directory `/usr/local/src/gprolog-1.3.2/src/EnginePl'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/src/gprolog-1.3.2/src/EnginePl'
gmake[1]: Entering directory `/usr/local/src/gprolog-1.3.2/src/Wam2Ma'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/src/gprolog-1.3.2/src/Wam2Ma'
gmake[1]: Entering directory `/usr/local/src/gprolog-1.3.2/src/Ma2Asm'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/src/gprolog-1.3.2/src/Ma2Asm'
gmake[1]: Entering directory `/usr/local/src/gprolog-1.3.2/src/Linedit'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/local/src/gprolog-1.3.2/src/Linedit'
gmake[1]: Entering directory `/usr/local/src/gprolog-1.3.2/src/BipsPl'
gplc -c foreign.wam
compilation failed
gmake[1]: *** [foreign.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/gprolog-1.3.2/src/BipsPl'
gmake: *** [all] Error 1
[babayaga:/usr/local/src/gprolog-1.3.2/src] # uname -a
OpenBSD babayaga.neotext.ca 4.5 GENERIC#1898 sparc64
[babayaga:/usr/local/src/gprolog-1.3.2/src] # 

I am somewhat at a loss as to whether to even attempt to figure out
what has gone wrong (unsupported OS that usually works ok due to being
intentionally bog-standard): the only clue I have is where it breaks
in BipsPl.

babayaga:/usr/local/src/gprolog-1.3.2/src/BipsPl] # ls -lt | more
total 5160
-rw-------  1 root  wheel  591384 Sep  2 21:46 ma2asm.core
-rw-r--r--  1 root  wheel   28160 Sep  2 21:46 bc_supp.o
-rw-r--r--  1 root  wheel    1824 Sep  2 21:46 callinf_supp.o
-rw-r--r--  1 root  wheel   10584 Sep  2 21:46 dynam_supp.o
-rw-r--r--  1 root  wheel   57808 Sep  2 21:46 write_supp.o
-rw-r--r--  1 root  wheel   25024 Sep  2 21:45 parse_supp.o
-rw-r--r--  1 root  wheel   41096 Sep  2 21:45 scan_supp.o
-rw-r--r--  1 root  wheel   43632 Sep  2 21:45 stream_supp.o
-rw-r--r--  1 root  wheel    8968 Sep  2 21:45 term_supp.o
-rw-r--r--  1 root  wheel    3928 Sep  2 21:45 pred_supp.o
-rw-r--r--  1 root  wheel   14864 Sep  2 21:45 foreign_supp.o
-rw-r--r--  1 root  wheel   36520 Sep  2 21:45 c_supp.o
-rw-r--r--  1 root  wheel   44360 Sep  2 21:44 error_supp.o
-rw-r--r--  1 root  wheel    4853 Sep  2 10:43 Makefile
-rw-r--r--  1 root  wheel    1218 Feb 10  2009 all_pl_bips.wam
-rw-r--r--  1 root  wheel   66745 Feb 10  2009 debugger.wam

...

Any suggestions would be appreciated.

Thanks,

Dhu



On Wed, 02 Sep 2009 12:00:32 -0400
[email protected] wrote:

> Send Users-prolog mailing list submissions to
> 	[email protected]
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.gnu.org/mailman/listinfo/users-prolog
> or, via email, send a message with subject or body 'help' to
> 	[email protected]
> 
> You can reach the person managing the list at
> 	[email protected]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users-prolog digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: --query-goal problem with gprolog-1.3.1-mingw (Daniel Diaz)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 02 Sep 2009 15:38:39 +0200
> From: Daniel Diaz <[email protected]>
> Subject: Re: --query-goal problem with gprolog-1.3.1-mingw
> To: Fred Bapst <[email protected]>
> Cc: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Can you try the last snaphsot please ?
> 
> http://gprolog.univ-paris1.fr/unstable/gprolog-20090902.tgz
> 
> you need to recompile it under mingw
> 
> Daniel
> 
> 
> Fred Bapst wrote:
> > Hello,
> >
> > I'm a fan of gprolog, and I have a problem with gprolog-1.3.1-mingw (ok,
> > I'm not proud of the OS I use...) :
> >
> >  prompt> gprolog --init-goal nl
> >
> > works fine, but the following commands crash :
> >
> >  prompt> gprolog --entry-goal nl
> >  prompt> gprolog --query-goal nl
> >
> > Everything works fine with the MSVC build of gprolog-1.3.1 (but I need 
> > mingw).
> >
> > Thanks in advance.
> >
> >
> > _______________________________________________
> > Users-prolog mailing list
> > [email protected]
> > http://lists.gnu.org/mailman/listinfo/users-prolog
> >
> 
> 
> -- 
> Ce message a ete verifie par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a ete trouve.
> 
> 
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Users-prolog mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/users-prolog
> 
> 
> End of Users-prolog Digest, Vol 76, Issue 2
> *******************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.