[Samba] RPM build error 3.0.0
Gerald (Jerry) Carter
jerry at samba.org
Thu Oct 2 13:14:13 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Zenon Panoussis wrote:
|
| Building from samba-3.0.0/packaging/RedHat/samba.spec in the
| September 25 samba-3.0.0.tar.bz2 ends with
|
| + mkdir -p /var/tmp/samba-3.0.0-root/usr/share/swat/images
| /var/tmp/samba-3.0.0-root/usr/share/swat/help
| /var/tmp/samba-3.0.0-root/usr/share/swat/include
| /var/tmp/samba-3.0.0-root/usr/share/swat/using_samba
| + mkdir -p /var/tmp/samba-3.0.0-root/usr/share/swat/using_samba/figs
| /var/tmp/samba-3.0.0-root/usr/share/swat/using_samba/gifs
| + mkdir -p
| mkdir: too few arguments
| Try `mkdir --help' for more information.
| error: Bad exit status from /var/tmp/rpm-tmp.34059 (%install)
|
| The problem seems to be
|
| mkdir -p $RPM_BUILD_ROOTMANDIR_MACRO
|
| in line 108 of the spec file. Shouldn't that be something like
|
| mkdir -p $RPM_BUILD_ROOT/%{_mandir}
|
| instead?
I have explained this on the list more times that I can
count. From the README in the same directory:
To produce the RPMS simply type:
~ root# sh makerpms.sh
The spec file is made to be used directly. makerpms.sh does
some sed magic just like you indictae above.
cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard ------------------------- http://www.hp.com
~ SAMBA Team ---------------------- http://www.samba.org
~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~ --John Cusack - "Grosse Point Blank" (1997)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/fCSkIR7qMdg1EfYRAuYMAJ94fZ+jYsqTTE4AYkWb8pud5IDSRACgysgD
wh7WRj3Bu+BQY12IXW7iG8c=
=IWaU
-----END PGP SIGNATURE-----
More information about the samba
mailing list