Skip to content

Commit

Permalink
Remove more stale, obsolete instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
linas committed Dec 21, 2015
1 parent 2c930b8 commit a58aa80
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 120 deletions.
21 changes: 2 additions & 19 deletions doc/README.archlinux
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,8 @@ if so just compile it manually and it should work.

----------------------------------------------------------

Opencog depends on the many packages. Some of the more important ones are:
Opencog depends on a few packages. These are:

g++ cmake boost expat guile xerces-c-2 cxxtest unixodbc

xerces, expat, unixodbc are optional. See the main README for details.

----------------------------------------------------------

Archlinux puts xerces-c-2 in a nonstandard location--
you will need to make sure the build can find its includes
and shared libraries.

You may set the environment variable XERCESCROOT to
"/opt/xerces-c-2/", or you may add that folder to the
PATHS section of the FIND_LIBRARY(XERCESC_LIBRARIES) command in
opencog/lib/FindXercesC.cmake

If you get an error about XERCESC_LIBRARIES or XERCESC_INCLUDE_DIR
being undefined, it is probably because you did not set
the XERCESROOT before running cmake.
g++ cmake boost cxxtest

----------------------------------------------------------
3 changes: 1 addition & 2 deletions doc/README.cygwin
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Only Util, ComboReduct and MOSES components have been tried to be
compiled on Cygwin. The only requirement is the Cygwin devel package.
The only requirement is the Cygwin devel package.
12 changes: 1 addition & 11 deletions doc/README.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Instalation and dependency resolution for Fedora 9 users

Opencog depends on the following packages:

gcc-c++ cmake boost boost-devel gsl-devel
gcc-c++ cmake boost boost-devel

----------------------------------------------------------

Expand All @@ -15,13 +15,3 @@ They may be downloaded and installed using the following commands:
sudo yum --nogpgcheck localinstall cxxtest-3.10.1-1.noarch.rpm

----------------------------------------------------------

Opencog also optionally depends on the following packages:

unixODBC-devel -- needed for SQL persistence

expat expat-devel -- needed for embodiment

guile-devel -- needed for scheme bindings

----------------------------------------------------------
11 changes: 0 additions & 11 deletions doc/README.gentoo
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ Instalation and dependency resolution for Gentoo (circa Sep. 2008)

Opencog depends on the following packages:

dev-util/cmake dev-libs/boost sci-libs/gsl

You might need to eselect the right boost version as well.

----------------------------------------------------------
Expand All @@ -21,12 +19,3 @@ the following commands:
prompt# ebuild vendor/cxxtest/gentoo/dev-cpp/cxxtest/cxxtest*.ebuild install qmerge

----------------------------------------------------------

Opencog also _optionally_ depends on the following packages:

dev-db/unixODBC -- needed for SQL persistence

dev-scheme/guile -- needed for scheme bindings

dev-libs/expat -- needed for embodiment

14 changes: 2 additions & 12 deletions doc/README.opensuse
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Instalation and dependency resolution for OpenSUSE 11.2 users

Opencog depends on the following packages:

gcc-c++ make cmake boost-devel gsl-devel
gcc-c++ make cmake boost-devel

-------------------------------------------------------------------------------

Expand All @@ -16,16 +16,6 @@ They may be downloaded and installed using the following commands:

wget http://downloads.sourceforge.net/cxxtest/cxxtest-3.10.1-1.noarch.rpm

sudo rpm -Uhv cxxtest-3.10.1-1.noarch.rpm csockets-2.2.5-1.1.i586.rpm
sudo rpm -Uhv cxxtest-3.10.1-1.noarch.rpm

-------------------------------------------------------------------------------

Opencog also optionally depends on the following packages:

unixODBC-devel -- needed for SQL persistence

guile-devel -- needed for scheme bindings

libexpat-devel -- needed for embodiment

-------------------------------------------------------------------------------
5 changes: 1 addition & 4 deletions doc/README.osx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Instructions for Apple Mac OSX users

The MacPorts installer does not include /opt/local/lib into the shared
library search path. Thus, any libraries installed there will fail to
be found. The search path needs to be fixed manually. This can be done
be found. The search path needs to be fixed manually. This can be done
by editing ~/.profile and specifying

export DYLD_LIBRARY_PATH=/opt/local/lib:$DYLD_LIBRARY_PATH
Expand All @@ -30,6 +30,3 @@ the command line:

The above should not generate any errors when the shared libary load
path is correctly configured.



66 changes: 7 additions & 59 deletions doc/README.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -91,35 +91,27 @@ sudo aptitude update

Install version control & build systems

The OpenCog project uses the Bazaar source code version control system (analogous to SVN or CVS), and the CMake build system (analogous to GNU autoconf).
The OpenCog project uses the git source code version control system, and the CMake build system (analogous to GNU autoconf).

sudo aptitude install bzr cmake
sudo aptitude install git cmake

note: the command above will also install necessary dependencies, such as a C compiler and other libraries and tools. If your system hasn't been used before to build software, it may take many minutes to download and install all dependencies.
Install the core libraries

OpenCog uses the Boost C++ Libraries and the GNU Scientific Library.
OpenCog uses the Boost C++ Libraries.

sudo aptitude install libboost-dev libgsl0-dev
sudo aptitude install libboost-dev

note: the command above will also install necessary dependencies, such as a C++ compiler and other libraries and tools. If your system hasn't been used before to build software, it may take many minutes to download and install all dependencies.
Get the source code

Do this in a convenient place, like your home directory or ~/src.

bzr branch lp:opencog

Make a local scratch copy

bzr branch opencog ochack

Build the core

The core includes PLN and MOSES.

Currently parts of OpenCog rely on a hard-coded relative build location, so create your build directory at ochack/bin.

cd ochack; mkdir bin; cd bin
mkdir build; cd build

Configure the build

Expand Down Expand Up @@ -158,27 +150,13 @@ make test

note: tests can be run after building each following section.

Build the Scheme interpreter

Install the development packages for Guile (the GNU scheme interpreter).

sudo aptitude install guile-1.8-dev

Re-configure the build

cmake ..

Build OpenCog with Scheme interpreter

make

Build the documentation

Also available online at http://buildbot.opencog.org/doxygen/

Install the graphviz and doxygen packages.
Install the doxygen packages.

sudo aptitude install graphviz doxygen
sudo aptitude install doxygen

Configure the build

Expand All @@ -187,33 +165,3 @@ cmake ..
Build OpenCog documentation

make doxygen

Build the Embodiment base system

Enable the universe repository by editing /etc/apt/sources.list or ticking the list at System > Administration > Software Sources.

Update your package repositories

sudo aptitude update

Install dependencies

sudo aptitude install libxerces-c2-dev

Configure the build

cmake ..

Build OpenCog Embodiment

make

TBD
Build the Embodiment proxy to Metaverse

TBD
Build the Embodiment question-answering support

uses Relex/NLGen

TBD
2 changes: 0 additions & 2 deletions doc/README.win32
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ Opencog depends on the following packages:
stlport: http://stlport.sourceforge.net/
pthreads: http://sourceware.org/pthreads-win32/#download
boost: http://www.boost.org/users/download/
expat: http://sourceforge.net/project/showfiles.php?group_id=10127&package_id=11277
libxml/zlib/iconv: http://www.zlatkovic.com/pub/libxml/
cxxtest: http://sourceforge.net/project/showfiles.php?group_id=52834

-------------------------------------------------------------------------------
Expand Down

0 comments on commit a58aa80

Please sign in to comment.