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

Thanks for that information. Since my colleague had compiled 5.8.1 with gcc 3.2 on solaris 2.6 without any problem. I have just started the same combo on solaris 2.9. If that does not work, i will try 5.6.1.

Was looking at my config log and found this. Would this be causing an issue?

<dld.h> NOT found. dlopen() found. Do you wish to use dynamic loading? [y]
And i answered yes for dynamic loading. And i don't have dld.h on my machine. But since it said it found dlopen(), i did not bother. It would just use dl_dlopen.xs, rit?

Can someone throw some light on this, if this is an issue i should look into? But again, i just want to remind that, the miniperl hang did not happen for all the libraries.
Thanks

Replies are listed 'Best First'.
Re5: miniperl hangs during perl compilation
by vani (Acolyte) on Nov 17, 2005 at 16:37 UTC
    My 5.8.1 build also stops at the same place. I guess i am missing some kinda dependency for some libraries? I had given a list of the libraries that are not compiling fine. Any thoughts on something that i'd be missing or doing wrong?
    The list of libraries that cause an issue in creating the Makefile with miniperl, (i say pass/fail next to each,
    pass - i can create the make file and do a make from within that directory
    fail - just hangs no matter from where i try to run the miniperl command)

Re^5: miniperl hangs during perl compilation
by Moron (Curate) on Nov 17, 2005 at 17:34 UTC
    The perl library dependencies for Solaris will differ from the gnu library dependencies for even the same version of Perl. But that reminds me of the fact that these dependencies take form during the make and you didn't say whether you are using dmake or gnu make for your Solaris build of perl. See this link for some possible causes given each of the two possibilities CPAN: Sun_and_GNU_Make

    -M

    Free your mind

      I checked the set user id for make. It is good. I put some print stmts within the Makefile.PL for a couple of libraries and found that the WriteMakefile () function call is getting stuck - it does not return. Any thoughts ?!!

        It still isn't clear to me from that information what the cause could be. But what about putting the MakeFile.pl into debug mode and setting a breakpoint to that function to investigate what it tries to do exactly when it hangs.

        -M

        Free your mind