Packaging FreeTDS for Debian

Christian Oyarzun oyarzun at wilmington.net
Tue Dec 21 20:12:39 EST 1999


I just put my src rpms at http://staff.wilmington.net/oyarzun/rpms I used a
mandrake 6.1 machine, but the should work fine on RH 6.1. I've used the
freetds support to connect to a MSSQL 7
server to do simple queries. It works fine except for small money give the
dollar amount correct,
but not the cents. I would guess it has something to do with the php code
since it works fine
with sqsh and DBD::Sybase. I've messed around the php code to see if I could
fix it, but have
yet to find a solution.

--CO

----- Original Message -----
From: "Francis Smit" <francis at oztel.com>
To: "TDS Development Group" <freetds at franklin.oit.unc.edu>
Sent: Tuesday, December 21, 1999 7:24 PM
Subject: [freetds] Re: Packaging FreeTDS for Debian


> Hi,
>     I've tried on and off to get freeTDS to run in PHP
> connecting to a MSSQL Server 7.0 DB,  and failed,
> is there a rpm available?
> If not could could some one tell me exact ./configure
> command lines that have worked?, I'm building PHP4.0b3
> as an apache module on Red Hat Linux 6.1.
>
> Thanks for any help.
>
> p.s. I did once get it to work going to a sybase db
> across the web, but I need to hook up to a NT server
> with MSSQL server, also am I only supposed to put
> software on the linux box, or is there something I need to
> do on the NT end as well??
>
> Andreas Tille wrote:
>
> > Hello,
> >
> > when I announced to build a Debian-Package from FreeTDS-JDBC I was
> > asked to do it with FreeTDS as well.  No I'll possibly use it
> > myself and I'm considering to package it.
> >
> > Now I have some questions:
> >
> > 1) What is the purpose of the file
> >
> >      /usr/interfaces
> >
> >    I tried to check the sources but didn't found a place, where it
> >    is really needed.
> >    The reason for this is that it conflicts with the Debian policy
> >    for placing files.  If it is really needed it should go anywhere
> >    under /usr/share (because it is a plain ASCII-file and so it
> >    is architecture independent).  I'd like to suggest to place it
> >    in
> >      /usr/share/freetds/interfaces
> >    and I'd like to know, if this change would require any changes to
> >    the source.
> >    May be you could think about such kind of location for your
> >    distribution or you could make the location configurable at
> >    compile time.
> >
> > 2) *How* usable is the ODBC driver.  While reading the README file,
> >    I wonder if this should/could go into a Debian package.  However,
> >    ODBC would be the real clue in the FreeTDS package.
> >
> > 3) I was not able to run the samples from the samples dircetory.
> >    It would be really helpfull for me if someone could give me a
> >    hint, what to fill into the connection data.  I run FreeTDS-JDBC
> >    successfully and perhaps somebody could tell me what I have to
> >    write in the configuration section of the three examples, if
> >    I could successfully access my database with the following
> >    JDBC-connection:
> >
> >        Class.forName("com.internetcds.jdbc.tds.Driver");
> >        Class.forName("com.internetcds.jdbc.tds.SybaseDriver");
> >
> >        String url      = "jdbc:freetds://sql03/db";
> >        String user     = "TestUser" ;
> >        String password = "password";
> >
> >        Connection cx  = DriverManager.getConnection(url, user,
password);
> >
> >    I have certain problems with the items I have to fill in the
> >    C files.
> >
> > Kind regards
> >
> >         Andreas.
>
> --
>
>                                            Grisly    . oo
>                                                       `oO
> Francis Smit
>
>
> Knowledge By Design/OzTel
> Suite 201, 683 George st
> Sydney 2000 NSW
>
> mailto:francis at kbd.com.au
>
> Tel: +61 2 9212 1399
> Fax: +61 2 9212 5727
> ___________________________________
> m$: How can we stuff you up today?
>
>
>
> ---
> You are currently subscribed to freetds as: co at wilmington.net
> To unsubscribe, forward this message to
$subst('Email.Unsub')
>




More information about the FreeTDS mailing list