My issue is as follows:
The security team has requested us to install the latest version of Samba 3.4.2 due to some security issue.
Previously I was using the default version provided by Solaris 10, that was working fine. However when I searched for the correct version from Sunfreeware, I noticed that the only available eversion was 3.2.4 and not 3.4.2. Also, I noticed that they recommend having the following packages installed as well for running this version:
•samba-3.2.4-sol10-sparc-local.gz Dependencies: popt, libiconv, libintl, readline, ncurses and either the libgcc-3.4.6 or the gcc-3.4.6 packages.
So, I presumed that if these packages are required for the 3.2.4 version, then they should also be required for the 3.4.2 one. Thus I downloaded the prerequisite packages from Sunfreeware and the latest version from Samba.org.
I proceeded to install the pre-required packages. Then I proceeded to install the samba package from the downloaded tarfile. Afterwards, I proceeded as follows to build the binaries as recommnended on samba website: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html
As, the configure file was already there and thus I did not have to run the autogen script. I proceeded with the configure as follows:
CC="gcc -m64" ./configure --without-ldap --without-ads
This step completes normally. The summary results are as follows:
checking configure summary... yes
configure: creating ./config.status
config.status: creating Makefile-noincludes
config.status: creating script/findsmb
config.status: creating smbadduser
config.status: creating script/gen-8bit-gap.sh
config.status: creating script/installbin.sh
config.status: creating script/uninstallbin.sh
config.status: creating lib/netapi/examples/Makefile
config.status: creating lib/netapi/tests/Makefile
config.status: creating pkgconfig/smbclient.pc
config.status: creating pkgconfig/wbclient.pc
config.status: creating pkgconfig/netapi.pc
config.status: creating pkgconfig/smbsharemodes.pc
config.status: creating ../examples/libsmbclient/Makefile.internal
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing rm-stdint.h commands
config.status: executing rm-stdbool.h commands
However, I notice that no makefile is created under source3. Thus when I execute the make command, I get the following message:
make: Fatal error: No arguments to build
I have been googling for days and trying so many reinstall with no better results.
I would really appreciate your help, please.
Thanks and warm regards
is gnu make installed and does configure find gnu make on your system? You should make sure that's the case. If that alone does not yet fix your problem, please attach config.log to see what's wrong there.
Created attachment 4813 [details]
Please find attached requested configure log
(In reply to comment #1)
> is gnu make installed and does configure find gnu make on your system? You
> should make sure that's the case. If that alone does not yet fix your problem,
> please attach config.log to see what's wrong there.
Yes gnu make is installed and configure is able to locate it. Here are a the outputs of a few related commands that I ran:
CMD >whereis make
make: /usr/ccs/bin/make /usr/man/man1s/make.1s
CMD >pkginfo | grep make
system SUNWgm4 gmake - GNU m4
system SUNWgmake gmake - GNU make
system SUNWxcu4t XCU4 make and sccs utilities
CMD >pkginfo -l SUNWgmake
NAME: gmake - GNU make
VENDOR: Sun Microsystems, Inc.
DESC: GNU make - A utility used to build software (gmake) 3.80
INSTDATE: Nov 02 2006 09:02
HOTLINE: Please contact your local service provider
STATUS: completely installed
FILES: 4 installed pathnames
3 shared pathnames
300 blocks used (approx)
I have also uploaded teh requested configure log.
Thanks again for your support.
can you please try to export or setenv MAKE=gmake before running configure and then run gmake?
Indeed I proceeded with exporting the gmake and running configure again as per your instructions and everything went fine.
Thank you very much for your most appreciated professional support.