|
From: I l <is...@ho...> - 2005-09-28 18:25:29
|
Thank you for your response. I agree with you in installing everything with
rpms.
Maybe this is my lack of fully understanding how RPMS work. But I must
compile php with the following options,
--prefix=/usr/local/php5
--with-apxs2=/usr/local/apache2/bin/apxs
--with-libxml-dir=/usr/local/lib
--with-mysql=/usr --with-mysqli=/usr/bin/mysql_config
--enable-soap --enable-sockets
--with-config-file-path=/usr/local/php5/lib
make --with-pgsql=/usr
The reason why I manually installed php is because I couldn't figure out how
to tell the RPM to include these options. I think a solution to this would
allow me to insall php-java-bridge as an RPM.
Any ideas?
Thanks.
>Hi,
>
> > I've had to manualy install php 5.0.4. The php
> > binary is located in
> > /usr/local/php5/bin
> >
> > Running the RPM for FC, I get these two dependencies
> > errors.
> > /usr/bin/php is needed by php-java-bridge
> > php >= 5.0.4 is needed by php-java-bridge
>
>Everything you install yourself is ignored
>intentionally. Please always install from RPM for two
>reasons:
>
>1. RPM keeps the dependencies in a database. If you
>manually install software into /usr, the RPM database
>content gets out of sync with the file system.
>
>2. RPM's contain SEL contexts. Java, php and the
>php/java bridge rely on the correct security contexts.
>If you break them, you must switch off SEL entirely or
>provide your own contexts and relabel the entire file
>system.
>
>
>However, it is possible to compile your own local
>versions of apache/php and the php/java bridge into
>/usr/local, please see the INSTALL document (section
>"Install from source") for details
>
>
>Regards,
>Jost Boekemeier
>
>
>
>
>___________________________________________________________
>Was denken Sie über E-Mail? Wir hören auf Ihre Meinung:
>http://surveylink.yahoo.com/wix/p0379378.aspx
|