Re: Installing Perl5 not working
Kaya Saman <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc64 |
|---|---|
| Message-ID | <[email protected]> |
On 11/25/2012 09:15 AM, Martin Husemann wrote:
> On Sat, Nov 24, 2012 at 10:16:06PM +0000, Kaya Saman wrote:
>> I additionally have an issue using NetBSD as an NFS client:
>>
>> mount_nfs: rpcbind to nfs on server: RPC: Program not registered
> Try adding a line like:
>
> nfs_client=YES
>
> to your /etc/rc.conf file.
>
>
> Martin
Hi Martin,
thanks for that... I already had that line hence the link I gave.
First up I want to talk about my Perl issues. I managed to sort that out :-)
First up: make deinstall (it was claimed as installed but didn't do
properly)
Then as you suggested:
make
make test
make install
make clean
That worked really well :-)
For NFS this is funny but a common mistake:
Using rpcinfo -s we get:
program version(s) netid(s) service owner
100000 2,3,4 local,udp6,tcp6,udp,tcp portmapper superuser
100003 3,2 tcp6,tcp nfs superuser
100005 3,1 tcp,udp,tcp6,udp6 mountd superuser
rpcinfo -p we get:
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100000 4 7 111 portmapper
100000 3 7 111 portmapper
100000 2 7 111 portmapper
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100005 1 udp 980 mountd
100005 3 udp 980 mountd
100005 1 tcp 980 mountd
100005 3 tcp 980 mountd
showmount -e also shows all my 'exports' too.
Now reading more about nfs on NetBSD it turns out that by default it is
using the 'old' method of udp rather then tcp which the later versions
of NFS now default to.
So a line like this: mount_nfs -T <ip>:/<export> <mount> is the answer
to getting things working.
For fstab one can simply add: <ip>:<export> <mount> nfs rw,tcp 0 0
I hope this also helps someone transitioning from other OS's to NetBSD.
Overall I must say that I'm impressed though it will take me a little
while to learn and get used to it but it's really easy to do basic stuff
fast as the amount of online documentation is pretty thorough.
Regards,
Kaya