Skip to Content.
Sympa Menu

freetds - Re: [freetds] Compiling to use unixODBC

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Chris parent <kireol AT yahoo.com>
  • To: brad_mcneely AT excite.com, FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Cc:
  • Subject: Re: [freetds] Compiling to use unixODBC
  • Date: Thu, 3 Feb 2005 13:47:40 -0800 (PST)

I compiled PHP with

'--with-iodbc=/usr/local' and
'--with-mssql=/usr/local/freetds' and I use freetds
via mssql calls. www.php.net/mssql.


here are all my php compile config switches for ya if
they help


./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-iodbc=/usr/local
--with-mssql=/usr/local/freetds
'--host=i386-redhat-linux' '--build=i386-redhat-linux'
'--target=i386-redhat-linux-gnu' '--program-prefix='
'--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin'
'--sysconfdir=/etc' '--datadir=/usr/share'
'--includedir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info'
'--cache-file=../config.cache'
'--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php.d'
'--enable-force-cgi-redirect' '--disable-debug'
'--disable-rpath' '--enable-inline-optimization'
'--with-db4=/usr' '--with-curl'
'--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr'
'--with-gettext' '--with-ncurses' '--with-iconv'
'--with-openssl' '--with-regex=system' '--with-xml'
'--with-expat-dir=/usr' '--with-dom=shared,/usr'
'--with-xmlrpc=shared' '--with-pcre-regex'
'--with-zlib' '--with-layout=GNU' '--enable-bcmath'
'--enable-exif' '--enable-ftp' '--enable-magic-quotes'
'--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm'
'--enable-discard-path' '--enable-track-vars'
'--enable-trans-sid' '--enable-yp' '--enable-wddx'
'--without-oci8' '--with-pear=/usr/share/pear'
'--with-kerberos' '--with-ldap=shared'
'--with-mysql=shared' '--with-pgsql=shared'
'--with-unixODBC=shared' '--enable-memory-limit'
'--enable-bcmath' '--enable-shmop' '--enable-calendar'
'--enable-dbx' '--enable-dio' '--enable-mcal'
'--enable-mbstring=shared' '--enable-mbstr-enc-trans'
'--enable-mbregex' 'with-jpeg-dir'


I must say, freetds is like the best thing ever. I
pulled my hair out for 3 days trying to find something
to do what freetds does.

-=Kireol

--- Brad McNeely <brad_mcneely AT excite.com> wrote:

>
> Sorry for the mis-send earlier. I did get FreeTDS
> to compile successfully but it didn't build the ODBC
> driver libtdsodbc.so. I'm running SuSE 8.2
> Professional and when I run
> ./configure
> make
>
> I don't get the ODBC driver. I tried using the
> --with-unixodbc on the configure command but that
> didn't seem to do it. Any help is greatly
> appreciated.
>
> Regards,
> Brad
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




Archive powered by MHonArc 2.6.24.

Top of Page