Now I want to install a module to this portable edition. What can I do?
I think "$ perl Makefile.PL" will install the module to my cygwin Perl.
If I enter the path of the portable edition, and use
$ ./perl.exe Makefile.PL
to install, is it possbile?
--
Water Lin's blog: http://blog.waterlin.org
Email: Wate...@ymail.com
>
>I have two editions of Perl on my computer. One is the portable edition
>with Xampp. One is under Cygwin.
>
>Now I want to install a module to this portable edition. What can I do?
>
>I think "$ perl Makefile.PL" will install the module to my cygwin Perl.
(Temporarily) add the the bin directory of the perl you want to use at
the front of %PATH%.
>If I enter the path of the portable edition, and use
>$ ./perl.exe Makefile.PL
>to install, is it possbile?
Maybe, yes.You'll have to make sure the correct perl.exe is used
everywhere during installation.
--
Bart.
As Bart wrote, you have to make sure your path is correctly set up.
I've found it most convenient to make a batch file that sets up
the path environment so the desired native version is in it (and
the native sdk files like nmake, cl etc) while no cygwin paths are
contained, and configure my cygwin bash via .profile to do the same
for the cygwin perl version.
-Chris
> You'll have to make sure the correct perl.exe is used
> everywhere during installation.
AFAIK, Makemaker takes care of this. (It must even handle uninstalled
locally-compiled perls.)
Yours,
Ilya