LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GTK+ problems building with Pango and GLib- Packages exist, but they don't configure? (https://www.linuxquestions.org/questions/linux-newbie-8/gtk-problems-building-with-pango-and-glib-packages-exist-but-they-dont-configure-4175504393/)

Skorpius7 05-08-2014 09:30 PM

GTK+ problems building with Pango and GLib- Packages exist, but they don't configure?
 
Ok so I got LibFII to work, but I'm still having trouble with other packages- trying to get Pango and I'm met with the following error on ./configure:

Code:

checking for CoreText availability... no
checking for CAIRO... yes
checking which cairo font backends could be used... none
configure: Disabling cairo support
configure: error: *** Could not enable any backends.
*** Must have at least one backend to build Pango.

I have libcairo2 and libharfbuzz0- when I tried to sudo-apt get install both of them, it said they were up to date, so I have no idea what else it could mean by back-end???


Also, when I try to install gdk pixbuf, it says that I need a version of GLib which is higher than 2.36, but the version I compiled and make'd was version 2.4...

Code:

Requested 'glib-2.0 >= 2.37.6' but version of GLib is 2.36.0

TobiSGD 05-08-2014 09:37 PM

To compile software against a library like pango you also need to install the development package of that library, in the case of pango (assuming that you use Debian 7) that would be libpango1.0-dev.
Also, if you compile a library manually that package manager isn't aware of that, which causes the version problem you have with glib.

Skorpius7 05-11-2014 05:26 PM

Thanks!! :)

Skorpius7 05-11-2014 05:32 PM

So, I got developer packages for pango (Thanks!!) but everything is updated and fine with glib...

I'm still getting the backend issue with pango

But I'm getting this for GLIB:

Code:

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Any idea what this means?


All times are GMT -5. The time now is 09:00 PM.