Hello,
I was wondering why Java was not working in Pike 7.4 and 7.5 under Jaguar... First test from me found that checking for a working ls didn't work like autoconf script likes...
In fact in Java configure.in the following :
if /bin/ls ./fnord/fnord/fnord/fnurkelfoo 2>/dev/null; then : else : pike_cv_ls="$ac_dir"/ls fi
is never correctly checked in Darwin as you can see in this simple example :
kiwi@blackmagic:~/cvs/pike/Pike/7.4/src/modules/Java$ if /bin/ls ./fnord/fnord ;
then echo oo else echo zz fi
/bin/ls: ./fnord/fnord: No such file or directory oo kiwi@blackmagic:~/cvs/pike/Pike/7.4/src/modules/Java$
So this is really sure that /bin/ls will never be find for checking Java. Yes this is I think a bug from Darwin 6.2 /bin/ls but we have to find a workaround for this... Any ideas ?
/Xavier
[...]
So this is really sure that /bin/ls will never be find for checking Java. Yes this is I think a bug from Darwin 6.2 /bin/ls but we have to find a workaround for this... Any ideas ?
The whole _point_ of the test is not to use /bin/ls on Darwin, since it is bugged. Install GNU ls.
// Marcus
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-12-17 13:29: Subject: Java / testing for a working ls and Darwin 6.2 / Mac OS X Jaguar
Hello,
I was wondering why Java was not working in Pike 7.4 and 7.5 under Jaguar... First test from me found that checking for a working ls didn't work like autoconf script likes...
In fact in Java configure.in the following :
if /bin/ls ./fnord/fnord/fnord/fnurkelfoo 2>/dev/null; then : else : pike_cv_ls="$ac_dir"/ls fi
is never correctly checked in Darwin as you can see in this simple example :
kiwi@blackmagic:~/cvs/pike/Pike/7.4/src/modules/Java$ if /bin/ls ./fnord/fnord ;
then echo oo else echo zz fi
/bin/ls: ./fnord/fnord: No such file or directory oo kiwi@blackmagic:~/cvs/pike/Pike/7.4/src/modules/Java$
So this is really sure that /bin/ls will never be find for checking Java. Yes this is I think a bug from Darwin 6.2 /bin/ls but we have to find a workaround for this... Any ideas ?
/Xavier
/ Brevbäraren
Le mardi, 17 déc 2002, à 14:00 Europe/Paris, Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum a écrit :
[...]
So this is really sure that /bin/ls will never be find for checking Java. Yes this is I think a bug from Darwin 6.2 /bin/ls but we have to find a workaround for this... Any ideas ?
The whole _point_ of the test is not to use /bin/ls on Darwin, since it is bugged. Install GNU ls.
fink install fileutils fixed me that problem :)
Great now Java is correctly detected.... :)
/Xavier
pike-devel@lists.lysator.liu.se