I had a line to install all Gem deps long time ago : 
sudo apt-get -y install libgl1-mesa-dev libglu-dev libxxf86vm-dev ftgl-dev libmagick++-dev libv4l-dev libquicktime-dev libavifile-0.7-dev libmpeg3-dev libdv-dev imagemagick

but as I said, it's old, so maybe some lib are no more available or their name changed

+
a

--
do it yourself                      
http://antoine.villeret.free.fr

2015-03-06 20:47 GMT+01:00 Csaba Láng <langcsaba@gmail.com>:
Libtool arranged, but more dependences came out after build-dep gem-qq

The following packages have unmet dependencies:
 account-plugin-facebook : Depends: libaccount-plugin-generic-oauth but it is not going to be installed or
                                    ubuntu-system-settings-online-accounts but it is not going to be installed
 libgbm1 : Depends: libgl1-mesa-dri
 liboxideqt-qmlplugin : Depends: liboxideqtcore0 (= 1.4.3-0ubuntu0.14.04.1) but it is not going to be installed
                        Depends: liboxideqtquick0 (= 1.4.3-0ubuntu0.14.04.1) but it is not going to be installed
 libqt5feedback5 : Depends: libqt5multimedia5 (>= 5.0.2) but it is not going to be installed
 libqt5quick5 : Depends: libqt5gui5 (>= 5.2.0) but it is not going to be installed
 libubuntu-application-api-mirserver1 : Depends: libmirserver18 (>= 0.1.8+14.04.20140408.1) but it is not going to be installed
 unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
                        Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
E: Build-dependencies for gem could not be satisfied.

Stucked totally, Gem from the repo does not install videoVLC plugin.


On Fri, Mar 6, 2015 at 5:41 PM, Antoine Villeret <antoine.villeret@gmail.com> wrote:
you are missing some essential point in the building toolchain
actually, you need libtool :
apt-get install libtool 

--
do it yourself                      
http://antoine.villeret.free.fr

2015-03-06 16:00 GMT+01:00 Csaba Láng <langcsaba@gmail.com>:
Antoine,
thanks for your clues.
Anyway, I am stucked on the same level after autogen.sh it prits:
configure.in:104: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:105: error: possibly undefined macro: AC_PROG_LIBTOOL
autoreconf: /usr/bin/autoconf failed with exit status: 1
It is still on the level of compiling puredata 0.45.4
Possibly the same will happen while compiling Gem too.
How should I fix this m4_pattern_allow?
From your list of prerequisitions I could not install libsdl2-dev. Meanwhile I downgraded to Ubuntu 12.04.
Cheers:
Pop

On Fri, Mar 6, 2015 at 2:19 PM, Antoine Villeret <antoine.villeret@gmail.com> wrote:
this is because Gem relies on OpenGL and thus you need OpenGL header to build it...

those few line should help to get the right things *before* running ./configure script 
apt-get update -qq
apt-get build-dep gem -qq
apt-get install libglfw-dev libglfw3-dev libsdl2-dev -qq

Also to enable vlc plugin you should install libvlc-dev pt-ackage :
apt-get install libvlc-dev

And since there are few discussion on building Gem on Linux, I thing we should start a "Hpw to build Gem on Ubuntu" wiki page.
Since there are now Travis script to do so automatically it should be quite straightforward. 

+
a


--
do it yourself                      
http://antoine.villeret.free.fr

2015-03-05 23:38 GMT+01:00 Csaba Láng <langcsaba@gmail.com>:
Dear list,

I have a fresh ubuntu 14.04 install on my old intel 32 based laptop.
Trying to install from git the latest Gem, but without success. After configure it says that openGL headers are missing.
Trying to get it but no luck.
Is there a simple way to get Gem VLC plugin worked? Now pd says there is not VLC backend, and it is true, as in the usr/lib/pd/extra/Gem folder the gem_videoVLC.so is missing.

Thanks:

Popesz

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list