Re: OpenPKG 2.2 apache and php packages build failure

2005-01-07 Thread Martin Konold
Am Freitag, 7. Januar 2005 14:17 schrieb Steffen Hansen:
 Hi.

 The apache and php packages break if libgcrypt is installed on the host

FYI: The current Kolab packages depend on OpenPKG 2.2.x

apache-1.3.31-2.2.3_kolab.src.rpm
php-4.3.9-2.2.2.src.rpm

Yours,
-- martin

-- 
I am committed to helping Ohio deliver its electoral votes to the
President next year.  -- 2004, Wally O'Dell - CEO of Diebold, Inc. 
e r f r a k o n - Stuttgart, Germany
Erlewein, Frank, Konold  Partner - Beratende Ingenieure und Physiker
__
The OpenPKG Projectwww.openpkg.org
User Communication List  openpkg-users@openpkg.org


Re: Apache and PHP

2004-06-24 Thread Thomas Lotterer
On Wed, Jun 23, 2004, Alexander Belck wrote:

Alex,

 To build apache with php it requires php, so I build and installed php first.
 
only the with_suphp requires the php package. Even mod_php uses the php
that is embedded into the apache package and does not require the php
package.

  openpkg rpm -Uhv /opkg/RPM/PKG/apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm
 Preparing...### [100%]
 file /opkg/bin/php from install of apache-1.3.29-2.0.3 conflicts with
 file from package php-4.3.4-2.0.0
 
 What am I doing wrong ?
 
I tried to reproduce the problem but failed. Building
apache-1.3.29-2.0.3 with_suphp, with_mod_php or both does not produce a
$PREFIX/bin/php file. Which options are you using? Please send me the
full command line.

--
[EMAIL PROTECTED], Cable  Wireless
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: Apache and PHP

2004-06-24 Thread Alexander Belck
As I thought I need to enable all php options from apache and it gots a to long
line to type, I changed the options in apache.spec. Runing
openpkg rpm -qip apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm it shows:

apache::with_suexec = yes
apache::with_suexec_caller = opkg-n
apache::with_suexec_userdir = public_html
apache::with_suphp = yes
apache::with_suphp_caller = opkg-n
apache::with_suphp_phpcgi = /opkg/cgi/php
apache::with_mod_ssl = yes
apache::with_mod_perl = yes
apache::with_mod_php = yes
apache::with_mod_dav = yes
apache::with_mod_layout = yes
apache::with_mod_macro = yes
apache::with_mod_auth_ldap = yes
apache::with_mod_auth_mysql = yes
apache::with_mod_auth_pam = yes
apache::with_mod_gzip = yes
apache::with_mod_fastcgi = yes
apache::with_mod_throttle = yes
apache::with_mod_access_referer = yes
apache::with_mod_roaming = no
apache::with_mod_relocate = no
apache::with_mod_security = no
apache::with_mod_dosevasive = no
apache::with_mod_php_calendar = yes
apache::with_mod_php_mysql = yes
apache::with_mod_php_pgsql = yes
apache::with_mod_php_gd = yes
apache::with_mod_php_bdb = yes
apache::with_mod_php_debug = yes
apache::with_mod_php_pdflib = yes
apache::with_mod_php_zlib = yes
apache::with_mod_php_bzip2 = yes
apache::with_mod_php_ssl = yes
apache::with_mod_php_openldap = no
apache::with_mod_php_openldapsasl = yes
apache::with_mod_php_mm = yes
apache::with_mod_php_pcre = yes
apache::with_mod_php_ftp = yes
apache::with_mod_php_java = no
apache::with_mod_php_oci7 = no
apache::with_mod_php_oci8 = no
apache::with_mod_php_freetype = yes
apache::with_mod_php_gettext = yes
apache::with_mod_php_imap = yes
apache::with_mod_php_xml = yes
apache::with_mod_php_dom = yes
apache::with_mod_php_bc = yes
apache::with_mod_php_transsid = yes
apache::with_mod_php_curl = yes
apache::with_mod_php_mhash = yes
apache::with_mod_php_wddx = yes
apache::with_mod_php_gdbm = yes
apache::with_mod_php_versioning = yes
apache::with_mod_php_snmp = yes
apache::with_mod_php_odbc = yes
apache::with_mod_php_mbregex = yes
apache::with_mod_php_mbstring = yes
apache::with_mod_php_pear = yes
apache::with_mod_php_exif = yes
apache::with_mod_php_iconv = yes
apache::with_mod_php_sendmail = yes
apache::with_gdbm_ndbm = yes
apache::with_shared_core = no
apache::with_shared_chain = no
apache::with_debug = no
apache = 1.3.29-2.0.3

I hope this helps you to help me ;-(

Alex


Citando Thomas Lotterer [EMAIL PROTECTED]:

 On Wed, Jun 23, 2004, Alexander Belck wrote:

 Alex,

  To build apache with php it requires php, so I build and installed php
 first.
 
 only the with_suphp requires the php package. Even mod_php uses the php
 that is embedded into the apache package and does not require the php
 package.

   openpkg rpm -Uhv /opkg/RPM/PKG/apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm
  Preparing...###
 [100%]
  file /opkg/bin/php from install of apache-1.3.29-2.0.3 conflicts
 with
  file from package php-4.3.4-2.0.0
 
  What am I doing wrong ?
 
 I tried to reproduce the problem but failed. Building
 apache-1.3.29-2.0.3 with_suphp, with_mod_php or both does not produce a
 $PREFIX/bin/php file. Which options are you using? Please send me the
 full command line.

 --
 [EMAIL PROTECTED], Cable  Wireless
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]



--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: Apache and PHP

2004-06-24 Thread Alexander Belck
Finaly I know how to reproduce the conflict between apache and php reporting:

/opkg/RPM/PKG/apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm
Preparing...### [100%]
file /opkg/bin/php from install of apache-1.3.29-2.0.3 conflicts with
file from package php-4.3.4-2.0.0

This come up after building apache --with=mod_php_pear


I realy don't know how to proceed. I need to (at least) be able to install
HORDE, so I presum I need the php_modules allowing database access (mysql,
pgsql), imap access, , and specificaly I know that HORDE checks for some
modules of pear (So far I know, pear is growing fast and have his own module
instalation process).

I realy don't know witch pear_modules are build when compiling apache
--with=mod_php_pear and if I will be able to install new modules from pear when
they become avaible/needed.

For now I just whant to be able to have an apache+php capable tu run HORDE.

Thanks,

Alex



Citando Alexander Belck [EMAIL PROTECTED]

 As I thought I need to enable all php options from apache and it gots a to
 long
 line to type, I changed the options in apache.spec. Runing
 openpkg rpm -qip apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm it shows:

 apache::with_suexec = yes
 apache::with_suexec_caller = opkg-n
 apache::with_suexec_userdir = public_html
 apache::with_suphp = yes
 apache::with_suphp_caller = opkg-n
 apache::with_suphp_phpcgi = /opkg/cgi/php
 apache::with_mod_ssl = yes
 apache::with_mod_perl = yes
 apache::with_mod_php = yes
 apache::with_mod_dav = yes
 apache::with_mod_layout = yes
 apache::with_mod_macro = yes
 apache::with_mod_auth_ldap = yes
 apache::with_mod_auth_mysql = yes
 apache::with_mod_auth_pam = yes
 apache::with_mod_gzip = yes
 apache::with_mod_fastcgi = yes
 apache::with_mod_throttle = yes
 apache::with_mod_access_referer = yes
 apache::with_mod_roaming = no
 apache::with_mod_relocate = no
 apache::with_mod_security = no
 apache::with_mod_dosevasive = no
 apache::with_mod_php_calendar = yes
 apache::with_mod_php_mysql = yes
 apache::with_mod_php_pgsql = yes
 apache::with_mod_php_gd = yes
 apache::with_mod_php_bdb = yes
 apache::with_mod_php_debug = yes
 apache::with_mod_php_pdflib = yes
 apache::with_mod_php_zlib = yes
 apache::with_mod_php_bzip2 = yes
 apache::with_mod_php_ssl = yes
 apache::with_mod_php_openldap = no
 apache::with_mod_php_openldapsasl = yes
 apache::with_mod_php_mm = yes
 apache::with_mod_php_pcre = yes
 apache::with_mod_php_ftp = yes
 apache::with_mod_php_java = no
 apache::with_mod_php_oci7 = no
 apache::with_mod_php_oci8 = no
 apache::with_mod_php_freetype = yes
 apache::with_mod_php_gettext = yes
 apache::with_mod_php_imap = yes
 apache::with_mod_php_xml = yes
 apache::with_mod_php_dom = yes
 apache::with_mod_php_bc = yes
 apache::with_mod_php_transsid = yes
 apache::with_mod_php_curl = yes
 apache::with_mod_php_mhash = yes
 apache::with_mod_php_wddx = yes
 apache::with_mod_php_gdbm = yes
 apache::with_mod_php_versioning = yes
 apache::with_mod_php_snmp = yes
 apache::with_mod_php_odbc = yes
 apache::with_mod_php_mbregex = yes
 apache::with_mod_php_mbstring = yes
 apache::with_mod_php_pear = yes
 apache::with_mod_php_exif = yes
 apache::with_mod_php_iconv = yes
 apache::with_mod_php_sendmail = yes
 apache::with_gdbm_ndbm = yes
 apache::with_shared_core = no
 apache::with_shared_chain = no
 apache::with_debug = no
 apache = 1.3.29-2.0.3

 I hope this helps you to help me ;-(

 Alex


 Citando Thomas Lotterer [EMAIL PROTECTED]:

  On Wed, Jun 23, 2004, Alexander Belck wrote:
 
  Alex,
 
   To build apache with php it requires php, so I build and installed php
  first.
  
  only the with_suphp requires the php package. Even mod_php uses the php
  that is embedded into the apache package and does not require the php
  package.
 
openpkg rpm -Uhv /opkg/RPM/PKG/apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm
   Preparing...###
  [100%]
   file /opkg/bin/php from install of apache-1.3.29-2.0.3 conflicts
  with
   file from package php-4.3.4-2.0.0
  
   What am I doing wrong ?
  
  I tried to reproduce the problem but failed. Building
  apache-1.3.29-2.0.3 with_suphp, with_mod_php or both does not produce a
  $PREFIX/bin/php file. Which options are you using? Please send me the
  full command line.
 
  --
  [EMAIL PROTECTED], Cable  Wireless
  __
  The OpenPKG Projectwww.openpkg.org
  User Communication List  [EMAIL PROTECTED]
 


 --
 ATIX Tecnologia e Com Ltda
 Tel.: +55-(11) 4667-5900

Apache and PHP

2004-06-23 Thread Alexander Belck
To build apache with php it requires php, so I build and installed php first.

After compiling apache, when I try to install it I got:

 openpkg rpm -Uhv /opkg/RPM/PKG/apache-1.3.29-2.0.3.ix86-rhl7.3-opk.rpm
Preparing...### [100%]
file /opkg/bin/php from install of apache-1.3.29-2.0.3 conflicts with
file from package php-4.3.4-2.0.0


What am I doing wrong ?

Sorry so many questions about apache, but I've never compiled it and realy got
this huges number of questions while trying ;-(

Thanks again

Alex


This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: OpenPKG-current Apache RPM: PHP PEAR include directories broken ***SOLVED***

2003-12-17 Thread Stuart Bingë
As far as I can tell I've solved the problem, so I thought I'd post the 
solution here for discussion...

This one-line patch modifies apache.spec from the OpenPKG-current apache 
source rpm (apache-1.3.29-20031128.src.rpm). The problem arises when 
'make install'ing the php package, where currently the 'prefix' variable 
is overwritten to point to the temporary RPM install directory. The 
'prefix' variable is however also set when ./configure'ing, which is 
where it is supposed to be set. The correct variable to change when 
'make install'ing is INSTALL_ROOT - this can be set to the temporary RPM 
install directory and does not end up modifying the relevant PHP scripts 
which continue to use the previously defined 'prefix' variable.

There may be other places where this fix could be applied (e.g. the PHP3 
package), however as I only needed the PHP4 package it is the only one I 
fixed in the spec file.

Regards,
Stuart Bingë
--- apache.spec.old	2003-12-17 12:02:26.536340576 +0200
+++ apache.spec	2003-12-17 12:02:48.292033208 +0200
@@ -688,7 +688,7 @@
   -e s;^\\(PEAR_INSTALLDIR = \\)\\(%{l_prefix}\\);\\1$RPM_BUILD_ROOT\\2; \
   config_vars.mk
   %{l_make} %{l_mflags} install \
-  prefix=$RPM_BUILD_ROOT%{l_prefix}
+  INSTALL_ROOT=$RPM_BUILD_ROOT
 ) || exit $?
 %endif
 


Re: OpenPKG-current Apache RPM: PHP PEAR include directories broken ***SOLVED***

2003-12-17 Thread Ralf S. Engelschall
On Wed, Dec 17, 2003, Stuart Bingë wrote:

 As far as I can tell I've solved the problem, so I thought I'd post the
 solution here for discussion...

 This one-line patch modifies apache.spec from the OpenPKG-current apache
 source rpm (apache-1.3.29-20031128.src.rpm). The problem arises when
 'make install'ing the php package, where currently the 'prefix' variable
 is overwritten to point to the temporary RPM install directory. The
 'prefix' variable is however also set when ./configure'ing, which is
 where it is supposed to be set. The correct variable to change when
 'make install'ing is INSTALL_ROOT - this can be set to the temporary RPM
 install directory and does not end up modifying the relevant PHP scripts
 which continue to use the previously defined 'prefix' variable.

 There may be other places where this fix could be applied (e.g. the PHP3
 package), however as I only needed the PHP4 package it is the only one I
 fixed in the spec file.

Thanks for your feedback. I've comitted your fix to CVS.
See http://cvs.openpkg.org/chngview?cn=13827 for details.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]