| Unable to Compile PHP with IMAP support -
04-09-2007, 08:21 PM
Help! I understand that I am a rookie here and I may have to keep digging in some other forums, but I am trying to get my test server setup to do a test install of eSupport. I am running Solaris 10, with MySQL and Apache installed and I have PHP 5.2.3 installed but not compiled yet, as I am having problems compiling/'make'ing IMAP. I really want to use this product, but I need to do a test run first. I am and have been stuck at the last step here before I can download and setup eSupport
I had at one point successfully ran 'make' on IMAP, and then went on to compile PHP with IMAP support which brought me to an error. This error lead me to the people a IMAP (U of W), which told me that I would just have to re-'make' IMAP with a few extra lines in the make command. I tried to redo/compile IMAP but now I am getting errors during that process. Basically it is as if it won't let me recompile IMAP again. I get a whole string of errors. Specifically:
a bunch of osdep.c, sslio.h and sslstdio.c errors and warnings. The ending string of
error messages is:
--------------------------------------------------------------------------------------------------------------------------
osdep.c:286: error: stoarge size of `ssldriver' isn't known
***Error code 1
make: Fatal error: Command failed for target `osdep.0'
Current working directory /opt/imaptemp/imap-2006k.DEV.SNAP-0708161241/c-client
***Error code 1
make: Fatal error: Command failed for target `gso'
Current working directory /opt/imaptemp/imap-2006k.DEV.SNAP-0708161241/c-client
***Error code 1
make: Fatal error: Command failed for target `OSTYPE'
Current working directory /opt/imaptemp/imap-2006k.DEV.SNAP-0708161241
***Error code 1
make: Fatal error: Command failed for target `gso'
--------------------------------------------------------------------------------------------------------------------------------
This occurs no matter what string I use in the make command. Even if I am just using 'make gso'. The first time I did this - 'make gso SSLTYPE=nopwd' worked fine. Now nothing works.
The make command that I was told to try was:
make gso \ SSLTYPE=nopwd \ SSLDIR=/usr/sfw \ SSLCERTS=/var/ssl \ EXTRALDFLAGS='-R/usr/sfw/lib' \ EXTRACFLAGS='fPIC'
I am continuing to run down the IMAP crew, but it is time consuming, so I wanted to see if any one else had this problem or had any ideas.
Thanks so much
Aaron |