María Isabel López Sánchez-Huete
2003-Oct-01 10:32 UTC
[Samba] Problem with samba 3.0.0 installation
Hi. I have found some problems installing the new version of samba. My enviroment is: Solaris 8 (sparc) gcc 3.1 GNU make 3.80 Currently samba 2.2.8a is running. When I try install the version 3.0.0, after executing 'configure' and 'make' without problem, I execute 'make install' and it finish with the error: (...) Installing bin/CP437.so as /usr/local/samba/lib/charset/CP437.so ./install-sh -c bin/libsmbclient.so /usr/local/samba/lib mksh: Fatal error: Cannot load command `./install-sh': Bad file number Current working directory /tmp/samba-3.0.0/source *** Error code 1 (ignored) : bin/libsmbclient.a /usr/local/samba/lib ./install-sh -c /tmp/samba-3.0.0/source/include/libsmbclient.h /usr/local/samba/include mksh: Fatal error: Cannot load command `./install-sh': Bad file number Current working directory /tmp/samba-3.0.0/source *** Error code 1 (ignored) Any ideas? I expect this time somebody can answer to me. Thanks in advance!
> -----Original Message----- > From: Mar?a Isabel L?pez S?nchez-Huete [mailto:marisa@ugr.es] > Sent: mercredi 1 octobre 2003 12:33 > To: samba@lists.samba.org > Subject: [Samba] Problem with samba 3.0.0 installation > > > Hi. > > I have found some problems installing the new version of samba. > > My enviroment is: > Solaris 8 (sparc) > gcc 3.1 > GNU make 3.80 > > Currently samba 2.2.8a is running. When I try install the version > 3.0.0, after executing 'configure' and 'make' without > problem, I execute > 'make install' and it finish with the error: > > (...) > Installing bin/CP437.so as /usr/local/samba/lib/charset/CP437.so > ./install-sh -c bin/libsmbclient.so /usr/local/samba/lib > mksh: Fatal error: Cannot load command `./install-sh': Bad file number > Current working directory /tmp/samba-3.0.0/source > *** Error code 1 (ignored) > : bin/libsmbclient.a /usr/local/samba/lib > ./install-sh -c /tmp/samba-3.0.0/source/include/libsmbclient.h > /usr/local/samba/include > mksh: Fatal error: Cannot load command `./install-sh': Bad file number > Current working directory /tmp/samba-3.0.0/source > *** Error code 1 (ignored)What says 'df -k /usr/local' ? Samba 3.0.0 has debugging information enabled in binaries, whatever you specify to configure. This leads to Samba crunching a huge set of disk space due to +50MB binaries. After configure, edit Makefile and remove the '-g' in CFLAGS. Recompile, and reinstall. Or strip all actual binaries. Regards, J?r?me ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. LogicaCMG **********************************************************************
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mar?a Isabel L?pez S?nchez-Huete wrote: | Installing bin/CP437.so as /usr/local/samba/lib/charset/CP437.so | ./install-sh -c bin/libsmbclient.so /usr/local/samba/lib | mksh: Fatal error: Cannot load command `./install-sh': Bad file number | Current working directory /tmp/samba-3.0.0/source | *** Error code 1 (ignored) | : bin/libsmbclient.a /usr/local/samba/lib | ./install-sh -c /tmp/samba-3.0.0/source/include/libsmbclient.h | /usr/local/samba/include | mksh: Fatal error: Cannot load command `./install-sh': Bad file number | Current working directory /tmp/samba-3.0.0/source | *** Error code 1 (ignored) | | Any ideas? I expect this time somebody can answer to me. `chmod 755 source.install-sh` It was a packaging error in the tarball. 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/euAYIR7qMdg1EfYRAl2eAKDrOvVQma1l7Zt94bRQwjZvY8p5zgCg5JQI MGtHPTKBuYzyNmmIzyACbyA=s5nI -----END PGP SIGNATURE-----