php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14792 PHP fails to complie becuase of libphp4.a error
Submitted: 2002-01-01 20:04 UTC Modified: 2002-01-03 22:56 UTC
From: djoutlaw23 at hotmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.1.1 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: djoutlaw23 at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-01-01 20:04 UTC] djoutlaw23 at hotmail dot com
This fails to complie because in the apache/src/modules/php4

libphp4.a is named incorrectly.  It is named libmodphp4.a

If you change the name it will finish the compile.



Thanks

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-01 20:22 UTC] mfischer@php.net
Too less information. Which distribution? Which configure line? What's the exact error output (copy & paste)? 
 [2002-01-01 20:35 UTC] djoutlaw23 at hotmail dot com
Sorry I cant post the error message since I fixed it and complied PHP4 fully. 

Version is 4.1.1 just downloaded it today
Sever is Apache 1.3.20 for Linux

If you try and complie Apache for php with this command
./configure --activate-module=src/modules/php4/libphp4.a
13. 

you will get an error that libphp4.a can not be found.

This is due to libphp4.a being named libmodphp4.a
after you have did a make install on php only.

I dotn know if this confuses people but if you follow the install straight php.net you will notice the error.

In linux you must go to the /apache_1.3.X/src/modules/php4
and you will find the libmodphp4.a file change the name and it should finish the complie


 [2002-01-03 22:34 UTC] djoutlaw23 at hotmail dot com
I wish this was bogus but  following the config file in the install I get  the error
 
configure Error: invalid option "--active-module=src/modules/php4/libphp4.a

But what do i know.  It only works for me when I change the file name.

Has anyone eles did this to make it complie. 
I may be the only one.
 [2002-01-03 22:56 UTC] djoutlaw23 at hotmail dot com
I am an idiot.
It was bogus. Please Ignore me!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 18:01:34 2024 UTC