Skip to Content.
Sympa Menu

freetds - Re: Configuration problem?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Castellano, Nicholas" <Nicholas_Castellano AT acml.com>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: Configuration problem?
  • Date: Wed, 23 Oct 2002 09:47:54 -0400


It was a bug in include/tds_configs.h. Most of us probably didn't notice
because we use ~/.freetds.conf most of the time. It's fixed now, thanks for
the bug report.

Cheers,
--nick

-----Original Message-----
From: bounce-freetds-145195 AT franklin.oit.unc.edu
[mailto:bounce-freetds-145195 AT franklin.oit.unc.edu]
Sent: Wednesday, October 23, 2002 8:20 AM
To: TDS Development Group
Subject: [freetds] Re: Configuration problem?


On Wed, 23 Oct 2002 04:20:50 -0400, "Björn Lantz"
<bjorn.lantz AT twoguysandadog.com> wrote:
> Just downloaded the nightly snapshot and compiled it. I use it with
> php and unixodbc.
>
> When I had the clean 0.60 it worked (with php/unixodbc:s bad
> behaviour), but when I tried the nightly snapshot it does not even
> connect to the server.
>
> I am not a debugging guru in Linux, but I tried "strace" wich gave me
> some leads. I found lines containing a bad path like:
>
> open("/etcfreetds.conf", O_RDONLY) = -1 ENOENT (No such file or
> directory)

Björn,

You might have triggered a bug in the configure script; not many people
override sysconfdir.

1. Do things get better if you add a trailing slash: "--sysconfdir=/etc/" ?
2. If not, could you set TDSDUMPCONFIG and post its log here?

I think from the log file we'll be able to tell what's wrong.

Thanks,

--jkl


> I config:ed like this:
>
> i386-redhat-linux \
> --prefix=/usr \
> --exec-prefix=/usr \
> --bindir=/usr/bin \
> --sbindir=/usr/sbin \
> --sysconfdir=/etc \
[...]

---
You are currently subscribed to freetds as: [Nicholas_Castellano AT acml.com]
To unsubscribe, forward this message to
$subst('Email.Unsub')


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.






Archive powered by MHonArc 2.6.24.

Top of Page