Re: PAKCS Sockets on swi-pl? -> solved

From: Steffen Mazanek <steffen.mazanek_at_unibw.de>
Date: Tue, 08 Apr 2008 13:31:37 +0100

Thanks a lot for trying. I have completely reinstalled
PAKCS and tried again and it still did not worked. But
I now know what the problem has been (Bernd inspired
this solution)! In Ubuntu-linux swi-pl is divided in
several packages and I have only installed the main
packages and not the extensions. All my stuff works
nicely with this - except the sockets. Now that I have
installed all possible extensions it works as expected.
Maybe this should be mentioned somewhere in the
installation instructions or in the documentation of
Socket in the manual.

Thanks again,
Steffen

2008/4/8, Michael Hanus <mh_at_informatik.uni-kiel.de>:
> 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
>


-- 
Dipl.-Inform. Steffen Mazanek
Institut für Softwaretechnologie
Fakultät Informatik
Universität der Bundeswehr München
85577 Neubiberg
Tel: +49 (0)89 6004-2505
Fax: +49 (0)89 6004-4447
E-Mail: steffen.mazanek_at_unibw.de
_______________________________________________
curry mailing list
curry_at_lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/curry
Received on Tue Apr 08 2008 - 15:10:10 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 19 2019 - 07:15:07 CEST