From: Dev Kumkar <devdas.kumkar@gmail.com>
To: onurgulsevgi@gmail.com
Cc: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc
Date: Wed, 24 Jul 2013 01:02:56 +0530
Message-ID: <CALSLE1MUd6EJdm_Ws6TSKyUDoiRHw1bjWWzEEbt5oPbPbiKEPA@mail.gmail.com> (raw)
In-Reply-To: <CAOVLFwj_itNH9u5e6dT7AJuei7H0vzw7eoMTGg6TXvC+F1Uv4Q@mail.gmail.com>
References: <CAOVLFwgLp5LxcSHOCL8R4fjQCDHb3j46_eNNtrG=8eyeynGf+Q@mail.gmail.com>
<CAOVLFwjc_CEC-FnZNpqomVgcC9o2WYQCu4LZUk2F4hJZr0fKcA@mail.gmail.com>
<CALSLE1Mo5PbVEW28ConAWpvusq+7jWm=DeYEC+B2U-Ztuxd_Yw@mail.gmail.com>
<CAOVLFwj5S37Hdj+9m3WZ4HAE_9fO9RGcj8E+gdjSHWvxT0VD7w@mail.gmail.com>
<CALSLE1NpY5FD6tek9O7Y3m3LFxrsE2MxHMKWgx5aMGoRhTUotw@mail.gmail.com>
<51E9D5FD.7080003@tpf.co.jp>
<CAOVLFwhn-mx5QtCXZPLCa5-wEP+oGmB_Jca=tiwh+rT=vNGG=Q@mail.gmail.com>
<CALSLE1NA-NUs4unDFtojnpXzK8tWeXVGv2ZEwGj9zh_vs0c7Yg@mail.gmail.com>
<CAOVLFwhKUqkD=u8WDEAsXiKrJ1_qiDDroKcYqvaGqcSz+XmFzQ@mail.gmail.com>
<CALSLE1Mx64BVV6jUxk7YOM5AKw90U6ucXsSX2k7PpOM0LRx8iw@mail.gmail.com>
<CAOVLFwj_itNH9u5e6dT7AJuei7H0vzw7eoMTGg6TXvC+F1Uv4Q@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>
On Wed, Jul 24, 2013 at 12:03 AM, onur gulsevgi <onurgulsevgi@gmail.com>wrote:
> Dev,
> I have uploaded the command result. Yes, configure issue has been resolved
> after you have provided LD_LIBRARY_PATH clue. Thank you by the way again.
> Regards,
> Onur
>
>
> On Tue, Jul 23, 2013 at 9:28 PM, Dev Kumkar <devdas.kumkar@gmail.com>wrote:
>
>> On Tue, Jul 23, 2013 at 8:09 PM, onur gulsevgi <ogulsevgi@gmail.com>wrote:
>>
>>> Hello friends,
>>>
>>> Thank you for your help. But this installation is becoming harder in
>>> each step. Right now
>>> ./configure step seems OK. However in the "make" step I get the
>>> following error.
>>>
>>>
>>> orabosa->>./configure --with-unixodbc=/usr/local/unixODBC
>>> --without-libpq --prefix=/data11/ora_bosa/bosadb/odbc/driver
>>>
>>> checking for a BSD-compatible install... config/install-sh -c
>>> ...
>>>
>>> checking for gcc... gcc
>>>
>>> checking whether the C compiler works... yes
>>>
>>> checking for C compiler default output file name... a.out
>>>
>>> checking for suffix of executables...
>>>
>>> checking whether we are cross compiling... no
>>>
>>> checking for suffix of object files... o
>>> ...
>>>
>>> checking dependency style of gcc... gcc3
>>> ...
>>>
>>> *checking dependency style of gcc... (cached) gcc3*
>>> checking for ssize_t... yes
>>> ...
>>>
>>> configure: creating ./config.status
>>>
>>> config.status: creating Makefile
>>>
>>> config.status: creating config.h
>>>
>>> config.status: config.h is unchanged
>>>
>>> config.status: executing depfiles commands
>>>
>>> config.status: executing libtool commands
>>>
>>> orabosa->>make
>>>
>>> make all-am
>>>
>>> make[1]: Entering directory
>>> `/data11/ora_bosa/bosadb/odbc/psqlodbc-09.02.0100'
>>>
>>> /bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
>>> -I/usr/local/unixODBC/include -Wall -Wno-pointer-sign -g -O2 -MT info.lo
>>> -MD -MP -MF .deps/info.Tpo -c -o info.lo info.c
>>>
>>> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/usr/local/unixODBC/include
>>> -Wall -Wno-pointer-sign -g -O2 -MT info.lo -MD -MP -MF .deps/info.Tpo -c
>>> info.c -fPIC -DPIC -o .libs/info.o
>>>
>>> cc1: error: unrecognized command line option "-Wno-pointer-sign"
>>>
>>> make[1]: *** [info.lo] Error 1
>>>
>>> make[1]: Leaving directory
>>> `/data11/ora_bosa/bosadb/odbc/psqlodbc-09.02.0100'
>>>
>>> make: *** [all] Error 2
>>>
>>>
>>>
>>> Any clues?
>>>
>>> Regards,
>>>
>>> Onur
>>>
>>>
Ok.
Regarding Make errors, for me the Makefile didn't had these issues.
>> checking dependency style of gcc... gcc3
* >> checking dependency style of gcc... (cached) gcc3*
Looking at above errors, looks like you are trying to compile using gcc3
and not the newer gcc4.
-Wno-pointer-sign is a new GCC-4 warning flag, that isn't supported by
GCC-3.
If you have both versions installed then you can update the CC environment
variable
Or else
Manually remove this option from your Makefile
My CFLAGS was as follows in Makefile:
CFLAGS = -g -O2
Regards...
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: devdas.kumkar@gmail.com, onurgulsevgi@gmail.com, inoue@tpf.co.jp
Subject: Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc
In-Reply-To: <CALSLE1MUd6EJdm_Ws6TSKyUDoiRHw1bjWWzEEbt5oPbPbiKEPA@mail.gmail.com>
References: <CAOVLFwgLp5LxcSHOCL8R4fjQCDHb3j46_eNNtrG=8eyeynGf+Q@mail.gmail.com> <CAOVLFwjc_CEC-FnZNpqomVgcC9o2WYQCu4LZUk2F4hJZr0fKcA@mail.gmail.com> <CALSLE1Mo5PbVEW28ConAWpvusq+7jWm=DeYEC+B2U-Ztuxd_Yw@mail.gmail.com> <CAOVLFwj5S37Hdj+9m3WZ4HAE_9fO9RGcj8E+gdjSHWvxT0VD7w@mail.gmail.com> <CALSLE1NpY5FD6tek9O7Y3m3LFxrsE2MxHMKWgx5aMGoRhTUotw@mail.gmail.com> <51E9D5FD.7080003@tpf.co.jp> <CAOVLFwhn-mx5QtCXZPLCa5-wEP+oGmB_Jca=tiwh+rT=vNGG=Q@mail.gmail.com> <CALSLE1NA-NUs4unDFtojnpXzK8tWeXVGv2ZEwGj9zh_vs0c7Yg@mail.gmail.com> <CAOVLFwhKUqkD=u8WDEAsXiKrJ1_qiDDroKcYqvaGqcSz+XmFzQ@mail.gmail.com> <CALSLE1Mx64BVV6jUxk7YOM5AKw90U6ucXsSX2k7PpOM0LRx8iw@mail.gmail.com> <CAOVLFwj_itNH9u5e6dT7AJuei7H0vzw7eoMTGg6TXvC+F1Uv4Q@mail.gmail.com> <CALSLE1MUd6EJdm_Ws6TSKyUDoiRHw1bjWWzEEbt5oPbPbiKEPA@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox