Page 1 of 1

problem with wheezy debian

Posted: Sun Aug 17, 2014 10:11 am
by gargamel79
Hello,
I deal with a wheezy debian station, the current version for Löve is 0.8. I'd like to get on 0.9.1.
I saw on the forum the SDL2 is requested, I installed it from the sources. It seems OK about that point...
But configure notices that FreeType2 misses.
On wheezy libfreetype6 is already installed. I have installed the debian packages:
libfreetype6-dev, libtaoframework-freetype2.3-cil and libtaoframework-freetype2.3-cil-dev.
Below are the end of configure's messages.

checking for sdl2-config... /usr/local/bin/sdl2-config
checking for SDL - version >= 2.0.0... yes
checking for lua... no
checking for lua... no
checking for freetype2... no
configure: error: LÖVE needs "FreeType2", please install "FreeType2" with development files and try again

What more can I do ? Thanks in advance for your help.

Re: problem with wheezy debian

Posted: Sun Aug 17, 2014 3:25 pm
by bartbes
Love's configure script uses pkgconfig to find (most) libs, including freetype. I just checked the debian package for libfreetype6-dev, and it contains the pkgconfig file needed. Does your system have the file /usr/lib/x86_64-linux-gnu/pkgconfig/freetype2.pc? And what is the output of

Code: Select all

pkg-config --cflags --libs freetype2

Re: problem with wheezy debian

Posted: Mon Aug 18, 2014 7:17 am
by gargamel79
the directory /usr/lib/x86_64-linux-gnu is empty
when I try
# pkg-config --cflags --libs freetype2
The message is : pkfg-config commande introuvable (cause I am french) It means unknown command.
For the package management, I usully use apt. Maybe it's the reason ...
Thanks for your reply

Re: problem with wheezy debian

Posted: Mon Aug 18, 2014 8:45 am
by gargamel79
Very sorry, the pkg-config was not default installed ... :?
Now the message is:
-I/usr/include/freetype2 -lfreetype
Certainely there is something to do to install freetype2 at the right place ?

Re: problem with wheezy debian

Posted: Mon Aug 18, 2014 9:31 am
by bartbes
It's weird that it wasn't properly detected, but the lack of pkgconfig may explain the error you had, does it work now?

Re: problem with wheezy debian

Posted: Mon Aug 18, 2014 5:25 pm
by gargamel79
You are perfectly right, with pkg-config it's better!
However "configure" asked for some more packages. I successfuly installed:
libopenal-dev , libdevil-dev , libmodplug-dev , libvorbis-dev
At present, the out is :
configure: error: LÖVE needs "PhysicsFS", please install "PhysicsFS" with development files and try again.
So I tried the debian packages:
science-physics-dev and even science-physics (which is very very heavy !)
But it stays locked on PhysicsFS.
Would you have a tip for me ?
Thanks for your help.

Re: problem with wheezy debian

Posted: Mon Aug 18, 2014 6:13 pm
by Tegu
Ouch. The PhysicsFS might be a slightly misleading name.. Anyway, the package is called libphysfs-dev, but at least you now have lots of cool science stuff to play with. ;)

Re: problem with wheezy debian

Posted: Mon Aug 18, 2014 7:28 pm
by bartbes
Note that there's a list of dependencies on the wiki, and although the debian dependencies may not be fully up-to-date, the ubuntu ones should be, and that list should mostly work.

Re: problem with wheezy debian

Posted: Tue Aug 19, 2014 2:30 pm
by gargamel79
In fact, I didn't think it exists a dependencies doc. It avoids cold sweat !
Thanks for your tips.
./configure has just passed ! :awesome: