building latest on Raspberry Pi

64 views
Skip to first unread message

Anne Ogborn

unread,
Aug 4, 2018, 1:54:55 AM8/4/18
to SWI-Prolog Mailing List
Attempted to upgrade my Raspberry Pi 3 install this evening from
Welcome to SWI-Prolog (threaded, 32 bits, version 7.7.13-31-g8782b00)


swipl: RUNPATH=/home/pi/lib/swipl-7.7.13/lib/armv7l-linux
cp ./SWI-Prolog.h ../include/SWI-Prolog.h
cp ./os/SWI-Stream.h ../include/SWI-Stream.h
rm -f swipl.prc
./swipl.sh -O -o swipl.prc -b ../boot/init.pl
./swipl.sh: 45: ./swipl.sh: /home/pi/helix/robot/swipl-devel/src/swipl: not found
Makefile:232: recipe for target 'swipl.prc' failed
make[1]: *** [swipl.prc] Error 1
make[1]: Leaving directory '/home/pi/swipl-devel/src'
Makefile:22: recipe for target 'lite' failed
make: *** [lite] Error 2


only odd thing I did was install swivm (turns out swivm's only option for the Pi is 'BINARY')

then git pull origin master followed by make

gcc --version
gcc (Raspbian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software

I know this got touched recently to help Raivo (yay!), did it break Pi install?

::Annie is here, with her snail, looking pensive::

::Annie's snail is here, looking pensive too::

Jan Wielemaker

unread,
Aug 4, 2018, 3:15:03 AM8/4/18
to Anne Ogborn, SWI-Prolog Mailing List
On 08/04/2018 07:54 AM, 'Anne Ogborn' via SWI-Prolog wrote:
> Attempted to upgrade my Raspberry Pi 3 install this evening from
> Welcome to SWI-Prolog (threaded, 32 bits, version 7.7.13-31-g8782b00)
>
>
> swipl: RUNPATH=/home/pi/lib/swipl-7.7.13/lib/armv7l-linux
> cp ./SWI-Prolog.h ../include/SWI-Prolog.h
> cp ./os/SWI-Stream.h ../include/SWI-Stream.h
> rm -f swipl.prc
> ./swipl.sh -O -o swipl.prc -b ../boot/init.pl
> ./swipl.sh: 45: ./swipl.sh: /home/pi/helix/robot/swipl-devel/src/swipl: not found

I guess the real error was a bit earlier, failing to link `swipl`. That
may give a hint.

Cheers --- Jan

Raivo Laanemets

unread,
Aug 8, 2018, 2:36:18 AM8/8/18
to SWI-Prolog
Are there any news on this or a possibility to get a full build log?

Anne Ogborn

unread,
Aug 8, 2018, 4:24:21 PM8/8/18
to Raivo Laanemets, SWI-Prolog
When swipl-rc went away it made build issues.
I'd done some funky path stuff to get around them, and they were still in place.

Removed them, it built fine.
Reply all
Reply to author
Forward
0 new messages