[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: gedagaf runs on RH8



I've read here http://www.geda.seul.org/dist/suite/20041228/README the
following:

------------------  Essential  prerequisites   --------------------
Summary:
You need the following things already installed on your system:
   Gtk-2.2 or above
   Gdk-2.2 or above
   glibc-2.3.2 or above.  (glibc-2.2.X is known to fail due to binary 
incompatibilities.)
   make
   gcc  

Details:
First off, your computer needs GTK-2.  Both the installer, as well as
most of the programs require GTK to create their GUIs.  All modern
Linux distributions come bundled with this library.  However, if your
Linux installation is particularly old (pre-2000, say), you won't have 
it.  In this case, you're best off getting another computer since you're
missing the modern Linux experience!  :-)

You also need to have glibc-2.3.2 or above.  This library exists on
RedHat systems starting with RH9.  Note that RH8 and below won't
work.  Sorry!  Time to upgrade!

===========================================

I've decided to try to compile the package for RH8.  Just for fun of it.
To my surprise, I was able to compile it and, even more surprising,
IT DOES RUN.  Ok, ok, I have to be honest with you. I've tried gschem only.
It works.

So, what did I do ?
Firstly, I've downloaded updated glibc for RH8 from official RedHat site.

ftp updates.redhat.com
cd 8.0/en/os/i386
prompt
mget glibc*
[wait few minutes]
su
rpm -Fvh glibc*.rpm 

Downloaded gEDA Suite from http://www.geda.seul.org/download.html to
"somewhere" (geda-install-20041228.iso)

Compiled guile package (included on geda-install-20041228.iso)

mkdir ISO
su
mount -t iso9660 -o loop geda-install-20041228.iso /somewhere/ISO
exit
cp /somewhere/ISO/guile-1.6.4.tar.gz .
tar xvfz guile-1.6.4.tar.gz
cd guile-1.6.4
./configure
make
su
make install

Once the update was done I've cd-ed to the directory where gedagaf
tarballs were stored and typed

make open
make install

Of course, LD_LIBRARY_PATH, PATH and PKG_CONFIG_PATH were set
according to the instructions from "make"

That was it.

Igor

P.S.:  yes, gschem runs with OLD GTK 1.2

ldd /usr/local/geda/bin/gschem

        libgeda.so.22 => /usr/local/geda/lib/libgeda.so.22 (0x40013000)
        libguile.so.12 => /usr/local/lib/libguile.so.12 (0x40063000)
        libguile-ltdl.so.1 => /usr/local/lib/libguile-ltdl.so.1 (0x400f0000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x400f7000)
        libm.so.6 => /lib/libm.so.6 (0x40124000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x40145000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x4016b000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x402c6000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x402ff000)
        libdl.so.2 => /lib/libdl.so.2 (0x40302000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40305000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4030d000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4031b000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x403fa000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40403000)
        libc.so.6 => /lib/libc.so.6 (0x4041a000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)