Re: Installing packages

Jan Wielemaker <[email protected]> Mon, 7 Apr 2014 19:11:30 +0200
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 07-04-14 19:05, Josef Fydl wrote:
> Thanks, should I build from source, or will apt-get work ?

Please keep discussions on the list.   AFAIK, Debian has no service
similar to Ubuntu PPA packages.  So, if the version you get from apt
is too old, all you can do is build from source.  Some people suggested
getting swi-prolog from Debian testing.  That may work too.  Building
for source however is pretty trivial if you have the dependencies
installed.

	Cheers --- Jan



> Thanks Josef Frydl
> On Apr 7, 2014, at 12:52 PM, Jan Wielemaker <[email protected]> wrote:
> 
>> 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
>