I think that I got it. The perl path had to be changed in the apxs script. I think that I got a good php build.
Russell Jones -----Original Message----- From: Jones, Russell Sent: Thursday, October 09, 2008 9:26 AM To: 'Linux on 390 Port' Subject: RE: Add LDAP support to PHP I did find apxs on my system and the path in the script is correct, so I don't think that is the problem. I also see the following in my output: ./configure: /usr/sbin/apxs: /usr/local/bin/perl: bad interpreter: No such file or directory configure: error: Aborting make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target `install'. Stop. make: *** No rule to make target `distclean'. Stop. chmod: cannot access `/tmp/package-php/usr/bin/pear': No such file or directory I wonder if the perl path is wrong. Perl on my system in at /usr/bin/perl, but I don't see anywhere in the build script to set the perl path. Russell Jones ANPAC System Programmer -----Original Message----- From: Jones, Russell Sent: Thursday, October 09, 2008 9:03 AM To: 'Linux on 390 Port' Subject: RE: Add LDAP support to PHP The build job creates the package, but when I install it, there is no php load module(libphp4.so). I see the following errors in the build output: . . . checking for Apache 1.x module support via DSO through APXS... Sorry, I was not able to successfully run APXS. Possible reasons: 1. Perl is not installed; 2. Apache was not compiled with DSO support (--enable-module=so); 3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs The output of /usr/sbin/apxs follows loading cache ./config.cache checking host system type... s390-ibm-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -O2 ) works... yes checking whether the C compiler (gcc -O2 ) is a cross-compiler... no checking whether we are using GNU C... yes . . . I don't see apxs on my system and I don't see a package for it. I am not sure what it is, or if this is even the cause of my problem. Thanks, Russell Jones ANPAC -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Mark Post Sent: Tuesday, October 07, 2008 3:13 PM To: [email protected] Subject: Re: Add LDAP support to PHP >>> On 10/7/2008 at 3:32 PM, in message <[EMAIL PROTECTED]> , "Jones, Russell" <[EMAIL PROTECTED]> wrote: > Thanks for the script. I guess I will need a little more help. Will I > need to download the php source or is it stored somewhere on my system? If you downloaded the /source part of the tree, it should be on your system. If not, you should download the whole /source/n/php/ directory. > Do I need to run the build script from the same directory as the package Yes. Before you do, make sure you bump the build number of the package, and set an environment variable ARCH to "s390". > source? Will I need to reinstall or upgrade the package after it is > built? Yes, upgradepkg will be what you need. Pat and I both try to make sure that SlackBuild scripts don't write anything into your production file system. If that can't be done, a different script name is used. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
