Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Situation: attempting to configure the Postgresql odbc driver psqlodbc-09.00.0200 on Solaris 10 u9 x64 i386 using the 32-bit libraries. Downloaded the unixodbc 2.2.14 Solaris package from the Downloads section of http://www.unixodbc.org/ and installed it with pkgadd; this went off without errors. Then downloaded the PostgreSQL ODBC driver from http://www.postgresql.org/ftp/odbc/versions/src/ (for more info see http://psqlodbc.projects.postgresql.org/ ), unpacked it and ran ./configure but received an error. Now looking for solution.
- ./configure results in shell:
- ./configure --with-unixodbc=/usr/local/bin/odbc_config 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... nawk
- checking whether make sets $(MAKE)... yes
- checking whether to enable maintainer-specific portions of Makefiles... no
- configure: using /usr/local/include -L/usr/local/lib -lodbc
- checking for style of include used by make... GNU
- checking for gcc... gcc
- checking for C compiler default output file name... a.out
- checking whether the C compiler works... configure: error: cannot run C compiled programs.
- If you meant to cross compile, use `--host'.
- See `config.log' for more details.
- config.log contents:
- This file contains any messages produced by compilers while
- running configure, to aid debugging if configure makes a mistake.
- It was created by psqlodbc configure 09.00.0200, which was
- generated by GNU Autoconf 2.60. Invocation command line was
- $ ./configure --with-unixodbc=/usr/local/bin/odbc_config --with-unixodbc=/usr/local/bin/odbcinst --with-unixodbc=/usr/local/lib/libodbc.so.1
- ## --------- ##
- ## Platform. ##
- ## --------- ##
- hostname = unknown
- uname -m = i86pc
- uname -r = 5.10
- uname -s = SunOS
- uname -v = Generic_142910-17
- /usr/bin/uname -p = i386
- /bin/uname -X = System = SunOS
- Node = unknown
- Release = 5.10
- KernelID = Generic_142910-17
- Machine = i86pc
- BusType = <unknown>
- Serial = <unknown>
- Users = <unknown>
- OEM# = 0
- Origin# = 1
- NumCPU = 1
- /bin/arch = i86pc
- /usr/bin/arch -k = i86pc
- /usr/convex/getsysinfo = unknown
- /usr/bin/hostinfo = unknown
- /bin/machine = unknown
- /usr/bin/oslevel = unknown
- /bin/universe = unknown
- PATH: /usr/sbin
- PATH: /usr/bin
- PATH: /usr/openwin/bin
- PATH: /usr/ucb
- PATH: //bin
- PATH: /usr/sbin
- PATH: /usr/bin
- PATH: /root/bin
- PATH: /usr/local/bin
- PATH: /usr/local/sbin
- PATH: /usr/sfw/lib
- PATH: /usr/sfw/libexec
- PATH: /bin
- PATH: /sbin
- PATH: /opt/csw/bin
- PATH: /opt/csw/sbin
- PATH: /opt/csw/gcc3/bin
- PATH: /usr/sfw/sbin
- PATH: /usr/sfw/bin
- PATH: /opt/csw/mysql15/bin
- PATH: /usr/ccs/bin
- PATH: /usr/local/lib
- ## ----------- ##
- ## Core tests. ##
- ## ----------- ##
- configure:1991: checking for a BSD-compatible install
- configure:2047: result: config/install-sh -c
- configure:2058: checking whether build environment is sane
- configure:2101: result: yes
- configure:2166: checking for gawk
- configure:2196: result: no
- configure:2166: checking for mawk
- configure:2196: result: no
- configure:2166: checking for nawk
- configure:2182: found /usr/bin/nawk
- configure:2193: result: nawk
- configure:2204: checking whether make sets $(MAKE)
- configure:2225: result: yes
- configure:2412: checking whether to enable maintainer-specific portions of Makefiles
- configure:2421: result: no
- configure:2624: using
- configure:2643: checking for style of include used by make
- configure:2671: result: GNU
- configure:2744: checking for gcc
- configure:2771: result: gcc
- configure:3009: checking for C compiler version
- configure:3016: gcc --version >&5
- gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
- Copyright (C) 2004 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- configure:3019: $? = 0
- configure:3026: gcc -v >&5
- Reading specs from /usr/sfw/lib/../lib/gcc/i386-pc-solaris2.10/3.4.3/specs
- Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
- Thread model: posix
- gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
- configure:3029: $? = 0
- configure:3036: gcc -V >&5
- gcc: `-V' option must have argument
- configure:3039: $? = 1
- configure:3062: checking for C compiler default output file name
- configure:3089: gcc -I conftest.c >&5
- gcc: no input files
- configure:3092: $? = 1
- configure: failed program was:
- | /* confdefs.h. */
- | #define PACKAGE_NAME "psqlodbc"
- | #define PACKAGE_TARNAME "psqlodbc"
- | #define PACKAGE_VERSION "09.00.0200"
- | #define PACKAGE_STRING "psqlodbc 09.00.0200"
- | #define PACKAGE_BUGREPORT "[email protected]"
- | #define PACKAGE "psqlodbc"
- | #define VERSION "09.00.0200"
- | #define WITH_UNIXODBC 1
- | /* end confdefs.h. */
- |
- | int
- | main ()
- | {
- |
- | ;
- | return 0;
- | }
- configure:3131: error: C compiler cannot create executables
- See `config.log' for more details.
- ## ---------------- ##
- ## Cache variables. ##
- ## ---------------- ##
- ac_cv_env_CCC_set=
- ac_cv_env_CCC_value=
- ac_cv_env_CC_set=set
- ac_cv_env_CC_value=gcc
- 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_CXXCPP_set=
- ac_cv_env_CXXCPP_value=
- ac_cv_env_CXXFLAGS_set=
- ac_cv_env_CXXFLAGS_value=
- ac_cv_env_CXX_set=
- ac_cv_env_CXX_value=
- ac_cv_env_F77_set=
- ac_cv_env_F77_value=
- ac_cv_env_FFLAGS_set=
- ac_cv_env_FFLAGS_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_AWK=nawk
- ac_cv_prog_ac_ct_CC=gcc
- ac_cv_prog_make_make_set=yes
- ## ----------------- ##
- ## Output variables. ##
- ## ----------------- ##
- ACLOCAL='${SHELL} /Documents/psqlodbc-09.00.0200/config/missing --run aclocal-1.9'
- AMDEPBACKSLASH='\'
- AMDEP_FALSE='#'
- AMDEP_TRUE=''
- AMTAR='${SHELL} /Documents/psqlodbc-09.00.0200/config/missing --run tar'
- AR=''
- AS=''
- AUTOCONF='${SHELL} /Documents/psqlodbc-09.00.0200/config/missing --run autoconf'
- AUTOHEADER='${SHELL} /Documents/psqlodbc-09.00.0200/config/missing --run autoheader'
- AUTOMAKE='${SHELL} /Documents/psqlodbc-09.00.0200/config/missing --run automake-1.9'
- AWK='nawk'
- CC='gcc'
- CCDEPMODE=''
- CFLAGS=''
- CPP=''
- CPPFLAGS=' -I'
- CXX=''
- CXXCPP=''
- CXXDEPMODE=''
- CXXFLAGS=''
- CYGPATH_W='echo'
- DEFS=''
- DEPDIR='.deps'
- DLLTOOL=''
- ECHO='echo'
- ECHO_C=''
- ECHO_N='-n'
- ECHO_T=''
- EGREP=''
- EXEEXT=''
- F77=''
- FFLAGS=''
- GCC_FALSE=''
- GCC_TRUE=''
- GREP=''
- INSTALL_DATA='${INSTALL} -m 644'
- INSTALL_PROGRAM='${INSTALL}'
- INSTALL_SCRIPT='${INSTALL}'
- INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
- LDFLAGS=''
- LIBOBJS=''
- LIBS=' '
- LIBTOOL=''
- LN_S=''
- LTLIBOBJS=''
- MAINT='#'
- MAINTAINER_MODE_FALSE=''
- MAINTAINER_MODE_TRUE='#'
- MAKEINFO='${SHELL} /Documents/psqlodbc-09.00.0200/config/missing --run makeinfo'
- OBJDUMP=''
- OBJEXT=''
- ODBC_CONFIG='/usr/local/lib/libodbc.so.1'
- PACKAGE='psqlodbc'
- PACKAGE_BUGREPORT='[email protected]'
- PACKAGE_NAME='psqlodbc'
- PACKAGE_STRING='psqlodbc 09.00.0200'
- PACKAGE_TARNAME='psqlodbc'
- PACKAGE_VERSION='09.00.0200'
- PATH_SEPARATOR=':'
- PG_CONFIG=''
- RANLIB=''
- SET_MAKE=''
- SHELL='/bin/bash'
- STRIP=''
- VERSION='09.00.0200'
- ac_ct_CC='gcc'
- ac_ct_CXX=''
- ac_ct_F77=''
- am__fastdepCC_FALSE=''
- am__fastdepCC_TRUE=''
- am__fastdepCXX_FALSE=''
- am__fastdepCXX_TRUE=''
- am__include='include'
- am__leading_dot='.'
- am__quote=''
- am__tar='${AMTAR} chof - "$$tardir"'
- am__untar='${AMTAR} xf -'
- bindir='${exec_prefix}/bin'
- build=''
- build_alias=''
- build_cpu=''
- build_os=''
- build_vendor=''
- datadir='${datarootdir}'
- datarootdir='${prefix}/share'
- docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
- dvidir='${docdir}'
- enable_gss_FALSE=''
- enable_gss_TRUE=''
- enable_krb5_FALSE=''
- enable_krb5_TRUE=''
- enable_openssl_FALSE=''
- enable_openssl_TRUE=''
- enable_unicode_FALSE=''
- enable_unicode_TRUE=''
- exec_prefix='NONE'
- host=''
- host_alias=''
- host_cpu=''
- host_os=''
- host_vendor=''
- htmldir='${docdir}'
- includedir='${prefix}/include'
- infodir='${datarootdir}/info'
- install_sh='/Documents/psqlodbc-09.00.0200/config/install-sh'
- libdir='${exec_prefix}/lib'
- libexecdir='${exec_prefix}/libexec'
- localedir='${datarootdir}/locale'
- localstatedir='${prefix}/var'
- mandir='${datarootdir}/man'
- mkdir_p='$(install_sh) -d'
- oldincludedir='/usr/include'
- pdfdir='${docdir}'
- prefix='NONE'
- program_transform_name='s,x,x,'
- psdir='${docdir}'
- sbindir='${exec_prefix}/sbin'
- sharedstatedir='${prefix}/com'
- sysconfdir='${prefix}/etc'
- target_alias=''
- ## ----------- ##
- ## confdefs.h. ##
- ## ----------- ##
- #define PACKAGE_NAME "psqlodbc"
- #define PACKAGE_TARNAME "psqlodbc"
- #define PACKAGE_VERSION "09.00.0200"
- #define PACKAGE_STRING "psqlodbc 09.00.0200"
- #define PACKAGE_BUGREPORT "[email protected]"
- #define PACKAGE "psqlodbc"
- #define VERSION "09.00.0200"
- #define WITH_UNIXODBC 1
- configure: exit 77
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement