Menu

Mac OSX Snow Leopard ./make not found

2010-12-16
2012-09-26
  • Nobody/Anonymous

    Hi,
    I followed the instructions to compile the lib. ./configure had worked, but if
    if try do do the make, the following error message is displayed: bash: ./make:
    No such file or directory
    What goes wrong? make is located in /usr/bin
    Cheers,
    Tim

     
  • Nobody/Anonymous

    I have the same problem.
    Could someone please give us a detailed example in compiling ocilib on mac os
    x snow leopard with oracle instant client 10.2.0.4.0 for Mac OS X (Intel x86)?

    I would really appreciate that.

    Muly.

     
  • Vincent Rogier

    Vincent Rogier - 2011-07-23

    did you follow the instructions shipped with the documentation ?

    Send me your configure log.

     
  • Nobody/Anonymous

    Yes I did.
    Here is the configure.log:

    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    It was created by configure, which was
    generated by GNU Autoconf 2.65. Invocation command line was

    $ ./configure

    --------- ##

    Platform. ##

    --------- ##

    hostname = cb-mac.local
    uname -m = i386
    uname -r = 10.8.0
    uname -s = Darwin
    uname -v = Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011;
    root:xnu-1504.15.3~1/RELEASE_I386

    /usr/bin/uname -p = i386
    /bin/uname -X = unknown

    /bin/arch = unknown
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = Mach kernel version:
    Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011;
    root:xnu-1504.15.3~1/RELEASE_I386
    Kernel configured for up to 2 processors.
    2 processors are physically available.
    2 processors are logically available.
    Processor type: i486 (Intel 80486)
    Processors active: 0 1
    Primary memory available: 4.00 gigabytes
    Default processor set: 76 tasks, 362 threads, 2 processors
    Load average: 0.39, Mach factor: 1.60
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown

    PATH: /opt/local/bin
    PATH: /opt/local/sbin
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/local/bin
    PATH: /usr/X11/bin
    PATH: /ohome/bin
    PATH: /ocilib
    PATH: /ocilib/include
    PATH: /ohome/bin
    PATH: /ohome/lib
    PATH: /ocilib
    PATH: /ocilib/include
    PATH: /ohome/rdbms/lib
    PATH: /ohome/rdbms/public

    ----------- ##

    Core tests. ##

    ----------- ##

    configure:2583: checking for a BSD-compatible install
    configure:2651: result: /usr/bin/install -c
    configure:2662: checking whether build environment is sane
    configure:2712: result: yes
    configure:2853: checking for a thread-safe mkdir -p
    configure:2892: result: config/install-sh -c -d
    configure:2905: checking for gawk
    configure:2935: result: no
    configure:2905: checking for mawk
    configure:2935: result: no
    configure:2905: checking for nawk
    configure:2935: result: no
    configure:2905: checking for awk
    configure:2921: found /usr/bin/awk
    configure:2932: result: awk
    configure:2943: checking whether make sets $(MAKE)
    configure:2965: result: yes
    configure:3096: checking for gcc
    configure:3112: found /usr/bin/gcc
    configure:3123: result: gcc
    configure:3352: checking for C compiler version
    configure:3361: gcc --version >&5
    i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
    Copyright (C) 2007 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:3372: $? = 0
    configure:3361: gcc -v >&5
    Using built-in specs.
    Target: i686-apple-darwin10
    Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking
    --enable-werror --prefix=/usr --mandir=/share/man --enable-
    languages=c,objc,c++,obj-c++ --program-transform-name=/^$/s/$/-4.2/ --with-
    slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-
    darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-
    gxx-include-dir=/include/c++/4.2.1
    Thread model: posix
    gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
    configure:3372: $? = 0
    configure:3361: gcc -V >&5
    gcc-4.2: argument to `-V' is missing
    configure:3372: $? = 1
    configure:3361: gcc -qversion >&5
    i686-apple-darwin10-gcc-4.2.1: no input files
    configure:3372: $? = 1
    configure:3392: checking whether the C compiler works
    configure:3414: gcc conftest.c >&5
    configure:3418: $? = 0
    configure:3467: result: yes
    configure:3470: checking for C compiler default output file name
    configure:3472: result: a.out
    configure:3478: checking for suffix of executables
    configure:3485: gcc -o conftest conftest.c >&5
    configure:3489: $? = 0
    configure:3511: result:
    configure:3533: checking whether we are cross compiling
    configure:3541: gcc -o conftest conftest.c >&5
    configure:3545: $? = 0
    configure:3552: ./conftest
    configure:3556: $? = 0
    configure:3571: result: no
    configure:3576: checking for suffix of object files
    configure:3598: gcc -c conftest.c >&5
    configure:3602: $? = 0
    configure:3623: result: o
    configure:3627: checking whether we are using the GNU C compiler
    configure:3646: gcc -c conftest.c >&5
    configure:3646: $? = 0
    configure:3655: result: yes
    configure:3664: checking whether gcc accepts -g
    configure:3684: gcc -c -g conftest.c >&5
    configure:3684: $? = 0
    configure:3725: result: yes
    configure:3742: checking for gcc option to accept ISO C89
    configure:3806: gcc -c -g -O2 conftest.c >&5
    configure:3806: $? = 0
    configure:3819: result: none needed
    configure:3850: checking for style of include used by make
    configure:3878: result: GNU
    configure:3903: checking dependency style of gcc
    configure:4013: result: gcc3
    configure:4105: checking build system type
    configure:4119: result: i386-apple-darwin10.8.0
    configure:4139: checking host system type
    configure:4152: result: i386-apple-darwin10.8.0
    configure:4172: checking for a sed that does not truncate output
    configure:4228: result: /usr/bin/sed
    configure:4231: checking for grep that handles long lines and -e
    configure:4289: result: /usr/bin/grep
    configure:4294: checking for egrep
    configure:4356: result: /usr/bin/grep -E
    configure:4372: checking for ld used by gcc
    configure:4439: result: /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
    configure:4446: checking if the linker (/usr/libexec/gcc/i686-apple-
    darwin10/4.2.1/ld) is GNU ld
    configure:4461: result: no
    configure:4466: checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
    option to reload object files
    configure:4473: result: -r
    configure:4491: checking for BSD-compatible nm
    configure:4540: result: /usr/bin/nm
    configure:4544: checking whether ln -s works
    configure:4548: result: yes
    configure:4555: checking how to recognize dependent libraries
    configure:4741: result: pass_all
    configure:4957: checking how to run the C preprocessor
    configure:4988: gcc -E conftest.c
    configure:4988: $? = 0
    configure:5002: gcc -E conftest.c
    conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
    configure:5002: $? = 1
    configure: failed program was:
    | /
    confdefs.h /
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "ocilib"
    | #define VERSION "3.9.2"
    | /
    end confdefs.h. /
    | #include <ac_nonexistent.h>
    configure:5027: result: gcc -E
    configure:5047: gcc -E conftest.c
    configure:5047: $? = 0
    configure:5061: gcc -E conftest.c
    conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
    configure:5061: $? = 1
    configure: failed program was:
    | /</ac_nonexistent.h>
    confdefs.h /
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "ocilib"
    | #define VERSION "3.9.2"
    | /
    end confdefs.h. */
    | #include <ac_nonexistent.h>
    configure:5090: checking for ANSI C header files
    configure:5110: gcc -c -g -O2 conftest.c >&5
    configure:5110: $? = 0
    configure:5183: gcc -o conftest -g -O2 conftest.c >&5
    configure:5183: $? = 0
    configure:5183: ./conftest
    configure:5183: $? = 0
    configure:5194: result: yes
    configure:5207: checking for sys/types.h
    configure:5207: gcc -c -g -O2 conftest.c >&5
    configure:5207: $? = 0
    configure:5207: result: yes
    configure:5207: checking for sys/stat.h
    configure:5207: gcc -c -g -O2 conftest.c >&5
    configure:5207: $? = 0
    configure:5207: result: yes
    configure:5207: checking for stdlib.h
    configure:5207: gcc -c -g -O2 conftest.c >&5
    configure:5207: $? = 0
    configure:5207: result: yes
    configure:5207: checking for string.h
    configure:5207: gcc -c -g -O2 conftest.c >&5
    configure:5207: $? = 0
    configure:5207: result: yes
    configure:5207: checking for memory.h
    configure:5207: gcc -c -g -O2 conftest.c >&5
    configure:5207: $? = 0
    configure:5207: result: yes
    configure:5207: checking for strings.h
    configure:5207: gcc -c -g -O2 conftest.c >&5
    configure:5207: $? = 0
    configure:5207: result: yes
    configure:5207: checking for inttypes.h
    configure:5207: gcc -c -g -O2 conftest.c >&5
    configure:5207: $? = 0
    configure:5207: result: yes
    configure:5207: checking for stdint.h
    configure:5207: gcc -c -g -O2 conftest.c >&5
    configure:5207: $? = 0
    configure:5207: result: yes
    configure:5207: checking for unistd.h
    configure:5207: gcc -c -g -O2 conftest.c >&5
    configure:5207: $? = 0
    configure:5207: result: yes
    configure:5222: checking dlfcn.h usability
    configure:5222: gcc -c -g -O2 conftest.c >&5
    configure:5222: $? = 0
    configure:5222: result: yes
    configure:5222: checking dlfcn.h presence
    configure:5222: gcc -E conftest.c
    configure:5222: $? = 0
    configure:5222: result: yes
    configure:5222: checking for dlfcn.h
    configure:5222: result: yes
    configure:5290: checking for g++
    configure:5306: found /usr/bin/g++
    configure:5317: result: g++
    configure:5344: checking for C++ compiler version
    configure:5353: g++ --version >&5
    i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
    Copyright (C) 2007 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. </ac_nonexistent.h>

    configure:5364: $? = 0
    configure:5353: g++ -v >&5
    Using built-in specs.
    Target: i686-apple-darwin10
    Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking
    --enable-werror --prefix=/usr --mandir=/share/man --enable-
    languages=c,objc,c++,obj-c++ --program-transform-name=/^$/s/$/-4.2/ --with-
    slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-
    darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-
    gxx-include-dir=/include/c++/4.2.1
    Thread model: posix
    gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
    configure:5364: $? = 0
    configure:5353: g++ -V >&5
    g++-4.2: argument to `-V' is missing
    configure:5364: $? = 1
    configure:5353: g++ -qversion >&5
    i686-apple-darwin10-g++-4.2.1: no input files
    configure:5364: $? = 1
    configure:5368: checking whether we are using the GNU C++ compiler
    configure:5387: g++ -c conftest.cpp >&5
    configure:5387: $? = 0
    configure:5396: result: yes
    configure:5405: checking whether g++ accepts -g
    configure:5425: g++ -c -g conftest.cpp >&5
    configure:5425: $? = 0
    configure:5466: result: yes
    configure:5491: checking dependency style of g++
    configure:5601: result: gcc3
    configure:5626: checking how to run the C++ preprocessor
    configure:5653: g++ -E conftest.cpp
    configure:5653: $? = 0
    configure:5667: g++ -E conftest.cpp
    conftest.cpp:22:28: error: ac_nonexistent.h: No such file or directory
    configure:5667: $? = 1
    configure: failed program was:
    | /
    confdefs.h /
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "ocilib"
    | #define VERSION "3.9.2"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /
    end confdefs.h. /
    | #include <ac_nonexistent.h>
    configure:5692: result: g++ -E
    configure:5712: g++ -E conftest.cpp
    configure:5712: $? = 0
    configure:5726: g++ -E conftest.cpp
    conftest.cpp:22:28: error: ac_nonexistent.h: No such file or directory
    configure:5726: $? = 1
    configure: failed program was:
    | /</ac_nonexistent.h>
    confdefs.h /
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "ocilib"
    | #define VERSION "3.9.2"
    | #define STDC_HEADERS 1
    | #define HAVE_SYS_TYPES_H 1
    | #define HAVE_SYS_STAT_H 1
    | #define HAVE_STDLIB_H 1
    | #define HAVE_STRING_H 1
    | #define HAVE_MEMORY_H 1
    | #define HAVE_STRINGS_H 1
    | #define HAVE_INTTYPES_H 1
    | #define HAVE_STDINT_H 1
    | #define HAVE_UNISTD_H 1
    | #define HAVE_DLFCN_H 1
    | /
    end confdefs.h. /
    | #include <ac_nonexistent.h>
    configure:5810: checking for g77
    configure:5840: result: no
    configure:5810: checking for xlf
    configure:5840: result: no
    configure:5810: checking for f77
    configure:5840: result: no
    configure:5810: checking for frt
    configure:5840: result: no
    configure:5810: checking for pgf77
    configure:5840: result: no
    configure:5810: checking for cf77
    configure:5840: result: no
    configure:5810: checking for fort77
    configure:5840: result: no
    configure:5810: checking for fl32
    configure:5840: result: no
    configure:5810: checking for af77
    configure:5840: result: no
    configure:5810: checking for xlf90
    configure:5840: result: no
    configure:5810: checking for f90
    configure:5840: result: no
    configure:5810: checking for pgf90
    configure:5840: result: no
    configure:5810: checking for pghpf
    configure:5840: result: no
    configure:5810: checking for epcf90
    configure:5840: result: no
    configure:5810: checking for gfortran
    configure:5840: result: no
    configure:5810: checking for g95
    configure:5840: result: no
    configure:5810: checking for xlf95
    configure:5840: result: no
    configure:5810: checking for f95
    configure:5840: result: no
    configure:5810: checking for fort
    configure:5840: result: no
    configure:5810: checking for ifort
    configure:5840: result: no
    configure:5810: checking for ifc
    configure:5840: result: no
    configure:5810: checking for efc
    configure:5840: result: no
    configure:5810: checking for pgf95
    configure:5840: result: no
    configure:5810: checking for lf95
    configure:5840: result: no
    configure:5810: checking for ftn
    configure:5840: result: no
    configure:5863: checking for Fortran 77 compiler version
    configure:5872: --version >&5
    ./configure: line 5874: --version: command not found
    configure:5883: $? = 127
    configure:5872: -v >&5
    ./configure: line 5874: -v: command not found
    configure:5883: $? = 127
    configure:5872: -V >&5
    ./configure: line 5874: -V: command not found
    configure:5883: $? = 127
    configure:5872: -qversion >&5
    ./configure: line 5874: -qversion: command not found
    configure:5883: $? = 127
    configure:5892: checking whether we are using the GNU Fortran 77 compiler
    configure:5905: -c conftest.F >&5
    ./configure: line 2120: -c: command not found
    configure:5905: $? = 127
    configure: failed program was:
    | program main
    | #ifndef GNUC
    | choke me
    | #endif
    |
    | end
    configure:5914: result: no
    configure:5920: checking whether accepts -g
    configure:5931: -c -g conftest.f >&5
    ./configure: line 2120: -c: command not found
    configure:5931: $? = 127
    configure: failed program was:
    | program main
    |
    | end
    configure:5939: result: no
    configure:5973: checking the maximum length of command line arguments
    configure:6085: result: 196608
    configure:6097: checking command to parse /usr/bin/nm output from gcc object
    configure:6202: gcc -c -g -O2 conftest.c >&5
    configure:6205: $? = 0
    configure:6209: /usr/bin/nm conftest.o | sed -n -e 's/^.</ac_nonexistent.h>
    ()()$/\1 \2
    \2/p' > conftest.nm
    configure:6212: $? = 0
    cannot find nm_test_var in conftest.nm
    configure:6202: gcc -c -g -O2 conftest.c >&5
    configure:6205: $? = 0
    configure:6209: /usr/bin/nm conftest.o | sed -n -e 's/^.
    ()(*)$/\1 \2
    \2/p' > conftest.nm
    configure:6212: $? = 0
    configure:6264: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
    configure:6267: $? = 0
    configure:6305: result: ok
    configure:6309: checking for objdir
    configure:6324: result: .libs
    configure:6416: checking for ar
    configure:6432: found /usr/bin/ar
    configure:6443: result: ar
    configure:6508: checking for ranlib
    configure:6524: found /usr/bin/ranlib
    configure:6535: result: ranlib
    configure:6600: checking for strip
    configure:6616: found /usr/bin/strip
    configure:6627: result: strip
    configure:6913: checking if gcc supports -fno-rtti -fno-exceptions
    configure:6931: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
    cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not
    for C
    configure:6935: $? = 0
    configure:6948: result: no
    configure:6963: checking for gcc option to produce PIC
    configure:7195: result: -fno-common
    configure:7203: checking if gcc PIC flag -fno-common works
    configure:7221: gcc -c -g -O2 -fno-common -DPIC conftest.c >&5
    configure:7225: $? = 0
    configure:7238: result: yes
    configure:7266: checking if gcc static flag -static works
    configure:7294: result: no
    configure:7304: checking if gcc supports -c -o file.o
    configure:7325: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
    configure:7329: $? = 0
    configure:7351: result: yes
    configure:7377: checking whether the gcc linker (/usr/libexec/gcc/i686-apple-
    darwin10/4.2.1/ld) supports shared libraries
    configure:8303: result: yes
    configure:8370: checking dynamic linker characteristics
    configure:8972: result: darwin10.8.0 dyld
    configure:8981: checking how to hardcode library paths into programs
    configure:9006: result: immediate
    configure:9020: checking whether stripping libraries is possible
    configure:9034: result: yes
    configure:9542: checking if libtool supports shared libraries
    configure:9544: result: yes
    configure:9547: checking whether to build shared libraries
    configure:9568: result: yes
    configure:9571: checking whether to build static libraries
    configure:9575: result: yes
    configure:9668: creating libtool
    configure:10252: checking for ld used by g++
    configure:10319: result: /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
    configure:10326: checking if the linker (/usr/libexec/gcc/i686-apple-
    darwin10/4.2.1/ld) is GNU ld
    configure:10341: result: no
    configure:10392: checking whether the g++ linker (/usr/libexec/gcc/i686-apple-
    darwin10/4.2.1/ld) supports shared libraries
    configure:11312: result: yes
    configure:11334: g++ -c -g -O2 conftest.cpp >&5
    configure:11337: $? = 0
    configure:11489: checking for g++ option to produce PIC
    configure:11773: result: -fno-common
    configure:11781: checking if g++ PIC flag -fno-common works
    configure:11799: g++ -c -g -O2 -fno-common -DPIC conftest.cpp >&5
    configure:11803: $? = 0
    configure:11816: result: yes
    configure:11844: checking if g++ static flag -static works
    configure:11872: result: no
    configure:11882: checking if g++ supports -c -o file.o
    configure:11903: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5
    configure:11907: $? = 0
    configure:11929: result: yes
    configure:11955: checking whether the g++ linker (/usr/libexec/gcc/i686-apple-
    darwin10/4.2.1/ld) supports shared libraries
    configure:11980: result: yes
    configure:12047: checking dynamic linker characteristics
    configure:12597: result: darwin10.8.0 dyld
    configure:12606: checking how to hardcode library paths into programs
    configure:12631: result: immediate
    configure:18745: checking for ranlib
    configure:18772: result: ranlib
    configure:18802: checking for OCILIB install path
    configure:18805: result: /usr/local
    configure:18820: checking for OCILIB version
    configure:18830: result: v3.9.2
    configure:18839: checking for OCILIB options
    configure:18883: result: import: linkage, charset = ansi
    configure:18945: checking for Oracle home
    configure:18951: result: defined by environment : /ohome
    configure:18991: checking for Oracle OCI headers location
    configure:18996: result: /ohome/rdbms/public
    configure:19005: checking for Oracle OCI shared lib location
    configure:19009: result: /ohome/lib
    configure:19015: checking for Oracle OCI shared lib name
    configure:19019: result: libclntsh.dylib
    configure:19025: checking for OCI shared lib existence
    configure:19041: result: yes
    configure:19207: creating ./config.status

    ---------------------- ##

    Running config.status. ##

    ---------------------- ##

    This file was extended by config.status, which was
    generated by GNU Autoconf 2.65. Invocation command line was

    CONFIG_FILES =
    CONFIG_HEADERS =
    CONFIG_LINKS =
    CONFIG_COMMANDS =
    $ ./config.status

    on cb-mac.local

    config.status:916: creating README
    config.status:916: creating Makefile
    config.status:916: creating src/Makefile
    config.status:916: creating doc/html/Makefile
    config.status:916: creating demo/Makefile
    config.status:916: creating demo/Makefile_demo
    config.status:916: creating config.h
    config.status:1088: config.h is unchanged
    config.status:1136: executing depfiles commands

    ---------------- ##

    Cache variables. ##

    ---------------- ##

    ac_cv_build=i386-apple-darwin10.8.0
    ac_cv_c_compiler_gnu=yes
    ac_cv_cxx_compiler_gnu=yes
    ac_cv_env_CCC_set=
    ac_cv_env_CCC_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    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_LIBS_set=
    ac_cv_env_LIBS_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_f77_compiler_gnu=no
    ac_cv_header_dlfcn_h=yes
    ac_cv_header_inttypes_h=yes
    ac_cv_header_memory_h=yes
    ac_cv_header_stdc=yes
    ac_cv_header_stdint_h=yes
    ac_cv_header_stdlib_h=yes
    ac_cv_header_string_h=yes
    ac_cv_header_strings_h=yes
    ac_cv_header_sys_stat_h=yes
    ac_cv_header_sys_types_h=yes
    ac_cv_header_unistd_h=yes
    ac_cv_host=i386-apple-darwin10.8.0
    ac_cv_objext=o
    ac_cv_path_EGREP='/usr/bin/grep -E'
    ac_cv_path_GREP=/usr/bin/grep
    ac_cv_path_install='/usr/bin/install -c'
    ac_cv_prog_AWK=awk
    ac_cv_prog_CPP='gcc -E'
    ac_cv_prog_CXXCPP='g++ -E'
    ac_cv_prog_ac_ct_AR=ar
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_ac_ct_CXX=g++
    ac_cv_prog_ac_ct_RANLIB=ranlib
    ac_cv_prog_ac_ct_STRIP=strip
    ac_cv_prog_cc_c89=
    ac_cv_prog_cc_g=yes
    ac_cv_prog_cxx_g=yes
    ac_cv_prog_f77_g=no
    ac_cv_prog_make_make_set=yes
    am_cv_CC_dependencies_compiler_type=gcc3
    am_cv_CXX_dependencies_compiler_type=gcc3
    lt_cv_deplibs_check_method=pass_all
    lt_cv_file_magic_cmd='$MAGIC_CMD'
    lt_cv_file_magic_test_file=
    lt_cv_ld_reload_flag=-r
    lt_cv_objdir=.libs
    lt_cv_path_LD=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
    lt_cv_path_LDCXX=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
    lt_cv_path_NM=/usr/bin/nm
    lt_cv_path_SED=/usr/bin/sed
    lt_cv_prog_compiler_c_o=yes
    lt_cv_prog_compiler_c_o_CXX=yes
    lt_cv_prog_compiler_rtti_exceptions=no
    lt_cv_prog_gnu_ld=no
    lt_cv_prog_gnu_ldcxx=no
    lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.()_()$/\1 \2
    \2/p'\'''
    lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: () $/
    {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^ (
    ) ()$/ {"\2", (lt_ptr)
    \&\2},/p'\'''
    lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .
    (.)$/extern int
    \1;/p'\'''
    lt_cv_sys_max_cmd_len=196608
    lt_lt_cv_prog_compiler_c_o='"yes"'
    lt_lt_cv_prog_compiler_c_o_CXX='"yes"'
    lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.
    \(\)
    \(\)\$/\1
    _\2 \2/p'\''"'
    lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \(
    \) \$/
    {\\"\1\\", (lt_ptr) 0},/p'\'' -e '\''s/^ \(\) \(\)\$/ {\"\2\",
    (lt_ptr) \&\2},/p'\''"'
    lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. . \(.\)\$/extern
    int \1;/p'\''"'

    ----------------- ##

    Output variables. ##

    ----------------- ##

    ACLOCAL='${SHELL} /ocilib/config/missing --run aclocal-1.11'
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /ocilib/config/missing --run tar'
    AR='ar'
    AUTOCONF='${SHELL} /ocilib/config/missing --run autoconf'
    AUTOHEADER='${SHELL} /ocilib/config/missing --run autoheader'
    AUTOMAKE='${SHELL} /ocilib/config/missing --run automake-1.11'
    AWK='awk'
    CC='gcc'
    CCDEPMODE='depmode=gcc3'
    CFLAGS='-g -O2'
    CPP='gcc -E'
    CPPFLAGS=''
    CXX='g++'
    CXXCPP='g++ -E'
    CXXDEPMODE='depmode=gcc3'
    CXXFLAGS='-g -O2'
    CYGPATH_W='echo'
    DEFS='-DHAVE_CONFIG_H'
    DEPDIR='.deps'
    ECHO='/bin/echo'
    ECHO_C='\c'
    ECHO_N=''
    ECHO_T=''
    EGREP='/usr/bin/grep -E'
    EXEEXT=''
    F77=''
    FFLAGS=''
    GREP='/usr/bin/grep'
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    LDFLAGS=''
    LIBOBJS=''
    LIBS=''
    LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    LN_S='ln -s'
    LTLIBOBJS=''
    LT_AGE='9'
    LT_CURRENT='12'
    LT_RELEASE=''
    LT_REVISION='2'
    MAKEINFO='${SHELL} /ocilib/config/missing --run makeinfo'
    MKDIR_P='config/install-sh -c -d'
    OBJEXT='o'
    OCILIB_CHARSET='OCI_CHARSET_ANSI'
    OCILIB_DEMO_SOURCES='abort.c array.c array_internal.c bind.c coll.c conn.c
    cursor.c date.c desc.c dirpath.c err.c err_ctx.c err_warning.c exec.c fetch.c
    fetch_struct.c file.c format.c geometry.c hash.c init.c instance.c lob.c
    long.c meta.c notification.c object.c ocilib_demo.c ocilib_demo.h output.c
    plsql_block.c plsql_table.c pool.c queue.c ref.c returning.c rowid.c scroll.c
    thread.c timestamp.c '
    OCILIB_DOCS='agent_8c_source.html annotated.html array_8c_source.html bc_s.png
    bind_8c_source.html callback_8c_source.html classes.html closed.png
    collection_8c_source.html column_8c_source.html connection_8c_source.html
    date_8c_source.html define_8c_source.html dequeue_8c_source.html
    dirpath_8c_source.html doxygen.css doxygen.png element_8c_source.html
    enqueue_8c_source.html error_8c_source.html event_8c_source.html
    exception_8c_source.html file_8c_source.html files.html format_8c_source.html
    group__g__abort.html group__g__aq.html group__g__bind.html
    group__g__charset.html group__g__collection.html group__g__connect.html
    group__g__date.html group__g__demo.html group__g__desc.html
    group__g__dirpath.html group__g__error.html group__g__exec.html
    group__g__fetch.html group__g__file.html group__g__format.html
    group__g__handles.html group__g__hash.html group__g__init.html
    group__g__install.html group__g__instances.html group__g__lob.html
    group__g__long.html group__g__objects.html group__g__ora__ret.html
    group__g__plsql.html group__g__pool.html group__g__rowid.html
    group__g__stmt.html group__g__subscription.html group__g__threads.html
    group__g__timestamp.html group__g__transac.html group__g__usertypes.html
    handle_8c_source.html hash_8c_source.html index.html interval_8c_source.html
    iterator_8c_source.html library_8c_source.html list_8c_source.html
    lob_8c_source.html logo-160x120.png long_8c_source.html memory_8c_source.html
    modules.html msg_8c_source.html mutex_8c_source.html nav_f.png nav_h.png
    number_8c_source.html object_8c_source.html oci__api_8h_source.html
    oci__defs_8h_source.html oci__import_8h_source.html oci__loader_8h_source.html
    oci__types_8h_source.html ocilib_8h_source.html ocilib__checks_8h_source.html
    ocilib__defs_8h_source.html ocilib__internal_8h_source.html
    ocilib__types_8h_source.html open.png pool_8c_source.html queue_8c_source.html
    ref_8c_source.html resultset_8c_source.html statement_8c_source.html
    string_8c_source.html struct_o_c_iagent.html structo_c_i_bind.html
    struct_o_c_icoll.html structo_c_i_column.html
    struct_o_c_iconnection.html structo_c_i_date.html
    struct_o_c_idequeue.html structo_c_i_dir_path.html
    struct_o_c_ielem.html structo_c_i_enqueue.html struct_o_c_ierror.html
    struct
    o_c_i
    _event.html struct_o_c_ifile.html
    struct
    o_c_i
    _hash_entry.html struct_o_c_ihashtable.html
    struct_o_c_i
    _hash_value.html struct_o_c_iinterval.html
    struct
    o_c_i
    _iter.html struct_o_c_ilob.html structo_c_i_long.html
    struct_o_c_imsg.html structo_c_i_mutex.html struct_o_c_iobject.html
    struct
    o_c_i
    _pool.html struct_o_c_iref.html structo_c_i_resultset.html
    struct_o_c_istatement.html structo_c_i_subscription.html
    struct_o_c_ithread.html structo_c_i_timestamp.html
    struct_o_c_itransaction.html structo_c_i_type_info.html
    struct_o_c_ixi_d.html subscription_8c_source.html tab_a.png tab_b.png
    tab_h.png tab_s.png tabs.css thread_8c_source.html threadkey_8c_source.html
    timestamp_8c_source.html transaction_8c_source.html typeinfo_8c_source.html
    union_o_c_i
    _variant.html '
    OCILIB_IMPORT='OCI_IMPORT_LINKAGE'
    OCILIB_LD_FLAG=''
    OCILIB_PREFIX='/usr/local'
    ORACLE_HOME='/ohome'
    ORACLE_INCLUDES='-I/ohome/rdbms/public'
    ORACLE_LIBADD='-L/ohome/lib -lclntsh'
    ORACLE_LIBNAME=''
    PACKAGE='ocilib'
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_URL=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    RANLIB='ranlib'
    SED='/usr/bin/sed'
    SET_MAKE=''
    SHELL='/bin/sh'
    STRIP='strip'
    VERSION='3.9.2'
    ac_ct_CC='gcc'
    ac_ct_CXX='g++'
    ac_ct_F77=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE='#'
    am__fastdepCC_FALSE='#'
    am__fastdepCC_TRUE=''
    am__fastdepCXX_FALSE='#'
    am__fastdepCXX_TRUE=''
    am__include='include'
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='i386-apple-darwin10.8.0'
    build_alias=''
    build_cpu='i386'
    build_os='darwin10.8.0'
    build_vendor='apple'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE}'
    dvidir='${docdir}'
    exec_prefix='${prefix}'
    host='i386-apple-darwin10.8.0'
    host_alias=''
    host_cpu='i386'
    host_os='darwin10.8.0'
    host_vendor='apple'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /ocilib/config/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    mandir='${datarootdir}/man'
    mkdir_p='$(top_builddir)/config/install-sh -c -d'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr/local'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''

    ----------- ##

    confdefs.h. ##

    ----------- ##

    / confdefs.h /

    define PACKAGE_NAME ""

    define PACKAGE_TARNAME ""

    define PACKAGE_VERSION ""

    define PACKAGE_STRING ""

    define PACKAGE_BUGREPORT ""

    define PACKAGE_URL ""

    define PACKAGE "ocilib"

    define VERSION "3.9.2"

    define STDC_HEADERS 1

    define HAVE_SYS_TYPES_H 1

    define HAVE_SYS_STAT_H 1

    define HAVE_STDLIB_H 1

    define HAVE_STRING_H 1

    define HAVE_MEMORY_H 1

    define HAVE_STRINGS_H 1

    define HAVE_INTTYPES_H 1

    define HAVE_STDINT_H 1

    define HAVE_UNISTD_H 1

    define HAVE_DLFCN_H 1

    configure: exit 0

    Muly.

     
  • Vincent Rogier

    Vincent Rogier - 2011-07-23

    and when you do a make, what is your error ?

     
  • Nobody/Anonymous

    I get this:

    ./make
    -bash: ./make: No such file or directory

    Muly.

     
  • Vincent Rogier

    Vincent Rogier - 2011-07-23

    do you have make under /usr/bin ?

     
  • Nobody/Anonymous

    Yes I do:

    cb-mac:ocilib$ ls /usr/bin/make
    /usr/bin/make

    but as you know when you specify the dot and forward slash (./) before any
    command, it presumes that it is available in the current directory. But it is
    not in the /ocilib/ directory.

    Do I need to run the make without the preceding(./)
    ???

    Muly.

     
  • Vincent Rogier

    Vincent Rogier - 2011-07-23

    if you do /usr/bin/make ?

     
  • Nobody/Anonymous

    Now I get this:

    cb-mac:ocilib$ /usr/bin/make
    /usr/bin/make all-recursive
    Making all in doc/html
    make: Nothing to be done for all'. Making all in src make: Nothing to be done forall'.
    Making all in demo
    Making all in .
    make: Nothing to be done for `all-am'.

    Muly.

     
  • Vincent Rogier

    Vincent Rogier - 2011-07-23

    you have to do this :

    /usr/bin/make ./Makefile

     
  • Nobody/Anonymous

    Now I get this:

    cb-mac:ocilib$ /usr/bin/make ./Makefile
    make: `Makefile' is up to date.

    Muly.

     
  • Nobody/Anonymous

    I have finally got it done. Details:

    1) OS X version: 10.6.8
    Processor: Intel Core 2 Duo
    Memory: 4GB
    2) I've downloaded the 64-bit instant client from Oracle website ( download
    the basic version and the sdk )
    unzip them to /instantclient_10_2
    the sdk direcory should be inside /instantclient_10_2
    3) cd /instantclient_10_2
    ln -s ./libocci.dylib.10.1 libocci.dylib
    ln -s ./libclntsh.dylib.10.1 libclntsh.dylib

    4) download and unzip ocilib to /ocilib-3.9.2
    5) export ORACLE_HOME=/instantclient_10_2
    export PATH=$PATH:$ORACLE_HOME:$ORACLE_HOME/sdk/include:/ocilib-3.9.2:/ocilib-
    3.9.2/include
    export DYLD_LIBRARY_PATH=$ORACLE_HOME:$ORACLE_HOME/sdk/include:/usr/local/lib:
    /ocilib-3.9.2:/ocilib-3.9.2/include

    6) ./configure --with-oracle-headers-path=$ORACLE_HOME/sdk/include --with-
    oracle-lib-path=$ORACLE_HOME
    7) make
    8) su (to become root)
    9) make install

    Now you should find the compiled library in /usr/local/lib
    and the header file in /usr/local/include

    Enjoy !!!

    Thank you so much Vincent Rogier. I really appreciate your help.
    I hope you modify the documentation to include these steps especially the make
    command. It shouldn't have (./) before it.

    Thanks.
    Muly.

     
  • Vincent Rogier

    Vincent Rogier - 2011-07-24

    I'm glad you've solved your problem.

    i fix the typo in the doc...