NikoBelic
Posts: 6
Joined: Sat Jun 23, 2012 5:21 am

trouble installing ucb logo

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.

User avatar
mahjongg
Forum Moderator
Forum Moderator
Posts: 9556
Joined: Sun Mar 11, 2012 12:19 am
Location: South Holland, The Netherlands

Re: trouble installing ucb logo

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)

andyl
Posts: 265
Joined: Tue Jan 10, 2012 11:05 am

Re: trouble installing ucb logo

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.

User avatar
ukscone
Forum Moderator
Forum Moderator
Posts: 3891
Joined: Fri Jul 29, 2011 2:51 pm
Contact: Website

Re: trouble installing ucb logo

Fri Jun 29, 2012 11:15 pm

ucb logo works ok
ucblogo.JPG
ucblogo.JPG (133.28 KiB) Viewed 2098 times
the error you get is probably about missing -lbsd

just edit the makefile and remove -lbsd from the LIBS= line

NikoBelic
Posts: 6
Joined: Sat Jun 23, 2012 5:21 am

Re: trouble installing ucb logo

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.

andyl
Posts: 265
Joined: Tue Jan 10, 2012 11:05 am

Re: trouble installing ucb logo

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.

User avatar
scruss
Posts: 1307
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: trouble installing ucb logo

Tue Aug 02, 2016 5:13 pm

I know this is an ancient thread, but with the recent passing of Logo's creator Seymour Papert, I thought I'd give it a try. The version in the Raspbian repo is v5.5 from 2005; apparently there's no maintainer to manage the update for Debian. What I describe here pulls in the really huge texlive package. With a bit more care, it could be avoided. This is more of a "edit stuff until make install completes" process.

You will need these packages:

Code: Select all

sudo apt install libbsd-dev libx11-dev build-essential libwxgtk3.0-dev libtinfo-dev texinfo texlive
Download, extract and cd into the ucblogo-6.0 folder
Run ./configure
Edit makefile, and add at line 30:

Code: Select all

all:	everything
Remove the unnecessary version control info from a particular folder (if you don't, it won't install):

Code: Select all

rm -rf csls/CVS/
Type make, then sudo make install
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

Return to “Beginners”

Who is online

Users browsing this forum: MarkR and 46 guests