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
Last revisionBoth sides next revision
installing_prerequisites_on_gentoo [2010/10/29 11:28] ebyinstalling_prerequisites_on_gentoo [2010/10/29 14:46] 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
Line 143: Line 145:
 shell> install Bundle::CPAN shell> install Bundle::CPAN
 shell> reload cpan shell> reload cpan
-shell> install Cache::Memcached Class::DBI::AbstractSearch +shell> install Cache::Memcached DBI DateTime DateTime::Format::ISO8601 FreezeThaw JSON::XS Net::Server UNIVERSAL::require Unix::Syslog XML::LibXML 
-shell> install DateTime DateTime::Format::ISO8601 DateTime::TimeZone +</code>
-shell> install DBI DBD::Pg Email::Send GD::Graph3d Log::Log4perl +
-shell> install JavaScript::SpiderMonkey JSON::XS +
-shell> install XML::LibXML XML::LibXSLT XML::Simple +
-shell> install MARC::Record MARC::Charset MARC::File::XML +
-shell> install Net::Server::PreFork Net::Z3950::ZOOM +
-shell> install Template Text::Aspell UNIVERSAL::require Unix::Syslog +
-shell> install Text::CSV Text::CSV_XS Spreadsheet::WriteExcel Tie::IxHash</code>+
  
 We need ''Net::Jabber'' to register users with ejabberd. The gsasl ebuild is required for authentication. I found that I had to select **no** when asked if I wanted to install the optional GSSAPI module for ''XML::Stream'', one of its underlying modules, to avoid severe test failure. I stopped ejabberd before installing this module to avoid any port conflicts during the ''Net::Jabber'' tests. Finally, a few ''Net::Jabber'' tests failed anyways, so I forced the install of that module. We need ''Net::Jabber'' to register users with ejabberd. The gsasl ebuild is required for authentication. I found that I had to select **no** when asked if I wanted to install the optional GSSAPI module for ''XML::Stream'', one of its underlying modules, to avoid severe test failure. I stopped ejabberd before installing this module to avoid any port conflicts during the ''Net::Jabber'' tests. Finally, a few ''Net::Jabber'' tests failed anyways, so I forced the install of that module.

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.