Re: Installing packages

Jan Wielemaker <[email protected]> Mon, 7 Apr 2014 18:52:28 +0200
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 07-04-14 18:50, Josef Fydl wrote:
> I try to build swi-prolog 6.6.4 on linode Debian node,   sudo apt-get
> does not work, it brings 5.10 without packages, even after updating
> repository
> 
> 
> I run apt-get install libxt-dev.
> Building from source 
>  failing with xpce , reason:
> 
> configure:8045: checking for main in -lXpm
> configure:8064: gcc -o conftest -fno-strict-aliasing -pthread -fPIC
> -I/usr/include  -I/root/pl-6.6.4/src/../include   conftest.c -lXpm  
> -L/usr/X11/lib -lXt -lX11 -lSM -lICE  >&5
> /usr/bin/ld: cannot find -lXpm
> collect2: error: ld returned 1 exit status
> configure:8064: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> 
> Can somebody point me in the right direction?

See http://www.swi-prolog.org/build/Debian.txt for a list of dependencies to
get all packages.

	Cheers --- Jan

> 
> Thanks Josef FRydl