trouble installing ucb logo


6 posts
by NikoBelic » Fri Jun 29, 2012 12:38 am
Hello, I'm trying to install UCB logo on my pi. I retrieved the 'complete distribution archive for Unix/Linux' from the liink at http://www.cs.berkeley.edu/~bh/logo.html, but when I followed the instructions I got an error (could try running again to tell you this, but its a bit of typing and I'm hoping someone else has tried this and knows what to do to get it to work). I'm runnig the debian wheezy mix. Thanks for any help.
Posts: 6
Joined: Sat Jun 23, 2012 5:21 am
by mahjongg » Fri Jun 29, 2012 12:43 am
Are you sure the version you are trying to install is compiled for ARM, and not for x86 (intel processors)?
If you have the source code you can compile it for the correct CPU architecture yourself (ARM6 in case of the R-PI)
User avatar
Forum Moderator
Forum Moderator
Posts: 5335
Joined: Sun Mar 11, 2012 12:19 am
by andyl » Fri Jun 29, 2012 8:12 am
Are you compiling from source?

BTW you can capture all the output from the build process by using redirection
make > ~/make.txt 2>&1
will put the output in make.txt in your home directory - you can then open that with an editor and copy the error line into your post here.

If you want to capture a protracted session of commands to a file use script. man script for more info.
Posts: 265
Joined: Tue Jan 10, 2012 11:05 am
by ukscone » Fri Jun 29, 2012 11:15 pm
ucb logo works ok

ucblogo.JPG
ucblogo.JPG (133.28 KiB) Viewed 809 times


the error you get is probably about missing -lbsd

just edit the makefile and remove -lbsd from the LIBS= line
User avatar
Forum Moderator
Forum Moderator
Posts: 2784
Joined: Fri Jul 29, 2011 2:51 pm
by NikoBelic » Sat Jun 30, 2012 9:27 am
Thanks everyone, I tried the changes ukscone suggested (delete .lbsd from makefile); seems to help but I now get the following error:

pi@raspberrypi ~/ucblogo/ucblogo-6.0 $ make
gcc -g -O -O0 -DUSE_OLD_TTY -c -o graphics.o graphics.c
In file included from graphics.c:41:0:
xgraphics.h:4:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [graphics.o] Error 1

Is there a similar fix for this? Best wishes.
Posts: 6
Joined: Sat Jun 23, 2012 5:21 am
by andyl » Sat Jun 30, 2012 9:33 am
NikoBelic wrote:Thanks everyone, I tried the changes ukscone suggested (delete .lbsd from makefile); seems to help but I now get the following error:

pi@raspberrypi ~/ucblogo/ucblogo-6.0 $ make
gcc -g -O -O0 -DUSE_OLD_TTY -c -o graphics.o graphics.c
In file included from graphics.c:41:0:
xgraphics.h:4:22: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
make: *** [graphics.o] Error 1

Is there a similar fix for this? Best wishes.


OK sounds like you haven't got the X11 dev support (the include files) installed.
Code: Select all
sudo apt-get install libx11-dev


You might need other bits and bobs installed.
Posts: 265
Joined: Tue Jan 10, 2012 11:05 am