in reply to Re: Perl 5.38 64 bit cpanm fails
in thread Perl 5.38 64 bit cpanm fails

I suspect my Perl install is confused somehow. I installed the portable version in a non-standard place of T:\hyd\src\strawberry.5.38 under the understanding that I coud install Perl anywhere these days - I know it used to be c:\strawberry or nothing!

Perl -Vlibpath
shows
libpth='T:\hyd\src\strawberry.5.38\c\lib T:\hyd\src\strawberry.5.38\c\ +x86_64-w64-mingw32\lib T:\hyd\src\strawberry.5.38\c\lib\gcc\x86_64-w6 +4- mingw32\13.1.0';

Everything looks good there. It's worth noting that T: drive is a share of \\k030\hydprime\cnd and the error I get on a build are something like

//k030/HydPrime/cnd/hyd/src/strawberry.5.38/c/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lmoldname: No such file or directory

The files are there when I look down the T: tree. However note the forward slashes on the error message - very Unix and not at all Windows-like. I don't really understand why the T: turns into //k030/HydPrime/cnd. I suspect that's the real problem! I'll try installing at c:\strawberry and see if the issues go away!

Replies are listed 'Best First'.
Re^3: Perl 5.38 64 bit cpanm fails
by syphilis (Archbishop) on Jul 03, 2024 at 11:52 UTC
    I installed the portable version in a non-standard place of T:\hyd\src\strawberry.5.38 under the understanding that I could install Perl anywhere these days

    Yes - that's usually not a problem.
    I suspect that the main problem is that the "T:drive is a share of \\k030\hydprime\cnd".
    I've no experience of that hoop, nor of how to jump through it ;-)

    Cheers,
    Rob