[KDE/Mac] Fwd: kdelibs 4.7.1 fails in OSX 10.7 Lion, kauth-policy-gen_automoc error

Juan Felipe Alvarez Saldarriaga nebiros at gmail.com
Mon Oct 31 16:16:41 UTC 2011


Hey,

Yes you'r right, I just remove automoc4 and the compile it again
against qt 4.7.4 and kdelibs 4.7.1 start compiling, but when I think
it was done I got this error:

[ 93%] Building CXX object
khtml/CMakeFiles/khtml.dir/imload/decoders/gifloader.o
/tmp/homebrew-kdelibs-4.7.1-JMFf/kdelibs-4.7.1/khtml/imload/decoders/pngloader.cpp:
In member function ‘void khtmlImLoad::PNGLoader::haveRow(unsigned int,
int, unsigned char*)’:
/tmp/homebrew-kdelibs-4.7.1-JMFf/kdelibs-4.7.1/khtml/imload/decoders/pngloader.cpp:201:
error: invalid use of incomplete type ‘struct png_struct_def’
/usr/X11/include/png.h:795: error: forward declaration of ‘struct
png_struct_def’
make[2]: *** [khtml/CMakeFiles/khtml.dir/imload/decoders/pngloader.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [khtml/CMakeFiles/khtml.dir/all] Error 2
make: *** [all] Error 2

Thanks for any help :).

On Mon, Oct 31, 2011 at 3:12 AM, Bjoern Ricks
<bjoern.ricks at intevation.de> wrote:
> Hi,
>
> my answer is a completely guess, but looking at at the error message and
> homebrews formulars I think your automoc was build against Qt 4.7.3 and
> homebrew has already a formula for Qt 4.7.4. I am not a homebrew expert but I
> guess your 4.7.3 version was removed during an update and therefore dyld
> can't find the correct library. It's always bad to install a library in a
> version specific path and link against it! You should fill a bug report for
> homebrew.
>
> Regards
> Björn
>
> On Saturday 29 October 2011 20:17:06 Juan Felipe Alvarez Saldarriaga wrote:
>> I'm trying to compile kdelibs in OSX 10.7 Lion, Xcode 4.2, but I
>> always got this error:
>>
>> make install
>> Scanning dependencies of target KDECMakeModulesManPage
>> Scanning dependencies of target kauth-policy-gen_automoc
>> dyld: Library not loaded:
>> /usr/local/Cellar/qt/4.7.3/lib/QtCore.framework/Versions/4/QtCore
>>   Referenced from: /usr/local/bin/automoc4
>>   Reason: image not found
>> [  0%] Built target KDECMakeModulesManPage
>> Scanning dependencies of target kauth_backend_plugin_automoc
>> dyld: Library not loaded:
>> /usr/local/Cellar/qt/4.7.3/lib/QtCore.framework/Versions/4/QtCore
>>   Referenced from: /usr/local/bin/automoc4
>>   Reason: image not found
>
>
> --
> Bjoern Ricks |  ++49-541-335083-167  |  http://www.intevation.de/
> Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
> Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
>



--
Juan Felipe Alvarez Saldarriaga
http://juan.im
GTalk: nebiros at gmail.com
Skype: jfasaldarriaga



-- 
Juan Felipe Alvarez Saldarriaga
http://juan.im
GTalk: nebiros at gmail.com
Skype: jfasaldarriaga


More information about the kde-mac mailing list