Re: Configuration error in psqlodbc-09.05.0100 Solaris 10

Поиск
Список
Период
Сортировка
От Shinya, Araki
Тема Re: Configuration error in psqlodbc-09.05.0100 Solaris 10
Дата
Msg-id 1473728887713-5920889.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: Configuration error in psqlodbc-09.05.0100 Solaris 10  ("Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>)
Список 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.


В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: Re: Configuration error in psqlodbc-09.05.0100 Solaris 10
Следующее
От: brajmohan saxena
Дата:
Сообщение: psqlodbc without libpq