Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Upgrading to PHP5 on Fedora
- Date: Mon, 19 Jun 2006 11:59:39 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] Upgrading to PHP5 on Fedora
- References: <449177BA.3070301@example.com> <44921025.5000904@example.com> <4495E36F.1040403@example.com>
- Organization: The XEmacs Project
- User-agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b27 (linux)
>>>>> "Dave" writes: './configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' '--target=i386-redhat-linux' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' ... and so on and so on. Dave> Are these all configurations that I would need to run if I Dave> do any upgrade or install? No, for three different reasons depending on the way you do the upgrade/install. 1) If the upgrade is a binary RPM, the configure step was done for you by your vendor, Red Hat, and the configuration is built in to your program. The information you see in that display is purely for documentation purposes. 2) If the upgrade is a source RPM, the configure step will be done for you automatically by rpm. The configuration will be automatically incorporated in the package as documentation. 3) If you are going to build it yourself, then all of the options you posted are *wrong*! The --host, --build, and --target options should be tuned to the host you will build and use the program on; this is most easily done by building on the same host that will run the program and letting configure figure that out for itself (ie, don't specify any of those options). The various directories specified above are all system directories, and you are likely to confuse your package manager if you install any files into them. Instead, you would use the --prefix option to install in a non-conflicting place. In your case, since you have in the past discussed hosting several different versions at the same time, I would suggest something like '--prefix=/usr/local/mysql-5+php-5', and the rest ofthe directories would be computed by configure from that prefix. -- School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.
- References:
- [tlug] Upgrading to PHP5 on Fedora
- From: Dave M G
- Re: [tlug] Upgrading to PHP5 on Fedora
- From: Keith Bawden
- Re: [tlug] Upgrading to PHP5 on Fedora
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: [tlug] Netcops, lighten up! [was: Job Offer]
- Next by Date: Re: [tlug] auto-shutdown at certain temp application?
- Previous by thread: Re: [tlug] Upgrading to PHP5 on Fedora
- Next by thread: Re: [tlug] Upgrading to PHP5 on Fedora
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links