Closed JustVic closed 4 years ago
That's weird, I'll have to look into this! As a quickfix you could temporarily modify the port.sh
script so it executes ./configure
inside the port working directory.
The error is misleading. This error can occur if you don't have the toolchain installed beforehand (or if it can't be found in your path). From zlib's configure script:
cat > $test.c << EOF
int foo() { return 0; }
EOF
echo "Checking for obsessive-compulsive compiler options..." >> configure.log
if try $CC -c $CFLAGS $test.c; then
:
else
echo "Compiler error reporting is too harsh for $0 (perhaps remove -Werror)." | tee -a configure.log
leave 1
fi
As you can see, it's just trying to do a test compile.
Can't build zlib-1.2.8. Always getting this error: