[Imap-use] problems 'makeing' IMAP for use with PHP
aaron at pelsoft.com
aaron at pelsoft.com
Tue Sep 4 17:08:09 PDT 2007
Ok, Matt had asked me before what SSL library I had used before, I
didn't know, so he told me to run 'openssl version -a'. I did and it
returned the following:
OpenSSL 0.9.7d 17 Mar 2004
>>>>> built on: date not available
>>>>> platform: information not available
>>>>> options: bn(64,32) md2(int) rc4(ptr,char) des(ptr,cisc,16,long)
>>>>> compiler: information not available
>>>>> OPENSSLDIR: "/etc/sfw/openssl"
So from there he had said:
"So your OpenSSL libraries are probably in /usr/sfw/lib...
Try something like this:
$ make gso \
He did confirm with me that " '-R/usr/sfw/lib' " does the same in
Solaris as it does in Linux.
We have since tried the full make command above for IMAP, but with
'gmake' instead of 'make' with the same results.
I chatted with Matt some more and he figures that I am using the
Solaris bundled version of Open SSL.
Oh and I tried the same above command with 'SSLDIR=/etc/sfw' and
'SSLDIR=/etc/sfw/openssl' both with the same error.
I am using gmake version 3.80 (again bundled with Solaris). GCC
version 3.4.3 (bundled with Solaris)
If I haven't mentioned I am trying to install an e-ticketing software
program for use with the company I work for. The software is call
eSupport by Kayako. So I am not setting up a mail server, just needing
IMAP support for the ticketing/mailing portion of this software.
Matt gave me a few more ideas, but I am open to anything.
Thank you for your help!
Quoting Mark Crispin <MRC at CAC.Washington.EDU>:
> On Tue, 4 Sep 2007, aaron at pelsoft.com wrote:
>> Thanks, Mark I see that now. OK so #1 how to I tell if I have
>> either OpensSSL or OpenSSL includes installed?
> If you didn't do the OpenSSL build/install, then the only way is either
> to ask the person who did it, or look for it yourself.
> Normally, it looks for the OpenSSL stuff on /usr/local/ssl, so the
> OpenSSL includes would be on /usr/local/ssl/includes .
>> and #2 how to I go about finding out where to point SSLDIR in the
>> right place?
>> #3 Do I even need to use SSLDIR?
> You set SSLDIR explicitly in the make command line. I assume that you
> did this for a reason. Without knowing that reason/those reasons, all
> I can say is the following:
> There are a set of directories defined for SSL. Normally, these are:
> which results in:
> SSLCERTS /usr/local/ssl/certs
> SSLKEYS /usr/local/ssl/certs
> SSLINCLUDE /usr/local/ssl/include
> SSLLIB /usr/local/ssl/lib
> Note that setting SSLDIR is simply a convenience to change all the
> other settings at once. So if you installed all the OpenSSL stuff in
> /Special/OpenSSL, you can use
> instead of
> SSLCERTS=/Special/OpenSSL/certs SSLKEYS=/Special/OpenSSL/certs
> SSLINCLUDE=/Special/OpenSSL/include SSLLIB=/Special/OpenSSL/lib
> Note also that the SSLKEYS directory defaults to the SSLCERTS directory.
> Since you used the command:
> make gso SSLTYPE=nopwd SSLDIR=/usr/sfw SSLCERTS=/var/ssl
> EXTRALDFLAGS='-R/usr/sfw/lib' EXTRACFLAGS='fPIC'
> you got the results:
> SSLCERTS /var/ssl
> SSLKEYS /var/ssl
> SSLINCLUDE /usr/sfw/include
> SSLLIB /usr/sfw/lib
> I have no idea what -R/usr/sfw/lib does on Solaris; but I doubt that
> it's the same as what it does on Linux.
> In any case, if the results are not what you intended, you might want
> to review your make command and why you set each of those settings.
> Since I don't know why you set those settings in that way, I can't
> comment intelligently on whether it was right or wrong.
>> #4 Why did this work before and now it doesn't even work for a
>> simple 'make gso'?
> I don't know. I assume that you changed something, somewhere. I don't
> know much about Solaris.
> -- Mark --
> Science does not emerge from voting, party politics, or public debate.
> Si vis pacem, para bellum.
More information about the Imap-use