Hi, Folks
I am kind of 'out' from Parrot for a long time, and probably there is
something that I am missing.
There was a test (test three from t/examples/library.t) that was failing
and failing under MacOS X. That test relies on libpcre that is not
available by default on MacOS X.
If you use MacPort to install the library, it will be placed under
/opt/local/lib. The configure step I added to the configure system will
detect it, but the test will fail, because pcre.pir can't locate the
library.
My current solution was to export DYLD_FALLBACK_LIBRARY_PATH including
the /opt/local/lib path, but I think this is not a good solution.
If we are going to rely on DYLD_FALLBACK_LIBRARY_PATH, we should make a
configure step to check if all libraries that will be loaded dynamically
are available using the current DYLD_FALLBACK_LIBRARY_PATH.
The other option, might be a -L flag to parrot, so we can add those
extra library paths there. This second solution would also need a
configure step to find out which libraries paths should be used for each
test.
I think this might happen as well for Linux, and LD_LIBRARY_PATH.
Cheers
ambs
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de Gualtar - 4710-057 Braga - Portugal