Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install issues on Debian... #14

Closed
binarypaladin opened this issue Mar 24, 2011 · 2 comments
Closed

Install issues on Debian... #14

binarypaladin opened this issue Mar 24, 2011 · 2 comments

Comments

@binarypaladin
Copy link

I got tiny_tds to install just fine on OS X where I do my development, but the server I'm running is sporting Debian 5. FreeTDS has been compiled manually in /usr/local (which is exactly what I've done in OS X), however when I try to install tiny_tds I get the following error on Deb:

$ sudo gem install tiny_tds
Building native extensions.  This could take a while...
ERROR:  Error installing tiny_tds:
    ERROR: Failed to build gem native extension.

/usr/local/bin/ruby extconf.rb
looking for library directory /usr/local/lib ... yes
checking for main() in -liconv... no
looking for library directory /usr/local/lib/freetds ... no
looking for library directory /usr/lib ... yes
checking for main() in -liconv... no
-----
Can not find FreeTDS's db-lib or include directory.
-----
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/usr/local/bin/ruby
    --with-iconv-dir
    --without-iconv-dir
    --with-iconv-include
    --without-iconv-include=${iconv-dir}/include
    --with-iconv-lib
    --without-iconv-lib=${iconv-dir}/lib
    --with-freetds-dir
    --without-freetds-dir
    --with-freetds-include
    --without-freetds-include=${freetds-dir}/include
    --with-freetds-lib
    --without-freetds-lib=${freetds-dir}/lib
    --with-iconvlib
    --without-iconvlib
    --with-iconvlib
    --without-iconvlib
looking for library directory /usr/lib/freetds ... no
looking for library directory /usr/X11R6/lib ... no
looking for library directory /usr/X11R6/lib/freetds ... no

I'm baffled as to why it can't find it when it explicitly says looking for library directory /usr/local/lib ... yes. Is this somehow related to the iconv errors in the other issue? checking for main() in -liconv... no

@metaskills
Copy link
Contributor

This issue duplicates #11 and is actively being worked on.

@binarypaladin
Copy link
Author

Okay! I thought that might be the case but my error message didn't look exactly the same. Sorry to keep being such a bother! I'm entirely too excited about being able to ditch ODBC and appreciate your time and effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants