Ticket #21001 (closed defect: fixed)
Compiling apache2 with ccache breaks modules
| Reported by: | raimue@… | Owned by: | imajes@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.0 |
| Keywords: | libtool | Cc: | steve_macdougall@…, ryandesign@… |
| Port: | apache2 |
Description
If apache2 has been compiled with ccache, the apxs tool tries to use 'libtool ... ccache /usr/bin/gcc-4.0' on compilation of modules.
This will always fail, here an example from mod_wsgi:
/opt/local/apache2/bin/apxs -c -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -DNDEBUG -Wc,'-arch i386' mod_wsgi.c -L/opt/local/lib -L/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib -L/opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/config -arch i386 -lpython2.4 -ldl /opt/local/share/apr-1/build/libtool --silent --mode=compile ccache /usr/bin/gcc-4.0 -prefer-pic -pipe -O2 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include -I/opt/local/apache2/include -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -arch i386 -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo libtool: compile: unable to infer tagged configuration libtool: compile: specify a tag with `--tag' apxs:Error: Command failed with rc=65536
Therefore I propose to disable ccache for compilation of apache2.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

