From: | "Shinya, Araki" <saraki(at)pacific-systems(dot)co(dot)jp> |
---|---|
To: | pgsql-odbc(at)postgresql(dot)org |
Subject: | Re: Configuration error in psqlodbc-09.05.0100 Solaris 10 |
Date: | 2016-09-13 01:08:07 |
Message-ID: | 1473728887713-5920889.post@n3.nabble.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-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.html
Sent from the PostgreSQL - odbc mailing list archive at Nabble.com.
From | Date | Subject | |
---|---|---|---|
Next Message | brajmohan saxena | 2016-09-23 07:02:52 | psqlodbc without libpq |
Previous Message | Tsunakawa, Takayuki | 2016-09-13 00:54:30 | Re: Configuration error in psqlodbc-09.05.0100 Solaris 10 |