in reply to Can't install a modern Perl from source

Let’s assume that you have checked your system for damage and found none, and let’s also assume that what you are seeing is repeatable at-will after doing make distclean and so-forth.   (If that is not yet the case, this is step-one.)

I would start by examining the generated Makefile, then grepping the source tree (or the system’s include-directories) for that identifier.   (“grep -rilw foobar .” ... yup, I can do it in my sleep ...)

The next thing that I would grep is the various Configure control-files which determine exactly how that Makefile is to be built.   Perhaps there is an option that you need to specify in the configure step.   Perhaps there is a step that is not working properly.

When you run configure, capture the output to a file (if it isn’t being captured already) and grep or less that file.   Look specifically for any point where it appears to be making tests and decisions related to the problem area.   Look carefully for any error or warning indications.   It is extremely easy to let important clues “just breeze by.”

Or ... well, it’s damm unlikely but it’s possible ... maybe, gosh darn it, there’s a bug here.   If so, undoubtedly it has already been reported, so you would look at the ticket-list for this distribution.

Replies are listed 'Best First'.
Re^2: Can't install a modern Perl from source
by mpeters (Chaplain) on Jul 18, 2011 at 14:49 UTC
    Yes, I can recreate this problem at-will (following the same steps I mentioned above) and I don't think a distclean really matters if I'm downloading from source right? Here's my full configure output and my full make output. I'm not really sure what I should be looking for, but I'll keep trying. See anything useful?
      Turns out it was my GREP_OPTIONS environment variable. I had this in my .bashrc
      export GREP_OPTIONS="--exclude-from ~/.grep_excludes --color"
      Seems some files were accidentally matching my excludes rules and the color was throwing off something else. Removing that fixed everything up (except for a single failure in t/porting/exec-bit.t).