Re: [PHP] Problem about rpm package of php
If I haven't responded too late, Install the SRPM package with rpm -ivh file.srpm or file.src.rpm and then do to the SPECS directory. In RedHat's case it is /usr/src/redhat/SPECS and look for something like mod_php.spec or php.spec and edit it. That file has a paramaters it passes to configure script, so add to it a --with-imap and then save the file, and then run rpm -bb mod_php.spec (or whatever the name of it is) and then it will build the binary rpm in /usr/src/redhat/RPMS/i386 and you simply rpm -Uvh it. Adam On Sat, 17 Aug 2002 [EMAIL PROTECTED] wrote: Dear All, How can I enable --with-imap with rpm / SPRMS packages of php ? Thank for your help ! Edward. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem about rpm package of php
Adam Williams wrote: If I haven't responded too late, Install the SRPM package with rpm -ivh file.srpm or file.src.rpm and then do to the SPECS directory. In RedHat's case it is /usr/src/redhat/SPECS and look for something like mod_php.spec or php.spec and edit it. That file has a paramaters it passes to configure script, so add to it a --with-imap and then save the file, and then run rpm -bb mod_php.spec (or whatever the name of it is) and then it will build the binary rpm in /usr/src/redhat/RPMS/i386 and you simply rpm -Uvh it. Adam What different between rpm -bb file.spec and rpm -ba file.spec ? Because some of users told me to run -ba file.spec... Thank a lots. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem about rpm package of php
If memory serves me right, -ba builds the binary and source rpms, and -bb only builds the binary rpm. Adam On Mon, 19 Aug 2002 [EMAIL PROTECTED] wrote: Adam Williams wrote: If I haven't responded too late, Install the SRPM package with rpm -ivh file.srpm or file.src.rpm and then do to the SPECS directory. In RedHat's case it is /usr/src/redhat/SPECS and look for something like mod_php.spec or php.spec and edit it. That file has a paramaters it passes to configure script, so add to it a --with-imap and then save the file, and then run rpm -bb mod_php.spec (or whatever the name of it is) and then it will build the binary rpm in /usr/src/redhat/RPMS/i386 and you simply rpm -Uvh it. Adam What different between rpm -bb file.spec and rpm -ba file.spec ? Because some of users told me to run -ba file.spec... Thank a lots. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem about rpm package of php
So, which command that you recommend to run ? Adam Williams wrote: If memory serves me right, -ba builds the binary and source rpms, and -bb only builds the binary rpm. Adam On Mon, 19 Aug 2002 [EMAIL PROTECTED] wrote: Adam Williams wrote: If I haven't responded too late, Install the SRPM package with rpm -ivh file.srpm or file.src.rpm and then do to the SPECS directory. In RedHat's case it is /usr/src/redhat/SPECS and look for something like mod_php.spec or php.spec and edit it. That file has a paramaters it passes to configure script, so add to it a --with-imap and then save the file, and then run rpm -bb mod_php.spec (or whatever the name of it is) and then it will build the binary rpm in /usr/src/redhat/RPMS/i386 and you simply rpm -Uvh it. Adam What different between rpm -bb file.spec and rpm -ba file.spec ? Because some of users told me to run -ba file.spec... Thank a lots. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem about rpm package of php
I'd run -bb but the -ba will work just fine, you'll just delete the src.rpm it builds because you won't need it. Adam On Tue, 20 Aug 2002 [EMAIL PROTECTED] wrote: So, which command that you recommend to run ? Adam Williams wrote: If memory serves me right, -ba builds the binary and source rpms, and -bb only builds the binary rpm. Adam On Mon, 19 Aug 2002 [EMAIL PROTECTED] wrote: Adam Williams wrote: If I haven't responded too late, Install the SRPM package with rpm -ivh file.srpm or file.src.rpm and then do to the SPECS directory. In RedHat's case it is /usr/src/redhat/SPECS and look for something like mod_php.spec or php.spec and edit it. That file has a paramaters it passes to configure script, so add to it a --with-imap and then save the file, and then run rpm -bb mod_php.spec (or whatever the name of it is) and then it will build the binary rpm in /usr/src/redhat/RPMS/i386 and you simply rpm -Uvh it. Adam What different between rpm -bb file.spec and rpm -ba file.spec ? Because some of users told me to run -ba file.spec... Thank a lots. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem about rpm package of php
On Saturday 17 August 2002 16:38, [EMAIL PROTECTED] wrote: Dear All, How can I enable --with-imap with rpm / SPRMS packages of php ? If you're using Redhat then install the php-imap-*.rpm package. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* If the future isn't what it used to be, does that mean that the past is subject to change in times to come? */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem about rpm package of php
If I want to enable the options ( eg : --enable-ftp, --with-gd, --with-gettext, --with-memory-limit etc ), so how can I do with rpm / SPRMS package of php ? Thank a lots ! Jason Wong wrote: On Saturday 17 August 2002 16:38, [EMAIL PROTECTED] wrote: Dear All, How can I enable --with-imap with rpm / SPRMS packages of php ? If you're using Redhat then install the php-imap-*.rpm package. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* If the future isn't what it used to be, does that mean that the past is subject to change in times to come? */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem about rpm package of php
On Saturday 17 August 2002 17:42, [EMAIL PROTECTED] wrote: If I want to enable the options ( eg : --enable-ftp, --with-gd, --with-gettext, --with-memory-limit etc ), so how can I do with rpm / SPRMS package of php ? If they're not enabled in the standard RPMs then: 1) Get the SRPMs and edit the .spec file accordingly or 2) Forget the RPMs and install entirely from the tarballs If you choose (1) then ask on the relevant mailing list of the linux distribution that you are using. If you choose (2) then: (a) search google for linux apache mysql php installation (b) and if you have problems subscribe to the php-install list and post your questions there. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * /* There is one way to find out if a man is honest -- ask him. If he says Yes you know he is crooked. -- Groucho Marx */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problem about rpm package of php
Jason Wong wrote: On Saturday 17 August 2002 17:42, [EMAIL PROTECTED] wrote: If I want to enable the options ( eg : --enable-ftp, --with-gd, --with-gettext, --with-memory-limit etc ), so how can I do with rpm / SPRMS package of php ? If they're not enabled in the standard RPMs then: 1) Get the SRPMs and edit the .spec file accordingly or 2) Forget the RPMs and install entirely from the tarballs If you choose (1) then ask on the relevant mailing list of the linux distribution that you are using. Does your means if I'm using Redhat Linux 7.2 system, then I can ask the question to [EMAIL PROTECTED] ( mail list ) ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php