GBrowse Gentoo HOWTO

From GMOD
Revision as of 07:54, 18 June 2007 by Forrest (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Prerequisites

Change ACCEPT_KEYWORDS in /etc/make.conf file
 #x86 
 ACCEPT_KEYWORDS="~x86"
Synchroniz packages
 emerge --sync
Install Apache

Apache2 will now work on most systems with no problems, if it doesn't for you, section Common Problems might be helpful.

Start by emerging apache2: add "apache2" to your USE flags in make.conf and

 emerge apache
Install Mysql
 emerge dev-db/mysql -pv
Install Bioperl and Bioperl-run
 emerge bioperl Bioperl-run

Installing GBrowse with Source File

Download GBrowse Source from
 http://prdownloads.sourceforge.net/gmod

You should be uncompressed and unpacked the source files.

Install GBrowse

Change to the directory which the source files have been uncompressed and unpacked. We will install the Gbrowser to the default directory "/var/www/localhost/htdocs/" and "/var/www/localhost/cgi-bin/". Following these command:

 perl Makefile.PL APACHE=/var/www/localhost/ CONF=/etc/apache2/ HTDOCS=/var/www/localhost/htdocs/ CGIBIN=/var/www/localhost/cgi-bin/ DO_XS=1
 make 
 make install

Starting Gbrowser

Start mysql and apache
 /etc/init.d/mysql start
 /etc/init.d/apache2 start

Now browse the documentation and example database at http://localhost/gbrowse.