[freetds] FREE-TDS 0.61 on QNX 4.25
GUTIERREZ Pablo TESIS-TAMSA
Tesgup at tamsa.com.mx
Mon Apr 14 12:35:46 EDT 2003
When I said:
"If someone have QNX 4.25 and is willing to produce a ./configure that
"If someone is willing to write a configure.in"
I think it is possible to generate a ./configure that runs in QNX's Korn
Shell with little effort.
From: Lowden, James K [mailto:LowdenJK at bernstein.com]
Sent: Monday, April 14, 2003 11:30 AM
To: 'FreeTDS Development Group'
Subject: RE: [freetds] FREE-TDS 0.61 on QNX 4.25
> From: GUTIERREZ Pablo TESIS-TAMSA [mailto:Tesgup at tamsa.com.mx]
> Sent: April 14, 2003 11:38 AM
> If you run ./configure under native QNX's Korn Shell it prints lots of
> errors and configuration data in files (such as max_cmd_len
> in ./libtool or ./include/configure.h) is wrong or empty.
A simpler explanation is that configure is a Bourne shell script. It should
be expected to work when processed by a Bourne shell interpreter. It should
not be expected to work when processed by any other interpreter, be it Korn,
Perl, Python, csh, etc. The mere fact that Bourne and Korn are both shells
doesn't make them interchangeable, or even more than minimally similar.
> If someone have QNX 4.25 and is willing to produce a
> ./configure that runs
> in QNX's Korn shell please get in touch with me to work together.
The configure script is generated by GNU autoconf, which targets Bourne
shell syntax. It changes as the project changes, and as autoconf changes.
Hacking it is pointless.
Bash does a fairly good job of being Bourne compatible, and compatibility is
one of the project's expressed goals. Many Linux distributions, notably
Debian IIRC, ship only Bash and rely on its Bourne-compatible behavior when
invoked as "sh". Unless the QNX Korn shell has similar aspirations, you're
much better off using Bash to run configure.
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
More information about the FreeTDS