Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

A hint for building Perl 5.6.1 UNIX
To build Perl 5.6.1 from source, you must patch hints/darwin.sh to add the following line *OR* edit config.sh to alter the line:

OLD: firstmakefile='makefile'
NEW: firstmakefile='fmakefile'

The reason is the default perl distribution has this filename, a temp file, set to 'makefile'. Due to the case insensitivity of HFS+, the important file "Makefile" is deleted when the build scripts try to delete the temp file "makefile".

Note: I still don't have Perl building properly but this is a big step in the right direction.
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[2,556 views]  

A hint for building Perl 5.6.1 | 6 comments | Create New Account
Click here to return to the 'A hint for building Perl 5.6.1' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Thought you'd like to know...
Authored by: scope on Feb 03, '02 08:17:45PM

The topic says "A hint for building Perl 6.5.1" and you start out the hint "To build Perl 5.6.1..." Anyways, I was wondering, how do you find out which version of Perl you already have installed?



[ Reply to This | # ]
Nevermind
Authored by: scope on Feb 03, '02 08:50:34PM

I found it..."perl -V"



[ Reply to This | # ]
Thought you'd like to know...
Authored by: foniksonik on Feb 03, '02 09:03:35PM

In the future you can most likely find what ever you want about these UNIX based apps by typing

man [app name here] #this will give you the manual pages for the app.

into a terminal.

or the app name and then -h will usually give you a list of options

ie: perl -h



[ Reply to This | # ]
Editor's mistake...
Authored by: robg on Feb 03, '02 10:13:31PM

That was my bad typing on the "6.5.1" thing; it's now fixed.

Sorry about that!

-rob.



[ Reply to This | # ]
another hint for compiling
Authored by: foniksonik on Feb 03, '02 09:13:24PM

This is a hint which showed up early last year... for compiling UNIX apps on OS X, which may still have some relevance. Most currently supported UNIX apps have been updated for OS X in past months but not all... if you're having trouble with a compile you may want to try copying this file to your source directory:

/usr/libexec/config.guess

The config.guess file provides the source Makefile with directory and resource structure it needs to compile on your chosen platform.

This is where I got the hint from:

http://www.osxhints.com/article.php?story=20001105230841401



[ Reply to This | # ]
How to build 5.6.1
Authored by: pmccann on Feb 04, '02 08:47:54AM

No offence, but there's a fair bit of info around about how to build perl 5.6.1 on 10.1.x (for example, try "5.6.1 os x perl" on google). In fact the topic came up recently on forums.osxhints.com, so here's the key chunk of info from the relevant thread. [[Note that there are other "how-to's" that detail the process, maybe as well or better than this one, but this is just one that I know some people have had success with.]]

http://archive.develooper.com/macosx@perl.org/msg00895.html

Best wishes,
Paul



[ Reply to This | # ]