`plld' refers to inexistent `pl'

Bug #155008 reported by Roberto Bagnara
2
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../../../src/.libs -lppl -L../../../Watchdog/src/.libs
-lpwl -lm -lgmpxx -lgmp
        eval `pl -dump-runtime-variables`
sh: pl: not found
*** plld exit status 11
$

As you can see, `plld' tries to evaluate `pl -dump-runtime-variables'
instead of `swipl -dump-runtime-variables'.

-- 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=en_US.UTF-8 (charmap=UTF-8)
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+dfsg-5ubuntu4 Multiprecision arithmetic library
ii libncurses5 5.6+20070716-1ubuntu3 Shared libraries for terminal hand
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

Revision history for this message
Roberto Bagnara (bagnara) wrote :

There is a simpler way to reproduce the problem:

$ plld whatever
sh: pl: not found
*** plld exit status 11
$

Revision history for this message
lamby (lamby) wrote :

Fixed in Debian, swi-prolog 5.6.48-1

Daniel T Chen (crimsun)
Changed in swi-prolog:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.