User Tools

Site Tools


installing_prerequisites_on_gentoo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
installing_prerequisites_on_gentoo [2010/10/29 11:28] ebyinstalling_prerequisites_on_gentoo [2010/10/29 14:39] eby
Line 12: Line 12:
 **As the root user**, add the following USE flags to ''/etc/make.conf'':<code> **As the root user**, add the following USE flags to ''/etc/make.conf'':<code>
 USE="-ldap apache2 mpm-prefork perl postgres gif jpeg png urandom web" USE="-ldap apache2 mpm-prefork perl postgres gif jpeg png urandom web"
 +APACHE2_MPMS="prefork"
 </code> </code>
  
Line 46: Line 47:
 ''libmemcache'' provides a C API for putting and getting cached values from ''memcached'' ''libmemcache'' provides a C API for putting and getting cached values from ''memcached''
 The current stable version of ''libmemcache'' in Gentoo (1.2.0) is subject to memory corruption problems; therefore, we install the pre-release unstable version of ''libmemcache'' (1.4.0-rc2). Perform the following steps as **a root user**:<code> The current stable version of ''libmemcache'' in Gentoo (1.2.0) is subject to memory corruption problems; therefore, we install the pre-release unstable version of ''libmemcache'' (1.4.0-rc2). Perform the following steps as **a root user**:<code>
-echo "dev-libs/libmemcache ~x86" >> /etc/portage/package.keywords+(if /etc/portage directory doesn't exist, create it) 
 +echo "dev-libs/libmemcache" >> /etc/portage/package.keywords
 emerge libmemcache emerge libmemcache
 +emerge libmemcached
 </code> </code>
  
Line 53: Line 56:
  
 ===== Installing PostgreSQL ===== ===== Installing PostgreSQL =====
-I installed PostgreSQL 8.2.4 on the advice of Mike Rylander. As PostgreSQL 8.0.13 is currently the "stable" version on Gentoo, I had to tell Gentoo to use the unstable version. Perform the following steps **as the root user**:<code> +Current: postgresql-server-8.4.4-r1 
-echo "dev-db/postgresql ~x86" >> /etc/portage/package.keywords +<code> 
-echo "dev-db/libpq ~x86" >> /etc/portage/package.keywords +emerge postgresql-server 
-emerge postgresql +emerge --config =dev-db/postgresql-server-8.4.4-r1 
-emerge postgresql --config +rc-update add postgresql-8.4 default 
-rc-update add postgresql default +/etc/init.d/postgresql-8.4 start
-/etc/init.d/postgresql start+
 </code> </code>
  
Line 72: Line 74:
 We need to add tsearch2, table functions, and the plpgsql language to the Open-ILS database:<code> We need to add tsearch2, table functions, and the plpgsql language to the Open-ILS database:<code>
 psql -U postgres evergreen psql -U postgres evergreen
-pg# \i /usr/share/postgresql/contrib/tsearch2.sql +pg# \i /usr/share/postgresql-8.4/contrib/tsearch2.sql 
-pg# \i /usr/share/postgresql/contrib/tablefunc.sql+pg# \i /usr/share/postgresql-8.4/contrib/tablefunc.sql
 pg# \q pg# \q
 createlang -U postgres plpgsql evergreen createlang -U postgres plpgsql evergreen

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.