ncdc 1.11 released + install instructions for OS X and OpenIndiana

This commit is contained in:
Yorhel 2012-05-15 14:50:41 +02:00
parent d1f18971cb
commit e82b277935
9 changed files with 120 additions and 24 deletions

View file

@ -7,7 +7,7 @@ In theory, the following instructions should work everywhere:
=over
=item * Install the required dependencies: ncurses, bzip2, sqlite3, libxml2, glib2 and gnutls,
=item * Install the required dependencies: ncurses, bzip2, sqlite3, glib2 and gnutls,
=item * Download and extract the source tarball from the L<homepage|http://dev.yorhel.nl/ncdc>,
@ -38,9 +38,9 @@ compiling and/or installing it, I also offer statically linked binaries:
=over
=item * L<Linux, 64-bit|http://dev.yorhel.nl/download/ncdc-linux-x86_64-1.10.tar.gz>
=item * L<Linux, 64-bit|http://dev.yorhel.nl/download/ncdc-linux-x86_64-1.11.tar.gz>
=item * L<Linux, 32-bit|http://dev.yorhel.nl/download/ncdc-linux-i386-1.10.tar.gz>
=item * L<Linux, 32-bit|http://dev.yorhel.nl/download/ncdc-linux-i386-1.11.tar.gz>
=back
@ -91,8 +91,42 @@ Ncdc is available in the Portage tree, so installation is trivial:
=head2 Mac OS X
Ncdc does work on Mac OS X, but installation is currently a pain. Get back to
this page in a fews days while I'm working on a solution.
Ncdc works on Snow Leopard (10.6) and any later version. If you still run
Leopard (10.5) or earlier, you're out of luck. I can probably apply some fixes
if you nag me hard enough, but I don't really have a system to test it on so
you're going to have to help me out. :-)
Anyway, assuming you run a recent enough OS X, the easiest way to install ncdc
is to make use of the port at
L<MacPorts|http://www.macports.org/ports.php?by=name&substr=ncdc>. If you
haven't done so yet, follow the L<instructions on installing
MacPorts|http://www.macports.org/install.php>, then open a terminal and run the
following magical command:
sudo port install ncdc
=head2 OpenIndiana
This has been tested on OpenIndiana Build 151a Server, but may work on other
versions as well. Compiling from source is your only option at the moment.
First install some required packages (as root):
pkg install gcc-3 glib2 gnutls gettext header-math perl-510/extra
Then, fetch the ncdc source tarball, extract and build as follows:
wget http://dev.yorhel.nl/download/ncdc-1.11.tar.gz
tar -xf ncdc-1.11.tar.gz
cd ncdc-1.11
export PATH="$PATH:/usr/perl5/5.10.0/bin"
./configure --prefix=/usr LDFLAGS='-L/usr/gnu/lib -R/usr/gnu/lib'
make
And finally, to actually install ncdc, run C<make install> as root. You can
safely revert C<$PATH> back to its previous value if you wish, it was only
necessary in order for C<./configure> and C<make> to find C<pod2man>.
@ -129,13 +163,13 @@ you can also try to compile ncdc from source. To do so, first install the
required libraries:
sudo apt-get install libbz2-dev libsqlite3-dev libncurses5-dev\
libncursesw5-dev libxml2-dev libglib2.0-dev libgnutls-dev
libncursesw5-dev libglib2.0-dev libgnutls-dev
Then run the following commands to download and install ncdc:
wget http://dev.yorhel.nl/download/ncdc-1.10.tar.gz
tar -xf ncdc-1.10.tar.gz
cd ncdc-1.10
wget http://dev.yorhel.nl/download/ncdc-1.11.tar.gz
tar -xf ncdc-1.11.tar.gz
cd ncdc-1.11
./configure --prefix=/usr
make
sudo make install
@ -164,8 +198,6 @@ website|http://cygwin.com/> and use it to install the following packages:
=item * libbz2-devel
=item * libxml2-devel
=item * libglib2.0-devel
=item * libsqlite3-devel
@ -177,8 +209,8 @@ website|http://cygwin.com/> and use it to install the following packages:
Then open a Cygwin terminal and run the following commands to download,
compile, and install ncdc:
wget http://dev.yorhel.nl/download/ncdc-1.10.tar.gz
tar -xf ncdc-1.10.tar.gz
cd ncdc-1.10
wget http://dev.yorhel.nl/download/ncdc-1.11.tar.gz
tar -xf ncdc-1.11.tar.gz
cd ncdc-1.11
./configure --prefix=/usr
make install