LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-09-2004, 06:20 PM   #1
imemyself
Member
 
Registered: Feb 2004
Location: Wichita, KS
Distribution: CentOS 4, SuSE 10, Tiger
Posts: 110

Rep: Reputation: 15
Compiling PHP5 on FC2


I'm having trouble compiling PHP 5 on Fedora Core 2 with Apache 2. Configure runs fine:
Code:
./configure \
	--with-apxs2=/usr/sbin/apxs \
	--enable-ftp \
	--with-gettext=/usr/lib/gettext \
	--with-zlib=/usr \
	--with-gd \
	--with-ldap=/usr \
	--with-mysql=/usr/bin/mysql_config \
	--with-pgsql=/usr/share/pgsql \
	--enable-sockets
I get an error
Quote:
make: *** [ext/ldap/ldap/lo] Error 1
when trying to make however. I've googled and searched LQ but I can't find anything that seems to have to do with this. Before the error that I quoted above, it does have many errors regarding syntax, undeclared variables, etc all in files that have ldap in them. This is the first time I've ever tried to compile PHP so I'm probably missing something fairly obvious. Any ideas on what the problem could be and what I need to do to fix it?

PS: Are there any PHP5 RPMs available? I can't seem to find any, and most people have said just to compile it, but it would make things a lot simpler.

Thanks.

Edit: OK, Never mind. I think I must have accidently copied a file to the directory that I was compiling it from that shouldn't have been there. I removed it, reconfiged and then make worked.

Last edited by imemyself; 10-10-2004 at 01:31 AM.
 
  


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 PHP5 Terroth Linux - Newbie 2 06-27-2005 01:35 PM
PHP5 compiling problems Ephracis Linux - Software 10 02-10-2005 01:45 PM
compiling lirc on fc2 gfem Linux - Software 1 11-17-2004 06:15 PM
Error compiling PHP5 with MySQL Boby Linux - Software 3 09-10-2004 09:17 PM
Problems compiling lirc under FC2 doctorv Fedora 0 06-21-2004 01:51 PM

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

All times are GMT -5. The time now is 03:47 PM.

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