The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
errors while compiling c++ module mannam srinivas HP-UX 1 05-08-2008 02:22 PM
Apache on Solaris10 configured with loadable module support? kavera SUN Solaris 2 10-17-2007 11:15 PM
Howto locate locally installed Perl module for a CGI script in APACHE .htaccess monkfan UNIX for Dummies Questions & Answers 0 05-18-2006 06:55 PM
Module jk2 failed to load into apache server!! e_jeffhang HP-UX 4 04-18-2006 08:00 PM
Mog_Gzip a Module For Apache binhnx2000 Filesystems, Disks and Memory 0 08-05-2002 01:39 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-26-2001
Registered User
 

Join Date: Nov 2001
Posts: 8
get error while compiling apache with php module

hi, i'm compiling apache with php module after i finish compile mysql-4.0.0-alpha.
i do it as the follow steps after untar'ed them in the same directory,
1) cd apache_1.3.22
./configure

2) cd php-4.0.6
./configure --with-mysql=/usr/local/mysql \
--with-apache=../apache_1.3.22 \
--enable-track-vars
make
make install

3) cd apache_1.3.22
./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a
make

but i get the following error messages:

modules/php4/libphp4.a(internal_functions.o): In function `php_startup_internal_extensions':
/home/pub/php-4.0.6/main/internal_functions.c:56: undefined reference to `mysql_module_entry'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/pub/apache_1.3.22/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/pup/apache_1.3.22'
make: *** [build] Error 2

i compile them on debian linux and sunos5.7, but always get the same error messages ;(
could somebody help me? please

Last edited by jApHEth; 11-26-2001 at 09:09 PM.
Forum Sponsor
  #2 (permalink)  
Old 11-27-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,191
You might check to see if the library files exist.... for example did you build libphp4.a or check to see if it exists?
  #3 (permalink)  
Old 11-28-2001
Registered User
 

Join Date: Nov 2001
Posts: 8
Smile

Hi, finally i've compiled them successfully!
the reason is the "mysql-4.0.0-alpha", maybe it's the php's fault, who knows , whish the next version of php can support that.
i just recompile mysql 3.23 instead of mysql 4.00-alpha, so the php module can load the mysql funciton correctly, also apache can be made correctly.

thank you Neo!
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0