LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-16-2004, 07:19 AM   #1
tveiga
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
pssl=/usr/local/ssl

I'm using:

php 4.3.4
apache 1.3.29
imap 2004.RC3
OpenSSL 0.9.7c

Anyone can help me out?

Thanks,
Tiago Veiga.
 
Old 01-16-2004, 09:06 PM   #2
mcleodnine
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
 
  


Reply



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 12:34 PM
Compile PHP with IMAP support ultrafluke Linux - Software 1 12-03-2004 12:04 PM
IMAP compiling with Mysql support. sixth_sense Linux - Software 3 05-08-2004 03:57 PM
adding imap support to php lmromena Linux - General 2 04-28-2004 10:24 PM
PHP-IMAP SSL Package Debfan Debian 0 10-08-2003 08:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:48 AM.

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