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

In reply to Re^3: miniperl hangs during perl compilation by vani
in thread miniperl hangs during perl compilation by vani

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.