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 06:22 PM
Apache on Solaris10 configured with loadable module support? kavera SUN Solaris 2 10-18-2007 03:15 AM
Howto locate locally installed Perl module for a CGI script in APACHE .htaccess monkfan UNIX for Dummies Questions & Answers 0 05-18-2006 10:55 PM
Module jk2 failed to load into apache server!! e_jeffhang HP-UX 4 04-19-2006 12:00 AM
Mog_Gzip a Module For Apache binhnx2000 Filesystems, Disks and Memory 0 08-05-2002 05:39 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-26-2001
jApHEth jApHEth is offline
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-27-2001 at 01:09 AM..
  #2 (permalink)  
Old 11-28-2001
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,825
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-29-2001
jApHEth jApHEth is offline
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!
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:24 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0