[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: help me



Could u please send acopy of your Make-common file so
that the problem can be looked over.

Prashanth

--- "T.Subramanian" <t_subbu@yahoo.com> wrote: > Hi,
> 	I am new to LDAP and am running into trouble while
> configuring open-ldap server.  
> My machine is Solaris, and i  followed  the
> configuration procedures as provided in INSTALL
> file. while starting to configure it said
> "pthread_create has some incompactability with
> pthread.h --   look into docs/hints for further
> rederence".   Some hints were also given to overcome
> this under <open-ldap_
> HOME>/docs/install/hints/Solaris then i tried with 
> 
> the command as given in hints :  env LIBS="-lpthread
> -lposix4" ./configure  .   I got the following error
> 
> configure: warning: skipping automatic checking for
> NDBM, must be manually enabl
> ed.
> configure: warning: could not find suitable LDBM
> backend
> configure: error: select appropriate LDBM options or
> disable
> 
> 
> Here this error i am unable to proceed futher I am
> also attaching config.log file and the verbose
> generated and  when i tried to run the 
> command : env LIBS="-lpthread -lposix4" ./configure 
> 
> 
> Can anyone help me to overcome this problem.  Thanks
> for your reply
> 
> Regards,
> Subramanian T
> > This file contains any messages produced by
> compilers while
> running configure, to aid debugging if configure
> makes a mistake.
> 
> configure:624: checking for a BSD compatible install
> configure:681: checking whether build environment is
> sane
> configure:742: checking for mawk
> configure:742: checking for gawk
> configure:742: checking for nawk
> configure:772: checking whether make sets ${MAKE}
> configure:812: checking for working aclocal
> configure:825: checking for working autoconf
> configure:838: checking for working automake
> configure:851: checking for working autoheader
> configure:864: checking for working makeinfo
> configure:884: checking for gnutar
> configure:884: checking for gtar
> configure:884: checking for tar
> configure:925: checking configure arguments
> configure:1648: checking host system type
> configure:1723: checking for a BSD compatible
> install
> configure:1804: checking build system type
> configure:1845: checking for ranlib
> configure:1875: checking for gcc
> configure:1988: checking whether the C compiler (gcc
>   ) works
> configure:2004: gcc -o conftest    conftest.c
> -lpthread -lposix4 1>&5
> configure:2030: checking whether the C compiler (gcc
>   ) is a cross-compiler
> configure:2035: checking whether we are using GNU C
> configure:2044: gcc -E conftest.c
> configure:2063: checking whether gcc accepts -g
> configure:2106: checking for ld used by GCC
> configure:2169: checking if the linker
> (/usr/ccs/bin/ld) is GNU ld
> configure:2185: checking for BSD-compatible nm
> configure:2222: checking whether ln -s works
> ltconfig:603: checking for object suffix
> ltconfig:604: gcc -c -g -O2  conftest.c 1>&5
> ltconfig:629: checking for executable suffix
> ltconfig:630: gcc -o conftest -g -O2   conftest.c
> -lpthread -lposix4 1>&5
> ltconfig:776: checking if gcc PIC flag -fPIC works
> ltconfig:777: gcc -c -g -O2 -fPIC -DPIC  conftest.c
> 1>&5
> ltconfig:829: checking if gcc supports -c -o file.o
> ltconfig:830: gcc -c -g -O2 -o out/conftest2.o 
> conftest.c 1>&5
> ltconfig:862: checking if gcc supports -c -o file.lo
> ltconfig:863: gcc -c -g -O2 -c -o conftest.lo 
> conftest.c 1>&5
> ltconfig:914: checking if gcc supports -fno-rtti
> -fno-exceptions
> ltconfig:915: gcc -c -g -O2 -fno-rtti
> -fno-exceptions -c conftest.c  conftest.c 1>&5
> ltconfig:958: checking if gcc static flag -static
> works
> ltconfig:959: gcc -o conftest -g -O2   -static
> conftest.c -lpthread -lposix4 1>&5
> ld: fatal: library -lpthread: not found
> ld: fatal: library -lposix4: not found
> ld: fatal: File processing errors. No output written
> to conftest
> ltconfig:1592: checking if global_symbol_pipe works
> ltconfig:1593: gcc -c -g -O2  conftest.c 1>&5
> ltconfig:1596: eval "/usr/ccs/bin/nm -p conftest.o |
> sed -n -e 's/^.*[ 	]\([BDT]\)[ 	][ 
> ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' >
> conftest.nm"
> ltconfig:1648: gcc -o conftest -g -O2 -fno-builtin
> -fno-rtti -fno-exceptions   conftest.c conftstm.o
> 1>&5
> configure:2352: checking for sendmail
> configure:2388: checking for vi
> configure:2424: checking for finger
> configure:2472: checking how to run the C
> preprocessor
> configure:2493: gcc -E  conftest.c >/dev/null
> 2>conftest.out
> configure:2553: checking for AIX
> configure:2577: checking for POSIXized ISC
> configure:2599: checking for minix/config.h
> configure:2609: gcc -E  conftest.c >/dev/null
> 2>conftest.out
> configure:2605: minix/config.h: No such file or
> directory
> configure: failed program was:
> #line 2604 "configure"
> #include "confdefs.h"
> #include <minix/config.h>
> configure:2648: checking for be_app in -lbe
> configure:2667: gcc -o conftest -g -O2   conftest.c
> -lbe -lroot -lnet -lpthread -lposix4 1>&5
> ld: fatal: library -lbe: not found
> ld: fatal: library -lroot: not found
> ld: fatal: library -lnet: not found
> ld: fatal: File processing errors. No output written
> to conftest
> configure: failed program was:
> #line 2656 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an
> error.  */
> /* We use char because int might match the return
> type of a gcc2
>     builtin and then its argument prototype would
> still apply.  */
> char be_app();
> 
> int main() {
> be_app()
> ; return 0; }
> configure:2693: checking for gcc option to accept
> ANSI C
> configure:2747: gcc  -c -g -O2  conftest.c 1>&5
> configure:2778: checking for socket
> configure:2807: gcc -o conftest -g -O2   conftest.c
> -lpthread -lposix4 1>&5
> Undefined			first referenced
>  symbol  			    in file
> socket                             
> /var/tmp/cc0L4Kgr1.o
> ld: fatal: Symbol referencing errors. No output
> written to conftest
> configure: failed program was:
> #line 2783 "configure"
> #include "confdefs.h"
> /* System header to define __stub macros and
> hopefully few prototypes,
>     which can conflict with char socket(); below. 
> */
> #include <assert.h>
> /* Override any gcc2 internal prototype to avoid an
> error.  */
> /* We use char because int might match the return
> type of a gcc2
>     builtin and then its argument prototype would
> still apply.  */
> char socket();
> char (*f)();
> 
> int main() {
> 
> /* The GNU C library defines this for functions
> which it implements
>     to always fail with ENOSYS.  Some functions are
> actually named
>     something starting with __ and the normal name
> is an alias.  */
> #if defined (__stub_socket) || defined
> (__stub___socket)
> choke me
> #else
> f = socket;
> #endif
> 
> ; return 0; }
> configure:2826: checking for main in -lsocket
> configure:2841: gcc -o conftest -g -O2   conftest.c
> -lsocket  -lpthread -lposix4 1>&5
> configure:2869: checking for main in -lnet
> configure:2884: gcc -o conftest -g -O2   conftest.c
> -lnet  -lsocket -lpthread -lposix4 1>&5
> ld: fatal: library -lnet: not found
> ld: fatal: File processing errors. No output written
> to conftest
> configure: failed program was:
> #line 2877 "configure"
> #include "confdefs.h"
> 
> int main() {
> main()
> ; return 0; }
> configure:2912: checking for main in -lnsl_s
> configure:2927: gcc -o conftest -g -O2   conftest.c
> -lnsl_s  -lsocket -lpthread -lposix4 1>&5
> ld: fatal: library -lnsl_s: not found
> ld: fatal: File processing errors. No output written
> to conftest
> configure: failed program was:
> #line 2920 "configure"
> #include "confdefs.h"
> 
> int main() {
> main()
> ; return 0; }
> configure:2955: checking for main in -lnsl
> configure:2970: gcc -o conftest -g -O2   conftest.c
> -lnsl  -lsocket -lpthread -lposix4 1>&5
> configure:2998: checking for socket in -linet
> configure:3017: gcc -o conftest -g -O2   conftest.c
> -linet  -lnsl -lsocket -lpthread -lposix4 1>&5
> ld: fatal: library -linet: not found
> ld: fatal: File processing errors. No output written
> to conftest
> configure: failed program was:
> #line 3006 "configure"
> 
=== message truncated ===> checking for a BSD
compatible install...
> build/install-sh -c
> checking whether build environment is sane... yes
> checking for mawk... no
> checking for gawk... no
> checking for nawk... nawk
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking for gnutar... no
> checking for gtar... no
> checking for tar... tar
> checking configure arguments... done
> checking host system type... sparc-sun-solaris2.6
> checking for a BSD compatible install...
> build/install-sh -c
> checking build system type... sparc-sun-solaris2.6
> checking for ranlib... ranlib
> checking for gcc... gcc
> checking whether the C compiler (gcc   ) works...
> yes
> checking whether the C compiler (gcc   ) is a
> cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> 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/ccs/bin/nm -p
> checking whether ln -s works... yes
> checking for object suffix... o
> checking for executable suffix... no
> 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
> ... yes
> checking if gcc static flag -static works... none
> 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/ccs/bin/nm -p
> output... ok
> checking how to hardcode library paths into
> programs... immediate
> checking for /usr/ccs/bin/ld option to reload object
> files... -r
> checking dynamic linker characteristics...
> solaris2.6 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> not updating unwritable cache ./config.cache
> checking for sendmail... /usr/lib/sendmail
> checking for vi... /usr/bin/vi
> checking for finger... /usr/bin/finger
> checking how to run the C preprocessor... gcc -E
> checking for AIX... no
> checking for POSIXized ISC... no
> checking for minix/config.h... no
> checking for be_app in -lbe... no
> checking for gcc option to accept ANSI C... none
> needed
> checking for socket... no
> checking for main in -lsocket... yes
> checking for main in -lnet... no
> checking for main in -lnsl_s... no
> checking for main in -lnsl... yes
> checking for socket in -linet... no
> checking for main in -lgen... yes
> checking for res_search... no
> checking for res_search in -lbind... no
> checking for res_search in -lresolv... yes
> checking for sigset in -lV3... no
> checking for kerberosIV/krb.h... no
> checking for kerberosIV/des.h... no
> checking for krb.h... no
> checking for des.h... no
> checking for pthread.h... yes
> checking for sched.h... yes
> checking POSIX thread version... final
> checking for LinuxThreads... no
> checking for pthread_create... yes
> checking for sched_yield... yes
> checking for pthread_yield... no
> checking for pthread_kill... yes
> checking for pthread_detach with <pthread.h>... yes
> checking for pthread_setconcurrency... no
> checking for pthread_getconcurrency... no
> checking for thr_setconcurrency... yes
> checking for thr_getconcurrency... yes
> checking if pthread_create() works... yes
> checking if select yields when using pthreads... yes
> checking for thread specific errno... yes
> checking for DB2 library... checking for db_open in
> -ldb... no
> no
> checking for db.h... no
> checking for Berkeley DB2... no
> checking for Berkeley DB library... checking for
> dbopen... no
> checking for dbopen in -ldb1... no
> checking for dbopen in -ldb... no
> no
> checking for db_185.h... no
> checking for Berkeley DB... no
> checking for GDBM library... checking for
> gdbm_open... no
> checking for gdbm_open in -lgdbm... no
> no
> checking for gdbm.h... no
> checking for db... no
> checking for MDBM library... checking for
> mdbm_set_chain... no
> checking for mdbm_set_chain in -lmdbm... no
> no
> checking for mdbm.h... no
> checking for db... no
> > 


__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/