in reply to Re^2: miniperl hangs during perl compilation
in thread miniperl hangs during perl compilation
I ran truss from within the B directory and here's the output. It's pretty big, so am adding some sections that i think are relevant. Please let me know if you need other sections and i will provide them. It looks like it is trying to find Util.pm file Then i find it is doing lstat calls on pretty much the entire filesystem. And some of the directories are NFS mounted, and goes to sleep on one such directory.Making B (dynamic) Inside B::Makefile.PL before WriteMakefile call wait() (sleeping...)
3890 open64("/local/lib/perl5/site_perl/5.8.7/sun4-solaris/Scalar/ +Util.pm", O _RDONLY) Err#2 ENOENT 3891 stat64("/local/lib/perl5/site_perl/5.8.7/Scalar/Util.pmc", 0xF +FBFF8D0) E rr#2 ENOENT 3892 open64("/local/lib/perl5/site_perl/5.8.7/Scalar/Util.pm", O_RD +ONLY) Err# 2 ENOENT 3893 stat64("/local/lib/perl5/site_perl/Scalar/Util.pmc", 0xFFBFF8D +0) Err#2 E NOENT 3894 open64("/local/lib/perl5/site_perl/Scalar/Util.pm", O_RDONLY) +Err#2 ENOE NT 3895 stat64("./Scalar/Util.pmc", 0xFFBFF8D0) Err#2 ENOENT 3896 open64("./Scalar/Util.pm", O_RDONLY) Err#2 ENOENT 3897 getcontext(0xFFBFF758) 3898 setcontext(0xFFBFF758) 3899 stat64(".", 0x0011AE90) = 0 3900 open("./..", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3 3901 fstat64(3, 0xFFBFF9A0) = 0 3902 fcntl(3, F_SETFD, 0x00000001) = 0 3903 stat64("./..", 0x0011AE90) = 0 3904 getdents64(3, 0x003BE488, 8192) = 1072 3963 lstat64("./../../epoc", 0x0011AE90) = 0 3964 lstat64("./../../ext", 0x0011AE90) = 0 3965 close(3) = 0 3966 open("./../../..", O_RDONLY|O_NDELAY|O_LARGEFILE) = 3 3967 fstat64(3, 0xFFBFF9A0) = 0 3968 fcntl(3, F_SETFD, 0x00000001) = 0 3969 stat64("./../../..", 0x0011AE90) = 0 3970 getdents64(3, 0x003BE488, 8192) = 1432 3971 lstat64("./../../../.", 0x0011AE90) ...
I was under the impression that /local/lib/perl5/site_perl/5.8.7/sun4-solaris/ was the path where perl would install these *.pm files for the actual perl that i build. Am i making myself clear?! Could someone explain what's happening here?!!
I am not sure what information you need , but here's some that i thought you would need. @INC for miniperl
./miniperl "-I./lib" -e 'print "@INC\n"' ./lib /local/lib/perl5/5.8.7/sun4-solaris /local/lib/perl5/5.8.7 /loca +l/lib/perl5/site_perl/5.8.7/sun4-solaris /local/lib/perl5/site_perl/5 +.8.7 /local/lib/perl5/site_perl .
Here's where i have Util.pm
Can someone help me? Do you need more info to help me out?/local/src/perl-5.8.7/ext/List/Util/lib/List/Util.pm /local/src/perl-5.8.7/ext/List/Util/lib/Scalar/Util.pm /local/src/perl-5.8.7/lib/CGI/Util.pm /local/src/perl-5.8.7/lib/Hash/Util.pm
|
|---|