Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

Building perl5.001m on a Sparc

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


paulw at revco

Sep 26, 1995, 6:58 AM

Post #1 of 2 (68 views)
Permalink
Building perl5.001m on a Sparc

All,

On a SunOS 4.1.2 1 sun4c machine I consistently run into this error
when building perl:

sh writemain lib/auto/DynaLoader/DynaLoader.a > tmp
sh mv-if-diff tmp perlmain.c
File perlmain.c not changed.
`sh cflags libperl.a perlmain.o` perlmain.c
CCCMD = cc -c -O

Making DynaLoader (static)
Makefile out-of-date with respect to ../../lib/Config.pm ../../config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean >/dev/null 2>&1 || true
../../miniperl "-I../../lib" "-I../../lib" Makefile.PL LIBPERL_A=libperl.a
Writing Makefile for DynaLoader
CCCMD = cc -c -O
Now you must rerun make.
*** Error code 1
make: Fatal error: Command failed for target `Makefile'
Current working directory /usr/export/home/paulw/perl5.001m/ext/DynaLoader
make config failed, continuing anyway...
../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp
-typemap ../../lib/ExtUtils/typemap dl_dlopen.xs >tmp && mv tmp
DynaLoader.c
cc -c -O -I../.. -DLIBC="/usr/lib/libc.so.1.7" DynaLoader.c
ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o &&
/usr/bin/ranlib ../../lib/auto/DynaLoader/DynaLoader.a
chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a
cp DynaLoader.pm ../../lib/DynaLoader.pm
chmod 644 ../../lib/DynaLoader.pm
AutoSplitting DynaLoader (../../lib/auto/DynaLoader)
cc -o perl perlmain.o libperl.a lib/auto/DynaLoader/DynaLoader.a
`cat ext.libs` -lresolv -lm
ld: lib/auto/DynaLoader/DynaLoader.a(__.SYMDEF): ran out of memory (toc)
*** Error code 4
make: Fatal error: Command failed for target `perl'

What gives? Please reply to me directly as I do not read this
list.


tye at metronet

Sep 26, 1995, 7:15 AM

Post #2 of 2 (70 views)
Permalink
Re: Building perl5.001m on a Sparc [In reply to]

Excerpts from the mail message of Paul Winkeler:
) On a SunOS 4.1.2 1 sun4c machine I consistently run into this error
) when building perl:
[...]
) cc -o perl perlmain.o libperl.a lib/auto/DynaLoader/DynaLoader.a
) `cat ext.libs` -lresolv -lm
) ld: lib/auto/DynaLoader/DynaLoader.a(__.SYMDEF): ran out of memory (toc)
) *** Error code 4
) make: Fatal error: Command failed for target `perl'
)
) What gives? Please reply to me directly as I do not read this
) list.

Sounds like you are running out of swap space. Sorry, it has been
too long since I added swap space to a Sun system so I don't recall
any specifics on how to go about it. "man sar" will probably be
helpful in determining if this is actually your problem, though.

--
Tye McQueen tye [at] metronet || tye [at] doober
Nothing is obvious unless you are overlooking something
http://www.metronet.com/~tye/ (scripts, links, nothing fancy)

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.