rails-sqlserver / tiny_tds

TinyTDS - Simple and fast FreeTDS bindings for Ruby using DB-Library.
Other
606 stars 189 forks source link

MiniPortile & Ubuntu 10.10 #59

Closed retorquere closed 12 years ago

retorquere commented 12 years ago

Hi,

Is the miniportile setup available on linux, or is it strictly for the mac? I can only find references of people using it on the mac, and when I follow the instructions on my linux machine it complains it can't find the freetds files

luislavena commented 12 years ago

Can you provide a gist of the output? MiniPortile works on Ubuntu, but perhaps something else is missing on your environment?

Sent from mobile. On Nov 6, 2011 9:33 AM, "friflaj" < reply@reply.github.com> wrote:

Hi,

Is the miniportile setup available on linux, or is it strictly for the mac? I can only find references of people using it on the mac, and when I follow the instructions on my linux machine it complains it can't find the freetds files


Reply to this email directly or view it on GitHub: https://github.com/rails-sqlserver/tiny_tds/issues/59

retorquere commented 12 years ago

It's at https://gist.github.com/1342873. The lower file is what I used to install everything up to tinytds, the log captures all of that using script. The logfile is longer than the gist shows, you'll have to grab the raw version, which is complete

luislavena commented 12 years ago

On Sun, Nov 6, 2011 at 10:32 AM, friflaj reply@reply.github.com wrote:

It's at https://gist.github.com/1342873. The lower file is what I used to install everything up to tinytds, the log captures all of that using script. The logfile is longer than the gist shows, you'll have to grab the raw version, which is complete

I don't see from your log file any mention to FreeTDS compilation, which is performed after libiconv is compiled.

Is libiconv failing to compile?

Is not clear to me where it fails since I don't see an exception/error

or a backtrace to get an idea.

Luis Lavena

AREA 17

Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry

luislavena commented 12 years ago

I don't see from your log file any mention to FreeTDS compilation,which is performed after libiconv is compiled. Is libiconv failing to compile? Is not clear to me where it fails since I don't see an exception/erroror a backtrace to get an idea.

On Sun, Nov 6, 2011 at 10:32 AM, friflaj reply@reply.github.com wrote:

It's at https://gist.github.com/1342873. The lower file is what I used to install everything up to tinytds, the log captures all of that using script. The logfile is longer than the gist shows, you'll have to grab the raw version, which is complete


Reply to this email directly or view it on GitHub: https://github.com/rails-sqlserver/tiny_tds/issues/59#issuecomment-2645408

Luis Lavena

AREA 17

Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry

metaskills commented 12 years ago

Very confused at the output that was pasted. May I recommend that you break your problem down a bit and not give us so much detail into other stuff you are trying to do. The act of cloning the tiny_tds repo and generating a gem is a standalone concern. Please show us the output from a cleaned directory of the tiny_tds cloned repo git clean -x -d -f then:

$ bundle install
$ bundle exec rake compile
$ bundle exec rake native gem
retorquere commented 12 years ago

My bad -- the compilation went OK, but I tried to install tiny_tds-0.5.0.gem instead of tiny_tds-0.5.0-x86-linux.gem -- installing the generic gem tried to compile everything again as part of the native install parts. The -linux.gem installs fine. Sorry for the confusion.

metaskills commented 12 years ago

Nice, thanks for the followup. Thank you too Luis for helping as well!