[lug] PHP compile problem

Greg Horne jeerygh at hotmail.com
Mon Mar 18 14:00:46 MST 2002


I tried this today:

The unix.h error is still a mystery.  I have a /usr/local/imap/c-client
directory with a whole bunch of sym links to various files on my system.
When I use the option '--with-imap=/usr/local/imap/c-client' and move
the designated files (except /usr/local/c-client/lib/libc-client.a
because I don't have it on my system) I get this error:

configure: error: Cannot find imap library. Please check your IMAP
installation.

So I tried disabling IMAP from the build...

./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.23
--enable-track-vars
./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.23
--without-cyrus --enable-track-vars
./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.23
--without-imap --enable-track-vars
./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.23
--without-imap --without-cyrus --enable-track-vars

I still get the same error when I go to make.

Back in October I successfully compiled php-4.0.4pl1 with this command
and it worked perfectly.:

'./configure' '--with-mysql=/usr/local/mysql'
'--with-apache=/usr/local/src/apache_1.3.19' '--enable-track-vars'

At that time I was using apache-1.3.19.  So...

I tried compiling it with apache_1.3.19 just to be sure apache wasn't
the culprit...

I got the same error...so it's either PHP or something else.  Phew.

Any ideas, suggestions?

- - -
Greg Horne


> -----Original Message-----
> From: lug-admin at lug.boulder.co.us [mailto:lug-admin at lug.boulder.co.us]
On
> Behalf Of Jonathan Briggs
> Sent: Monday, March 18, 2002 12:23 PM
> To: lug at lug.boulder.co.us
> Subject: Re: [lug] PHP compile problem
> 
> You don't say what you tried.  Did you move the
> /usr/local/include/unix.h file and run ./configure and make again?
> 
> Greg Horne wrote:
> 
> >Boy was that a long weekend, anymore thoughts on my problem?
> >
> >
> >- - -
> >Greg
> >
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug



More information about the LUG mailing list