473,407 Members | 2,312 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,407 software developers and data experts.

php 4.3.10 and macosx

i have macosx 10.2.8. i am trying to install php-4.3.10. i am getting:

make
gcc -Iext/standard/ -I/Users/terryr/tmp/php-4.3.10/ext/standard/
-DPHP_ATOM_INC -I/Users/terryr/tmp/php-4.3.10/include
-I/Users/terryr/tmp/php-4.3.10/main -I/Users/terryr/tmp/php-4.3.10
-I/Users/terryr/tmp/php-4.3.10/Zend
-I/Users/terryr/tmp/php-4.3.10/ext/xml/expat -no-cpp-precomp
-no-cpp-precomp -I/Users/terryr/tmp/php-4.3.10/TSRM -g -O2 -c
/Users/terryr/tmp/php-4.3.10/ext/standard/info.c -o ext/standard/info.o
&& echo > ext/standard/info.lo
gcc -IZend/ -I/Users/terryr/tmp/php-4.3.10/Zend/ -DPHP_ATOM_INC
-I/Users/terryr/tmp/php-4.3.10/include
-I/Users/terryr/tmp/php-4.3.10/main -I/Users/terryr/tmp/php-4.3.10
-I/Users/terryr/tmp/php-4.3.10/Zend
-I/Users/terryr/tmp/php-4.3.10/ext/xml/expat -no-cpp-precomp
-no-cpp-precomp -I/Users/terryr/tmp/php-4.3.10/TSRM -g -O2 -c
/Users/terryr/tmp/php-4.3.10/Zend/zend_strtod.c -o Zend/zend_strtod.o
&& echo > Zend/zend_strtod.lo
/Users/terryr/tmp/php-4.3.10/Zend/zend_strtod.c:239: parse error before
"uint32_t"

:-)^2
Jul 17 '05 #1
12 2341
Not sure.. But here is a great package i installed from on my X
machine..

http://www.entropy.ch/software/macosx/php/

Jul 17 '05 #2
pp*******@gmail.com wrote:
Not sure.. But here is a great package i installed from on my X
machine..

http://www.entropy.ch/software/macosx/php/

i had that...i am looking to upgrade to php4.3.10 on a macosx 10.2.8
installation. i am waiting for macosx 10.4 and am going to skip 10.3 for
financial reasons. so far all i have done is ruin what i had working.
where can i find folks who know more about macosx 10.2.8 and php-4.3.10?

:-)^2
Jul 17 '05 #3
On Fri, 07 Jan 2005 13:26:55 -0500
Terry Richards <sn******@bellsouth.net> wrote:

:pp*******@gmail.com wrote:
:> Not sure.. But here is a great package i installed from on my X
:> machine.. http://www.entropy.ch/software/macosx/php/
:>
:i had that...i am looking to upgrade to php4.3.10 on a macosx 10.2.8
:installation. i am waiting for macosx 10.4 and am going to skip 10.3
:for financial reasons. so far all i have done is ruin what i had
:working.
:where can i find folks who know more about macosx 10.2.8 and php-4.3.10?

What did you tell ./configure?

I have 4.1 working with Jaguar, I'll get a copy of 4.3 this weekend
and see what I can see. Can't do it sooner, sorry, the wife is busy
with the Mac.

--
Tony Reed
<tr***@altern.org>
Jul 17 '05 #4
Tony Reed wrote:
What did you tell ./configure?

from INSTALL in php-4.3.10:

../configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--with-xml \
--with-mysql \
--with-apache=/Users/terryr/Desktop/apachebuild/apache_1.3.33/

:-)^2
Jul 17 '05 #5
Terry Richards wrote:
Tony Reed wrote:
What did you tell ./configure?


from INSTALL in php-4.3.10:

./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--with-xml \
--with-mysql \
--with-apache=/Users/terryr/Desktop/apachebuild/apache_1.3.33/

:-)^2

trying the above with php-5.0.3 i get:
checking libxml2 install dir... no
configure: error: xml2-config not found. Please check your libxml2
installation.

how do i direct to /sw/bin/xml2-config?

:-)^2
Jul 17 '05 #6
Terry Richards wrote:
Terry Richards wrote:
Tony Reed wrote:
What did you tell ./configure?

from INSTALL in php-4.3.10:

./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--with-xml \
--with-mysql \
--with-apache=/Users/terryr/Desktop/apachebuild/apache_1.3.33/

:-)^2


trying the above with php-5.0.3 i get:
checking libxml2 install dir... no
configure: error: xml2-config not found. Please check your libxml2
installation.

how do i direct to /sw/bin/xml2-config?

:-)^2


Not that I know a thing about mac's, but maybe try --with-xml=/sw ? Are
the include files for xml2 in /sw/include and the library files in /sw/lib ?
Jul 17 '05 #7

What did you tell ./configure?

from INSTALL in php-4.3.10:

./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--with-xml \
--with-mysql \
--with-apache=/Users/terryr/Desktop/apachebuild/apache_1.3.33/

trying the above with php-5.0.3 i get:
checking libxml2 install dir... no
configure: error: xml2-config not found. Please check your libxml2
installation.

how do i direct to /sw/bin/xml2-config?

:-)^2

Not that I know a thing about mac's, but maybe try --with-xml=/sw ? Are
the include files for xml2 in /sw/include and the library files in
/sw/lib ?

yes they are./sw/include/libxml2/libxml/ and /sw/lib/libxml.a; I tried
--with-xml=/sw/bin/xml2-config, which is where it is - no go.

:-)^2
Jul 17 '05 #8
Terry Richards wrote:

yes they are./sw/include/libxml2/libxml/ and /sw/lib/libxml.a; I tried
--with-xml=/sw/bin/xml2-config, which is where it is - no go.

:-)^2


Just --with-xml=/sw
You only give it the prefix of the path, which is just /sw. The
/bin/xml2-config is implied by configure (as are the /include/ and /lib/
when it compiles.)

So basically with that path you gave, you're telling to look in
/sw/bin/xml2-config/bin/xml2-config, which obviosuly doesn't exist.
Jul 17 '05 #9
In article <eA*******************@bignews1.bellsouth.net>,
Terry Richards <sn******@bellsouth.net> wrote:
i have macosx 10.2.8. i am trying to install php-4.3.10. i am getting:

make
gcc -IZend/ -I/Users/terryr/tmp/php-4.3.10/Zend/ -DPHP_ATOM_INC
-I/Users/terryr/tmp/php-4.3.10/include
-I/Users/terryr/tmp/php-4.3.10/main -I/Users/terryr/tmp/php-4.3.10
-I/Users/terryr/tmp/php-4.3.10/Zend
-I/Users/terryr/tmp/php-4.3.10/ext/xml/expat -no-cpp-precomp
-no-cpp-precomp -I/Users/terryr/tmp/php-4.3.10/TSRM -g -O2 -c
/Users/terryr/tmp/php-4.3.10/Zend/zend_strtod.c -o Zend/zend_strtod.o
&& echo > Zend/zend_strtod.lo
:239: parse error before
"uint32_t"


Terry, I had a similar problem today and found a quick fix.

Please open "/Users/terryr/tmp/php-4.3.10/Zend/zend_strtod.c" with your
favorite editor.

Make the following changes to line 131:

#if defined(__sparc__) || defined(__ppc__)

should read

#if defined(__sparc__)

Voilą!
Jul 17 '05 #10
In article
<no***************************@news-reader.wanadooportails.com>,
Michael Guitton <no*****@usenet.net> wrote:
In article <eA*******************@bignews1.bellsouth.net>,
Terry Richards <sn******@bellsouth.net> wrote:
i have macosx 10.2.8. i am trying to install php-4.3.10. i am getting:

make
gcc -IZend/ -I/Users/terryr/tmp/php-4.3.10/Zend/ -DPHP_ATOM_INC
-I/Users/terryr/tmp/php-4.3.10/include
-I/Users/terryr/tmp/php-4.3.10/main -I/Users/terryr/tmp/php-4.3.10
-I/Users/terryr/tmp/php-4.3.10/Zend
-I/Users/terryr/tmp/php-4.3.10/ext/xml/expat -no-cpp-precomp
-no-cpp-precomp -I/Users/terryr/tmp/php-4.3.10/TSRM -g -O2 -c
/Users/terryr/tmp/php-4.3.10/Zend/zend_strtod.c -o Zend/zend_strtod.o
&& echo > Zend/zend_strtod.lo
:239: parse error before
"uint32_t"


Terry, I had a similar problem today and found a quick fix.

Please open "/Users/terryr/tmp/php-4.3.10/Zend/zend_strtod.c" with your
favorite editor.

Make the following changes to line 131:

#if defined(__sparc__) || defined(__ppc__)

should read

#if defined(__sparc__)

Voilą!


There is another work-around:

http://bugs.php.net/bug.php?id=31160&edit=1
Jul 17 '05 #11
kicken wrote:
Terry Richards wrote:

> yes they are./sw/include/libxml2/libxml/ and /sw/lib/libxml.a; I tried

--with-xml=/sw/bin/xml2-config, which is where it is - no go.

:-)^2

Just --with-xml=/sw
You only give it the prefix of the path, which is just /sw. The
/bin/xml2-config is implied by configure (as are the /include/ and /lib/
when it compiles.)

So basically with that path you gave, you're telling to look in
/sw/bin/xml2-config/bin/xml2-config, which obviosuly doesn't exist.


i used --with-libxml-dir=/sw and it finished configuring
sure helps to read configure --help<crossed figingers>

:-)^2
Jul 17 '05 #12
when trying to use the fink hierarchy use the fink commander installer
for files if they exist on the fink library.

/sw is a fink directory.
jimt
In article <Yo******************@bignews6.bellsouth.net>, Terry
Richards <sn******@bellsouth.net> wrote:
Terry Richards wrote:
Tony Reed wrote:
What did you tell ./configure?


from INSTALL in php-4.3.10:

./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--with-xml \
--with-mysql \
--with-apache=/Users/terryr/Desktop/apachebuild/apache_1.3.33/

:-)^2

trying the above with php-5.0.3 i get:
checking libxml2 install dir... no
configure: error: xml2-config not found. Please check your libxml2
installation.

how do i direct to /sw/bin/xml2-config?

:-)^2

Jul 17 '05 #13

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

Similar topics

4
by: opal7313 | last post by:
Hello, I have some difficulties to use phpMyAdmin on my ppc; I am working on panther 10.3.7 and php is already installed. I put phpMyAdmin directory in /Library/WebServer/Documents/ ; I adapted...
2
by: Joe | last post by:
Is there a way to mount a network share from within Python on MacOSX? I imagine it would be the same as for Unix, but I don't know how to do it for Unix either. I have searched python.org and...
10
by: svenn.are | last post by:
Hi, I wanted to run a program that is written in PyQt on my mac, and went over to Riverbank to get PyQ 3.13 and SIP 4.1.1 sources. I followed the installation guide except for the compiling...
3
by: Lothar Scholz | last post by:
Help, i tried to generate a dynamic library from the official Python-2.4.0.tgz on MacOSX 10.3 but when i do the ../configure --enable-shared ; make ; sudo make install or ../configure...
0
by: Terry Richards | last post by:
does anybelly know why the following happens? i am using macosx 10.4 and ./configure --prefix=/usr/local/mysql --with-unix-socket-path=/usr/local/mysql/run/mysql_socket --with-mysqld-user=mysql...
0
by: Terry Richards | last post by:
i have macosx tiger 10.4.1 i installed mysql 4.1.12 and when i view my phpinfo() i see it is still using the 3.23.49 client. how do i get to use the 4.1.12 client? /|\
3
by: garabik-news-2005-05 | last post by:
Hi all, I am trying to port my (linux) program to MacOSX, and I need to get a list of mounted filesystems. Under linux, it was easy, I was parsing /etc/mtab (or /proc/mounts), this works also on...
3
by: greg | last post by:
A small problem has come to light with PyGUI 1.6 on MacOSX systems. If you get the following exception: File "GUI/Generic/BaseAlertFunctions.py", line 5, in ? ImportError: No module named...
4
by: andrea | last post by:
Hi everyone, I use python on macosx with textmate as editor (great program). I also use macport to install unix programs from the command line and I find it great too. Well I would like to have...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.