installation on linux

228 views
Skip to first unread message

Nischal

unread,
Nov 26, 2012, 4:59:01 PM11/26/12
to extemp...@googlegroups.com
Hello all,

I'm currently trying to install all necessary packages, and I'm having trouble Mesa Gl. This is also because I'm still a noob when it comes to building/installing things on linux right now. So, the first thing I needed for Mesa Gl to configure was libdrm.

I got libdrm, and executed this piece of code described in http://www.linuxfromscratch.org/blfs/view/svn/general/libdrm.html:

./configure --prefix=/usr --enable-udev &&
make

But then I needed pciaccess (>= 0.10). I got pciaccess as well. And I did sh autogen.sh (I thought this was how to install pciaccess) and received this error:

Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
src/Makefile.am:27: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:27: The usual way to define `LIBTOOL' is to add `LT_INIT'
src/Makefile.am:27: to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am:27: If `LT_INIT' is in `configure.ac', make sure
src/Makefile.am:27: its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1

And I've been stuck here for a while now. Would appreciate some help with this.

Thanks





Ben Swift

unread,
Nov 26, 2012, 5:24:31 PM11/26/12
to extemp...@googlegroups.com
Hi Nischal

Are you on Ubuntu (or Debian)?  If so, you should be able to get mesa GL from the package manager.  On Ubuntu at least, getting the following packages:

• clang
• g++
• portaudio19-dev
• libpcre3-dev
• libgl1-mesa-dev

gives you need to build LLVM and then Extempore.  If you're on another distro, the names might be slightly different, but the packages may well be there.

Was there any particular reason you wanted to compile Mesa GL from source?

Cheers,
Ben

Nischal

unread,
Nov 27, 2012, 5:46:33 PM11/27/12
to extemp...@googlegroups.com
Hello,

I have Ubuntu 12.04. I've got clang, pcre, and g++ already. Now for portaudio, do you recommend that I just download the latest stable version off the official site, http://www.portaudio.com/download.html? Is there any way I could get help finding the Ubuntu equivalent of libgl1-mesa-dev? I kept finding debian versions.

Thanks

Ben Swift

unread,
Nov 27, 2012, 6:06:22 PM11/27/12
to extemp...@googlegroups.com
Hi Nischal

If you get stuck, there's a precompiled binary on the downloads page which should work on Ubuntu 12.04

Cheers,
Ben

On 28/11/2012, at 9:46 AM, Nischal <nsroc...@yahoo.com> wrote:

Is there any way I could get help finding the Ubuntu equivalent of libgl1-mesa-dev? I kept finding debian versions

'Packages' are bits of software (source code, binary executables, data, etc.) which are maintained in a central repository, to make it easier to find them and keep them up-to-date. The way to install and manage packages on Ubuntu is through the apt-get command line tool (tutorial here) or similar.  Ubuntu can access uses the Debian package archives.

So, to check (for example) the mesaGL package is available, in a terminal try these steps:

1. apt-get update
2. apt-cache search mesa

The second step should print (among other things) info about the package 'libgl1-mesa-dev'.  That's the one you want.  Then, to install the package:

sudo apt-get install libgl1-mesa-dev

You'll need administrator priveleges to sudo, and you'll have to type in your password.  But after that it will fetch the mesaGL package and install it on your system.  It will install the library into a place where the Extempore compile process can find it.

Now for portaudio, do you recommend that I just download the latest stable version off the official site, http://www.portaudio.com/download.html?

Again, the easiest option for portaudio is to get it through the portaudio19-dev package (sudo apt-get install portaudio19-dev).  

In fact, all the dependencies (except for LLVM because of the patch required) are best gotten as packages, I reckon.  This page has the exact package names that you'll need, you should just be able to 'apt-get install' them (either one at a time, or all together).

Hope that helps,
Ben

Ben Swift

unread,
Nov 27, 2012, 6:08:52 PM11/27/12
to extemp...@googlegroups.com
Hi Nischal

Sorry, the previous email was a bit confusing.  I've replied to your original questions below.  But it's still true that if you get stuck, there's a precompiled binary on the downloads page which should work on Ubuntu 12.04 (and have a look at the Readme which comes with it if you do decide to do it that way).

-------

Is there any way I could get help finding the Ubuntu equivalent of libgl1-mesa-dev? I kept finding debian versions

'Packages' are bits of software (source code, binary executables, data, etc.) which are maintained in a central repository, to make it easier to find them and keep them up-to-date. The way to install and manage packages on Ubuntu is through the apt-get command line tool (tutorial here) or similar.  Ubuntu can access uses the Debian package archives.

So, to check (for example) the mesaGL package is available, in a terminal try these steps:

1. apt-get update
2. apt-cache search mesa

The second step should print (among other things) info about the package 'libgl1-mesa-dev'.  That's the one you want.  Then, to install the package:

sudo apt-get install libgl1-mesa-dev

You'll need administrator priveleges to sudo, and you'll have to type in your password.  But after that it will fetch the mesaGL package and install it on your system.  It will install the library into a place where the Extempore compile process can find it.

Now for portaudio, do you recommend that I just download the latest stable version off the official site, http://www.portaudio.com/download.html?

Again, the easiest option for portaudio is to get it through the portaudio19-dev package (sudo apt-get install portaudio19-dev).  

In fact, all the dependencies (except for LLVM because of the patch required) are best gotten as packages, I reckon.  This page has the exact package names that you'll need, you should just be able to 'apt-get install' them (either one at a time, or all together).

Hope that helps,
Ben
Reply all
Reply to author
Forward
0 new messages