[Samba] Broken make install on 3.0.23pre1 and rc1 on HP-UX 11i
Ryan Novosielski
novosirj at umdnj.edu
Fri May 26 13:25:43 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey guys, this one is still in the current release candidate. This is
an easy one though:
Change line 1482 in the Makefile from:
install -m $(INSTALLPERMS) bin/$${module}.sl \
to:
$(INSTALLCMD) -m $(INSTALLPERMS) bin/$${module}.sl \
The default "install" on my platform doesn't do the trick. This seems
to be correct everyplace else though.
All of the other compile bugs are gone, though. Thanks for the good
work! (Only thing I'd mention is the multiple /'s through most of the
install process).
> Got another bug in 'make install', looks like:
>
> --- Installing bin/script.sl as
> ///opt/samba-3.0.23pre1/lib/auth/script.sl /opt/imake/bin/install
> -c bin/libsmbclient.sl //opt/samba-3.0.23pre1/lib :
> bin/libsmbclient.a //opt/samba-3.0.23pre1/lib
> /opt/imake/bin/install -c
> /opt/src/samba-3.0.23pre1/source/include/libsmbclient.h
> //opt/samba-3.0.23pre1/include /opt/imake/bin/install -c
> bin/libmsrpc.sl //opt/samba-3.0.23pre1/lib : bin/libmsrpc.a
> //opt/samba-3.0.23pre1/lib /opt/imake/bin/install -c
> /opt/src/samba-3.0.23pre1/source/include/libmsrpc.h
> //opt/samba-3.0.23pre1/include Installing module pam_smbpass as
> ///opt/samba-3.0.23pre1/lib/security/pam_smbpass.sl install:
> pam_smbpass.sl was not found anywhere! *** Error exit code 2
>
> Stop. ---
>
> First of all, there's something crazy going on with slashes
> (sometimes 3, sometimes 2, sometimes 1). Don't know what's causing
> that. Second of all, there's a problem with the Makefile on line
> 1483. There is an INSTALLCMD variable defined at line 43, but the
> installpammodules stanza doesn't use it. It instead uses "install
> -m..." -- for me, "install" by itself is /usr/sbin/install, which
> is not GNU. When I change "install" to "$(INSTALLCMD)", everything
> works fine. Not sure why every other line appears to use
> "-$(INSTALLCMD)" -- using the hyphen on this line does not work.
>
> This is the last hurdle, though... after that, I can build and
> install. Any comments on this one?
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEdwHXmb+gadEcsb4RAodsAJ92FHClC9jLNHQirYcBauvXzQeBmQCeOnMp
WUgvModvwRvz5w/0D72vIxk=
=9+vS
-----END PGP SIGNATURE-----
More information about the samba
mailing list