Date: | Mon, 26 May 2003 13:42:46 +0300 |
From: | "Eugene Olbinsky (SDH-S)(3210)" <eugene [...] ecitele.com> |
To: | bug-par [...] rt.cpan.org |
Subject: | INSTALL failed |
Hello !
I have the following while installing:
gorlsh:SDM > make
/sne/perl/bin/perl Makefile.PL --config=
--installdeps=Compress::Zlib,1.14,Archive::Zip,1,Module::ScanDeps,0.19
cp lib/App/Packer/PAR.pm blib/lib/App/Packer/PAR.pm
cp lib/PAR/Heavy.pm blib/lib/PAR/Heavy.pm
cp lib/PAR.pm blib/lib/PAR.pm
cp lib/PAR/Intro.pod blib/lib/PAR/Intro.pod
gcc -c -g -Wall -Wno-comments -D_REENTRANT
-DAPPLLIB_EXP="/sne/Libs/PerlLib" -fno-strict-aliasing
-I/usr/local/include -D_LARGEFILE_SOURCE -D_
ET_BITS=64 -I/sne/perl/lib/5.8.0/sun4-solaris-thread-multi/CORE main.c
In file included from main.c:12:
mktmpdir.c: In function `par_mktmpdir':
mktmpdir.c:87: warning: unsigned int format, long unsigned int arg (arg
5)
gcc main.o -L/usr/local/lib
/auto/ns_emb/sne/perl/lib/5.8.0/sun4-solaris-thread-multi/auto/DynaLoader/DynaLoader.a
-L/sne/perl/lib/5.8.0/sun4-
hread-multi/CORE -lperl -lsocket -lnsl -ldl -lm -lposix4 -lpthread -lc
--output par
./par -I../myldr/.. -I../blib/lib
-I"/auto/ns_emb/mgr/tools/perl/PAR-0.68/inc"
-I"/auto/ns_emb/sne/Libs/PerlLib" -I"/auto/ns_emb/sne/perl/lib/5
-solaris-thread-multi" -I"/auto/ns_emb/sne/perl/lib/5.8.0"
-I"/auto/ns_emb/sne/perl/lib/site_perl/5.8.0/sun4-solaris-thread-multi"
-I"/auto/ns_
erl/lib/site_perl/5.8.0" -I"/auto/ns_emb/sne/perl/lib/site_perl"
-I"/auto/ns_emb/sne/Libs/PerlLib" -I"." -B -O../script/parl
Segmentation Fault - core dumped
make[1]: *** [../script/parl] Error 139
make: *** [subdirs] Error 1
gorlsh:SDM > cd myldr/
gorlsh:SDM > gdb par core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "sparc-sun-solaris2.6"...
Core was generated by `./par -I../myldr/.. -I../blib/lib
-I/auto/ns_emb/mgr/tools/perl/PAR-0.68/inc -I'.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libm.so.1...done.
Reading symbols from /usr/lib/libposix4.so.1...done.
Reading symbols from /usr/lib/libpthread.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libmp.so.2...done.
Reading symbols from /usr/lib/libaio.so.1...done.
Reading symbols from
/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1...done.
Reading symbols from /usr/lib/libthread.so.1...done.
#0 0xef5be94c in nvmatch () from /usr/lib/libc.so.1
(gdb) bt
#0 0xef5be94c in nvmatch () from /usr/lib/libc.so.1
#1 0xef5be918 in getenv () from /usr/lib/libc.so.1
#2 0x25cfc in par_mktmpdir (argv=0xefffd464) at mktmpdir.c:47
#3 0x261f4 in main (argc=15, argv=0xefffd464, env=0xefffd4a4) at
main.c:73
When I changed
if ( (envtmp = getenv(tmpdir)) )
to
if ( (envtmp = getenv(tmpval)) )
in the mktmpdir.c:47
the installation finished successfully.
Regards,
Eugene.