Jump to ID:
QNX Community pkgsrc Project

Project Home

Documents

Source Code

Discussions

Wiki

Project Info
Forum Topic - More on php5: Page 1 of 17 (17 Items)
   
 
 
More on php5  
Well I spoke too soon when I said Apache22/PHP5 were working.   I was able to complete the builds, and it looked really 
good until I actually tried to run Apache.   In the step where mod_php5.so, really libphp5.so was loaded, apache 
reported that the file was not there, and a little further on it crashed.

I did extensive verification to make sure that libphp5.so was there, and was readable, so that is not the problem.

I've decided to go back and play by the rules in case my idea of deleting .wrapper/bin/cc may have caused this behavior.
   I found the step where the -R/usr/pkg/lib caused the compiler to fail, and I've recreated it carefully.   I'm hoping 
to hold the developers of .wrapper/bin/cc to their statement that "It supports the -R option".


Here is the command that configure trys to execute:

/usr/pkgsrc/lang/php5/work/.wrapper/bin/cc -o conftest -O2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include -R/
usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/pkg/lib conftest.c -
lcrypto -lm -lsocket -lxml2 -lz -liconv -lm -lsocket


I'm attaching a file 'result' which is the output of running this command  in verbose mode.   If you look carefully a 
few lines from the bottom, you will see that qcc is being given the -R option, and it does not like it.
Attachment: Text result 121.61 KB