Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjcCy-0003Fe-9I for pgsql-odbc@arkaria.postgresql.org; Tue, 13 Sep 2016 01:08:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bjcCx-0004aR-LT for pgsql-odbc@arkaria.postgresql.org; Tue, 13 Sep 2016 01:08:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bjcCx-0004aK-6O for pgsql-odbc@postgresql.org; Tue, 13 Sep 2016 01:08:19 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjcCo-0005F2-2y for pgsql-odbc@postgresql.org; Tue, 13 Sep 2016 01:08:16 +0000 Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id DB42A4DBDCD59 for ; Mon, 12 Sep 2016 18:08:07 -0700 (MST) Date: Mon, 12 Sep 2016 18:08:07 -0700 (MST) From: "Shinya, Araki" To: pgsql-odbc@postgresql.org Message-ID: <1473728887713-5920889.post@n3.nabble.com> In-Reply-To: <0A3221C70F24FB45833433255569204D1F5EB847@G01JPEXMBYT05> References: <1473230562717-5919915.post@n3.nabble.com> <534c60aa-0ff3-8119-9ae1-4816c83607ac@aklaver.com> <1473656156919-5920689.post@n3.nabble.com> <0A3221C70F24FB45833433255569204D1F5EB847@G01JPEXMBYT05> Subject: Re: Configuration error in psqlodbc-09.05.0100 Solaris 10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) 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 I was installed only libpq5 from csw. Therefore remove the libpq5, I installed the PostgreSQL9.5.0. And, "configure" command was successful. =E3=80=90"configure" command=E3=80=91 ./configure --prefix=3D/usr/local/psqlodbc --with-unixodbc=3D/usr/local/unixODBC/bin/odbc_config --with-libpq=3D/usr/local/postgresql Thank you, Takayuki Tsunakawa However, this time an error occurs in the "make" command. What is the cause? =E3=80=90"make" command=E3=80=91 -bash-3.00 # make make all-am source =3D 'info.c' object =3D 'info.lo' libtool =3D yes \ DEPDIR =3D .deps depmode =3D none / bin / bash ./config/depcomp \ / Bin / bash ./libtool --tag =3D CC --mode =3D compile cc -DHAVE_CONFIG_H -= I. -I / Usr / local / unixODBC / include -I / usr / local / postgresql / include -I / usr / local / postgresql / include -g -c -o info.lo info.c . Libtool: compile: cc -DHAVE_CONFIG_H -I -I / usr / local / unixODBC / include -I / usr / local / postgresql / include -I / usr / local / postgresql / include -g -c info.c -KPIC - DPIC -o .libs / info.o "Descriptor.h", line 176: warning: unnamed struct member "Info.c", line 1118: improper member use: ardf "Info.c", line 1946: improper member use: ardf "Info.c", line 2395: improper member use: ardf "Info.c", line 2916: improper member use: ardf "Info.c", line 3092: improper member use: ardf "Info.c", line 3602: improper member use: ardf "Info.c", line 3682: improper member use: ardf "Info.c", line 4110: improper member use: ardf "Info.c", line 4985: improper member use: ardf "Info.c", line 5325: improper member use: ardf "Info.c", line 5422: improper member use: ardf "Info.c", line 5861: improper member use: ardf cc: acomp failed for info.c *** Error code 1 make: Fatal error: Command failed for target `info.lo ' Current working directory /export/home/oracle/psqlodbc-09.05.0100 *** Error code 1 make: Fatal error: Command failed for target `all ' Thanks & Regards, Araki Tsunakawa, Takayuki wrote > Does the architecture of the library match that of the program configure > is trying to build? e.g. isn't the odbcinst.so a 64-bit library, while > configure is trying to build a 32-bit program? >=20 > $ file odbcinst.so >=20 > Regards > Takayuki Tsunakawa >=20 >=20 >> From:=20 > pgsql-odbc-owner@ >> [mailto: > pgsql-odbc-owner@ > ] On Behalf Of Shinya, Araki >> Sent: Monday, September 12, 2016 1:56 PM >> To:=20 > pgsql-odbc@ >> Subject: Re: [ODBC] Configuration error in psqlodbc-09.05.0100 Solaris 10 >>=20 >> I installed the unixodbc_dev from OpenCSW. >>=20 >> command >> /opt/csw/bin/pkgutil -y -i unixodbc_dev >>=20 >>=20 >> but same error occurs.(unixODBC library "odbcinst" not found ) >>=20 >> Thanks & Regards, >>=20 >> Araki >=20 >=20 > --=20 > Sent via pgsql-odbc mailing list ( > pgsql-odbc@ > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-odbc -- View this message in context: http://postgresql.nabble.com/Configuration-er= ror-in-psqlodbc-09-05-0100-Solaris-10-tp5919915p5920889.html Sent from the PostgreSQL - odbc mailing list archive at Nabble.com. --=20 Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc