Opened 15 years ago

Closed 15 years ago

#23835 closed defect (duplicate)

qt4-mac does not compile

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

Description (last modified by jmroot (Joshua Root))

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.2" && /usr/bin/make -j8 first " returned error 2
Command output:                  from generated/JSCanvasRenderingContext2D.h:24,
                 from bindings/js/JSCanvasRenderingContext2DCustom.cpp:21:
platform/network/ResourceResponseBase.h:51: error: ISO C++ forbids declaration of 'KURL' with no type
platform/network/ResourceResponseBase.h:51: error: expected ';' before '&' token
platform/network/ResourceResponseBase.h:52: error: expected ',' or '...' before '&' token
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/DOMObjectWithSVGContext.h:31,
                 from generated/JSCanvasRenderingContext.h:24,
                 from generated/JSCanvasRenderingContext2D.h:24,
                 from bindings/js/JSCanvasRenderingContext2DCustom.cpp:21:
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'
lipo: can't open input file: /var/folders/uh/uhwDBil7EvW4oADl8yPZg++++TI/-Tmp-//ccQSYm6L.out (No such file or directory)
make[2]: *** [obj/debug/JSCanvasRenderingContext2DCustom.o] Error 1
make[1]: *** [debug-all] Error 2
make: *** [sub-webkit-make_default-ordered] Error 2
Error: Unable to upgrade port: 1

Change History (5)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: qt4-mac added

Please remember to preview and use WikiFormatting, and to fill in the Port field.

comment:2 Changed 15 years ago by thedoobs@…

Cc: thedoobs@… added

Cc Me!

comment:3 Changed 15 years ago by coateconnection (David Coate)

Uninstalling qt4-mac and kdelibs4 allowed to it to install successfully for me.

comment:4 in reply to:  3 Changed 15 years ago by soehn@…

Replying to dlc@…:

Uninstalling qt4-mac and kdelibs4 allowed to it to install successfully for me.

This works for me, too. Thank you! But I had to uninstall a lot of dependent packages, too....

@jmr: Thanks for the advice!

comment:5 Changed 15 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Then this is probably a duplicate of #20199.

Note: See TracTickets for help on using tickets.