This is a discussion on Re: [Samba] unable to compile samba 3.0.28a on RHEL 5.1 i386 within the Samba forums, part of the Networking and Network Related category; Try this and report back the output: rpm -qa |grep gcc Thanks, Randall On Tue, 2008-04-08 at 14:...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Try this and report back the output:
rpm -qa |grep gcc Thanks, Randall On Tue, 2008-04-08 at 14:04 -0500, Adam Williams wrote: > any ideas why it won't compile? running=20 > /root/samba-3.0.28a/packaging/RHEL/makerpms.sh > eventually it gets to: >=20 >=20 >=20 > ./autogen.sh: running script/mkversion.sh > ./script/mkversion.sh: 'include/version.h' created for > Samba("3.0.28a") > ./autogen.sh: running autoheader -I. -Ilib/replace > ./autogen.sh: running autoconf -I. -Ilib/replace > Now run ./configure and then make. > + CFLAGS=3D'-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions=20 > -fstack-protector --param=3Dssp-buffer-size=3D4 -m32 -march=3Di386=20 > -mtune=3Dgeneric -fasynchronous-unwind-tables -D_GNU_SOURCE' > + ./configure --prefix=3D/usr --localstatedir=3D/var=20 > --with-configdir=3D/etc/samba --with-libdir=3D/usr/lib/samba=20 > --with-lockdir=3D/var/lib/samba --with-logfilebase=3D/var/log/samba=20 > --with-mandir=3D/usr/share/man --with-piddir=3D/var/run=20 > --with-privatedir=3D/etc/samba=20 > --with-sambabook=3D/usr/share/swat/using_samba=20 > --with-swatdir=3D/usr/share/swat --enable-cups --with-acl-support=20 > --with-ads --with-automount --with-fhs --with-pam_smbpass=20 > --with-libsmbclient --with-libsmbsharemodes --without-smbwrapper=20 > --with-pam --with-quotas --with-shared-modules=3Didmap_rid,idmap_ad=20 > --with-smbmount --with-syslog --with-utmp --with-dnsupdate > SAMBA VERSION: 3.0.28a > LIBREPLACE_LOCATION_CHECKS: START > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > LIBREPLACE_LOCATION_CHECKS: END > LIBREPLACE_CC_CHECKS: START > checking for gcc... gcc > checking for C compiler default output file name... configure: error: > C=20 > compiler cannot create executables > See `config.log' for more details. > error: Bad exit status from /var/tmp/rpm-tmp.12141 (%build) >=20 >=20 > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.12141 (%build) > makerpms.sh: Done. >=20 >=20 >=20 > and config.log: >=20 > [root@preshs RHEL]# cat=20 > /usr/src/redhat/BUILD/samba-3.0.28a/source/config.log |more > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. >=20 > It was created by configure, which was > generated by GNU Autoconf 2.59. Invocation command line was >=20 > $ ./configure --prefix=3D/usr --localstatedir=3D/var=20 > --with-configdir=3D/etc/samba - > -with-libdir=3D/usr/lib/samba --with-lockdir=3D/var/lib/samba=20 > --with-logfilebase=3D/va > r/log/samba --with-mandir=3D/usr/share/man --with-piddir=3D/var/run=20 > --with-privatedi > r=3D/etc/samba --with-sambabook=3D/usr/share/swat/using_samba=20 > --with-swatdir=3D/usr/sh > are/swat --enable-cups --with-acl-support --with-ads --with-automount=20 > --with-fhs > --with-pam_smbpass --with-libsmbclient --with-libsmbsharemodes=20 > --without-smbwra > pper --with-pam --with-quotas > --with-shared-modules=3Didmap_rid,idmap_ad=20 > --with-sm > bmount --with-syslog --with-utmp --with-dnsupdate >=20 > ## --------- ## > ## Platform. ## > ## --------- ## >=20 > hostname =3D preshs.mdah.state.ms.us > uname -m =3D i686 > uname -r =3D 2.6.18-53.el5PAE > uname -s =3D Linux > uname -v =3D #1 SMP Mon Nov 12 02:55:09 EST 2007 >=20 > /usr/bin/uname -p =3D unknown > /bin/uname -X =3D unknown >=20 > /bin/arch =3D i686 > /usr/bin/arch -k =3D unknown > /usr/convex/getsysinfo =3D unknown > hostinfo =3D unknown > /bin/machine =3D unknown > /usr/bin/oslevel =3D unknown > /bin/universe =3D unknown >=20 > PATH: /usr/kerberos/sbin > PATH: /usr/kerberos/bin > PATH: /usr/local/sbin > PATH: /usr/local/bin > PATH: /sbin > PATH: /bin > PATH: /usr/sbin > PATH: /usr/bin > PATH: /root/bin >=20 > ## ----------- ## > ## Core tests. ## > ## ----------- ## >=20 > configure:1441: checking build system type > configure:1459: result: i686-pc-linux-gnu > configure:1467: checking host system type > configure:1481: result: i686-pc-linux-gnu > configure:1489: checking target system type > configure:1503: result: i686-pc-linux-gnu > configure:1975: checking for gcc > configure:1991: found /usr/bin/gcc > configure:2001: result: gcc > configure:2245: checking for C compiler version > configure:2248: gcc --version </dev/null >&5 > gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9) > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There > is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. >=20 > configure:2251: $? =3D 0 > configure:2253: gcc -v </dev/null >&5 > Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs > Configured with: ../configure --prefix=3D/usr = --mandir=3D/usr/share/man=20 > --infodir=3D/u > sr/share/info --enable-shared --enable-threads=3Dposix > --disable-checking=20 > --with-s > ystem-zlib --enable-__cxa_atexit --disable-libunwind-exceptions=20 > --enable-java-aw > t=3Dgtk --host=3Di386-redhat-linux > Thread model: posix > gcc version 3.4.6 20060404 (Red Hat 3.4.6-9) > configure:2256: $? =3D 0 > configure:2258: gcc -V </dev/null >&5 > gcc: `-V' option must have argument > configure:2261: $? =3D 1 > configure:2284: checking for C compiler default output file name > configure:2287: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2=20 > -fexceptions -fst > ack-protector --param=3Dssp-buffer-size=3D4 -m32 -march=3Di386 > -mtune=3Dgeneric=20 > -fasynch > ronous-unwind-tables -D_GNU_SOURCE -D_SAMBA_BUILD_=3D3 conftest.c > >&5 > gcc: installation problem, cannot exec `cc1': No such file or > directory > configure:2290: $? =3D 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define CONFIG_H_IS_FROM_SAMBA 1 > | /* end confdefs.h. */ > | > | int > | main () > | { > | > | ; > | return 0; > | } > configure:2329: error: C compiler cannot create executables > See `config.log' for more details. >=20 > ## ---------------- ## > ## Cache variables. ## > ## ---------------- ## >=20 > ac_cv_build=3Di686-pc-linux-gnu > ac_cv_build_alias=3Di686-pc-linux-gnu > ac_cv_env_CC_set=3D > ac_cv_env_CC_value=3D > ac_cv_env_CFLAGS_set=3Dset > ac_cv_env_CFLAGS_value=3D'-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 = > -fexceptions > -fstack-protector --param=3Dssp-buffer-size=3D4 -m32 -march=3Di386=20 > -mtune=3Dgeneric -fas > ynchronous-unwind-tables -D_GNU_SOURCE' > ac_cv_env_CPPFLAGS_set=3D > ac_cv_env_CPPFLAGS_value=3D > ac_cv_env_CPP_set=3D > ac_cv_env_CPP_value=3D > ac_cv_env_LDFLAGS_set=3D > ac_cv_env_LDFLAGS_value=3D > ac_cv_env_build_alias_set=3D > ac_cv_env_build_alias_value=3D > ac_cv_env_host_alias_set=3D > ac_cv_env_host_alias_value=3D > ac_cv_env_target_alias_set=3D > ac_cv_env_target_alias_value=3D > ac_cv_host=3Di686-pc-linux-gnu > ac_cv_host_alias=3Di686-pc-linux-gnu > ac_cv_prog_ac_ct_CC=3Dgcc > ac_cv_prog_cc_Ae=3Dno > ac_cv_target=3Di686-pc-linux-gnu > ac_cv_target_alias=3Di686-pc-linux-gnu >=20 > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## >=20 > ACL_LIBS=3D'' > AR=3D'' > AUTH_LIBS=3D'' > AUTH_MODULES=3D'' > AUTH_STATIC=3D'' > AWK=3D'' > BROKEN_CC=3D'' > BUILD_INIPARSER=3D'' > BUILD_POPT=3D'' > CC=3D'gcc' > CFLAGS=3D'-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions=20 > -fstack-protecto > r --param=3Dssp-buffer-size=3D4 -m32 -march=3Di386 -mtune=3Dgeneric=20 > -fasynchronous-unwin > d-tables -D_GNU_SOURCE -D_SAMBA_BUILD_=3D3' > CHARSET_MODULES=3D'' > CHARSET_STATIC=3D'' > CIFSMOUNT_PROGS=3D'' > CONFIG_LIBS=3D'' > CPP=3D'' > CPPFLAGS=3D'' > CUPS_CONFIG=3D'' > DEFAULT_TEST_TARGET=3D'' > DEFS=3D'' > DYNEXP=3D'' > ECHO_C=3D'' > ECHO_N=3D'-n' > ECHO_T=3D'' > EGREP=3D'' > EXEEXT=3D'' > EXTRA_ALL_TARGETS=3D'' > EXTRA_BIN_PROGS=3D'' > EXTRA_SBIN_PROGS=3D'' > FLAGS1=3D'' > HAVE_SOCKET_WRAPPER=3D'' > HOST_OS=3D'' > IDMAP_LIBS=3D'' > IDMAP_MODULES=3D'' > IDMAP_STATIC=3D'' > INIPARSERLIBS=3D'' > INSTALLLIBCMD_A=3D'' > INSTALLLIBCMD_SH=3D'' > INSTALL_CIFSMOUNT=3D'' > INSTALL_DATA=3D'' > INSTALL_LIBADDNS=3D'' > INSTALL_LIBMSRPC=3D'' > INSTALL_LIBSMBCLIENT=3D'' > INSTALL_LIBSMBSHAREMODES=3D'' > INSTALL_PAM_MODULES=3D'' > INSTALL_PROGRAM=3D'' > INSTALL_SCRIPT=3D'' > KRB5CONFIG=3D'' > KRB5_LIBS=3D'' > LDAP_LIBS=3D'' > LDBLDAP=3D'' > LDFLAGS=3D'' > LDSHFLAGS=3D'' > LIBADDNS=3D'' > LIBADDNS_SHARED=3D'' > LIBDL=3D'' > LIBMSRPC=3D'' > LIBMSRPC_SHARED=3D'' > LIBOBJS=3D'' > LIBREPLACEOBJ=3D'replace.o' > LIBREPLACE_OBJS=3D'' > LIBS=3D'' > LIBSMBCLIENT=3D'' > LIBSMBCLIENT_SHARED=3D'' > LIBSMBSHAREMODES=3D'' > LIBSMBSHAREMODES_SHARED=3D'' > LIBUNWIND_PTRACE=3D'' > LTLIBOBJS=3D'' > NSCD_LIBS=3D'' > NSSSONAMEVERSIONSUFFIX=3D'' > NSS_INFO_MODULES=3D'' > NSS_INFO_STATIC=3D'' > NSS_MODULES=3D'' > OBJEXT=3D'' > PACKAGE_BUGREPORT=3D'' > PACKAGE_NAME=3D'' > PACKAGE_STRING=3D'' > PACKAGE_TARNAME=3D'' > PACKAGE_VERSION=3D'' > PAM_MODULES=3D'' > PASSDB_LIBS=3D'' > PATH_SEPARATOR=3D':' > PDB_MODULES=3D'' > PDB_STATIC=3D'' > PERL=3D'' > PICFLAG=3D'' > PIDL_ARGS=3D'' > PIE_CFLAGS=3D'' > PIE_LDFLAGS=3D'' > POPTLIBS=3D'' > PRINT_LIBS=3D'' > PYTHON=3D'' > ROFF=3D'' > RPC_MODULES=3D'' > RPC_STATIC=3D'' > SAMBA_CPPFLAGS=3D'-Iinclude -I./include -I. -I. -I./lib/replace=20 > -I./lib/talloc -I > ./tdb/include -I./libaddns -I./librpc' > SHELL=3D'/bin/sh' > SHLD=3D'' > SHLIBEXT=3D'' > SMBD_LIBS=3D'' > SMBLDAP=3D'' > SMBLDAPUTIL=3D'' > SMBMOUNT_PROGS=3D'' > SMB_FAM_LIBS=3D'' > SMB_KRB5_LOCATOR=3D'' > SOCKET_WRAPPER_OBJS=3D'' > SONAMEFLAG=3D'' > TERMLDFLAGS=3D'' > TERMLIBS=3D'' > UNINSTALLLIBCMD_A=3D'' > UNINSTALLLIBCMD_SH=3D'' > UNINSTALL_CIFSMOUNT=3D'' > UNINSTALL_LIBADDNS=3D'' > UNINSTALL_LIBMSRPC=3D'' > UNINSTALL_LIBSMBCLIENT=3D'' > UNINSTALL_LIBSMBSHAREMODES=3D'' > UNINSTALL_PAM_MODULES=3D'' > UUID_LIBS=3D'' > VFS_MODULES=3D'' > VFS_STATIC=3D'' > WINBIND_NSS=3D'' > WINBIND_NSS_EXTRA_LIBS=3D'' > WINBIND_NSS_EXTRA_OBJS=3D'' > WINBIND_NSS_LDSHFLAGS=3D'' > WINBIND_WINS_NSS=3D'' > ac_ct_AR=3D'' > ac_ct_CC=3D'gcc' > bindir=3D'${exec_prefix}/bin' > build=3D'i686-pc-linux-gnu' > build_alias=3D'' > build_cpu=3D'i686' > build_os=3D'linux-gnu' > build_vendor=3D'pc' > builddir=3D'' > configdir=3D'/etc/samba' > datadir=3D'${prefix}/share' > exec_prefix=3D'NONE' > host=3D'i686-pc-linux-gnu' > host_alias=3D'' > host_cpu=3D'i686' > host_os=3D'linux-gnu' > host_vendor=3D'pc' > includedir=3D'${prefix}/include' > infodir=3D'${prefix}/info' > libdir=3D'/usr/lib/samba' > libexecdir=3D'${exec_prefix}/libexec' > libreplace_cv_immediate_structures=3D'' > libreplacedir=3D'./lib/replace' > localstatedir=3D'/var' > lockdir=3D'/var/lib/samba' > logfilebase=3D'/var/log/samba' > mandir=3D'/usr/share/man' > oldincludedir=3D'/usr/include' > pammodulesdir=3D'${LIBDIR}/security' > piddir=3D'/var/run' > precompiled_headers=3D'' > prefix=3D'/usr' > privatedir=3D'/etc/samba' > program_transform_name=3D's,x,x,' > rootsbindir=3D'${SBINDIR}' > sbindir=3D'${exec_prefix}/sbin' > selftest_prefix=3D'' > sharedstatedir=3D'${prefix}/com' > smbtorture4_path=3D'' > swatdir=3D'/usr/share/swat' > sysconfdir=3D'${prefix}/etc' > target=3D'i686-pc-linux-gnu' > target_alias=3D'' > target_cpu=3D'i686' > target_os=3D'linux-gnu' > target_vendor=3D'pc' >=20 > ## ----------- ## > ## confdefs.h. ## > ## ----------- ## >=20 > #define CONFIG_H_IS_FROM_SAMBA 1 > #define PACKAGE_BUGREPORT "" > #define PACKAGE_NAME "" > #define PACKAGE_STRING "" > #define PACKAGE_TARNAME "" > #define PACKAGE_VERSION "" >=20 > configure: exit 77 > [root@preshs RHEL]# >=20 >=20 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba |