Difference between revisions of "BSD platforms"

From Gramps
Jump to: navigation, search
(code example to reflect highest version at OpenBSD package collection)
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{cleanup}}
+
{{stub}}
[[Category:Documentation]][[Category:Developers/Packaging]]
+
==Automatic installation==
 +
* Install from [http://openports.se/misc/gramps openports.se/misc/gramps] from the OpenBSD package collection  ('''Recommended''')
  
==Automatic installation from the OpenBSD package collection==
+
Or
* Install from [http://openports.se/misc/gramps openports.se/misc/gramps]
+
 
 +
* Install from [http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/databases/gramps3/README.html netbsd.org] from the NetBSD package collection
 +
 
 +
Or
 +
 
 +
* Install from [http://portsmon.freebsd.org/portoverview.py?category=science&portname=gramps freebsd ports]
 +
 
 +
Or
 +
 
 +
* [http://www.freshports.org/science/gramps/ FreshPorts]
 +
To install the port: cd /usr/ports/science/gramps/ && make install clean
 +
To add the package: pkg_add -r gramps
  
 
==Manual installation==
 
==Manual installation==
This page documents installing GRAMPS on FreeBSD, openBSD, etc. First make sure the following packages are installed:
+
Installing Gramps on FreeBSD, openBSD, etc. First make sure the following packages are installed:
 
* py24-gnome
 
* py24-gnome
 
* py24-gnome-extras
 
* py24-gnome-extras
Line 17: Line 29:
  
 
Then do the following:
 
Then do the following:
* Download and extract the source code:<code>
+
* Download and extract the source code:
  $ gunzip gramps-3.2.6.tar.gz
+
<pre>
  $ tar xvf gramps-3.2.6.tar</code>
+
$ gunzip gramps-3.2.6.tar.gz
* Configure the source code to use <code>/usr/X11R6</code> for its path, since that is where FreeBSD likes to put gtk/gnome stuff:<code>
+
$ tar xvf gramps-3.2.6.tar
  $ cd gramps-3.2.6
+
</pre>
  $ export PATH=/usr/local/gnu-autotools/bin:$PATH
+
* Configure the source code to use <pre>/usr/X11R6</pre> for its path, since that is where FreeBSD likes to put gtk/gnome stuff:
  $ export ACLOCAL_FLAGS="-I /usr/local/gnu-autotools/share/aclocal
+
<pre>
            -I. -I /usr/local/share/aclocal -I /usr/X11R6/share/aclocal"
+
$ cd gramps-3.2.6
  $ ./autogen.sh
+
$ export PATH=/usr/local/gnu-autotools/bin:$PATH
  $ gmake
+
$ export ACLOCAL_FLAGS="-I /usr/local/gnu-autotools/share/aclocal
  $ gmake install</code>
+
        -I. -I /usr/local/share/aclocal -I /usr/X11R6/share/aclocal"
 +
$ ./autogen.sh
 +
$ gmake
 +
$ gmake install
 +
</pre>
 +
 
 +
This will compile and install Gramps correctly.
  
This will compile and install GRAMPS correctly.
+
[[Category:Documentation]]
 +
[[Category:Developers/Packaging]]

Revision as of 08:01, 5 January 2017

Gramps-notes.png

This article's content is incomplete or a placeholder stub.
Please update or expand this section.


Automatic installation

Or

  • Install from netbsd.org from the NetBSD package collection

Or

Or

To install the port: cd /usr/ports/science/gramps/ && make install clean
To add the package: pkg_add -r gramps

Manual installation

Installing Gramps on FreeBSD, openBSD, etc. First make sure the following packages are installed:

  • py24-gnome
  • py24-gnome-extras
  • automake19
  • gnomecommon
  • autoconf259
  • gnu-automake
  • gnu-libtool
  • gmake

Then do the following:

  • Download and extract the source code:
$ gunzip gramps-3.2.6.tar.gz
$ tar xvf gramps-3.2.6.tar
  • Configure the source code to use
    /usr/X11R6
    for its path, since that is where FreeBSD likes to put gtk/gnome stuff:
$ cd gramps-3.2.6
$ export PATH=/usr/local/gnu-autotools/bin:$PATH
$ export ACLOCAL_FLAGS="-I /usr/local/gnu-autotools/share/aclocal
         -I. -I /usr/local/share/aclocal -I /usr/X11R6/share/aclocal"
$ ./autogen.sh
$ gmake
$ gmake install

This will compile and install Gramps correctly.