Skip to Content.
Sympa Menu

freetds - Re: [freetds] Error when running ./config

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Gettings Kelly - kgetti" <Kelly.Gettings AT acxiom.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Error when running ./config
  • Date: Thu, 5 Jan 2006 09:05:05 -0600

Sorry for the typo - it is ./configure

You were correct - I installed c++ and now everything tests out using
tsql

New problem - I am not sure I have everything configured correctly with
my odbc.ini as I am not able to see my DSN's from an internal
application we are using on the Linux box.

Any tips on what I may have missed? I have setup the odbc.ini and
onbcinst.ini and have registered them using odbcinst. Since I can
connect using tsql I am pretty sure I have everything with FreeTDS setup
correctly. When I try to connect using isql I get this error:

[IM004][unixODBC][Driver Manager]Driver's SQLAllocHandle on
SQL_HANDLE_HENV failed
[ISQL]ERROR: Could not SQLConnect

One question I had is the driver file I am using - a lot of docs I have
read mention using libtdsodbc_mssql.so.0 or libtdsodbc.so - I can't find
those in the version I'm using (FreeTDS 0.63). What driver file should I
be using to connect to a MS SQL server?

Thks!

-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of ZIGLIO,
Frediano, VF-IT
Sent: Thursday, January 05, 2006 4:17 AM
To: FreeTDS Development Group
Subject: Re: [freetds] Error when running ./config

Hi

>
> Let me first apologize for being a novice :)
>
> When running ./config I get the following error:
>

It should be configure, not config

> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check See
> `config.log' for more details.
>
> I checked the config.log file and here is what it shows:
>
> | Syntax error
> configure:4772: /lib/cpp -D_FREETDS_LIBRARY_SOURCE conftest.cc
> cpp: installation problem, cannot exec `cc1plus': No such file or
> directory

Well, probably you haven't installed c++... It should be not required
but I think libtool try to detect this. Please install it. It should be
package gcc-c++.

> configure:4778: $? = 1
> configure: failed program was:
> | #line 4758 "configure"
> | /* confdefs.h. */
>
>
> If I run command above as root I get the following:
>
> /lib/cpp -D_FREETDS_LIBRARY_SOURCE conftest.cc
> cpp: conftest.cc: No such file or directory
> cpp: no input files
>
> I think this is a problem with conftest.cc but I am not able to figure

> out exactly what it is or how to fix it. I am running Red Hat
> Enterprise Linux AS (4.4 for 32-bit x86.
> Any help is appreciated - thks!
>

bye
freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
*************************************************************************
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.

If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank you.
*************************************************************************




Archive powered by MHonArc 2.6.24.

Top of Page