From: Michael Wood on
On 30 March 2010 23:24, <Gregory.Jones(a)exeloncorp.com> wrote:
> I am getting these errors running:
> sh makepkg.sh
>
> can anyone help?
>
> ===============================================
> root#  sh makepkg.sh
> Distribution base:  /var/tmp/samba-3.0.37
> Temp install dir:   /tmp/samba-3.0.37-build
> Install directory:  /opt/samba
> mkdir: Failed to make directory "/tmp/samba-3.0.37-build"; File exists

Try: mv /tmp/samba-3.0.37-build{,.old}

before running sh makepkg.sh again.

Not sure if that will fix the other issues, but the first thing it's
complaining about is that it can't create the directory because
there's already a file/directory called that.

> make: Fatal error: Don't know how to make target `install'
> makepkg.sh: bin/smbd: not found
> .
> .
> . (truncated for easy reading)
> cp: cannot access nsswitch/libnss_wins.so
> cp: cannot access nsswitch/libnss_winbind.so
> makepkg.sh: /tmp/samba-3.0.37-build//smbd: not found
> makepkg.sh: man: does not exist
> ## Building pkgmap from package prototype file.
> ERROR in prototype:
>    no object for <sbin/smbd> found in root directory
>    no object for <sbin/nmbd> found in root directory
> .
> .
> . (truncated)
> .
> .
> WARNING: parametric paths may ignore BASEDIR
> pkgmk: ERROR: unable to build pkgmap from prototype file
> ## Packaging was not successful.
> The samba package is in /tmp

--
Michael Wood <esiotrot(a)gmail.com>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba