473,388 Members | 1,335 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,388 software developers and data experts.

Trying to build PHP 4.3.0 with Apache 2.2.2 on SUSE 9.1

What a mix!

Whilst I grep around for the first set of problems, I thought I'd ask
any generous members of this PHP community for clues...

I've started by trying out the instructions at:
http://dan.drydog.com/apache2php.html

Got this out of the make:
-----------------------------------------------------------------------------------------------
/bin/sh libtool --silent --mode=compile gcc -Isapi/apache2filter/
-I/root/downloads/php-4.3.0/sapi/apache2filter/ -DPHP_ATOM_INC
-I/root/downloads/php-4.3.0/include -I/root/downloads/php-4.3.0/main
-I/root/downloads/php-4.3.0 -I/usr/local/Apache2/include
-I/root/downloads/php-4.3.0/Zend -I/usr/local/include
-I/root/downloads/php-4.3.0/ext/xml/expat
-I/root/downloads/php-4.3.0/TSRM -g -O2 -prefer-pic -c
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c -o
sapi/apache2filter/sapi_apache2.lo
In file included from /usr/local/Apache2/include/apr_strings.h:48,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:34:
/usr/local/Apache2/include/apr.h:270: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr.h:270: warning: data definition has no
type or storage class
In file included from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:34:
/usr/local/Apache2/include/apr_strings.h:297: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr_strings.h:313: error: parse error before
'*' token
/usr/local/Apache2/include/apr_strings.h:349: error: parse error before
"size"
In file included from /usr/local/Apache2/include/apr_file_io.h:29,
from /usr/local/Apache2/include/apr_network_io.h:26,
from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:
/usr/local/Apache2/include/apr_file_info.h:204: error: parse error
before "apr_off_t"
/usr/local/Apache2/include/apr_file_info.h:204: warning: no semicolon
at end of struct or union
/usr/local/Apache2/include/apr_file_info.h:206: warning: data
definition has no type or storage class
/usr/local/Apache2/include/apr_file_info.h:212: error: `ctime'
redeclared as different kind of symbol
/usr/include/time.h:254: error: previous declaration of `ctime'
/usr/local/Apache2/include/apr_file_info.h:219: error: parse error
before '}' token
In file included from /usr/local/Apache2/include/apr_network_io.h:26,
from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:
/usr/local/Apache2/include/apr_file_io.h:548: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr_file_io.h:740: error: parse error before
"apr_off_t"
In file included from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:

/usr/local/Apache2/include/apr_network_io.h:545: error: parse error
before "apr_off_t"
-----------------------------------------------------------------------------------------------
Perhaps some confusion about off64_t datatype, LARGEFILE support, or
somesuch?

May 7 '06 #1
1 1890
Seemed to make some headway by switching from gcc to g++ with
-fpermissive...

May 10 '06 #2

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...
3
by: Oliver | last post by:
Hi, I have a strange problem and I am not sure where to look for the core reason. I have a homepage in php which is working fine since ages and I have now a new server with a fresh Suse 9.1...
0
by: Revenge | last post by:
hi all, i've a JBuilder project with some packages and some jsp pages using these packages. When i try to build the project , there aren't errors or warnings but the jsp pages are not built...
0
by: simon | last post by:
Hi I am trying to install MIME::Base64 and MIME::QuotedPrint using CPAN on Suse 9.1. Suse comes with Perl v5.8.3 already installed. The error message I receive is as follows: ...
18
by: Randell D. | last post by:
Folks, This must get asked reasonably often however I've had tried viewing groups.google.com and the apache/php web pages and not found a specific answer. Basically, is Apache 2 officially...
3
by: madunix | last post by:
My Server is suffering bad lag (High Utlization) I am running on that server Oracle10g with apache_1.3.35/ php-4.4.2 Web visitors retrieve data from the web by php calls through oci cobnnection...
1
by: zaheermabbas | last post by:
Hello All, I have been following the release documentation of axis, i wanted the axis2.war by building the sources, i have downloaded the source, and as it is specified in the doc to build the...
0
by: Yannick | last post by:
Hi, I'm Julien from France, We have recently install a new Web Server for my company The server is composed : - Linux RedHat RHEL4 U4 - Httpd-2.0.52-27.ent - Oracle Database 10.2.0.1
0
by: sebor | last post by:
October 29, 2007 -- The Apache C++ Standard Library project is pleased to announce that the official stdcxx 4.2.0 release is now available for download from the following location:...
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: 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: 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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.