CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Trying to compile PERL from source on Windows

 



MGoBlue
New User

Mar 11, 2013, 2:32 PM

Post #1 of 7 (514 views)
Trying to compile PERL from source on Windows Can't Post

Hello All:

I hope I followed all the rules for asking a good question... I checked this out too prior to posting:

http://perlguru.com/gforum.cgi?post=28020;search_string=compile%20from%20source%20windows;#28020

I'm trying to compile PERL from source on a Windows box. I'm using XP SP3, Perl 5.16.2, and Visual C++ 2010.

nmake runs without more than a couple of nags for deprecated methods and such -- nothing fatal.

When it comes to nmake test, it keeps failing with this:

Can't extract version from pod/perldelta.pod at Porting/pod_lib.pl line 117.
NMAKE : fatal error U1077: '..\perl.exe' : return code '0xff'
Stop.

I did notice there isn't a perldelta.pod in the tar ball. There are however a ton of perl[version number]delta.pod files. e.g., perl5162delta.pod

I copied the perl5162delta.pod file and renamed it to perldelta.pod. Re-running nmake fails on test again.

Line 117 is straight forward:
$contents =~ /perldelta - what is new for perl v(5)\.(\d+)\.(\d+)\n/;

What doesn't appear to be straight forward to me is why the 16, 2 isn't getting passed to this call and thus causing a fatal error.

I hope I've asked a decently worded question... just stuck here that's all. Any suggestions regarding compiling this from source would be greatly appreciated.

Thanks!


FishMonger
Veteran / Moderator

Mar 11, 2013, 2:40 PM

Post #2 of 7 (511 views)
Re: [MGoBlue] Trying to compile PERL from source on Windows [In reply to] Can't Post

Save yourself the trouble and install Strawberry perl.
http://strawberryperl.com/


MGoBlue
New User

Mar 11, 2013, 3:20 PM

Post #3 of 7 (509 views)
Re: [FishMonger] Trying to compile PERL from source on Windows [In reply to] Can't Post

That's not an option. PERIOD. I work on a gov't contract and Starwberry Perl is not on the "approved" list. Thanks anyway.


Laurent_R
Veteran / Moderator

Mar 11, 2013, 3:49 PM

Post #4 of 7 (503 views)
Re: [MGoBlue] Trying to compile PERL from source on Windows [In reply to] Can't Post

And is Active Perl also "not approved"?

And Cygwin?


FishMonger
Veteran / Moderator

Mar 11, 2013, 3:53 PM

Post #5 of 7 (503 views)
Re: [MGoBlue] Trying to compile PERL from source on Windows [In reply to] Can't Post

About 8 years ago I attempted to compile perl on a Windows system but had too many issues and gave up.

I don't think anyone else here has tried compiling it on Windows. Nearly everyone on Windows installs via a binary port rather than from source.

You might want to try posting your question on http://www.perlmonks.org/?node=Seekers%20of%20Perl%20Wisdom or http://stackoverflow.com/questions/tagged/perl


MGoBlue
New User

Mar 11, 2013, 4:19 PM

Post #6 of 7 (501 views)
Re: [Laurent_R] Trying to compile PERL from source on Windows [In reply to] Can't Post

Active Perl is approved but there are some steep licensing costs regarding what we want to do. We have Active Perl on some legacy systems and they've threatened to sue us for being in violation of their license agreement.

Cygwin is approved. But we're trying to avoid that because we'd just be using Cygwin to install Perl -- and there is a security requirement to remove extraneous software from the system.

I appreciate all the replies and I know my answers don't always make sense -- but neither does working for the gov't.


FishMonger
Veteran / Moderator

Mar 11, 2013, 6:15 PM

Post #7 of 7 (491 views)
Re: [MGoBlue] Trying to compile PERL from source on Windows [In reply to] Can't Post

I noticed that you posted your question on perlmonks but have not responded to their posts like you have ours.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives