Skip to Content.
Sympa Menu

freetds - Re: [freetds] cannot build freetds-0.91RC2 with homebrew - any help would be greatly appreciated

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] cannot build freetds-0.91RC2 with homebrew - any help would be greatly appreciated
  • Date: Thu, 12 May 2011 09:07:33 +0200

2011/5/11 Ken Collins <ken AT metaskills.net>:
>
> Tom,
>
> 1) TinyTDS is just fine with 0.82, you only need 0.91.dev/rc if you want to
> avoid the freetds.conf file and/or use SQL Azure.
>
> 2) All the info below is FYI, but honestly you do not need it. The TinyTDS
> project includes Luis' great Miniportile project and you should be able to
> clone the git repo and do the following commands (from memory) and it will
> build a native gem just for you by building FreeTDS within the scope of the
> project and linking it all together for you. You can then gem install from
> that gem in the pkg dir.
>
>        $ bundle install
>        $ rake compile
>        $ rake native gem
>
> 3) The Homebrew questions may be better off on their list. I myself use
> MacPorts and my port file does the following. These should be applied in
> the DSL of Homebrew in some way.
>
>        a) Use
> http://www.ibiblio.org/pub/Linux/ALPHA/freetds/current/freetds-current.tgz
>
>        b) If you have to specific checksum, then be prepared to alter it
> when that link above
>        is updated. I typically curl that url and pipe it to md5 before
> installing to be sure.
>        Currently 877d8ca47a38775b95cb4e6b4b8bd4bf
>
>        c) My portfile specifies the following deps. libiconv, ncurses, and
> readline. Tho I
>        really only know that libiconv is the most important. I also specify
> a port variant that
>        puts OpenSSL as a dep in. Again, if your not using SQL Azure or need
> SSL connections
>        to the db, do not worry about it.
>
>        d) I use the following configure args. I have found that tds ver 8
> is a run-time backward
>        compatibility with a conf file and is not a valid configure option
> for 0.91.dev/rc. Again this
>        does not include "--with-openssl=${prefix}" if you pull in that
> variant. Note too, that
>        "--enable-msdb" is moot, long story, you do not need it. TinyTDS
> does what it should
>        in specifying what it needs from FreeTDS.
>
>                --mandir=${prefix}/share/man \
>                --includedir=${prefix}/include/${name} \
>                --sysconfdir=${prefix}/etc/${name} \
>                --with-libiconv-prefix=${prefix} \
>                --with-tdsver=7.1
>
>        e) Because my portfile uses the current nightly and always moving
> version number, I have
>        to get detailed with my version "0.92.dev.20110509" and name of my
> distfiles "freetds-current.tgz"
>        Be prepared to find some crazy details of Homebrew :)
>
>        f) If you want to see my portfile:
>        
> https://github.com/metaskills/macports/blob/master/databases/freetds/Portfile
>
>
>  - Ken
>

It would be better if 0.91 work! I'd like to remember that 0.92 is
going to be really developing version, that is is not even supposed to
compile every day nor working in all configurations!

fredy77




Archive powered by MHonArc 2.6.24.

Top of Page