pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedDriver manager detection in 08.02.0400 is broken
9+ messages / 2 participants
[nested] [flat]
* Driver manager detection in 08.02.0400 is broken
@ 2007-05-04 10:14 Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:37 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
0 siblings, 1 reply; 9+ messages in thread
From: Peter Eisentraut @ 2007-05-04 10:14 UTC (permalink / raw)
To: pgsql-odbc
The detection of the driver manager in 08.02.0400 (unixODBC vs iODBC) doesn't
work at all. No matter what you say as option, it always picks unixODBC.
Apparently, somebody didn't understand what the AC_ARG_WITH macros do.
That's why we had used PGAC_ARG_* before. What was the point of that change
anyway? Somebody has been creating a big mess in configure.ac without much
explanation.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Driver manager detection in 08.02.0400 is broken
2007-05-04 10:14 Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
@ 2007-05-04 11:37 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 11:54 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 12:13 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
0 siblings, 2 replies; 9+ messages in thread
From: Hiroshi Saito @ 2007-05-04 11:37 UTC (permalink / raw)
To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-odbc
From: "Peter Eisentraut" <peter_e@gmx.net>
To: <pgsql-odbc@postgresql.org>
Sent: Friday, May 04, 2007 7:14 PM
Subject: [ODBC] Driver manager detection in 08.02.0400 is broken
> The detection of the driver manager in 08.02.0400 (unixODBC vs iODBC) doesn't
> work at all. No matter what you say as option, it always picks unixODBC.
> Apparently, somebody didn't understand what the AC_ARG_WITH macros do.
> That's why we had used PGAC_ARG_* before. What was the point of that change
> anyway? Somebody has been creating a big mess in configure.ac without much
> explanation.
Eh? , I use iODBC on FreeBSD. I have the positive proof of the test that uses it.
How does it make trouble?
P.S)
I had propriety and confirmed it to you first. However, I think your opinion and
correction to be a surprise attack. .....
Regards,
Hiroshi Saito
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Driver manager detection in 08.02.0400 is broken
2007-05-04 10:14 Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:37 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
@ 2007-05-04 11:54 ` Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:58 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
1 sibling, 1 reply; 9+ messages in thread
From: Peter Eisentraut @ 2007-05-04 11:54 UTC (permalink / raw)
To: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>; +Cc: pgsql-odbc
Am Freitag, 4. Mai 2007 13:37 schrieb Hiroshi Saito:
> Eh? , I use iODBC on FreeBSD. I have the positive proof of the test that
> uses it. How does it make trouble?
I said --without-unixodbc and it still turned it on.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Driver manager detection in 08.02.0400 is broken
2007-05-04 10:14 Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:37 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 11:54 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
@ 2007-05-04 11:58 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 12:28 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 9+ messages in thread
From: Hiroshi Saito @ 2007-05-04 11:58 UTC (permalink / raw)
To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-odbc
> Am Freitag, 4. Mai 2007 13:37 schrieb Hiroshi Saito:
>> Eh? , I use iODBC on FreeBSD. I have the positive proof of the test that
>> uses it. How does it make trouble?
>
> I said --without-unixodbc and it still turned it on.
Ahhh, I understood.
I use this.
configure --enable-unicode --with-iodbc --with-odbcver=0x0300 --enable-pthreads
It is necessary to adjust it. or write the document.
Thanks!
Regards,
Hiroshi Saito
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Driver manager detection in 08.02.0400 is broken
2007-05-04 10:14 Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:37 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 11:54 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:58 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
@ 2007-05-04 12:28 ` Peter Eisentraut <peter_e@gmx.net>
2007-05-04 13:19 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
0 siblings, 1 reply; 9+ messages in thread
From: Peter Eisentraut @ 2007-05-04 12:28 UTC (permalink / raw)
To: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>; +Cc: pgsql-odbc
Am Freitag, 4. Mai 2007 13:58 schrieb Hiroshi Saito:
> > Am Freitag, 4. Mai 2007 13:37 schrieb Hiroshi Saito:
> >> Eh? , I use iODBC on FreeBSD. I have the positive proof of the test that
> >> uses it. How does it make trouble?
> >
> > I said --without-unixodbc and it still turned it on.
>
> Ahhh, I understood.
>
> I use this.
> configure --enable-unicode --with-iodbc --with-odbcver=0x0300
> --enable-pthreads
>
> It is necessary to adjust it. or write the document.
I've cleaned up the configure.ac file so that the --without- and --disable-
options actually mean "turn off". I'm not really familiar with the changed
driver manager detection logic yet, but at least it should have less
surprises now.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Driver manager detection in 08.02.0400 is broken
2007-05-04 10:14 Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:37 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 11:54 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:58 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 12:28 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
@ 2007-05-04 13:19 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 16:00 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 9+ messages in thread
From: Hiroshi Saito @ 2007-05-04 13:19 UTC (permalink / raw)
To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-odbc
From: "Peter Eisentraut" <peter_e@gmx.net>
> Am Freitag, 4. Mai 2007 13:58 schrieb Hiroshi Saito:
>> > Am Freitag, 4. Mai 2007 13:37 schrieb Hiroshi Saito:
>> >> Eh? , I use iODBC on FreeBSD. I have the positive proof of the test that
>> >> uses it. How does it make trouble?
>> >
>> > I said --without-unixodbc and it still turned it on.
>>
>> Ahhh, I understood.
>>
>> I use this.
>> configure --enable-unicode --with-iodbc --with-odbcver=0x0300
>> --enable-pthreads
>>
>> It is necessary to adjust it. or write the document.
>
> I've cleaned up the configure.ac file so that the --without- and --disable-
> options actually mean "turn off". I'm not really familiar with the changed
> driver manager detection logic yet, but at least it should have less
> surprises now.
Umm, Problem of my autoconf?
Putting files in AC_CONFIG_AUX_DIR, `config'.
configure.ac:64: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure: error: cannot find install-sh or install.sh in config ./config
inet% autoconf -V
autoconf (GNU Autoconf) 2.59
Regards,
Hiroshi Saito
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Driver manager detection in 08.02.0400 is broken
2007-05-04 10:14 Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:37 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 11:54 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:58 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 12:28 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 13:19 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
@ 2007-05-04 16:00 ` Peter Eisentraut <peter_e@gmx.net>
2007-05-04 16:13 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
0 siblings, 1 reply; 9+ messages in thread
From: Peter Eisentraut @ 2007-05-04 16:00 UTC (permalink / raw)
To: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>; +Cc: pgsql-odbc
Am Freitag, 4. Mai 2007 15:19 schrieb Hiroshi Saito:
> Umm, Problem of my autoconf?
>
> Putting files in AC_CONFIG_AUX_DIR, `config'.
> configure.ac:64: error: possibly undefined macro: AC_DEFINE
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure: error: cannot find install-sh or install.sh in config ./config
Try running
autoreconf -i
The order in which you run the autotools and the options you pass can be
pretty complicated, and I could reproduce your problem by running them
manually, but the above should work and run all the necessary tools.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Driver manager detection in 08.02.0400 is broken
2007-05-04 10:14 Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:37 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 11:54 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:58 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 12:28 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 13:19 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 16:00 ` Re: Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
@ 2007-05-04 16:13 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
0 siblings, 0 replies; 9+ messages in thread
From: Hiroshi Saito @ 2007-05-04 16:13 UTC (permalink / raw)
To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-odbc
From: "Peter Eisentraut" <peter_e@gmx.net>
> Am Freitag, 4. Mai 2007 15:19 schrieb Hiroshi Saito:
>> Umm, Problem of my autoconf?
>>
>> Putting files in AC_CONFIG_AUX_DIR, `config'.
>> configure.ac:64: error: possibly undefined macro: AC_DEFINE
>> If this token and others are legitimate, please use m4_pattern_allow.
>> See the Autoconf documentation.
>> configure: error: cannot find install-sh or install.sh in config ./config
>
> Try running
>
> autoreconf -i
>
> The order in which you run the autotools and the options you pass can be
> pretty complicated, and I could reproduce your problem by running them
> manually, but the above should work and run all the necessary tools.
cvs HEAD passed all. Thanks.!
Regards,
Hiroshi Saito
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: Driver manager detection in 08.02.0400 is broken
2007-05-04 10:14 Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:37 ` Re: Driver manager detection in 08.02.0400 is broken Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
@ 2007-05-04 12:13 ` Peter Eisentraut <peter_e@gmx.net>
1 sibling, 0 replies; 9+ messages in thread
From: Peter Eisentraut @ 2007-05-04 12:13 UTC (permalink / raw)
To: Hiroshi Saito <z-saito@guitar.ocn.ne.jp>; +Cc: pgsql-odbc
Am Freitag, 4. Mai 2007 13:37 schrieb Hiroshi Saito:
> Eh? , I use iODBC on FreeBSD. I have the positive proof of the test that
> uses it. How does it make trouble?
It seems it does end up working; just the selection logic is faulty in some
cases. I'm working on a fix.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 9+ messages in thread
end of thread, other threads:[~2007-05-04 16:13 UTC | newest]
Thread overview: 9+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-05-04 10:14 Driver manager detection in 08.02.0400 is broken Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:37 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 11:54 ` Peter Eisentraut <peter_e@gmx.net>
2007-05-04 11:58 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 12:28 ` Peter Eisentraut <peter_e@gmx.net>
2007-05-04 13:19 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 16:00 ` Peter Eisentraut <peter_e@gmx.net>
2007-05-04 16:13 ` Hiroshi Saito <z-saito@guitar.ocn.ne.jp>
2007-05-04 12:13 ` Peter Eisentraut <peter_e@gmx.net>
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