Operating System - HP-UX
1826658 Members
2349 Online
109695 Solutions
New Discussion

Build fails for Perl module 'MQSeries-1.23' on 11.11, Perl 5.8.2

 
Val Naipaul
Occasional Contributor

Build fails for Perl module 'MQSeries-1.23' on 11.11, Perl 5.8.2

We're trying to build MQSeries-1.23 (from CPAN) on HPUX 11.11. Using the default ./configure output, we've arrived at this error:

cc: constant_numeric(): error 6350: Out of memory. Check kernel maxdsiz parameter and swap space configured.

Has anyone else hit this error doing the same thing ? Anyone know howo this can be avoided without rebooting ? I've only read the glance documentation on maxdsiz, but find it hard to believe that 256MB of Data Segment is is appropriate.

maxdsiz is 256 MB (unchanged from default), there is plenty of swap available.

The CC_OPTS are (default):
-D_POSIX_C_SOURCE=199506L
-D_REENTRANT
-Ae
-D_HPUX_SOURCE
-wl,+vnocompatwarnings
-DNO_HASH_SEED
-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
-fast
+Onolimit +Opromote_indirect_calls
+DAportable
+DS2.0
-DVERSION=\"1.23\"
-DXS_VERSION=\"1.23\"
+Z
-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread-multi/CORE"

Thanks,
Val
1 REPLY 1
harry d brown jr
Honored Contributor

Re: Build fails for Perl module 'MQSeries-1.23' on 11.11, Perl 5.8.2


Jack it (maxdsiz) up to 2GB, and reduce dbc_max_pct to at least 10 and dbc_min_pct to at least 5.

Unless you have rogue applications that go memory eating, having maxdsiz at 2Gb will not normally hurt you!

live free or die
harry d brown jr
Live Free or Die