Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old August 7th, 2001, 11:46 AM
clembert clembert is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 11 clembert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
apache, php4.0.6, informix7.2

HELP! HELP!

Hi there,

Installed php4 with informix support successfully on Solaris 7.

When I try to build apache with informix support, that is after successfully executing the command:

./configure --prefix=/path to apache_1.3.20 --activate-module=/src/modules/php4/libphp4.a

and then runnig command:

$make

The following errors were returned:

Undefined symbol

ASF_Call in file INFORMIXDIR/..../esql/libsql.a(iqconnct.o)

ASF_SigSwitch in file INFORMIXDIR/..../esql/libsql.a(iqconnct.o)

Thanks in advance!

Reply With Quote
  #2  
Old August 7th, 2001, 12:55 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> Installed php4 with informix support successfully on Solaris 7

What did you do?
How can you tell?

Reply With Quote
  #3  
Old August 7th, 2001, 06:14 PM
clembert clembert is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 11 clembert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,

I assumed it was successful because the commands seem to have executed without errors, that is, execution did not hault and I did not see any error messages. (if there were errors that would deny php compilation with informix support however, I might not be able to see them because of the speed of screen scroll and the volume of messages).

I thought such errors would have haulted the process incidentally.

[I'm using informix 7.24 on solaris2.7]

Here are the commands I executed in the same order to extract the files and compile php:

1) gzip -drv php-4_0_6.tar.tar.gz

2) tar xvf php-4_0_6_tar.tar

3) cd php-4.0.6

4) ./configure --with-informix=yes --with-apache=/apache_1.3.20 --enable-track-vars

5) make

6) make install


Thanks in advance.

Reply With Quote
  #4  
Old August 7th, 2001, 10:41 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> I thought such errors would have haulted the process incidentally

Compiling PHP won't throw you any error unless it's a fatal error. Normally, if you try to enable something but PHP configure script is unable to locate, it just ignore it.

Check the configure script in the top directory of your source, you should see the following at line 528 and 529:

--with-informix[=DIR] Include Informix support. DIR is the Informix base
install directory, defaults to ${INFORMIXDIR:-nothing}."


That said, --with-informix=yes was incorrect.

Normally, specifying --with-informix should do just fine. On Linux and Solaris, however, they don't have the tendency to follow the UNIX standard directory layout (*BSDs always do), so you almost always have to specify the exact install directory path.

Last edited by freebsd : August 7th, 2001 at 10:47 PM.

Reply With Quote
  #5  
Old August 8th, 2001, 01:24 PM
clembert clembert is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2001
Posts: 11 clembert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,

yes:

--with-informix[=DIR] Include Informix support. DIR is the Informix base install directory, defaults to ${INFORMIXDIR:-nothing}."

exist in the configuration file: configure


Is there anything else I should check for?

Please, ask as many questions as possible as it will only help me understand the procedures better.

Thanks in advance!

Reply With Quote
  #6  
Old September 10th, 2001, 04:02 PM
etherwolf's Avatar
etherwolf etherwolf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Aspen area
Posts: 89 etherwolf User rank is Lance Corporal (50 - 100 Reputation Level)etherwolf User rank is Lance Corporal (50 - 100 Reputation Level)etherwolf User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 h 34 m 52 sec
Reputation Power: 8
Send a message via ICQ to etherwolf
I have run into this problem many times attempting to get Apache 1.3.20 + PHP 4.0.6 + MySQL and I think I have it down to an art after several days of mucking it up :-)

Here's my install procedure (this assumes that you have your tarballs all in one directory):

# tar xzvf apache-1.3.20.tar.gz
# tar xzvf php-4.0.6.tar.gz
# cd apache-1.3.20
# ./configure --prefix=/usr/local/apache
# cd ../php-4.0.6
# ./configure --with-mysql --with-apache=../apache-1.3.20
# make
# make install
# cd ../apache-1.3.20
# ./configure --activate-module=src/modules/php4/libphp4.a --enable-module=so
# cd src/modules/php4
# make
# cd ../../..
# make
# make install

Comments on above:
> the --enable-module=so enables DSO
> the make in src/modules/php4 was absolutely CRITICAL to apache's make finishing without tons of errors. The place it broke was in php's enabling mysql support, and without this make, the libphp4.a module was never created properly. This step is NOT documented anywhere on php.net AFAIK (and I LOOKED. :-)

Hope this helps!!

# Nathan

Reply With Quote
  #7  
Old September 10th, 2001, 08:39 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> This step is NOT documented anywhere on php.net AFAIK (and I LOOKED. :-)

That's well documented everywhere.

>> # ./configure --with-mysql --with-apache=../apache-1.3.20

On any BSD system, you just need --with-mysql just because *BSDs always have a consistent file system layout. On Linux and Solaris, you almost always 99.99% have to specify the directory path where your mysql was installed to, just because files and directories are all over the places (not consistent) in Linux and Solaris.

Reply With Quote
  #8  
Old September 11th, 2001, 08:35 AM
etherwolf's Avatar
etherwolf etherwolf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Aspen area
Posts: 89 etherwolf User rank is Lance Corporal (50 - 100 Reputation Level)etherwolf User rank is Lance Corporal (50 - 100 Reputation Level)etherwolf User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 h 34 m 52 sec
Reputation Power: 8
Send a message via ICQ to etherwolf
I'm confused (big surprise there)... I was referring to having to make the php module before apache will successfully make... you seem to be talking about the configure line. I know the configure is supposed to make the libphp4.a file but in at least a dozen configs it has never worked for me following the instructions on php.net.

I have tried both --with-mysql and --with-mysql=/path-to/mysql in my configure lines and neither worked without the make in the php4 modules directory.

Hope that makes more sense?

# Nathan

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > apache, php4.0.6, informix7.2


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway