Fedore 4 / MySQL 5.0.18 / Postfix 2.2.2

Jim Douglas jdz99 at hotmail.com
Wed Mar 8 14:14:44 UTC 2006


>From: Alexander Dalloz <ad+lists at uni-x.org>
>Reply-To: For users of Fedora Core releases <fedora-list at redhat.com>
>To: For users of Fedora Core releases <fedora-list at redhat.com>
>Subject: Re: Fedore 4 / MySQL 5.0.18 / Postfix 2.2.2
>Date: Wed, 08 Mar 2006 14:06:05 +0100
>
>Am Mi, den 08.03.2006 schrieb Jim Douglas um 4:21:
>
> > When I execute this command,
> >
> > rpmbuild postfix-2.2.2-2.src.rpm --rebuild --define 'MYSQL 1'
> >
> > I get this error,
> >
> > Installing postfix-2.2.2-2.src.rpm
> > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.92746
> > RPM build errors:
>
>Nothing follows? Do you try to compile as root or as mortal system user
>with the proper rpm build environment? Where exactly do you run above
>command (means, where is the src.rpm located)?
>
> > Jim
>
>To be able to easily provide all data, run following command:
>
>script -c "rpmbuild --rebuild --define 'MYSQL 1' postfix-2.2.2.src.rpm"
>pf-build.log
>
>The output you see in the terminal will be written into the
>"pf-build.log" file.
>
>Alexander
>
>
>--
>Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
>legal statement: http://www.uni-x.org/legal.html
>Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
>Serendipity 13:59:16 up 12 days, 15:48, load average: 0.24, 0.22, 0.13


><< signature.asc >>




>--
>fedora-list mailing list
>fedora-list at redhat.com
>To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


I got it to work,

rpm i postfix-2.2.2.src.rpm
in the "/usr/src/redhat/SPECS" I changed %define MYSQL 0 to to %define MYSQL 
1
Then I ran,

rpmbuildi /usr/src/redhat/SPECS/postfix.spec -ba
(It fails at first because some directories are not present, I created those 
directories and everything works)

Then I ran,
rpm - i /usr/src/redhat/RPMS/i386/postfix-2.2.2-2.i36.rpm

Thanks,
Jim





More information about the fedora-list mailing list