THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened. Details are below. User who did this - Conrad Buck (conartist6)
Attached to Project - awesome
Summary - Libpng version detection on Slackware64 13.1
Task Type - Bug Report
Category - Build system
Status - Unconfirmed
Assigned To - Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 3.4.5
Due in Version - Undecided
Due Date - Undecided
Details - I am trying to compile and run awesome 3.4.6 on Slacware64 13.1. I 
have previously had awesome running perfectly on this system, and only recently 
did upgraded to the newest version of slackware. The problem is that after 
awesome successfully compiles, I get the following error while trying to run it:

"libpng warning: Application was compiled with png.h from libpng-1.2.37"
"libpng warning: Application is running with png.c from libpng-1.4.3"
"libpng warning: Incompatible libpng version in application and library"

loads its background but gets no further, console output indicates that it has 
failed while trying to load the first PNG icon it comes upon.

The obvious problem is that Slackware 13.1's libpng package includes two 
versions of that library (the two versions the error above mentions) for 
compatibility reasons.

Since I started looking into the reasons for this problem I have found that 
awesome does not support libpng 1.4. This leads me to believe that I could 
eliminate the problem by linking my default libpng.so to libpng12.so instead of 
libpng14.so, but obviously this would be bad news for every other program. 
Instead I have tried using a_find_library to save the library path to a 
variable, and then using ccmake to edit the library path before the program is 
compiled, but that doesn't seem to work. Perhaps i am not using the results of 
that variable correctly? So far I only added two lines:
+ a_find_library(LIB_PNG png)
and
${LIB_PNG}
in the
set(AWESOME_REQUIRED_LIBRARIES...
section.

Here is my awesomeConfig.cmake file.

As far as I know, it should be possible to recreate this bug simply by trying to compile awesome on slackware 13.1
One or more files have been attached.

More information can be found at the following URL:
http://awesome.naquadah.org/bugs/index.php?do=details&task_id=799

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to [email protected].

Reply via email to