[Samba] Installation problem of SAMBA 3.0.23a on HP-UX 11.23

Ryan Novosielski novosirj at umdnj.edu
Sun Nov 25 06:42:36 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A compile of Samba requires HP's AnsiC (non-bundled) compiler, or GCC.
At least, I'm pretty sure that's the case.

Anyhow, CIFS/9000 is pretty up-to-date these days. You might consider
not bothering and just installing that from HP.

=R

Béland wrote:
> To whom it concern,
>  
>  
> There was no problem at all with the installation of the Depot.
>  
> Before running the ./configure command I'm setting the following variables like this (as it's mentionned in the README file) :
>  
> export CFLAGS="-O -DWITH_SYSLOG -DGUEST_ACCOUNT=\\\"smbnull\\\""
> export CPPFLAGS="-I/opt/iexpress/openldap/include"
> export LDFLAGS="-L/opt/iexpress/openldap/lib"
>  
> Here is the 'configure' command that I'm using (as it's mentionned in the README file) 
>  
> ./configure \
> --sbindir=\${BINDIR} \
> --with-krb5  \
> --with-ldap \
> --with-ldapsam \
> --with-ads \
> --with-libiconv=/usr/local \
> --with-quotas   \
> --prefix=/usr/local/samba \
> --with-acl-support \
> --with-winbind \
> --with-pam \
> --with-sendfile-support \
> --with-shared-modules=idmap_rid \
> --disable-pie \
> --with-aio-support
> 
> And here is the output of that command :
>  
> SAMBA VERSION: 3.0.23a
> checking for gcc... no
> checking for cc... cc
> checking for C compiler default output file name... configure: error: C compiler
>  cannot create executables
> See `config.log' for more details.
>  
>  
> And here is the output of the config.log :
>  
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>  
> It was created by configure, which was
> generated by GNU Autoconf 2.59.  Invocation command line was
>  
>   $ ./configure --sbindir=${BINDIR} --with-krb5 --with-ldap --with-ldapsam --wit
> h-ads --with-libiconv=/usr/local --with-quotas --prefix=/usr/local/samba --with-
> acl-support --with-winbind --with-pam --with-sendfile-support --with-shared-modu
> les=idmap_rid --disable-pie --with-aio-support
>  
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>  
> hostname = trsoracle01
> uname -m = ia64
> uname -r = B.11.23
> uname -s = HP-UX
> uname -v = U
>  
> /usr/bin/uname -p = unknown
> /bin/uname -X     = unknown
>  
> /bin/arch              = unknown
> /usr/bin/arch -k       = unknown
> /usr/convex/getsysinfo = unknown
> hostinfo               = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
>  
> PATH: /usr/bin
> PATH: /usr/sbin
> PATH: /sbin
>  
> 
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>  
> configure:1901: checking for gcc
> configure:1930: result: no
> configure:1981: checking for cc
> configure:1997: found /usr/bin/cc
> configure:2007: result: cc
> configure:2171: checking for C compiler version
> configure:2174: cc --version </dev/null >&5
> (Bundled) cc: HP aC++/ANSI C B3910B A.05.50 [May 15 2003]
> configure:2177: $? = 0
> configure:2179: cc -v </dev/null >&5
> configure:2182: $? = 0
> configure:2184: cc -V </dev/null >&5
> (Bundled) cc: HP aC++/ANSI C B3910B A.05.50 [May 15 2003]
> configure:2187: $? = 0
> configure:2210: checking for C compiler default output file name
> configure:2213: cc -O -DWITH_SYSLOG -DGUEST_ACCOUNT=\"smbnull\" -D_SAMBA_BUILD_
> -I/opt/iexpress/openldap/include -L/opt/iexpress/openldap/lib conftest.c  >&5
> (Bundled) cc: warning 922: "-O" is unsupported in the bundled compiler, ignored.
> Error 100: "<command line>", line 0 # String and character constants cannot span
>  lines.
> configure:2216: $? = 2
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2254: error: C compiler cannot create executables
> See `config.log' for more details.
>  
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>  
> ac_cv_env_CC_set=''
> ac_cv_env_CC_value=''
> ac_cv_env_CFLAGS_set=set
> ac_cv_env_CFLAGS_value='-O -DWITH_SYSLOG -DGUEST_ACCOUNT=\"smbnull\"'
> ac_cv_env_CPPFLAGS_set=set
> ac_cv_env_CPPFLAGS_value=-I/opt/iexpress/openldap/include
> ac_cv_env_CPP_set=''
> ac_cv_env_CPP_value=''
> ac_cv_env_LDFLAGS_set=set
> ac_cv_env_LDFLAGS_value=-L/opt/iexpress/openldap/lib
> ac_cv_env_build_alias_set=''
> ac_cv_env_build_alias_value=''
> ac_cv_env_host_alias_set=''
> ac_cv_env_host_alias_value=''
> ac_cv_env_target_alias_set=''
> ac_cv_env_target_alias_value=''
> ac_cv_prog_ac_ct_CC=cc
> libc_cv_fpie=no
>  
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>  
> ACL_LIBS=''
> AR=''
> AUTH_LIBS=''
> AUTH_MODULES=''
> AUTH_STATIC=''
> AWK=''
> BROKEN_CC=''
> BUILD_INIPARSER=''
> BUILD_POPT=''
> CC='cc'
> CFLAGS='-O -DWITH_SYSLOG -DGUEST_ACCOUNT=\"smbnull\" -D_SAMBA_BUILD_'
> CHARSET_MODULES=''
> CHARSET_STATIC=''
> CIFSMOUNT_PROGS=''
> CONFIG_LIBS=''
> CPP=''
> CPPFLAGS='-I/opt/iexpress/openldap/include'
> CUPS_CONFIG=''
> DEFS=''
> DYNEXP=''
> ECHO_C='ECHO_N=''
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> EXTRA_ALL_TARGETS=''
> EXTRA_BIN_PROGS=''
> EXTRA_SBIN_PROGS=''
> FLAGS1=''
> HOST_OS=''
> IDMAP_LIBS=''
> IDMAP_MODULES=''
> IDMAP_STATIC=''
> INIPARSERLIBS=''
> INSTALLLIBCMD_A=''
> INSTALLLIBCMD_SH=''
> INSTALL_CIFSMOUNT=''
> INSTALL_DATA=''
> INSTALL_LIBMSRPC=''
> INSTALL_LIBSMBCLIENT=''
> INSTALL_LIBSMBSHAREMODES=''
> INSTALL_PAM_MODULES=''
> INSTALL_PROGRAM=''
> INSTALL_SCRIPT=''
> KRB5CONFIG=''
> KRB5_LIBS=''
> LDAP_LIBS=''
> LDFLAGS='-L/opt/iexpress/openldap/lib'
> LDSHFLAGS=''
> LIBMSRPC=''
> LIBMSRPC_SHARED=''
> LIBOBJS=''
> LIBS=''
> LIBSMBCLIENT=''
> LIBSMBCLIENT_SHARED=''
> LIBSMBSHAREMODES=''
> LIBSMBSHAREMODES_SHARED=''
> LIBUNWIND_PTRACE=''
> LTLIBOBJS=''
> NSCD_LIBS=''
> NSSSONAMEVERSIONSUFFIX=''
> OBJEXT=''
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME=''
> PACKAGE_STRING=''
> PACKAGE_TARNAME=''
> PACKAGE_VERSION=''
> PAM_MODULES=''
> PASSDB_LIBS=''
> PATH_SEPARATOR=':'
> PDB_MODULES=''
> PDB_STATIC=''
> PERL=''
> PICFLAGS=''
> PICSUFFIX=''
> PIE_CFLAGS=''
> PIE_LDFLAGS=''
> POPTLIBS=''
> PRINT_LIBS=''
> PYTHON=''
> ROFF=''
> RPC_MODULES=''
> RPC_STATIC=''
> SHELL='/bin/sh'
> SHLD=''
> SHLIBEXT=''
> SHLIB_PROGS=''
> SMBD_LIBS=''
> SMBLDAP=''
> SMBLDAPUTIL=''
> SMBWRAPPER=''
> SMBWRAP_INC=''
> SMBWRAP_OBJS=''
> SOCKWRAP=''
> SONAMEFLAG=''
> TERMLDFLAGS=''
> TERMLIBS=''
> UNINSTALLLIBCMD_A=''
> UNINSTALLLIBCMD_SH=''
> UNINSTALL_CIFSMOUNT=''
> UNINSTALL_LIBMSRPC=''
> UNINSTALL_LIBSMBCLIENT=''
> UNINSTALL_PAM_MODULES=''
> VFS_MODULES=''
> VFS_STATIC=''
> WINBIND_NSS=''
> WINBIND_NSS_EXTRA_LIBS=''
> WINBIND_NSS_EXTRA_OBJS=''
> WINBIND_NSS_LDSHFLAGS=''
> WINBIND_WINS_NSS=''
> ac_ct_AR=''
> ac_ct_CC='cc'
> bindir='${exec_prefix}/bin'
> build=''
> build_alias=''
> build_cpu=''
> build_os=''
> build_vendor=''
> builddir=''
> configdir='${LIBDIR}'
> datadir='${prefix}/share'
> exec_prefix='NONE'
> host=''
> host_alias=''
> host_cpu=''
> host_os=''
> host_vendor=''
> includedir='${prefix}/include'
> infodir='${prefix}/info'
> libc_cv_fpie='no'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localstatedir='${prefix}/var'
> lockdir='${VARDIR}/locks'
> logfilebase='${VARDIR}'
> mandir='${prefix}/man'
> oldincludedir='/usr/include'
> pammodulesdir='${LIBDIR}/security'
> piddir='${VARDIR}/locks'
> prefix='/usr/local/samba'
> privatedir='${prefix}/private'
> program_transform_name='s,x,x,'
> rootsbindir='${SBINDIR}'
> sbindir='${BINDIR}'
> selftest_prefix='./'
> sharedstatedir='${prefix}/com'
> smbtorture4_path=''
> swatdir='${prefix}/swat'
> sysconfdir='${prefix}/etc'
> target=''
> target_alias=''
> target_cpu=''
> target_os=''
> target_vendor=''
>  
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>  
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_NAME ""
> #define PACKAGE_STRING ""
> #define PACKAGE_TARNAME ""
> #define PACKAGE_VERSION ""
>  
> configure: exit 77
> 
>  
>  
> Best Regards,
>  
> Richard Beland
> 
> 
> 
>  
>  


- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHSRlTmb+gadEcsb4RApUxAJ9I+DVU6l1B1BgSOlkD+TjVzk9a9QCgsajU
Ygx/kkfR53cuDxJLP9p1SfQ=
=f0nl
-----END PGP SIGNATURE-----


More information about the samba mailing list