I was looking at zlib-1.2.3.p5 and thought this was rather odd in spkg-install.
* If zlib fails to configure properly, we exit with an error.
* If it fails to build using 'make', we give a warning, say this may not be
fatal, but do not exit.
* If zlib fails to install, we exit with an error.
Does this make a lot of sense to anyone?
The code is below.
Dave
./configure --shared --prefix=$SAGE_LOCAL
if [ $? -ne 0 ]; then
echo "Error configuring zlib"
exit 1
fi
make
if [ $? -ne 0 ]; then
echo "Error building zlib"
echo "This may not be fatal"
fi
make install
if [ $? -ne 0 ]; then
echo "Error installing zlib"
exit 1
fi
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org