引用
martin@martin-laptop:~/$ sudo gem install data_objects do_sqlite3 do_mysql dm-core dm-more
.....
.....
Building native extensions. This could take a while...
ERROR: Error installing do_mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb install data_objects do_sqlite3 do_mysql dm-core dm-more
checking for mysql_query() in -lmysqlclient... 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=/usr/bin/ruby1.8
--with-mysql-config
--without-mysql-config
--with-mysql-dir
--without-mysql-dir
--with-mysql-include
--without-mysql-include=${mysql-dir}/include
--with-mysql-lib
--without-mysql-lib=${mysql-dir}/lib
--with-mysqlclientlib
--without-mysqlclientlib
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/do_mysql-0.9.1 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/do_mysql-0.9.1/ext/gem_make.out
http://groups.google.com/group/datamapper/browse_thread/thread/f2bd7ba7365e95bf/0e71c069e6d52245?lnk=raot
引用
This is consecuence of lacking the development libraries of mysql
which (off course) include mysql.h
Once you install libmysqlclient15-dev using apt-get, aptitude or
synaptic, you should get the missing file:
/usr/include/mysql/mysql.h
And be able to install withour problem:
sudo apt-get install libmysqlclient15-dev
Then install gems again.
sudo gem install do_mysql
分享到:
相关推荐
It supports these database: Oracle, MS SQLServer, Access, MySQL, SQLAnyWhere and Sybase. You can simplify the process of your software development through BDB. 1.The database design. Build the ...
mysql sas社区stackoverflow statistics人工智慧AI Python R Java Javascript WPS Matlab SPSS Scala Perl CC#Excel MS Access JSON图形映射NLP自然语言处理机器学习igraph DO stackoverflow SAS社区。 Excel_...
3. **数据库**:MySQL、PostgreSQL或MongoDB等数据库系统可能会被用来存储和检索数据。 4. **版本控制**:使用Git作为版本控制系统,管理和协同代码修改。 5. **RESTful API设计**:为了实现前后端分离,项目可能...
2. Do you have a not yet tagged blog ? Edit mass tags options is perfect for you : tag 20, 30 or 50 articles with autocompletion in one step ! 3. Autotagging your content ! 4. Add tags easily with ...
As we do not do much in the UI world. When I have the product done, and the new web site up and running, I would like to be a show-case for you. You made the hardest part of my development short, ...
16. 结构化分析的常用工具有数据流图(DFD)、数据字典(DD)、判定树(Decision Tree)等,PAD图(Problem Analysis Diagram)是面向对象设计中的工具,不属于结构化分析。 17. 在Word中,改写模式会覆盖插入点后...
* Setting MTSDataModule.AutoComplete to False in the IDE is overridden and set back to True at run time (Quality Central 4716).* Calls to ApplyUpdates(-1) on a TMTSDataModule do not work properly ...
o Fixed the problem with sending the data to stdout (when the filename is empty string). * Version 1.93: o Updated the internal country names (added more 14 countries) that are used for ...
Problem a Aplicacao deste软件 Tendo em vista a realidade da cantina da Unimonte ,tivmos a ideia de miniuir o Impacto daProblemáticaualcom um com um qu que possibilita do pedido antecipadamente,...
Is there an easier way to do this?" The answer is: yes! Configure FTP Set up and configure multiple FTP accounts TaskMatch Environments How to use TaskMatch Environments in UltraEdit and UEStudio ...
MySql . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 ...