make error an sun solaris 5.6

Kaeidinejad, Shahram Shahram.Kaeidinejad at
Wed Sep 12 09:45:00 CEST 2001

i try to compile python-ldap-1.10alpha3 for python-2.1.1 an sun solaris 5.6
but i got  error by the make.

can you help me?

the ./configure entired:

creating cache ./config.cache
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 python... /usr/local/bin/python
checking python version... 2.1
checking python install prefix... /opt/python-2.1.1
checking for socket in -lnsl... no
checking for socket in -lnet... no
checking for socket in -lsocket... yes
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for inet_addr... yes
checking for inet_ntoa... yes
checking for connect... yes
checking for fmod... no
checking for fmod in -lm... yes
checking for floor... yes
checking for krb_mk_req... no
checking for krb_mk_req in -lkrb... yes
checking for des_setkey... no
checking for des_setkey in -ldes... no
Using LDAP libraries from /usr/site/openldap-1.2.11/lib
Using LDAP includes from /usr/site/openldap-1.2.11/include
checking for library containing ber_free... -llber
checking for library containing ldap_open... -lldap
checking for ldap_open... yes
checking how to run the C preprocessor... gcc -E
checking for ldap.h... yes
checking for lber.h... yes
checking number of arguments to ldap_set_rebind_proc()... 2
checking for ldap_kerberos_bind_s... no
checking for ldap_kerberos_bind1... no
checking for ldap_kerberos_bind1_s... no
checking for ldap_kerberos_bind2... no
checking for ldap_kerberos_bind2_s... no
checking for ldap_enable_cache... yes
checking for ldap_disable_cache... yes
checking for ldap_set_cache_options... yes
checking for ldap_destroy_cache... yes
checking for ldap_flush_cache... yes
checking for ldap_uncache_entry... yes
checking for ldap_uncache_request... yes
checking whether the LDAP type is opaque... no
checking for ldap_modrdn2_s... yes
checking for ldap_modrdn2... yes
checking for ldap_init_templates... yes
checking for disptmpl.h... yes
checking python makefile...
updating cache ./config.cache
creating ./config.status
creating Modules/Setup
creating Makefile
creating Modules/config.h
bootstrapping makefile
rm -f *.o *~
rm -f *.a tags TAGS config.c Makefile.pre python sedscript
rm -f *.so *.sl so_locations
VERSION=`/usr/local/bin/python -c "import sys; print sys.version[:3]"`; \
installdir=`/usr/local/bin/python -c "import sys; print sys.prefix"`; \
exec_installdir=`/usr/local/bin/python -c "import sys; print
sys.exec_prefix"`; \
make -f ./ VPATH=. srcdir=. \
        installdir=$installdir \
        exec_installdir=$exec_installdir \
make[1]: Entering directory
sed -n \
 -e '1s/.*/1i\\/p' \
 -e '2s%.*%# Generated automatically from by sedscript.%p' \
 -e '/^VERSION=/s/^VERSION=[    ]*\(.*\)/s%@VERSION[@]%\1%/p' \
 -e '/^CC=/s/^CC=[      ]*\(.*\)/s%@CC[@]%\1%/p' \
 -e '/^CXX=/s/^CXX=[    ]*\(.*\)/s%@CXX[@]%\1%/p' \
 -e '/^LINKCC=/s/^LINKCC=[      ]*\(.*\)/s%@LINKCC[@]%\1%/p' \
 -e '/^OPT=/s/^OPT=[    ]*\(.*\)/s%@OPT[@]%\1%/p' \
 -e '/^LDFLAGS=/s/^LDFLAGS=[    ]*\(.*\)/s%@LDFLAGS[@]%\1%/p' \
 -e '/^LDLAST=/s/^LDLAST=[      ]*\(.*\)/s%@LDLAST[@]%\1%/p' \
 -e '/^DEFS=/s/^DEFS=[  ]*\(.*\)/s%@DEFS[@]%\1%/p' \
 -e '/^LIBS=/s/^LIBS=[  ]*\(.*\)/s%@LIBS[@]%\1%/p' \
 -e '/^LIBM=/s/^LIBM=[  ]*\(.*\)/s%@LIBM[@]%\1%/p' \
 -e '/^LIBC=/s/^LIBC=[  ]*\(.*\)/s%@LIBC[@]%\1%/p' \
 -e '/^RANLIB=/s/^RANLIB=[      ]*\(.*\)/s%@RANLIB[@]%\1%/p' \
 -e '/^MACHDEP=/s/^MACHDEP=[    ]*\(.*\)/s%@MACHDEP[@]%\1%/p' \
 -e '/^SO=/s/^SO=[      ]*\(.*\)/s%@SO[@]%\1%/p' \
 -e '/^LDSHARED=/s/^LDSHARED=[  ]*\(.*\)/s%@LDSHARED[@]%\1%/p' \
 -e '/^CCSHARED=/s/^CCSHARED=[  ]*\(.*\)/s%@CCSHARED[@]%\1%/p' \
 -e '/^SGI_ABI=/s/^SGI_ABI=[    ]*\(.*\)/s%@SGI_ABI[@]%\1%/p' \
]*\(.*\)/s%@LINKFORSHARED[@]%\1%/p' \
 -e '/^prefix=/s/^prefix=\(.*\)/s%^prefix=.*%prefix=\1%/p' \
'/^exec_prefix=/s/^exec_prefix=\(.*\)/s%^exec_prefix=.*%exec_prefix=\1%/p' \
 /opt/python-2.1.1/lib/python2.1/config/Makefile >sedscript
echo "/^installdir=/s%=.*%=     /opt/python-2.1.1%" >>sedscript
echo "/^exec_installdir=/s%=.*%=/opt/python-2.1.1%" >>sedscript
echo "/^srcdir=/s%=.*%=         .%" >>sedscript
echo "/^VPATH=/s%=.*%=          .%" >>sedscript
echo "/^LINKPATH=/s%=.*%=       %" >>sedscript
echo "/^BASELIB=/s%=.*%=        %" >>sedscript
echo "/^BASESETUP=/s%=.*%=      %" >>sedscript
sed -f sedscript ./ >Makefile.pre
/opt/python-2.1.1/lib/python2.1/config/makesetup \
         -m Makefile.pre -c
/opt/python-2.1.1/lib/python2.1/config/ Setup -n
make -f Makefile do-it-again
make[2]: Entering directory
/opt/python-2.1.1/lib/python2.1/config/makesetup \
         -m Makefile.pre -c
/opt/python-2.1.1/lib/python2.1/config/ Setup -n
make[2]: Leaving directory
make[1]: Leaving directory

and the make entired:( there was to big but i cut it)
<unknown>                           0x440
<unknown>                           0xb30
<unknown>                           0xb38
<unknown>                           0xb3c
<unknown>                           0xb40
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make[1]: *** [] Error 1
make[1]: Leaving directory
make: *** [_ldapmodule-build] Error 2



More information about the python-ldap mailing list