gnupic@linuxhacker.org

gnupic@linuxhacker.org


Subject: Re: gpsim: Error while make...
From: Scott Dattalo
Date: Tue, 12 Aug 2003 15:38:55 -0700 (PDT)

On Mon, 11 Aug 2003, Mosmann, Martin wrote:

> Hello.
> 
> I tried to install gpsim on a blank new RedHat 9.0 PC (with develop-packages for gnome).
> I installed gtk+-extra-0.99.17 and rebootet the pc.
> Then, when I tried to compile gpsim-0.20.14, I got the message, that "string" is no
type, in file "command.h" of the cli - folder.
> 
> What is missing?


The latest changes.


For RH9 and other gcc 3.x+ distro's, you'll have to grab gpsim out of CVS. 
Please see the instructions here:

http://www.dattalo.com/gnupic/gpsim_cvs.html

Also, you shouldn't need to reboot a Linux box after installing software 
(unless, I guess, it's the kernel). However, one gotcha with packages that 
are dynamically linked (such as gpsim) is that the paths to the needed 
libraries must be known. As root, you'll need to add these paths to

/etc/ld.so.conf

and after doing so run:

/sbin/ldconfig

On my (ancient) RH7.1 box, ld.so.conf looks like:

$ cat /etc/ld.so.conf 
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-2.3.1/lib
/usr/lib/sane
/usr/lib/wine
/usr/local/lib


The last line is the one where gtk+extra stuff will get placed (during a 
default install).

Scott


gnupic@linuxhacker.org