Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-16-2004, 08:19 AM   #1
LQ Newbie
Registered: Jan 2004
Location: Portugal
Distribution: Slackware 9.0
Posts: 16

Rep: Reputation: 0
Problems compiling php with imap, ssl... support

Hello all,
I'm trying to install apache with php and I get this error while running make

ext/mysql/libmysql/my_tempnam.o(.text+0x40): In function `my_tempnam':
/root/php-4.3.4/ext/mysql/libmysql/my_tempnam.c:115: the use of `tempnam' is dangerous, better use `mkstemp'
ext/imap/php_imap.o(.text+0x461): In function `zm_startup_imap':
/root/php-4.3.4/ext/imap/php_imap.c:435: undefined reference to `ssl_onceonlyinit'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

I'm running the configure script with these options:
./configure --prefix=/usr/local/php --with-apache=.
./apache_1.3.29 --with-mysql --enable-track-vars --with-openssl=/usr/local/ssl
--with-xml --with-mcrypt --with-gettext --with-imap=../imap-2004.RC3 --with-ima

I'm using:

php 4.3.4
apache 1.3.29
imap 2004.RC3
OpenSSL 0.9.7c

Anyone can help me out?

Tiago Veiga.
Old 01-16-2004, 10:06 PM   #2
Senior Member
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
--with-imap usually wants to find where you've installed the libcclient.h, not necessarilty where the build directory is


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling php with oracle support fintan Linux - Software 1 12-31-2006 01:34 PM
Compile PHP with IMAP support ultrafluke Linux - Software 1 12-03-2004 01:04 PM
IMAP compiling with Mysql support. sixth_sense Linux - Software 3 05-08-2004 04:57 PM
adding imap support to php lmromena Linux - General 2 04-28-2004 11:24 PM
PHP-IMAP SSL Package Debfan Debian 0 10-08-2003 09:39 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration