Hallo, ich stehe vor einem Riesen Problem..
In der Vergangenheit habe ich immer mit ruby 1.8.6; Rails 2.0.2, Netbeans und Postgres 8.4 gearbeitet, lief auf meinem Mac auch immer ohne Probleme. Nach einer Umstellung des Produktionsservers auf Ubuntu 10.04 LTS habe ich die glorreiche Idee gehabt das System auf ruby 1.8.7, rails 2.3.8 , postgres 8.4 umzustellen (läuft auf den Server nach ein paar kleinen Anpassungen ohne Probleme). So, nun fing das Drama auf meinem Mac an. Ich habe (glaube ich zumindest) erstmal alles was mit ruby & rails zu tun hatte runtergeschmissen. Dann ports installiert und ruby sowie die libpqxx neu installiert. ruby -v meldet auch eifrig ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-darwin10] soweit so gut. Rubygems installiert (download und dann sudo ruby setup.rb) gem -v meldet 1.3.7 Rails installiert und rails -v meldet 2.3.8 auch OK. Nun kommts: Das gem pg lässt sich einfach nicht installieren. Ich bekomme immer den Fehler (siehe unten) Nach stundenlangem googlen (ich sitze nun schon seit 3 Tagen dran!) habe ich immer noch keine Lösung: Habt Ihr eine Idee ?? Arbeitet jemand von Euch mit dem Setup (ruby 1.8.7, gems 1.3.7, rails 2.3.8 , pg , postgres 8.4 und netbeans) ? Wie habt Ihr das installiert? Vorab 1000 Dank für Eure Hilfe Alexander Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /opt/local/bin/ruby extconf.rb checking for pg_config... yes MacOS X build: fixing architecture flags: finding flags common to both Ruby and PostgreSQL... testing for architecture: ["ppc"] testing for architecture: ["i386"] common arch flags: checking for libpq-fe.h... yes checking for libpq/libpq-fs.h... yes checking for PQconnectdb() in -lpq... no checking for PQconnectdb() in -llibpq... no checking for PQconnectdb() in -lms/libpq... no Can't find the PostgreSQL client library (libpq) *** 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=/opt/local/bin/ruby --with-pg --without-pg --with-pg-config --without-pg-config --with-pg-dir --without-pg-dir --with-pg-include --without-pg-include=${pg-dir}/include --with-pg-lib --without-pg-lib=${pg-dir}/lib --enable-static-build --disable-static-build --with-pqlib --without-pqlib --with-libpqlib --without-libpqlib --with-ms/libpqlib --without-ms/libpqlib Gem files will remain installed in /opt/local/lib/ruby/gems/1.8/gems/pg-0.9.0 for inspection. Results logged to /opt/local/lib/ruby/gems/1.8/gems/pg-0.9.0/ext/gem_make.out Meffex IT-Entwicklungen GbR Wolfsgässchen 1 | 55116 Mainz | Germany mobil +49.173.3601708 | tel +49.6131.4649910 | fax +49.6131.464939 Inh. Robert Kleff, Dipl.-Ing.(TU) Alexander Melle Stnr 26/086/6242/7 Ust.Id DE256776959 Büro Bad Münstereifel Zum Zwergberg 3 | 53902 Bad Münstereifel | Germany mobil +49.151.153720262 | tel +49.6131.4649914 | fax +49.6131.4649939 www.samfex.de Service & Maintenance Management auf den Punkt gebracht Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der angegebene Empfänger sind oder falls diese E-Mail irrtümlich an Sie adressiert wurde, verständigen Sie bitte den Absender sofort und löschen Sie die E-Mail sodann. Das unerlaubte Kopieren sowie die unbefugte Übermittlung sind nicht gestattet. Die Sicherheit von Übermittlungen per E-Mail kann nicht garantiert werden. Falls Sie eine Bestätigung wünschen, fordern Sie bitte den Inhalt der E-Mail als Hardcopy an. The contents of this e-mail are confidential. If you are not the named addressee or if this transmission has been addressed to you in error, please notify the sender immediately and then delete this e-mail. Any unauthorized copying and transmission is forbidden. E-mail transmission cannot be guaranteed to be secure. If verification is required, please request a hard copy version.
_______________________________________________ rubyonrails-ug mailing list rubyonrails-ug@headflash.com http://mailman.headflash.com/listinfo/rubyonrails-ug