Doug_M
February 11, 2011, 8:21am
1
Hi,
I'm trying to compile Apache2.2 (I know it is available as a package) on a fresh install of Solaris Express 11. I've installed gcc-3 and gnu-bintutils via pkg. The config.log is attached (as config.txt). I don't see what I'm missing.
Thanks,
Doug
Doug_M
February 11, 2011, 10:58am
2
A little more investigation into this I see that in config.log there is a failure because of -mt:
configure:4541: gcc -DSOLARIS2=11 -D_POSIX_PTHREAD_SEMANTICS -mt -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -L/usr/lib conftest.c >&5
cc1: error: invalid option `t'
Why configure use that I don't know but from googling I see that it is valid for cc but not gcc.
---------- Post updated at 11:57 AM ---------- Previous update was at 11:36 AM ----------
Solved. I had apr (from previous install of Apache pkg). Removing that solved the problem.
---------- Post updated at 11:58 AM ---------- Previous update was at 11:57 AM ----------
solved it by removing apr which was previously installed with the packaged version of Apache.