On 15 Oct 2009, at 23:27, venkat wrote: > > Building native extensions. This could take a while... > ERROR: Error installing do_postgres: > ERROR: Failed to build gem native extension. > > /usr/local/bin/ruby extconf.rb > checking for main() in -lpq... no > checking for main() in -llibpq... 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.
This message here says it all, it can't find the postgresql headers to compile the native driver against. If you're on an apt-get based system, it's usually something like apt-get install libpq-dev. Otherwise please check your package manager and look for how you can install development headers. -- Dirkjan Bussink --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
