`plld' refers to inexistent `pl'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
swi-prolog (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: swi-prolog
Package: swi-prolog
Version: 5.6.14-1
Severity: important
Even though the SWI-Prolog executable is installed as `swipl', the
`plld' program has not been properly configured as it refers to `pl'.
Here is an example:
$ plld -v -cc gcc -c++ g++
-ld g++ -ld-options`echo '' -g -O2 -frounding-math -W
-Wall | tr " " "/"` -o ppl_pl ppl_swiprolog.o ppl_pl.o
-L../..
-lpwl -lm -lgmpxx -lgmp
eval `pl -dump-runtime-
sh: pl: not found
*** plld exit status 11
$
As you can see, `plld' tries to evaluate `pl -dump-runtime-
instead of `swipl -dump-runtime-
-- System Information:
Debian Release: lenny/sid
APT prefers gutsy-updates
APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 'gutsy')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-14-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=
Shell: /bin/sh linked to /bin/dash
Versions of packages swi-prolog depends on:
ii libc6 2.6.1-1ubuntu9 GNU C Library: Shared libraries
ii libgmp3c2 2:4.2.1+
ii libncurses5 5.6+20070716-
ii libreadline5 5.2-3build1 GNU readline and history libraries
Versions of packages swi-prolog recommends:
pn swi-prolog-doc <none> (no description available)
pn swi-prolog-xpce <none> (no description available)
-- no debconf information
Changed in swi-prolog: | |
status: | New → Fix Released |
There is a simpler way to reproduce the problem:
$ plld whatever
sh: pl: not found
*** plld exit status 11
$