Login Register Actian.com  

Actian Community Wiki

Navigation
Learn About
Developing With
Ingres Talk
Information
Toolbox

Ingres on Gentoo

From Ingres Community Wiki

Jump to: navigation, search
 Note
 Ingres is now part of the official Gentoo Portage and can now be installed with a simple emerge ingres 

This page contains an outline of getting Ingres installed via Gentoo's emerge, derived from content posted in the Ingres Community Forums, http://community.ingres.com/forum/contributors-forum/2271-gentoo-ebuild-installing-ingres-source.html.

For those of you who are users of that very nice Linux flavour called Gentoo, getting Ingres up and running has become just a little easier. I started work on an ebuild that builds and installs Ingres from source.

For those who aren't Gentoo experts. Gentoo is a source-based (meta)distribution where everything is compiled on your system. So instead of depending on pre-compiled binary packages you have the total freedom of choosing compiler flags, very easily patch your software and being always up-to-date.

With an ebuild, compiling and installing Ingres can be as easy as

 emerge ingres

Work is undergoing to get Ingres into official Gentoo portage or at least in one of the overlays. I made three ebuilds - one for Ingres 9.2 build 134 which is the most stable version you can get as a source tarball. One for Ingres 9.3 build 137 which is the most current code you can get as a source tarball. And one for the bleeding edge subversion code that grabs the source directly from code.ingres.com.

For the time being, you can get the ebuild at Gentoo Bug 247895 - ebuild for Ingres DBMS

Until it's in portage you need to create a local overlay. Put the .ebuild files into /usr/local/portage/dev-db/ingres and the .patch and initd files into /usr/local/portage/dev-db/ingres/files

Add

PORTDIR_OVERLAY="/usr/local/portage"

to make.conf and finally run

ebuild /usr/local/portage/dev-db/ingres/ingres-9.2.0.134.ebuild digest

Now you can

emerge ingres.
Personal tools
© 2011 Actian Corporation. All Rights Reserved