in reply to Re: miniperl hangs during perl compilation
in thread miniperl hangs during perl compilation

I am running the latest Perl on Solaris 8, 9, and 10. Solaris, btw, is NOT a BSD variant anymore. It has been a System V variant for many, many years now.

That said, vani, you have to get us alot more detail. Can you run a truss and see what's going on? I've never had a Perl built fail on me ever and I've been using Perl on Solaris for almost a decade. Maybe an experienced Sysadmin who has access to your system can help you out.

  • Comment on Re^2: miniperl hangs during perl compilation

Replies are listed 'Best First'.
Re^3: miniperl hangs during perl compilation
by vani (Acolyte) on Nov 17, 2005 at 20:47 UTC
    I am using GNU's Make. I ran truss on "make" at the parent directory level. Am just adding the last section
    Making B (dynamic) Inside B::Makefile.PL before WriteMakefile call wait() (sleeping...)
    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.
    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

    /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
    Can someone help me? Do you need more info to help me out?
    Thanks

    Vani