For Programmers: Free Programming Magazines  


Home > Archive > Prolog > January 2007 > SWI XPCE on Ubuntu Dapper?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SWI XPCE on Ubuntu Dapper?
G. H. Hardy

2007-01-26, 7:05 pm


Installed SWI-Prolog and
SWI-Prolo-XPCE from Ubuntu repos but doing

use_module(library(pce)). gives

ERROR: source_sink `library(pce)' does not exist

and of course none of my hard working swi/xpce apps will work. Bummer.

Does anyone know what the resolution is?

cheers,

-Mike

Jan Wielemaker

2007-01-27, 4:06 am

On 2007-01-26, G. H. Hardy <michael.goodrich@gmail.com> wrote:
>
> Installed SWI-Prolog and
> SWI-Prolo-XPCE from Ubuntu repos but doing
>
> use_module(library(pce)). gives
>
> ERROR: source_sink `library(pce)' does not exist
>
> and of course none of my hard working swi/xpce apps will work. Bummer.
>
> Does anyone know what the resolution is?


Some of these intallations rename the pl executable. SWI-Prolog however
loads a system init file called <basename>.rc in the Prolog home dir
(typically /usr/lib/pl-<version> ). After renaming pl this file needs to
be renamed accordingly. And, of course, you need to be running X11 ...

Cheers --- Jan
G. H. Hardy

2007-01-27, 8:03 am



On Jan 27, 3:43 am, Jan Wielemaker <j...@nospam.ct.xs4all.nl> wrote:
> On 2007-01-26, G. H. Hardy <michael.goodr...@gmail.com> wrote:
>
>
>
>
>
>
>
> loads a system init file called <basename>.rc in the Prolog home dir
> (typically /usr/lib/pl-<version> ). After renaming pl this file needs to
> be renamed accordingly. And, of course, you need to be running X11 ...
>
> Cheers --- Jan



Thanx Jan, that did the trick!

-M

Jan Wielemaker

2007-01-27, 7:04 pm

On 2007-01-27, G. H. Hardy <michael.goodrich@gmail.com> wrote:
>
>
> On Jan 27, 3:43 am, Jan Wielemaker <j...@nospam.ct.xs4all.nl> wrote:
>
>
> Thanx Jan, that did the trick!


Could you send a mail to the Ubuntu maintainer of SWI-Prolog? Or tell me
the mail-address of the maintainer?

--- Jan
G. H. Hardy

2007-01-27, 7:04 pm

Looks like

Michael Piefel <piefel@debian.org>

is listed as the package maintainer.

cheers,

-M

On Jan 27, 10:52 am, Jan Wielemaker <j...@nospam.ct.xs4all.nl> wrote:
> On 2007-01-27, G. H. Hardy <michael.goodr...@gmail.com> wrote:
>
>
>
>
>
>
>
>
>
>
>
>
> the mail-address of the maintainer?
>
> --- Jan


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com