LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs > Lumak's Guide to Random Things
User Name
Password

Notices

OK I don't really have a good title yet but I figure I can post works in progress and other tips I've come across or other interesting things.
Rate this Entry

UGH! I hate broken configure scripts/pkg-config setups (cairo-compmgr/vala)

Posted 12-30-2010 at 03:15 PM by lumak

Seriously, one of the most annoying things about linux and open source is the constant changing of library names and versions and the inconsistent use of pkg-config or the lack their of!

OK so the configure script for cairo-compmgr does a check for vala which goes fine. It knows where the compiler is and what to do. But later in the script it uses pkg-config to double check the library dependencies and it can't find vala... why? well because the script checks for the library 'vala-1.0' BUT?! the Slackbuild script doesn't install vala-1.0.pc it installs libvala-0.12.pc. Not only is the 'lib' part different but the version reference is also wrong! Most other .pc files use the standard <libname>.pc or <libname>-<major>.pc. I suppose vala may still be too new to adhere to this and now I need to send a note to the Slackbuilds maintainer to consider adding a symbolic link so stupid configure scripts don't make this mistake again.

At least I've fiddled with make/configure and broken scripts enough to diagnose problems like this.
Views 1517 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 06:24 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration