Skip to Content.
Sympa Menu

freetds - Re: Configuration problem?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James K. Lowden <jklowden AT speakeasy.org>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Configuration problem?
  • Date: Wed, 23 Oct 2002 08:19:46 -0400


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 \
[...]




Archive powered by MHonArc 2.6.24.

Top of Page