On Thu, 22 Jul 2004 13:07:23 -0700, Paul Wolstenholme wrote: > > 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 But apparently, the "files.mhash" file was not created anywhere in the %install section.