rpm php with mhash support

Paul Wolstenholme wolstena at sfu.ca
Thu Jul 22 20:07:23 UTC 2004


On 22-Jul-04, at 12:53 PM, Alexander Dalloz wrote:

> Am Do, den 22.07.2004 schrieb Paul Wolstenholme um 21:49:
>
>> I hope this isn't too off topic for this list. I am trying to install
>> php with mhash support from the rpm source file. However,
>>
>> "rpmbuild -ba --define 'with-mhash 1'  php.spec"
>
> That is not enough. Have you closely looked at the PHP spec file?

I did but I am a bit of an rpm newbie.

>
>> Fails with the following error:
>>
>> RPM build errors:
>>      Could not open %files file
>> /home/wolstena/rpm/BUILD/php-4.3.6/files.mhash: No such file or
>> directory
>>
>>
>> What the heck am I doing wrong?
>
> From error above you will have to properly edit the PHP spec file, at
> least in the %files section.


I looked at the file section and it looked ok to me:

if %{with_mhash}
%files mhash -f files.mhash
%endif



>
>> /Paul
>
> Alexander
>
>
> -- 
> Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
> Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.6-1.435.2.3.ad.umlsmp
> Serendipity 21:51:21 up 6:39, 12 users, 0.72, 0.47, 0.39
> -- 
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list





More information about the fedora-list mailing list