Hi,
I moved my perl tree from "C:\My Programs" to "C:\"
After hacking the Windows registry and changing references to the old location in the files in the perl base dir
I've got perl working again
However, I cannot get CPAN / nmake to install modules
===== Example =====
CPAN.pm: Going to build A/AN/ANDK/CPAN-1.76.tar.gz Checking if your kit is complete... Looks good Error: Unable to locate installed Perl libraries or Perl source code. .... .... (You get this message, because MakeMaker could not find "C:\<b>My Prog +rams</b>\Perl\lib\CORE\perl.h") # Looks like your test died before it could output anything. Running make test Make had some problems, maybe interrupted? Won't test Running make install Make had some problems, maybe interrupted? Won't install
====================
If I do a :
C:\WINDOWS>perl -V<br> Summary of my perl5 (revision 5 version 6 subversion 1) configuration: +<br> Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thr +ead<br> .....<br> .....<br> .....<br> .....<br> Linker and Libraries:<br> ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"C:\ +<b>My Programs</b>\Perl\lib\CORE" -machine:x86'<br> libpth="C:\<b>My Programs</b>\Perl\lib\CORE"<br> libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib + comdlg32 .lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uui +d.lib wsoc k32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt. +lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool +.lib comd lg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib + uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msv +crt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '<br> cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -l +ibpath:"C:\<b>My Programs</b>\Perl\lib\CORE" -machine:x86'

===========================
How can I edit the

linker -loadpath
libries -libpth
dynamic linking -libpath

to remove references to "My Programs"?
Any pointers would be much appreciated, Barry Keeling (barry@foxbat.demon.co.uk)

20040212 Edit by Corion: Added code tags around program output


In reply to MakeMaker looking in the wrong place by bazzar

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.