Hello,
I am new in this mailing list, and I am new in using CyrusSASL also, I tried to build it on HP-UX 11.11 but I got a problem in make, I follow this steps:
at the end you can see "Configuration Complete. Type 'make' to build."
so I execute make and then I got what is in the attachment "MyMakeLog.txt"
I can't locate the problem never correct it, please help me, I was trying with several manner to build it but I can't.
PS: I am using gcc-4.2.3
Best Regards
--
------------------------------------------------
عبد المنعم كوكة
Abdelmonam Kouka
Software Engineer
GNU/Linux user #450141
GPG Fingerprint: EC21 1E4E 5B0C E4E7 0D64 3305 0D62 75C9 2C15 16E0
================================================
"Some people see things as they are and say why.
I dream things that never were and say why not?"
[George Bernard Shaw]
================================================
http://www.ubuntume.com/
http://arabeyes.org/
http://www.ubuntu-tn.org/
I am new in this mailing list, and I am new in using CyrusSASL also, I tried to build it on HP-UX 11.11 but I got a problem in make, I follow this steps:
gunzip cyrus-sasl-2.1.22.tar.gz
tar xvf cyrus-sasl-2.1.22.tar
cd cyrus-sasl-2.1.22
./configure --with-bdb-libdir=/usr/local/BerkeleyDB.4.7/lib/ --with-bdb-incdir=/usr/local/BerkeleyDB.4.7/include/ --with-openssl=/usr/local/ssl/ --with-ldap=/alcatel/kouka/openldap-2.3.39
at the end you can see "Configuration Complete. Type 'make' to build."
so I execute make and then I got what is in the attachment "MyMakeLog.txt"
I can't locate the problem never correct it, please help me, I was trying with several manner to build it but I can't.
PS: I am using gcc-4.2.3
Best Regards
--
------------------------------------------------
عبد المنعم كوكة
Abdelmonam Kouka
Software Engineer
GNU/Linux user #450141
GPG Fingerprint: EC21 1E4E 5B0C E4E7 0D64 3305 0D62 75C9 2C15 16E0
================================================
"Some people see things as they are and say why.
I dream things that never were and say why not?"
[George Bernard Shaw]
================================================
http://www.ubuntume.com/
http://arabeyes.org/
http://www.ubuntu-tn.org/
hpval178,root,sys > ./configure --with-bdb-libdir=/usr/local/BerkeleyDB.4.7/lib/ --with-bdb-incdir=/usr/local/BerkeleyDB.4.7/include/ --with-openssl=/usr/local/ssl/ --with-ldap=/alcatel/kouka/openldap-2.3.39 configure: creating cache ./config.cache checking build system type... hppa2.0w-hp-hpux11.11 checking host system type... hppa2.0w-hp-hpux11.11 checking target system type... hppa2.0w-hp-hpux11.11 checking for a BSD-compatible install... config/install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for gawk... (cached) awk checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... config/install-sh -c checking for __attribute__... no checking for runpath switch... none checking for ranlib... ranlib checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for BSD-compatible nm... /usr/local/bin/nm -B updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/local/bin/nm -B output... ok checking how to hardcode library paths into programs... relink checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... hpux11.11 dld.sl checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for objdir... .libs creating libtool updating cache ./config.cache configure: loading cache ./config.cache checking for connect... yes checking for res_search... yes checking for dn_expand... yes checking for dns_lookup... no checking DB path to use... /etc/sasldb2 checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking DB library to use... berkeley checking if Berkeley DB handle is kept open in SASLDB... no checking for dlopen in -ldl... no checking /dev/random to use... /dev/random checking for nm... /usr/local/bin/nm -B checking for underscore before symbols... no checking for syslog... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking pam/pam_appl.h usability... no checking pam/pam_appl.h presence... no checking for pam/pam_appl.h... no checking for pam_start... no checking if I should include saslauthd... /var/state/saslauthd checking to include Courier authdaemond support... /dev/null checking if I should include pwcheck... no checking if I should include the alwaystrue verifier... no checking if we should enable sasl_checkapop... enabled checking CRAM-MD5... enabled checking for long... yes checking size of long... 4 checking what directory libraries are found in... lib checking for RSAPublicEncrypt in -lrsaref... no checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking for EVP_DigestInit in -lcrypto... yes checking for OpenSSL... yes checking for des_cbc_encrypt in -lcrypto... no checking for DES_cbc_encrypt in -lcrypto... yes checking openssl/des.h usability... yes checking openssl/des.h presence... yes checking for openssl/des.h... yes checking DIGEST-MD5... enabled checking OTP... enabled checking for opiechallenge in -lopie... no checking for OPIE... no checking SRP... disabled checking KERBEROS_V4... disabled checking for crypt... yes checking gssapi.h usability... yes checking gssapi.h presence... yes checking for gssapi.h... yes checking for res_search in -lresolv... no checking for gss_unwrap in -lgssapi... no checking for krb5int_getspecific in -lkrb5support... no checking for gss_unwrap in -lgssapi_krb5... no checking for csf_gss_acq_user in -lgss... no checking for csf_gss_acq_user in -lgss... no checking for gss_unwrap in -lgss... yes checking GSSAPI... with implementation seam checking for res_search in -lresolv... (cached) no checking for gsskrb5_register_acceptor_identity... no checking to use mutexes aroung GSS calls... no checking PLAIN... enabled checking ANONYMOUS... enabled checking LOGIN... disabled checking NTLM... disabled checking PASSDSS... disabled checking SQL... disabled checking LDAPDB... disabled checking for dmalloc library... no checking for sfio library... no checking for getsubopt... yes checking for snprintf... yes checking for vsnprintf... yes checking for inet_aton in -lresolv... no checking for getaddrinfo... yes checking for gai_strerror... yes checking for getnameinfo... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for pid_t... yes checking return type of signal handlers... void checking whether time.h and sys/time.h may both be included... yes checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking des.h usability... no checking des.h presence... no checking for des.h... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking paths.h usability... no checking paths.h presence... no checking for paths.h... no checking for strings.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for inttypes.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sysexits.h usability... yes checking sysexits.h presence... yes checking for sysexits.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking whether you have ss_family in struct sockaddr_storage... yes checking whether you have sa_len in struct sockaddr... no checking for socklen_t... yes checking for gethostname... yes checking for getdomainname... yes checking for getpwnam... yes checking for getspnam... no checking for gettimeofday... no checking for inet_aton... yes checking for memcpy... yes checking for mkdir... yes checking for select... no checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for jrand48... yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating sasldb/Makefile config.status: creating plugins/Makefile config.status: creating lib/Makefile config.status: creating utils/Makefile config.status: creating doc/Makefile config.status: creating sample/Makefile config.status: creating java/Makefile config.status: creating java/CyrusSasl/Makefile config.status: creating java/Test/Makefile config.status: creating java/javax/Makefile config.status: creating java/javax/security/Makefile config.status: creating java/javax/security/auth/Makefile config.status: creating java/javax/security/auth/callback/Makefile config.status: creating pwcheck/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands configure: configuring in saslauthd configure: running /bin/sh './configure' --prefix=/usr/local '--with-bdb-libdir=/usr/local/BerkeleyDB.4.7/lib/' '--with-bdb-incdir=/usr/local/BerkeleyDB.4.7/include/' '--with-openssl=/usr/local/ssl/' '--with-ldap=/alcatel/kouka/openldap-2.3.39' 'CC=gcc' --cache-file=.././config.cache --srcdir=. configure: loading cache .././config.cache checking build system type... (cached) hppa2.0w-hp-hpux11.11 checking host system type... (cached) hppa2.0w-hp-hpux11.11 checking for a BSD-compatible install... config/install-sh -c checking whether build environment is sane... yes checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... (cached) gcc -E checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for a BSD-compatible install... config/install-sh -c checking for __attribute__... (cached) no checking for runpath switch... none checking for connect... (cached) yes checking for res_search... (cached) yes checking for dn_expand... (cached) yes checking for dns_lookup... (cached) no checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) no checking for unistd.h... (cached) yes checking for long... (cached) yes checking size of long... (cached) 4 checking what directory libraries are found in... (cached) lib checking for RSAPublicEncrypt in -lrsaref... (cached) no checking for openssl/evp.h... (cached) yes checking for EVP_DigestInit in -lcrypto... (cached) yes checking for OpenSSL... yes checking for des_cbc_encrypt in -lcrypto... (cached) no checking for DES_cbc_encrypt in -lcrypto... (cached) yes checking for openssl/des.h... (cached) yes checking KERBEROS_V4... disabled checking for crypt... (cached) yes checking for gssapi.h... (cached) yes checking for res_search in -lresolv... (cached) no checking for gss_unwrap in -lgssapi... (cached) no checking for krb5int_getspecific in -lkrb5support... (cached) no checking for gss_unwrap in -lgssapi_krb5... (cached) no checking for csf_gss_acq_user in -lgss... no checking for csf_gss_acq_user in -lgss... no checking for gss_unwrap in -lgss... (cached) yes checking GSSAPI... with implementation seam checking for res_search in -lresolv... (cached) no checking for gsskrb5_register_acceptor_identity... (cached) no checking for crypt... (cached) yes checking for pam_start in -lpam... yes checking for security/pam_appl.h... (cached) yes checking for PAM support... yes checking for inet_aton in -lresolv... (cached) no checking to include LDAP support... /alcatel/kouka/openldap-2.3.39 checking for ldap_initialize in -lldap... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for fcntl.h... (cached) yes checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking for strings.h... (cached) yes checking for syslog.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/uio.h... (cached) yes checking for an ANSI C-conforming const... (cached) yes checking for pid_t... (cached) yes checking whether gcc implements __func__... yes checking return type of signal handlers... (cached) void checking for gethostname... (cached) yes checking for mkdir... (cached) yes checking for socket... (cached) yes checking for strdup... (cached) yes checking for getspnam... (cached) no checking for getuserpw... no checking for strlcat... no checking for strlcpy... no checking for getaddrinfo... (cached) yes checking for getnameinfo... (cached) yes checking whether you have ss_family in struct sockaddr_storage... (cached) yes checking whether you have sa_len in struct sockaddr... (cached) no checking for socklen_t... (cached) yes updating cache .././config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating saslauthd.h config.status: executing depfiles commands Configuration Complete. Type 'make' to build.
hpval178,root,sys > make No suffix list. make all-recursive No suffix list. Making all in include if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/ssl//include -Wall -W -g -O2 -MT makemd5.o -MD -MP -MF ".deps/makemd5.Tpo" \ -c -o makemd5.o `test -f 'makemd5.c' || echo './'`makemd5.c; \ then mv ".deps/makemd5.Tpo" ".deps/makemd5.Po"; \ else rm -f ".deps/makemd5.Tpo"; exit 1; \ fi /bin/sh ../libtool --mode=link gcc -Wall -W -g -O2 -L/usr/local/ssl//lib -o makemd5 makemd5.o mkdir .libs gcc -Wall -W -g -O2 -L/usr/local/ssl//lib -o makemd5 makemd5.o rm -f md5global.h ./makemd5 md5global.h Making all in sasldb if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/ssl//include -Wall -W -g -O2 -MT allockey.lo -MD -MP -MF ".deps/allockey.Tpo" \ -c -o allockey.lo `test -f 'allockey.c' || echo './'`allockey.c; \ then mv ".deps/allockey.Tpo" ".deps/allockey.Plo"; \ else rm -f ".deps/allockey.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/ssl//include -Wall -W -g -O2 -MT allockey.lo -MD -MP -MF .deps/allockey.Tpo -c allockey.c -fPIC -DPIC -o allockey.lo allockey.c: In function '_sasldb_putsecret': allockey.c:191: warning: pointer targets in passing argument 6 of '_sasldb_putdata' differ in signedness allockey.c: In function '__sasldb_internal_list': allockey.c:197: warning: unused parameter 'rock' if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/ssl//include -Wall -W -g -O2 -MT db_berkeley.lo -MD -MP -MF ".deps/db_berkeley.Tpo" \ -c -o db_berkeley.lo `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \ then mv ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Plo"; \ else rm -f ".deps/db_berkeley.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/ssl//include -Wall -W -g -O2 -MT db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c db_berkeley.c -fPIC -DPIC -o db_berkeley.lo /bin/sh ../libtool --mode=link gcc -Wall -W -g -O2 -L/usr/local/ssl//lib -o libsasldb.la allockey.lo db_berkeley.lo mkdir .libs ar cru .libs/libsasldb.al allockey.lo db_berkeley.lo ranlib .libs/libsasldb.al creating libsasldb.la (cd .libs && rm -f libsasldb.la && ln -s ../libsasldb.la libsasldb.la) if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/ssl//include -Wall -W -g -O2 -MT db_berkeley.o -MD -MP -MF ".deps/db_berkeley.Tpo" \ -c -o db_berkeley.o `test -f 'db_berkeley.c' || echo './'`db_berkeley.c; \ then mv ".deps/db_berkeley.Tpo" ".deps/db_berkeley.Po"; \ else rm -f ".deps/db_berkeley.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/BerkeleyDB.4.7/include/ -I/usr/local/ssl//include -Wall -W -g -O2 -MT allockey.o -MD -MP -MF ".deps/allockey.Tpo" \ -c -o allockey.o `test -f 'allockey.c' || echo './'`allockey.c; \ then mv ".deps/allockey.Tpo" ".deps/allockey.Po"; \ else rm -f ".deps/allockey.Tpo"; exit 1; \ fi allockey.c: In function '_sasldb_putsecret': allockey.c:191: warning: pointer targets in passing argument 6 of '_sasldb_putdata' differ in signedness allockey.c: In function '__sasldb_internal_list': allockey.c:197: warning: unused parameter 'rock' ar cru .libs/libsasldb.a db_berkeley.o allockey.o Making all in plugins Make: line 791: syntax error. Stop. *** Error exit code 1 Stop. *** Error exit code 1 Stop.