LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-03-2003, 10:04 AM   #1
Risen
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0
Compiling PHP


Hello,

I'm trying to compile php 4.3.3 for Apache 2. My config line is ./configure --with-apxs2=/usr/local/apache2/bin/apxs. It configures okay, but when I go to make, it processes some stuff and then dies:

main/internal_functions.lo -lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt -o libphp4.la
ext/ctype/ctype.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

What might be causing this?
 
Old 10-12-2003, 11:47 AM   #2
mito_pm
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
I have the same error... please help us!
 
Old 10-13-2003, 08:11 AM   #3
Risen
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake 9.1
Posts: 4

Original Poster
Rep: Reputation: 0
As you can tell, I didn't get any replies to this, posted some time ago. I did manage to get PHP compiled, though as a newbie myself I'm not entirely sure what fixed it. I tried a lot of things. Here's my best guess, see if it works for you: After you do "./configure", type "make clean" before you do "make." If you've been messing around with configuration parameters a lot as I had, it may help.

I'm still not entirely certain as to the exact function of "make clean," but I assume it must flush caches and such. Perhaps cleaning out files that did not make properly in a previous attempt? Maybe an experienced user could reply and help clear this up.
 
Old 10-13-2003, 12:28 PM   #4
mito_pm
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Thx a lot, i found it later on another post, but here it is clearly

Now PHP is fine.
 
  


Reply


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 on Debian j@ckrabbit Debian 1 10-28-2005 02:43 PM
Problem Compiling php-4.3.4 kaplan71 Programming 1 05-17-2004 05:02 PM
Re-compiling PHP lumux Linux - Software 1 01-12-2004 01:25 PM
compiling PHP 4.3.4 bmw5002 Linux - Software 2 12-27-2003 02:01 PM
compiling PHP WiWa Linux - Software 4 10-07-2003 09:16 AM


All times are GMT -5. The time now is 09:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration