[ldapvi] cannot compile on solaris

silly_sad sad at bankir.ru
Thu Mar 29 10:25:31 CEST 2007


Hi all

$> uname -a
SunOS 5.10 Generic_118844-26 i86pc i386 i86pc

$> ./configure
checking for a BSD-compatible install... ./install-sh -c
checking for gcc... gcc
checking for C compiler default output file name... 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 mkdtemp... no
checking for on_exit... no
checking for main in -lsocket... yes
checking for main in -lresolv... yes
checking for main in -llber... no
checking for main in -lldap... yes
checking for ldap_initialize in -lldap... no
configure: error: libldap present but obsolete

$> CC=cc ./configure
checking for a BSD-compatible install... ./install-sh -c
checking for gcc... cc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.

$> cat config.log

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = crisp.localnet.antora
uname -m = i86pc
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_118844-26

/usr/bin/uname -p = i386
/bin/uname -X     = System = SunOS
Node = crisp.localnet.antora
Release = 5.10
KernelID = Generic_118844-26
Machine = i86pc
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 2

/bin/arch              = i86pc
/usr/bin/arch -k       = i86pc
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/cms1/bin
PATH: /opt/SUNWspro/bin
PATH: /opt/SUNWspro/sfw/bin
PATH: /opt/csw/postgresql/bin
PATH: /usr/xpg6/bin
PATH: /usr/xpg4/bin
PATH: /usr/ucb
PATH: /usr/openwin/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/csw/bin
PATH: /usr/local/bin
PATH: /usr/sfw/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /opt/csw/sbin
PATH: /usr/local/sbin
PATH: /usr/sfw/sbin
PATH: /opt/csw/bin
PATH: /opt/csw/i386-pc-solaris2.8/bin
PATH: /opt/csw/gcc3/bin
PATH: /opt/csw/bdb43/bin
PATH: /opt/csw/bdb4/bin
PATH: /usr/X11/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1354: checking for a BSD-compatible install
configure:1409: result: ./install-sh -c
configure:1468: checking for gcc
configure:1494: result: cc
configure:1738: checking for C compiler version
configure:1741: cc --version </dev/null >&5
cc: Warning: option -- passed to ld
usage: cc [ options] files.  Use 'cc -flags' for details
configure:1744: $? = 1
configure:1746: cc -v </dev/null >&5
usage: cc [ options] files.  Use 'cc -flags' for details
configure:1749: $? = 1
configure:1751: cc -V </dev/null >&5
cc: Sun C 5.7 Patch 117837-04 2005/05/11
usage: cc [ options] files.  Use 'cc -flags' for details
configure:1754: $? = 1
configure:1777: checking for C compiler default output file name
configure:1780: cc -Wno-parentheses   conftest.c  >&5
cc: illegal option -Wno-parentheses
configure:1783: $? = 1
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:1822: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
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

## ----------------- ##
## Output variables. ##
## ----------------- ##

CC='cc'
CFLAGS='-Wno-parentheses'
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
SHELL='/bin/bash'
ac_ct_CC='cc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""

configure: exit 77



More information about the ldapvi mailing list