[HECnet] building simh

Sampsa Laine sampsa at mac.com
Sun Apr 8 21:02:04 PDT 2012


Did the RPM work? There's one for Fedora 14 as well...

Sampsa


On 8 Apr 2012, at 22:48, hvlems at zonnet.nl wrote:

Dave,
The system has libpcap-devel-1.0.0.5 installed
Fedora is RH's free linux distribution. 
It uses Yum as install manager. 
-----Original Message-----
From: Dave McGuire <mcguire at neurotica.com>
Sender: owner-hecnet at Update.UU.SE
Date: Sun, 08 Apr 2012 15:40:32 
To: <hecnet at Update.UU.SE>
Reply-To: hecnet at Update.UU.SESubject: Re: [HECnet] building simh

On 04/08/2012 05:26 AM, hvlems at zonnet.nl wrote:
Well, this isn't a linux forum but perhaps one of you solved this problem. 
I have an Asus Eee PC 900, and it Tnow) has Fedora 14 installed. 
It runs the bridge program and I want to run simh on this box since it is cheap on mains power. Its battery is shot which is why my ex gave it to me. 
I have libpcap installed and used 'make USE_NETWORK'=1' to build simh. 
Which fails because it cannot locate 
/usr/local/llib/libpcap.a
There is a libpcap.so, in /usr/lib
Am I running an old version of linux, or made an error installing libcap?

Hi!   It sounds to me like you've got the runtime support for libpcap
installed, but not the "development" support.

For libraries, .so files (so == Shared Object) are used at runtime,
while .a (Archive) files are used at compile time. (well, more
specifically at link time).   The former are dynamically-linked shared
libraries, whereas the latter are non-shared libraries for static linking.

These days, compilation support is rarely included by default on Linux
OS or package distributions to save space.   One must explicitly install
the "dev" version of the library, which typically gets you .a files for
static linking, as well as the header (.h) files.

I've never seen Fedora 14, so I don't know exactly how its package
repository system works, but you'll need to find and install whatever
package corresponds to "libpcap-dev" or something very similarly named.
This should get you going.

                      -Dave

-- 
Dave McGuire, AK4HZ
New Kensington, PA



More information about the Hecnet-list mailing list