473,387 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Problem installing PHP5 on SuSE 8.2

Hi all,

I've been reading through the lasts months of postings in this
(and some other) newsgroups to find a solution to my PHP problem.

The configuration I use is as follows:

- SuSE v8.2
- Apache 2.0.54
- MySQL 4.1.14
- PHP 5.0.5

Installing the first 3 parts was not a problem at all. Both
Apache and MySQL start just fine. Before I could perform a proper
'configure' of PHP I had to update libxml2, add libxml2-devel and
python but then the following command worked without any errors:

./configure --with-apxs2=/usr/local/httpd/bin/apxs
--with-mysql=/usr

[note: the previous is, of course, a single line]

After this, I used 'make' to compile the stuff and this is where
things go wrong. The following error message is shown:

=============[ start of make-output ]============================
vpsuse:/usr/local/php # make
/bin/sh /usr/local/php/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/standard/
-I/usr/local/php/ext/standard/ -DPHP_ATOM_INC
-I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php
-I/usr/include/mysql -I/usr/local/php/ext/xml/expat
-I/usr/local/php/TSRM -I/usr/local/php/Zend -g -O2
-prefer-non-pic -c /usr/local/php/ext/standard/info.c -o
ext/standard/info.lo
/bin/sh /usr/local/php/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/local/httpd/include -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -I/usr/local/httpd/include
-I/usr/local/httpd/include -Isapi/apache2handler/
-I/usr/local/php/sapi/apache2handler/ -DPHP_ATOM_INC
-I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php
-I/usr/include/mysql -I/usr/local/php/ext/xml/expat
-I/usr/local/php/TSRM -I/usr/local/php/Zend -g -O2
-prefer-non-pic -c
/usr/local/php/sapi/apache2handler/sapi_apache2.c -o
sapi/apache2handler/sapi_apache2.lo
In file included from
/usr/local/php/sapi/apache2handler/sapi_apache2.c:39:
/usr/local/httpd/include/ap_config.h:229:16: os.h: No such file
or directory
In file included from /usr/local/httpd/include/util_filter.h:23,
from
/usr/local/php/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/httpd/include/httpd.h:42:16: os.h: No
such file or directory
make: *** [sapi/apache2handler/sapi_apache2.lo]
Error 1
=============[ end of make-output ]==============================

Now, there is indeed no os.h file in the directory
/usr/local/httpd/include but there are a number of them in
subdirectories below /usr/local/httpd/os (for various OSses).
Copying the one from the 'unix' directory does not help.

If I search for 'os.h' and 'no such file or directory' in
combination with php and such, I have seen similar error reports
but no solutions. On the other hand, I can't believe that my
combination of software is so unique, that it would give a lot of
problems.

Any suggestion where things go wrong and how to solve them?????

Regards,

Kees
Kees Pijnenburg - P.O. Box 84 5374 ZG Schayk The Netherlands
kp******@xs4all.nl
Sep 13 '05 #1
0 1463

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: michael newport | last post by:
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In...
2
by: y_oda2002 | last post by:
Hi everyone I was wondering if anyone could help me. I am trying to install ph so that i can learn the code. So far i havent had any problem installing apache. However when i try to get mysql...
5
by: bissatch | last post by:
Hi, I am trying to install Apache and PHP. I have installed apache fine where I can type in http://localhost and it displays the default Apache page. When trying to install PHP I have run the...
1
by: Janne Vuori | last post by:
I have Apache 2.0.54 and PHP 5.0.4 running on XP Professional. Everything is working ok but when I am tryin to add the extension php_ssh2.dll into use the PHP will generate an error message: PHP...
0
by: Josh Berkus | last post by:
Folks, While debugging a wireless card, I came across this interesting bit: http://portal.suse.com/sdb/en/2003/10/pohletz_desktop_90.html What it indicates is that by default SuSE 9.0 plays...
2
by: Alfred | last post by:
I'm about to host a solution for our developers and it will use PHP5 on Suse Enterprise Linux 9 and MS SQL Server API. The developers are kind of green to this. Is this MS SQL Server API fairly...
2
by: Curtis | last post by:
Hello everyone: Recently, I decided to upgrade to PHP 5.2.0. I have C:\php5 in the Windows XP PATH, so upgrading is quite painless; just unzip new release, and restart Apache! Usually it goes...
0
by: =?iso-8859-15?Q?Christian_Schr=F6der?= | last post by:
I want to switch a little app from a box using php4 (Suse 9) to a newer box using php5 (Suse 10). On the older Box, recode_srting() was activaterd by including the recode.so as extension. ...
6
by: michael.schmitz | last post by:
Hello, my tiny PHP5 test application cannot establish a connection to a database while I am able to connect to the same database using the DB2 command line tool. Our server is 64 bit system...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.