Hi, James.
I'll try to figure out the problem and apply a patch soon.
I just complaint before just to be sure if I was not editing other
people work :)
Cheers
ambs
James Keenan (via RT) wrote:
# New Ticket Created by James Keenan
# Please include the string: [perl #51622]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=51622 >
Alberto Simões wrote:
Hi
Latest parrot version (r26311) is not detecting GMP installed under
/opt/local/lib/libgmp* (default location for macports). If I remember it
correctly, previous versions detected it without any problem.
Alberto:
The only configuration step which makes specific reference to macports
is config/auto/readline.pm:
$ fnsa config '*.pm' | xargs grep -l macport
config/auto/readline.pm
Let me continue from an oblique angle.
There are three configuration step classes which search for features
that a user might have installed via Fink: auto::readline, auto::gdbm
and auto::gmp. There was a lot of repeated Fink-finding code in these
three steps, so I refactored that out into a separate module,
config/auto/fink.pm. This searches for Fink in its default location and
for a user-supplied alternate location.
Because I use Fink myself, I was able to verify that this code works
and, in particular, able to study the Fink configuration file which
tells whether Fink is installed in its standard location or not.
There are two reasons why I did this for Fink and not for macports: (1)
Because when I took over maintenance of these modules, there was Fink
code in 3 files and macports code only in 1 -- which is probably just a
historical accident. (2) I've never used macports myself (is it the
same as darwinports?) and I didn't want to install something solely for
the purpose of weaving it into Parrot configuration steps.
I wonder if you could look at the macport-specific code in
config/auto/readline.pm and hack up config/auto/gmp.pm with the same or
very similar code. If you then re-ran Configure.pl and the macports
install of GMP was successfully detected, then we could add a config
step to search for macports as we did for Fink.
I'm transforming this into an RT so we can track it there.
Thank you very much.
kid51
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal