problem with wheezy debian

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
gargamel79
Prole
Posts: 13
Joined: Sat Aug 16, 2014 8:33 am
Location: France (Bressuire)

problem with wheezy debian

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: problem with wheezy debian

Post 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
gargamel79
Prole
Posts: 13
Joined: Sat Aug 16, 2014 8:33 am
Location: France (Bressuire)

Re: problem with wheezy debian

Post 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
gargamel79
Prole
Posts: 13
Joined: Sat Aug 16, 2014 8:33 am
Location: France (Bressuire)

Re: problem with wheezy debian

Post 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 ?
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: problem with wheezy debian

Post 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?
gargamel79
Prole
Posts: 13
Joined: Sat Aug 16, 2014 8:33 am
Location: France (Bressuire)

Re: problem with wheezy debian

Post 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.
Tegu
Prole
Posts: 3
Joined: Wed Aug 06, 2014 10:03 pm

Re: problem with wheezy debian

Post 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. ;)
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: problem with wheezy debian

Post 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.
gargamel79
Prole
Posts: 13
Joined: Sat Aug 16, 2014 8:33 am
Location: France (Bressuire)

Re: problem with wheezy debian

Post 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:
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest