-----BEGIN PGP SIGNED MESSAGE-----
On Sun, 10 Apr 2005, Tinni wrote:
> For my project, I was trying to create the 'rpm' from source mysql but the
> error is coming when i am executing the .spec file..
> I have executed the .spec file with,
> $:\rpmbuild -ba mysql-4.1.11-1.spec
> Here is the spec file::
> Summary: A program for mysql Standard installatin.
> Name: mysql
> Version: 4.1
> Release: 11
> Copyright: GPL
> Group: System Environment/Base
This is not the source distribution. The file you are referring to is actually a
binary distribution that does not need to be compiled anymore.
The 4.1.11 sources are called "mysql-4.1.11.tar.gz" - they actually include
a generic RPM spec file.
> + ./configure --prefix=/local/rh9/mysql
> NOTE: This is a MySQL binary distribution. It's ready to run, you don't
> need to configure it!
It even tells you about this fact :)
> I am creating the binary from the source first time. I am not sure
> though of the .spec file. Any pointer is highly appreciated.
If you simply want to recompile the source RPM, just download the .src.rpm and
rebuild that one instead.
Lenz Grimmer <lenz@stripped>
Senior Production Engineer
MySQL GmbH, http://www.mysql.de/
Are you MySQL certified? http://www.mysql.com/certification/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
-----END PGP SIGNATURE-----