|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-09-12 14:18 UTC] zeev
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 21:00:01 2025 UTC |
I ran into a couple of small problems while compiling php3.02a for a PowerPC Mac under LinuxPPC. 1. I had to create a src/modules/php3 directory manually. The make install under php3.02a made a file in the proper place but it was not a directory 2. I used the old method for building apache (src/Configure). The Makefile.tmpl that is produced in the src/modules/php3 directory for Apache 1.3.0 did not work. I had to make the following alteration. The original line is commented out. # build the static library by merging the object files #libphp3.a: $(OBJS) $(OBJS_LIB) libphp3.$(LIBEXT): $(OBJS) $(OBJS_LIB) cp $(OBJS_LIB) $@ ar r $@ $(OBJS) $(RANLIB) $@ 3. The standard binary rpm for postgresql for ppc installs the include files under /usr/include/pgsql. This means that in order to get php to build I had to create the following link: /usr/include/pgsql -> /usr/include/pgsql/include I think it would probably be better to alter the php source distribution to not add "include" to the directory given by running configure for postgresql. It would be better to ask for the include directory as this would work in all cases. All the best David R. Waddell I ran into a couple of small problems while compiling php3.02a for a PowerPC Mac under LinuxPPC. 1. I had to create a src/modules/php3 directory manually. The make install under php3.02a made a file in the proper place but it was not a directory 2. I used the old method for building apache (src/Configure). The Makefile.tmpl that is produced in the src/modules/php3 directory for Apache 1.3.0 did not work. I had to make the following alteration. The original line is commented out. # build the static library by merging the object files #libphp3.a: $(OBJS) $(OBJS_LIB) libphp3.$(LIBEXT): $(OBJS) $(OBJS_LIB) cp $(OBJS_LIB) $@ ar r $@ $(OBJS) $(RANLIB) $@ 3. The standard binary rpm for postgresql for ppc installs the include files under /usr/include/pgsql. This means that in order to get php to build I had to create the following link: /usr/include/pgsql -> /usr/include/pgsql/include I think it would probably be better to alter the php source distribution to not add "include" to the directory given by running configure for postgresql. It would be better to ask for the include directory as this would work in all cases. All the best David R. Waddell