Re: PAKCS Sockets on swi-pl?

From: Michael Hanus <mh_at_informatik.uni-kiel.de>
Date: Tue, 08 Apr 2008 12:41:32 +0200

Steffen Mazanek wrote:
> can anybody start the simple AddServer example
> of Socket communciation using PAKCS based
> on SWI-Prolog? I get the following errors:
>
> AddServer> addServer
> {ERROR: error(existence_error(procedure, prologbasics:tcp_socket/1),
> context(prologbasics:listenOnNewSocket/3, _G5133))}

This is a bit strange and I can't see the reason from remote.
At least it works on my machine:

   lussac:distcurry 518> ../../bin/pakcs
     ______ __ _ _ ______ _______
    | __ | / \ | | / / | ____| | _____| Portland Aachen Kiel
    | | | | / /\ \ | |_/ / | | | |_____ Curry System
    | |__| | / /__\ \ | _ | | | |_____ |
    | ____| / ______ \ | | \ \ | |____ _____| | Version 1.9.1 (4)
    |_| /_/ \_\ |_| \_\ |______| |_______| March 2008
   
   Curry2Prolog(swi 5.6) Compiler Environment (Version of 14/03/08)
   (RWTH Aachen, CAU Kiel, Portland State University)
   
   Bug reports: mh_at_informatik.uni-kiel.de
   
   Type ":h" for help
   
   Prelude> :l addserver
   Parsing 'addserver.curry'...
   skipping addserver.curry ...
   addserver> addServer
   Serving port: 32145

Maybe you have a different (older) version of SWI or something
went wrong during the installation. Please sent me (directly
and not via this list) your version numbers and the log file
of the make process (file <pakcshome>/make.log).

Thanks and best regards,

Michael
_______________________________________________
curry mailing list
curry_at_lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/curry
Received on Di Apr 08 2008 - 12:42:40 CEST

This archive was generated by hypermail 2.3.0 : Do Jun 20 2024 - 07:15:09 CEST