Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Compiling and Installing Perl

Reply
Thread Tools

Compiling and Installing Perl

 
 
William C. Smith
Guest
Posts: n/a
 
      05-15-2006
Hello,

How does one compile and install Perl? I have CPAN source, Microsoft
Visual C++ compiler, and my operating system is Windows 2000 Pro.

--
Bill
 
Reply With Quote
 
 
 
 
Paul Lalli
Guest
Posts: n/a
 
      05-15-2006
William C. Smith wrote:
> How does one compile and install Perl? I have CPAN source, Microsoft
> Visual C++ compiler, and my operating system is Windows 2000 Pro.


Is there a particular reason you feel the need to compile your own
version of perl?

If not, the most standard Windows distribution of Perl is produced by
ActiveState, and can be found at
http://www.activestate.com/Products/...?id=ActivePerl

There are other options as well, including the perl that comes with the
Cygwin shell, as well as a bundle package known as "Indigo Perl" (which
I assume you can Google for)

If you really are feeling masochistic enough to want to compile your
own perl executable, you can get the source files from
http://www.perl.com/download.csp and follow the directions in the
standard README and INSTALLING files.

Paul Lalli

 
Reply With Quote
 
 
 
 
John Bokma
Guest
Posts: n/a
 
      05-15-2006
"Paul Lalli" <> wrote:

> If you really are feeling masochistic enough to want to compile your
> own perl executable, you can get the source files from
> http://www.perl.com/download.csp and follow the directions in the
> standard README and INSTALLING files.


I have compiled Perl in the past on an SGI box, and IIRC was it not that
much work. A lot had to be compiled in those days, and I was lucky that I
had the Developers Option (or how it was called). Masochistic? I would say
no. Useful experience? Who knows

--
John Bokma Freelance software developer
&
Experienced Perl programmer: http://castleamber.com/
 
Reply With Quote
 
Sisyphus
Guest
Posts: n/a
 
      05-16-2006

"Paul Lalli" <> wrote in message
news: oups.com...
> William C. Smith wrote:
> > How does one compile and install Perl? I have CPAN source, Microsoft
> > Visual C++ compiler, and my operating system is Windows 2000 Pro.

>

..
..
>
> If you really are feeling masochistic enough to want to compile your
> own perl executable, you can get the source files from
> http://www.perl.com/download.csp and follow the directions in the
> standard README and INSTALLING files.
>


'README.win32' (in the top-level folder of the perl source distro) contains
all the instructions you'll need. If you've got a commercial version of VC6
or VC7 it's actually a fairly trivial exercise (though first time round it
mightn't seem so trivial) - a couple of config options to set in the
Win32/Makefile (which is pretty much self-documenting), then just 'cd' to
the Win32 folder and run 'nmake', 'nmake' test' and 'nmake install'.

If you're using the free command line compiler from Microsoft it's a little
more involved - full details in the aforementioned 'README.win32'.
And if the "free command line compiler" you're using happens to be VC8 (aka
something like .NET 2005), I've read that it's not at all trivial - in fact
I don't know that it has been done.

Cheers,
Rob


 
Reply With Quote
 
Bart Lateur
Guest
Posts: n/a
 
      05-16-2006
Paul Lalli wrote:

>If not, the most standard Windows distribution of Perl is produced by
>ActiveState, and can be found at

....

For a more complete list of alternatives, check out
Camelpack/VanillaPerl, at
<http://camelpack.sourceforge.net/index.php/Main_Page>

There's an attempt at a complete overview at
<http://camelpack.sourceforge.net/index.php/Other_Perl_Installers>.

--
Bart.
 
Reply With Quote
 
William C. Smith
Guest
Posts: n/a
 
      05-16-2006
"Sisyphus" <> wrote in
news:44697628$0$25133$ u:

> 'README.win32' (in the top-level folder of the perl source distro)
> contains all the instructions you'll need.


I downloaded from perl.com - cpan - stable.tar.gz. There is no
'reademe.win32', and the 'compile.bat' file seems to be for Windows CE.
What did I do wrong?

--
Bill
 
Reply With Quote
 
A. Sinan Unur
Guest
Posts: n/a
 
      05-16-2006
"William C. Smith" <wcsmithx*xieee.org> wrote in
news:Xns97C5559617B5Cwcsmithieeeorg@216.196.97.136 :

> "Sisyphus" <> wrote in
> news:44697628$0$25133$ u:
>
>> 'README.win32' (in the top-level folder of the perl source distro)
>> contains all the instructions you'll need.

>
> I downloaded from perl.com - cpan - stable.tar.gz. There is no
> 'reademe.win32', and the 'compile.bat' file seems to be for Windows
> CE. What did I do wrong?



I just downloaded and extracted stable.tar.gz:

D:\Dload> cd perl-5.8.8

D:\Dload\perl-5.8.8> dir readme.win32
Volume in drive D is DATA
Volume Serial Number is 5039-FABC

Directory of D:\Dload\perl-5.8.8

01/31/2006 07:40 PM 37,473 README.win32
1 File(s) 37,473 bytes
0 Dir(s) 4,817,264,640 bytes free

Sinan

--
--
A. Sinan Unur <>
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://augustmail.com/~tadmc/clpmisc...uidelines.html
 
Reply With Quote
 
Sisyphus
Guest
Posts: n/a
 
      05-16-2006

"William C. Smith" <wcsmithx*xieee.org> wrote in message
news:Xns97C5559617B5Cwcsmithieeeorg@216.196.97.136 ...
> "Sisyphus" <> wrote in
> news:44697628$0$25133$ u:
>
> > 'README.win32' (in the top-level folder of the perl source distro)
> > contains all the instructions you'll need.

>
> I downloaded from perl.com - cpan - stable.tar.gz. There is no
> 'reademe.win32', and the 'compile.bat' file seems to be for Windows CE.
> What did I do wrong?
>


Looks like you've gone into the wince directory. 'README.win32' is up one
level from there. You'll want to edit the 'win32/Makefile' and when you're
ready to build, 'cd' to the 'win32' (not 'wince') folder and run 'nmake',
etc.

Cheers,
Rob


 
Reply With Quote
 
William C. Smith
Guest
Posts: n/a
 
      05-18-2006
"A. Sinan Unur" <> wrote in
news:Xns97C57695F1BDCasu1cornelledu@127.0.0.1:

> I just downloaded and extracted stable.tar.gz:
>
>


Thank you for your help. I finally realized that I am hopelessly out
of date. My old ZipGenius was not restoring the folders, just the files.
With release 6, everything works fine.

--
Bill
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Cross-compiling error when compiling 2.6.1... Garrett Cooper Python 0 02-24-2009 09:47 PM
Cross-compiling error when compiling 2.6.1... Garrett Cooper Python 0 02-24-2009 08:55 PM
Compiling perl? perl?? Mark Seger Perl Misc 3 12-01-2006 02:25 AM
Compiling when libedit is in path Is there a trick to compiling Ruby when libedit must exist in the search path? Can you statically link to readline 5.0 in some manner? -- Lon Baker Lon Baker Ruby 1 03-21-2005 08:57 AM
Compiling Perl to exe with Active State Perl Maciej Kozinski Perl 0 11-28-2003 11:48 AM



Advertisments