Re: [Hampshire] simh - problem with libpcap.a

2012-02-12 Thread Rob Malpass


 -Original Message-
 From: hampshire-boun...@mailman.lug.org.uk [mailto:hampshire-
 boun...@mailman.lug.org.uk] On Behalf Of Vic
 Sent: 11 February 2012 18:12
 To: hampshire@mailman.lug.org.uk
 Subject: Re: [Hampshire] simh - problem with libpcap.a
 
 
 
 Is it not available in the repo for your distro?
 

It is - but the trouble is the webpage I'm following to install it requires
the make step.   I've installed the binary but it's not been compiled with
the machine I want to emulate - hence when I'm supposed to fire up simh with
the command

/usr/local/vax/bin/vax

it doesn't exist.

 You might need to rebuild libpcap from source to get that; the package
 usually comes with a .so for dynamic linking, rather than the .a.
 

Thanks - but how do I do this?

 Alternatively, you might find that simh can be built for shared
libraries.

Again - thanks - but not sure how to do this.

Cheers
Rob




--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] simh - problem with libpcap.a

2012-02-12 Thread Vic

 It is - but the trouble is the webpage I'm following to install it
 requires the make step.

That webpage is telling you how to build from source. You should ignore
it, for the most part.

 I've installed the binary but it's not been compiled with
 the machine I want to emulate

Are you sure? Or is it just built slightly differently from that webpage?

 hence when I'm supposed to fire up simh with the command

 /usr/local/vax/bin/vax

 it doesn't exist.

All the simh commands I've got (from the Fedora 14 version) are prefixed
with simh- - so I've got a choice of simh-vax or simh-vax780. But
nothing in /usr/local...

 You might need to rebuild libpcap from source to get that; the package
 usually comes with a .so for dynamic linking, rather than the .a.


 Thanks - but how do I do this?

Get the source package from your repo, unpack it, and build it. I don't
remember the details under Debian-style distros; I do rpms.

 Alternatively, you might find that simh can be built for shared
 libraries.

 Again - thanks - but not sure how to do this.

You'd have to look through the build options in the simh source package .

But again - I suspect all you actually need to do is to find the right
name for the executable. What date is on the webpage you are following?

Vic.


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] simh - problem with libpcap.a

2012-02-11 Thread Vic

 For a bit of fun, I thought I'd install simh and recreate a bit of student
 days playing with vms [1].   As ever, I've fallen just beyond the first
 hurdle.   This thing builds from source and I'm rusty.

Is it not available in the repo for your distro?

That's often easier than building from source...

 When doing the make
 specified on [1], I'm getting can't find libpcap.a in /usr/local/lib

You might need to rebuild libpcap from source to get that; the package
usually comes with a .so for dynamic linking, rather than the .a.

Alternatively, you might find that simh can be built for shared libraries.

Vic.


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] simh - problem with libpcap.a

2012-02-11 Thread Andy Smith
Hi Rob,

On Sat, Feb 11, 2012 at 05:54:57PM -, Rob Malpass wrote:
 I've gone into synaptic and installed everything I can see for libpcap but
 the file still hasn't appeared.   This is the right procedure isn't it?
 What should my next move be?   I've never understood libraries and
 dependencies on Linux - that's why I switched from Slackware to Ubuntu a few
 years back.   There is a simh package in synaptic but this hasn't installed
 the file either.

On Debian:

$ apt-file search libpcap.a
libpcap0.8-dev: /usr/lib/libpcap.a

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting


signature.asc
Description: Digital signature
--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] simh - problem with libpcap.a

2012-02-11 Thread hantslug
On Saturday 11 February 2012 22:27:34 Andy Smith wrote:
 Hi Rob,

 On Sat, Feb 11, 2012 at 05:54:57PM -, Rob Malpass wrote:
  I've gone into synaptic and installed everything I can see for libpcap
  but the file still hasn't appeared.   This is the right procedure isn't
  it? What should my next move be?   I've never understood libraries and
  dependencies on Linux - that's why I switched from Slackware to Ubuntu a
  few years back.   There is a simh package in synaptic but this hasn't
  installed the file either.

 On Debian:

 $ apt-file search libpcap.a
 libpcap0.8-dev: /usr/lib/libpcap.a

Simpler (also on Debian):

lisi@Junior:~$ aptitude search simh
p   simh - Emulators for 33 different 
computers
lisi@Junior:~$

Lisi


--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--