program "fly" on Fedora

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Wed Apr 7 21:45:40 UTC 2004


Am Mi, den 07.04.2004 schrieb Mike Rambour um 20:47:

>    http://martin.gleeson.com/fly/  is the URL to get it, I am going to try 
> one of the older pre-built binaries now and see if they work.
> 
> 	mike

I had a closer look at the program - just for interest. I got it working
and here are some more information to get it run:

1) run i.e. "yum install gd gd-devel"
   you will get libs and headers version 2.0.15, the program is old
(last modification in 2001) and therefor not tested with gd 2.x, maybe
with some functions you will get problems

2) modify the Makefile, following the instruction lines working for me:

GD = gd-2.0.15
LIBDIRS = -L$(GD)
INCDIRS = -I$(GD)
CC = gcc
 
CFLAGS = -O -pedantic -Wall $(INCDIRS) $(LIBDIRS)
LIBS = -lgd -lm -lz -lttf -lpng -ljpeg #-lXpm

   What I changed is the "GD" line and
 stripped the "LIBDIRS" and "INCDIRS" lines. The source will compile
with gcc32 too.

3) the example.csh script then created successfully the test.gif (a big
yellow smiley)

HTH

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 23:38:30 up 19 days, 7:20, load average: 0.10, 0.26, 0.29 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040407/97979301/attachment-0001.sig>


More information about the fedora-list mailing list