|
Publicité ' | |||||||||||||||||||||||
|
|
#1 |
|
Invité de passage
![]() Inscription : novembre 2005 Messages : 85 ![]() |
Bonjour à tous,
Je suis actuellement sous Mac et j'essaye d'installer Redmine. J'essaye de suivre le tuto suivant : http://www.redmine.org/projects/redm...RedmineInstall J'en suis au point 4 et lorsque je fais la commande : sudo rake generate_session_store Password: Could not find gem 'pg (>= 0.11.0) ruby' in the gems available on this machine. Run `bundle install` to install missing gems. Alors je ne comprend pas du tout pourquoi il veut un postgres car j'essaye de faire l'install de redmine sur mysql... Auriez vous une idée ? Merci d'avance et bon week end. Nico. EDIT : quand je fais un sudo gem install pg Building native extensions. This could take a while... ERROR: Error installing pg: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb checking for pg_config... no No pg_config... trying anyway. If building fails, please try again with --with-pg-config=/path/to/pg_config checking for libpq-fe.h... no Can't find the 'libpq-fe.h header *** 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=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby --with-pg --without-pg --with-pg-dir --without-pg-dir --with-pg-include --without-pg-include=${pg-dir}/include --with-pg-lib --without-pg-lib=${pg-dir}/lib --with-pg-config --without-pg-config --with-pg_config --without-pg_config Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/pg-0.13.2 for inspection. Results logged to /Library/Ruby/Gems/1.8/gems/pg-0.13.2/ext/gem_make.out |
|
|
00
|
|
|
#2 |
|
Invité de passage
![]() Inscription : novembre 2005 Messages : 85 ![]() |
Je me répond a moi même pour ceux qui auraient le même soucis :
sudo env ARCHFLAGS="-arch x86_64" gem install pg -- --with-pg-config=/opt/local/lib/postgresql83/bin/pg_config |
|
|
00
|
|
|
#3 |
|
Invité de passage
![]() Inscription : novembre 2005 Messages : 85 ![]() |
Maintenant il me demande mysql :
sudo gem install mysql -- - with-mysql-config=/usr/bin/mysql_config Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb - with-mysql-config=/usr/bin/mysql_config checking for mysql_ssl_set()... no checking for rb_str_set_len()... no checking for rb_thread_start_timer()... no checking for mysql.h... no checking for mysql/mysql.h... no *** 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=/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby --with-mysql-config Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/mysql-2.8.1 for inspection. Results logged to /Library/Ruby/Gems/1.8/gems/mysql-2.8.1/ext/mysql_api/gem_make.out Mias là pas moyen de trouver une solution... |
|
|
00
|
|
|
#4 |
|
Membre Expert
![]() |
Installe les headers de mysql.
__________________
Avoir un regard neutre sur notre vie dénuée de sens, c'est la voir tel un ignorant |
|
|
00
|
Copyright © 2000-2013 - www.developpez.com