Re: Unwanted prefix compiling mySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andreas Pfaffeneder wrote :

> Am Dienstag, den 07.12.2004, 22:52 +0000 schrieb Richard Dawe:
> 
> [...]
> > > Instead of /usr/bin/mysqlbug the compile results in 
> > > /usr/bin/i386-linux-redhat-mysqlbug for example - this only applies
to
> > > the binaries.
> 
> > Does setting the architecture explicitly help? Perhaps try something 
> > like this:
> > 
> >    rpmbuild --target=i386 MySQL.spec
> 
> I´ve no tried that yet, but ended up with something like
> 
> for f in `find $RPM_BUILD_ROOT -iname i386-redhat-linux\*`;do mv $f
> $(echo $f |sed 's/i386-redhat-linux-//g'); done
> 
> in the specfile.

What you want is add --program-prefix=%{?_program_prefix} to %configure.
This will force a default to empty, and usually fixes the problem you've
seen (happens often on Red Hat Linux 7.x).

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 3 (Heidelberg) - Linux kernel 2.6.9-1.681_FC3.r300
Load : 1.55 1.39 1.22

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux