Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1iKW-0005jF-23 for pgsql-odbc@arkaria.postgresql.org; Tue, 23 Jul 2013 19:33:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V1iKV-0005Xc-DB for pgsql-odbc@arkaria.postgresql.org; Tue, 23 Jul 2013 19:33:03 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1iKU-0005XV-6O for pgsql-odbc@postgresql.org; Tue, 23 Jul 2013 19:33:02 +0000 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1iKQ-0008Gj-Ei for pgsql-odbc@postgresql.org; Tue, 23 Jul 2013 19:33:01 +0000 Received: by mail-qc0-f173.google.com with SMTP id l10so4542881qcy.4 for ; Tue, 23 Jul 2013 12:32:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nNMQ1rjVy+YMgL/cJpw1tti3wVkIRTiWjiBcZYXltcY=; b=s85KyWdGP9h6wcrw6h0TUNP47cFd6ZAnmzZP45sWG/Gt6AQC3jf87EJ/geP9Q3GtYj gr9tGPg98bK0vVavZwEfSDVVFTbT1d4Qi2jW3BcBPulqDuzUMqfesaksT5GGwxZ2FPSi BRulJ/DxzunpfVGCeyG5T3uBPRHN1tHZ67ii98prxzWDQyQnL68HgXkG5oLGLdxpOOkr ETvfMexeaMeAuQ/Zwl49MYflkj5eqKO6nVvmCyByxt7wbilslPcXlsrzHrhS6K1l68gb OQX/Q7nBJzk9XWJubdpRQSJaPiyunMlR2wd7ZGKxNDkkRLqKtmKhzc/F+paQvi8cJnGJ +dTQ== MIME-Version: 1.0 X-Received: by 10.224.13.202 with SMTP id d10mr41926518qaa.19.1374607976710; Tue, 23 Jul 2013 12:32:56 -0700 (PDT) Received: by 10.229.140.203 with HTTP; Tue, 23 Jul 2013 12:32:56 -0700 (PDT) In-Reply-To: References: <51E9D5FD.7080003@tpf.co.jp> Date: Wed, 24 Jul 2013 01:02:56 +0530 Message-ID: Subject: Re: Fwd: configure: error: unixODBC library "odbcinst" not found while trying to compile odbc From: Dev Kumkar To: onurgulsevgi@gmail.com Cc: Hiroshi Inoue , "pgsql-odbc@postgresql.org" Content-Type: multipart/alternative; boundary=047d7bf0f41a284de104e232dcc4 X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org --047d7bf0f41a284de104e232dcc4 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Jul 24, 2013 at 12:03 AM, onur gulsevgi 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 wrote: > >> On Tue, Jul 23, 2013 at 8:09 PM, onur gulsevgi 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... --047d7bf0f41a284de104e232dcc4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On W= ed, Jul 24, 2013 at 12:03 AM, onur gulsevgi <onurgulsevgi@gmail.com= > wrote:
Dev,
I have uploaded the command result. Yes, configure is= sue has been resolved after you have provided LD_LIBRARY_PATH clue. Thank y= ou by the way again.
Regards,
Onur


On Tue, Jul 23, 2013 at 9:28 PM, Dev Kumkar <devdas.ku= mkar@gmail.com> wrote:
On Tue, Jul 23, 2013 at = 8:09 PM, onur gulsevgi <ogulsevgi@gmail.com> wrote:
Hello fri= ends,
=A0
Thank you for your help. But this installation is becoming harder in e= ach step. Right now
./configure step seems OK. However in the "make" step I get = the following error.
=A0

orabosa->>./configure --with-unixodbc=3D/usr/local/unixODBC= --without-libpq --prefix=3D/data11/ora_bosa/bosadb/odbc/driver

checking for a BSD-compa= tible install... config/install-sh -c

...

c= hecking for gcc... gcc

checking whether the C c= ompiler works... yes

checking for C compiler = default output file name... a.out

checking for suffix of e= xecutables...

checking whether w= e are cross compiling... no

checking for suffix of o= bject files... o

= ...

checking dependency style of gcc... gcc3

= ...

checking dependency style of gcc... (cached) gcc3

checking for ssize_t... yes
...

configure: creating ./co= nfig.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 direct= ory `/data11/ora_bosa/bosadb/odbc/psqlodbc-09.02.0100'

/bin/bash ./libtool --ta= g=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I/usr/local/unixODBC/inclu= de -Wall -Wno-pointer-sign -g -O2 -MT info.lo -MD -MP -MF .deps/info.Tpo -c= -o info.lo info.c

libtool: compile: gcc -D= HAVE_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/i= nfo.o

cc1: error: unrecognized= command line option "-Wno-pointer-sign"

make[1]: *** [info.lo] E= rror 1

make[1]: Leaving directo= ry `/data11/ora_bosa/bosadb/odbc/psqlodbc-09.02.0100'

make: *** [all] Error 2<= /font>

=A0

Any clues?

Regards,

Onur


=
<= /blockquote>

Ok.

Regarding Make errors= , for me the Makefile didn't had these issues.

=A0=A0=A0=A0 >> checking dependency style = of gcc... gcc3

=A0=A0=A0=A0 >> checking dependency style of gcc... (cached) = gcc3

Looking at above errors, looks like you are tryin= g 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 C= C environment variable
Or else
Manually remove = this option from your Makefile

My CFLAGS=A0 was as follows in Makefile:
=A0=A0=A0=A0=A0 = CFLAGS =3D -g -O2

Regards...
--047d7bf0f41a284de104e232dcc4--