xPapers installation documentation is provided for Linux on Debian and Ubuntu systems - I'm installing on Gentoo, so here goes.
Dependencies
First we need to install the dependencies on the Gentoo server - this has been adapted from the xPapers documentation for Debian/Ubuntu.N.B. MySQL needs to be installed from source to compile it with SphinxSE (Open Source search server) - see below.
First, add portage use flags to provide package compilation with appropriate support.
Available flags can be viewed in the file
/usr/portage/profiles/use.desc and added to /etc/make.conf e.g. USE=" -apache2 -perl -mysql -mysqli ..."apache2 - Adds Apache2 support
perl - Adds support/bindings for the Perl language
mysql - Adds mySQL Database support
mysqli - Adds support for the improved mySQL libraries
Next, emerge the following dependencies
* sys-devel/libtool
Latest version available: 2.4-r1
Latest version installed: 2.4-r1
Size of files: 832 kB
Homepage: http://www.gnu.org/software/libtool/
Description: A shared library tool for developers
License: GPL-2
* sys-libs/ncurses
Latest version available: 5.7-r7
Latest version installed: 5.7-r7
Size of files: 2,387 kB
Homepage: http://www.gnu.org/software/ncurses/ http://dickey.his.com/ncurses/
Description: console display library
License: MIT
* app-admin/sysstat
Latest version available: 10.0.1
Latest version installed: [ Not Installed ]
Size of files: 259 kB
Homepage: http://pagesperso-orange.fr/sebastien.godard/
Description: System performance tools for Linux
License: GPL-2
* app-text/aspell
Latest version available: 0.60.6-r2
Latest version installed: [ Not Installed ]
Size of files: 1,736 kB
Homepage: http://aspell.net/
Description: A spell checker replacement for ispell
License: LGPL-2
* dev-perl/Text-Aspell
Latest version available: 0.09
Latest version installed: [ Not Installed ]
Size of files: 13 kB
Homepage: http://search.cpan.org/~hank/
Description: Perl interface to the GNU Aspell Library
License: || ( Artistic GPL-2 )
* app-dicts/aspell-en
Latest version available: 6.0.0
Latest version installed: 6.0.0
Size of files: 178 kB
Homepage: http://aspell.net
Description: English (US, British, Canadian) language dictionary for aspell
License: as-is public-domain
* dev-lang/perl
Latest version available: 5.12.3-r1
Latest version installed: 5.12.3-r1
Size of files: 11,767 kB
Homepage: http://www.perl.org/
Description: Larry Wall's Practical Extraction and Report Language
License: || ( Artistic GPL-1 GPL-2 GPL-3 )
* www-servers/apache
Latest version available: 2.2.17
Latest version installed: [ Not Installed ]
Size of files: 4,896 kB
Homepage: http://httpd.apache.org/
Description: The Apache Web Server.
License: Apache-2.0 Apache-1.1
* www-apache/mod_perl
Latest version available: 2.0.4-r1
Latest version installed: [ Not Installed ]
Size of files: 3,640 kB
Homepage: http://perl.apache.org/
Description: An embedded Perl interpreter for Apache2
License: GPL-2
* www-apache/mod_fastcgi
Latest version available: 2.4.7_pre0910052141
Latest version installed: [ Not Installed ]
Size of files: 100 kB
Homepage: http://fastcgi.com/
Description: FastCGI is a open extension to CGI without the limitations of server specific APIs.
License: FastCGI
N.B. Gentoo is likely to have g++ (GNU C++ compiler) pre-installed, check with:
g++ --versionAlso, no ebuild was found for
libaspell-devCompiling MySQL 5.1.x with SphinxSE
First, download sources as recommended in the xPapers documentation.
MySQL Community Server 5.1.58 and Sphinx 0.9.9
Then follow the Sphinx documentation for compilation.
No comments:
Post a Comment