When running ./configure.sh on solaris 9 (sparc) I
receive the message "./configure.sh: test: argument
expected". Do you have any suggestions as to what I
might try?
I've never used Solaris, but I searched the configure.sh
file for "test". I found a few places where there were tests
for MAD. The place you get the error is probably here:
if test ! -z "$MADDIR" ; then
INCLUDES="$INCLUDES $MADDIR/include"
DEFINES="$DEFINES ENABLE_MAD"
LIBRARIES="$LIBRARIES -lmad"
LIBDIRS="$LIBDIRS -L$MADDIR/lib"
fi
I didn't write the script (nor I'm any good at it), but that
looks wong to me. Anyway, you can try just removing that
part altogether (what is shown above).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1184
I've never used Solaris, but I searched the configure.sh
file for "test". I found a few places where there were tests
for MAD. The place you get the error is probably here:
if test ! -z "$MADDIR" ; then
INCLUDES="$INCLUDES $MADDIR/include"
DEFINES="$DEFINES ENABLE_MAD"
LIBRARIES="$LIBRARIES -lmad"
LIBDIRS="$LIBDIRS -L$MADDIR/lib"
fi
I didn't write the script (nor I'm any good at it), but that
looks wong to me. Anyway, you can try just removing that
part altogether (what is shown above).
Logged In: YES
user_id=198526
Replace:
if test ! -z "$MADDIR" ; then
with:
if test ! "x$MADDIR" = "$MADDIR" ; then
according to the portable shell script guidelines:
http://www.gnu.org/manual/autoconf/html_node/autoconf_122.html
-- Ren
(I'll update configure.sh)
Logged In: YES
user_id=198526
if test ! "x$MADDIR" = "$MADDIR" ; then
should of course be:
if test ! "x$MADDIR" = "x" ; then
-- Ren