This forum is no longer active. Please post your questions to our new community site
Errors when installing data mapper
|
|
From the following error (and also btw when trying to install mongo..) what are “developer tools” and how do i install them? root@linux:~# gem install data_objects do_mysql do_postgres do_sqlite3 /opt/bitnami/ruby/bin/ruby extconf.rb Provided configuration options: Gem files will remain installed in /opt/bitnami/ruby/lib/ruby/gems/1.9.1/gems/do_mysql-0.10.5 for inspection. /opt/bitnami/ruby/bin/ruby extconf.rb |
|
|
This vm appears to be a piece of garbage. It is missing TONS of basic ubuntu stuff. aptitude is not there. dev-tools are not there. I can’t even install them. Following are aptitude install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf (aptitude not found) E: Package ‘aptitude’ has no installation candidate apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconfReading package lists… Done E: Unable to locate package build-essential NOTHING works here. Now if I am being too harsh, then fine show how to make this ‘jruby stack’ actually run ruby/jruby/rails/gems.. |
|
|
Hi, Ok some comments: To install packages you can use “apt-get” but it is necessary to run “apt-get update” before. To install gems that it requires compiation you have to specify the folders:
It is also necessary to install compilation tools. We do not ship in the virtual appliance because it is not necessary to most of the applications. |
|
|
Hola Beltran, I had done apt-get update already several times. This distribution is not useful for someone doing hardcore development.Which Bitnami distribution would you recommend. The MOST IMPORTANT thing is it has full development env needed for C/C++ development so that I can build native extensions. This one apparently does not. Do any of your Rails 3.x / ubuntu 10.04/10.10 (or even mysql 5.x / ubuntu 10.x) distro’s have a proper development setup – that is a ‘rich’ (not hobbled) ubuntu backing it up? If not, then I need to revert to a vanilla FULL-INSTALL ubuntu 10.X distro. Which one(s) could I go for? I don’t want any more surprises about the operating system being underpowered. thanks, |
|
|
Hi again I need a ‘rich’ Linux o/S not a minimal one.. So does that mean i should stay away from Bitnami VM’s if I want to do native c/c++ development – or simply to compile distro’s from source? What VM’s (even if not bitnami) can i get that have a developer-friendly Ubuntu that I can trust? thanks stephenb |
|
|
Hi, I would recommend BitNami RubyStack and then install the build-essential package using apt-get, so you can compile and install any package on top of it. |

