bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] compiling gnubg on Ubuntu


From: Misja Alma
Subject: Re: [Bug-gnubg] compiling gnubg on Ubuntu
Date: Tue, 14 Aug 2007 16:14:20 +0200

Thanks everybody for your reactions!

I decided to follow Nardy's instructions, because I want to have the multithreaded version and I like to fiddle around with the compile options a bit.
Everything now works!

If some other n00b like me wants to build gnubg later on, he/she might want to know that there were a few small typo's in the instructions:
The following line:

'run makebearoff -f gnubg_ts0.bd --twosided-6x6' 

should be:

'./makebearoff -f gnubg_ts0.bd --two-sided=6x6' 


Cheers,
Misja


On 8/13/07, motiv4u < address@hidden> wrote:
> Hi,
>
> I have been trying to compile gnubg on Ubuntu (Feisty), but
> encountered some problems.
> Could somebody please help me out? Here's what I did:
>
> I downloaded the latest snapshot (the one from the 11th of
> August). I'm not sure if I should have downloaded some stable
> branch from somewhere? (I wanted to have the multithreaded version)
>
> Anyway, I expanded the archive, navigated to the gnubg
> directory and started 'make'. This gave an error: The
> directory '/home/ace/missing' was missing :-)
>
> So what should I do?
>
> Regards,
> Misja

After extracting, there is an INSTALL file in the gnubg directory.

However, for Ubuntu (and Xubuntu, Kubuntu), following the next scenario
gives you a working gnubg build.
'sudo' will be used before the commands you're used to in other linux
distro's.

First you need the additional packages and libraries.
You'll get the packages like this:

sudo apt-get install autoconf automake bison gcc gnuplot libtool make

And the libraries:

sudo apt-get install libartsc0-dev libatk1.0-dev libaudiofile-dev
libcairo2-dev libesd0-dev libglib2.0-dev libgtk2.0-dev libgtkglextl-dev
libpango1.0-dev libpng12-dev libreadline5-dev libxml2-dev python2.5-dev

Remark: python2.5 and not 2.4 because 2.4 gave a compile error)

Now, cd to the gnubg directory where you extracted the tarball and type:

./autogensh

./configure --enable-sse --enable-threads --without-timecontrol
--without-board3d --without-gdbm

You can read the INSTALL file for other options, but these do work on Ubuntu
clean install
(without 3d support: when I enabled it, gnubg crashes in 3d view when
changing the appearance)

Now the make:

sudo make

I encountered a problem with languages. I edited the file /PO/LINGUAS to
read nothing (deleted the content, saved)
I had a problem with flex, thus I copied sgfl.c from /gnubg/non-src to
/gnubg
... And I ran 'sudo make' again ;-)

For some reason gnubg_ts0.bd was not build, so I ran:

run makebearoff -f gnubg_ts0.bd --twosided-6x6

To install gnubg:

sudo make install

Now... Open a console, type gnubg and enjoy

Nardy




No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.15/949 - Release Date: 12/8/2007
11:03




reply via email to

[Prev in Thread] Current Thread [Next in Thread]