Skip to Content.
Sympa Menu

freetds - RE: [freetds] Can't 'make check' - installing freetds 0.63 - newproblem :(

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Can't 'make check' - installing freetds 0.63 - newproblem :(
  • Date: Wed, 11 May 2005 08:56:28 +0200

>
> Thanks for all your help. Earlier today, from Solaris I
> successfully read
> data from a MSSQL db!
>
> I took this fantastic tool to our test (production mirror)
> environment, but
> unfortunately I'm having a different 'make check' problem.
>
> It looks like the problem I had yesterday where I was unable
> to telnet to
> the db from the machine I was compiling on. This time I can
> telnet, so I
> don't know how to get round the problem (make check output
> shown below).
>
>
> Once successfully built it in our test environment, I have
> to copy the binaries/libraries
> etc to our production environment. This is because our
> production servers
> are all built without c compilers (security measure). Could
> someone provide
> a list of what files I need to copy?
>

I don't know however it's quite easy

$ configure --whatever-option-you-want
$ make
$ mkdir distro
$ DESTDIR=$PWD/distro make install
$ cd distro
$ tar cf - . | gzip -9 > ../distro.tgz
$ cd ..

You will get a distro.tgz ready to be unpacked under destination /.
It's also a good advice to use --prefix and a directory like
/opt/freetds or /usr/local/freetds (as James suggested).
If you want to transfer even tests the better way is to build and pack
entire source tree.

> I configured the install with the command
> ./configure --with-tdsver=7.0 --with-prefix=/usr/local/freetds
> but tsql installed to:
> /usr/local/bin/tsql
> So I'm a bit confused about where everything has gone
>
> Thanks again,
>
> Edward
>
>
>
> ------------------make check output-------------------------------
> Making check in include
> Making check in src
> Making check in replacements
> Making check in tds
> Making check in unittests
> make t0001 t0002 t0003 t0004 t0005 t0006 t0007 t0008
> dynamic1 convert
> dataread utf8_1 utf8_2
> `t0001' is up to date.
> `t0002' is up to date.
> `t0003' is up to date.
> `t0004' is up to date.
> `t0005' is up to date.
> `t0006' is up to date.
> `t0007' is up to date.
> `t0008' is up to date.
> `dynamic1' is up to date.
> `convert' is up to date.
> `dataread' is up to date.
> `utf8_1' is up to date.
> `utf8_2' is up to date.
> make check-TESTS
> t0001.c: Testing login, logout
> iconv.c:357: failed assertion `ret == 0'
> FAIL: t0001

Mmm.... this is a problem with iconv. Use libiconv or --disable-libiconv
during configure. If you use no english charset is better to install
system packages for iconv.

...

freddy77



  • RE: [freetds] Can't 'make check' - installing freetds 0.63 - newproblem :(, ZIGLIO, Frediano, VF-IT, 05/11/2005

Archive powered by MHonArc 2.6.24.

Top of Page