Pre GNUmed client installation tasks

There are up to three stages to a GNUmed installation. Stage 1 one involves getting your system prepared for stage 2, which is the installation of GNUmed itself. Much work has gone into the nicely formatted user manual but the information there is somewhat dated. I take the liberty to copy from there and create a hopefully more intuitive version of the document. Stage 3 is to set up a local database for GNUmed so that you can test GNUmed without depending on access to our public GNUmed database.

Stage 1 - prepping your box.

You need a recent version of python, wxpython, wxwidgets, pypgsql, psycopg2 and postgresql. If you are running any newer distribution like Suse 10.0 all of these come on the distribution's CDs. If you have an older version or any other flavor of Linux you can find these either on the CDs, the Internet or you have to compile them yourself. I encourage any reader to add distribution specific information to this Wiki during your installation phase.

Download the following two files

and run

The output should somewhat look like this.
Please make sure to also read the INSTALL and README files.

Run this script from the directory it is in or it might fail.

You need to be able to connect to a PostgreSQL
server. It is, however, non-trivial to reliably
test for that.
If you want to work with a *local* database (on this
machine) you should see at least one process saying
'postmaster' in the following list.
If you don't you can still use our public database
at for testing.

 5145 pts/2    S      0:00 /usr/bin/postmaster -D /var/lib/pgsql/data

=> checking for Python interpreter ...
=> found

Press <RETURN> key to continue.
=> checking for Python module 'mxDateTime' ...
=> found
=> checking for Python module 'pyPgSQL' ...
=> found
=> checking for Python module 'wxVersion' ...
   - installed versions: ['2.6-gtk2-unicode', '2.6-gtk2-unicode']
=> found
   - selecting unicode enabled version >= 2.6
=> selected
=> checking for Python module 'wxPython' ...
   - active version:
   - platform info: ('__WXGTK__', 'wxGTK', 'unicode', 'gtk2', 'wx-assertions-off')
=> found
=> checking for Python module 'sane' ...
=> found
=> checking for Python module 'twain' ...
ERROR: twain not installed
INFO : this is needed to access scanners on Windows
INFO : GNUmed will work but you will be unable to scan
=> checking for GNUmed's own Python modules ...
=> found

* Most likely you can run GNUmed without problems. *

Press <RETURN> key to continue.
=> checking for 'file' command ...
=> found
=> checking for 'extract' command ...
which: no extract in (/home/basti/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin:/usr/sbin:/usr/sbin:/usr/sbin)
INFO : You don't seem to have the 'extract' command installed.
INFO : It is available with your OS. On Windows it is not needed.


Don't worry about Postgres. We will talk about that later when it comes to installing a local GNUmed database. You only really need a locally installed GNUmed database if you either want to hack on it or don't have a fast,cheap internet connection. If you do you can always use the public database on our server ''. More on this later.

now move on to stage 2 which involves to obtain and install GNUmed. Choose any of the provided installation sources (CVS,daily snapshot,binaries) on the previous page.
Topic revision: 11 Feb 2011, SebastianHilbert
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback
Powered by Olark