Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

IPC::Shareable compilation

by Anonymous Monk
on Dec 27, 2000 at 04:51 UTC ( #48373=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to install/use the IPC::Shareable module on RedHat 7, which I clean installed over 6.2 this morning. The module compiles fine, but will fail a 'make test' with the message:

Munged shared memory segment (size exceeded?)
The README advises: make test may fail with the message 'Munged shared memory segment (size exceeded?)' This is likely because the tests are exceeding the maximum size of a shared memory segment (SHMMAX) or the system-wide limit on shared memory size (SHMALL). The only solution is to increase SHMMAX and/or SHMALL for the system. Consult your system documentation for how to do this.

OK, I found how to set a new SHMMAX (/proc/sys/kernel/shmmax), and set it to 80M, 100M, 200M, and 500M without any change. Has anyone else run into this? Any ideas?

more info: the module will install, but using the included example in the man page, i get the memory seg munged message, and also this error:

IPC::Shareable::SharedMem: shmget: No such file or directory
 at /usr/lib/perl5/site_perl/5.6.0/IPC/Shareable.pm line 456
hmmmm.... isn't shmget part of the standard SysV IPC tools? or is this just a symptom of the larger problem?

Comment on IPC::Shareable compilation
Re: IPC::Shareable compilation
by dchetlin (Friar) on Dec 27, 2000 at 05:22 UTC
    I've not been able to get IPC::Shareable to compile in over a year. I don't know why, but it seems to be abandoned.

    I recommend IPC::ShareLite, which does everything Shareable does, but faster and easier -- and it compiles.

    -dlc

Re (tilly) 1: IPC::Shareable compilation
by tilly (Archbishop) on Dec 27, 2000 at 07:54 UTC
    Be warned. *.0 releases tend to be buggy. Red Hat in particularly has a reputation for that, and they seem determined to live down to it.

    If you want to compile your own stuff, then the one distribution of Linux I would tell you not to use is Red Hat 7.0. Wait for 7.1. Try out another distribution. (I happen to use Debian.) Downgrade back to 6.2.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://48373]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2014-04-20 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls