In the subject of packaging practices, I like the way this guy makes his php 
packages

http://rpms.arvin.dk/php/source/

The spec is huge but very feature complete and easy to mantain (I think)

It would be cool if Chris could check it out.

Regards
mario

El Mi� 03 Abr 2002 08:25, escribi�:
> Alexander Skwar wrote:
> > Hello!
> >
> > I've got some requests regarding the PHP package in cooker.
> >
> > a) The php-devel package contains the PEAR repository.  However, I don't
> > think "php-devel" is a good name for this kind of package.  Would it be
> > possible to move the PEAR files from php-devel to, let's say, php-pear?
> >
> > b) The PEAR files are located in /usr/lib/php.  IMO it would be nicer if
> > those files were in /usr/lib/php/pear.
> >
> > c) The /etc/php.ini file sets include_path to /usr/lib/php.  I cannot
> > include/require files from /usr/lib/php with a simple "include
> > 'file.php'".  When I change the include_path line to /usr/lib/php/ (note
> > the trailing slash), I'm able to do so.  Could this please be changed?
> >
> > d) For whatever reason, I'm unable to build extension modules for PHP.
> > I tried to compile a php-recode package, basically doing:
> >
> > %{phpsource}/buildext recode recode.c
> > ....
> > install -m 755 -s recode.so $RPM_BUILD_ROOT%{phpdir}/extensions/
> >
> > When I start PHP, it always complains that iconv.so is not a valid php
> > library.  I really don't know what I did do wrong.  The error message I
> > get is:
> >
> > PHP Warning:  Invalid library (maybe not a PHP library) 'recode.so'  in
> > Unknown on line 0
> >
> > I'll attach the spec used for building the RPM to this message.
> >
> > e) Would it be possible to compile/ship PHP with --with-recode?
> >
> > I can provide SRPMS/RPMS for all of this, if required.
>
> Send us only the SPEC file you modified (to jmdault and me).
>
> I also saw your other PHP problems. I don't think we will work on it for
> php 4.1.2. 4.2.0 RC 1 is out since march 21st so I think the final
> release is about to come out really soon. We will wait this version to
> rebuild/upgrade all the PHP-related packages. I keep your requests in my
> mailbox so as soon as 4.2.0 is out, jmdault and me will work on it.
>
> Thanks! And if you have other suggestions, include it in the SPEC (or
> the mail) you will send us.
>
> Chris

Reply via email to