Opened 15 years ago

Closed 15 years ago

#23590 closed defect (duplicate)

Cannot build qt4-mac 4.6.1 on Snow Leopard.

Reported by: bgdotmail+macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: gismo@…, thedoobs@…
Port: qt4-mac

Description

--->  Computing dependencies for qt4-mac
--->  Building qt4-mac
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-everywhere-opensource-src-4.6.1" && /usr/bin/make -j2 first " returned error 2
Command output: platform/network/ResourceResponseBase.h:52: error: ISO C++ forbids declaration of 'KURL' with no type
platform/network/ResourceResponseBase.h:108: error: expected ',' or '...' before '&' token
platform/network/ResourceResponseBase.h:108: error: ISO C++ forbids declaration of 'KURL' with no type
platform/network/ResourceResponseBase.h:118: error: 'KURL' does not name a type
platform/network/ResourceResponseBase.h:154: error: 'KURL' does not name a type
In file included from loader/CachedResource.h:28,
                 from loader/CachedResourceHandle.h:29,
                 from dom/Document.h:29,
                 from bindings/js/JSDOMBinding.h:26,
                 from bindings/js/ScriptState.h:35,
                 from bindings/js/ScriptValue.h:35,
                 from bindings/js/SerializedScriptValue.h:30,
                 from dom/MessagePortChannel.h:36,
                 from dom/MessagePort.h:34,
                 from page/DOMWindow.h:31,
                 from generated/JSDOMWindow.h:24,
                 from bindings/js/GCController.cpp:29:
platform/network/qt/ResourceResponse.h:39: error: expected ',' or '...' before '&' token
platform/network/qt/ResourceResponse.h:39: error: ISO C++ forbids declaration of 'KURL' with no type
platform/network/qt/ResourceResponse.h: In constructor 'WebCore::ResourceResponse::ResourceResponse(int)':
platform/network/qt/ResourceResponse.h:40: error: 'url' was not declared in this scope
platform/network/qt/ResourceResponse.h:40: error: 'expectedLength' was not declared in this scope
platform/network/qt/ResourceResponse.h:40: error: 'filename' was not declared in this scope
platform/network/qt/ResourceResponse.h: At global scope:
platform/network/qt/ResourceResponse.h:39: warning: unused parameter 'KURL'
bindings/js/GCController.cpp:83: warning: unused parameter 'waitUntilDone'
make[2]: *** [obj/release/GCController.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [release-all] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2

Change History (5)

comment:1 Changed 15 years ago by gismo@…

Cc: gismo@… added

Cc Me!

comment:2 Changed 15 years ago by gismo@…

this problem might be related to that one #23512
I removed kdelibs4 and now qt4-mac seems to compile.

comment:3 Changed 15 years ago by bgdotmail+macports@…

Yes, it is. thanks a lot!

comment:4 Changed 15 years ago by thedoobs@…

Cc: thedoobs@… added

Cc Me!

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.