pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shinya, Araki <saraki@pacific-systems.co.jp>
To: pgsql-odbc@postgresql.org
Subject: Re: Configuration error in psqlodbc-09.05.0100 Solaris 10
Date: Mon, 12 Sep 2016 18:08:07 -0700 (MST)
Message-ID: <1473728887713-5920889.post@n3.nabble.com> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

I was installed only libpq5 from csw.

Therefore remove the libpq5, I installed the PostgreSQL9.5.0.

And, "configure" command was successful.

【"configure" command】
./configure --prefix=/usr/local/psqlodbc
--with-unixodbc=/usr/local/unixODBC/bin/odbc_config
--with-libpq=/usr/local/postgresql

Thank you, Takayuki Tsunakawa

However, this time an error occurs in the "make" command.

What is the cause?

【"make" command】
-bash-3.00 # make
make all-am
source = 'info.c' object = 'info.lo' libtool = yes \
DEPDIR = .deps depmode = none / bin / bash ./config/depcomp \
/ Bin / bash ./libtool --tag = CC --mode = 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?
> 
> $ file odbcinst.so
> 
> Regards
> Takayuki Tsunakawa
> 
> 
>> From: 

> pgsql-odbc-owner@

>> [mailto:

> pgsql-odbc-owner@

> ] On Behalf Of Shinya, Araki
>> Sent: Monday, September 12, 2016 1:56 PM
>> To: 

> pgsql-odbc@

>> Subject: Re: [ODBC] Configuration error in psqlodbc-09.05.0100 Solaris 10
>> 
>> I installed the unixodbc_dev from OpenCSW.
>> 
>> command
>> /opt/csw/bin/pkgutil -y -i unixodbc_dev
>> 
>> 
>> but same error occurs.(unixODBC library "odbcinst" not found )
>> 
>> Thanks & Regards,
>> 
>> Araki
> 
> 
> -- 
> 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-error-in-psqlodbc-09-05-0100-Solaris-10-tp5919915p5920889...
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (7+ messages)

Message-ID: <1473728887713-5920889.post@n3.nabble.com>
Permalink:  ../1473728887713-5920889.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1473728887713-5920889.post@n3.nabble.com

 · 

reply

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: saraki@pacific-systems.co.jp
  Subject: Re: Configuration error in psqlodbc-09.05.0100 Solaris 10
  In-Reply-To: <1473728887713-5920889.post@n3.nabble.com>
  References: <1473230562717-5919915.post@n3.nabble.com> <534c60aa-0ff3-8119-9ae1-4816c83607ac@aklaver.com> <1473656156919-5920689.post@n3.nabble.com> <0A3221C70F24FB45833433255569204D1F5EB847@G01JPEXMBYT05> <1473728887713-5920889.post@n3.nabble.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