[MacPorts] #20199: qt4-mac fails to build

MacPorts noreply at macports.org
Mon Oct 12 20:54:34 PDT 2009


#20199: qt4-mac fails to build
----------------------------------+-----------------------------------------
 Reporter:  jwhowse4@…            |       Owner:  erickt@…           
     Type:  defect                |      Status:  new                
 Priority:  Normal                |   Milestone:                     
Component:  ports                 |     Version:  1.7.1              
 Keywords:                        |        Port:  qt4-mac            
----------------------------------+-----------------------------------------

Comment(by tanks4dat@…):

 Replying to [comment:19 payam.minoofar@…]:
 > Alas, no. I attempted another upgrade of qt4 with the fresh version, but
 it failed. Then I saw your note above, so I cleaned up the previous
 installation, and still got exactly the same error.
 >
 > Also, port reports that qt4-mac-devel (ver 4.5.0) is older than qt4-mac
 (4.5.2).
 >
 > {{{
 > page/DOMWindow.h:281: error: field 'm_url' has incomplete type
 > page/DOMWindow.h: In member function 'void
 WebCore::DOMWindow::setURL(const WebCore::KURL&)':
 > page/DOMWindow.h:80: error: 'm_url' was not declared in this scope
 > page/DOMWindow.h: In member function 'WebCore::KURL
 WebCore::DOMWindow::url() const':
 > page/DOMWindow.h:81: error: return type 'struct WebCore::KURL' is
 incomplete
 > page/DOMWindow.h:81: error: 'm_url' was not declared in this scope
 > make[2]: *** [.obj/debug-shared/GCController.o] Error 1
 > make[1]: *** [debug-all] Error 2
 > make: *** [sub-webkit-make_default-ordered] Error 2
 >
 > Error: Status 1 encountered during processing.
 >
 > }}}
 >
 I received exactly the same errors:

 {{{
 In file included from page/DOMWindow.h:29,
                  from generated/JSDOMWindow.h:25,
                  from bindings/js/GCController.cpp:29:
 /Volumes/User/opt/local/include/KURL.h:24:24: error: qvaluelist.h: No such
 file or directory
 /Volumes/User/opt/local/include/KURL.h:187: error: expected template-name
 before '<' token
 /Volumes/User/opt/local/include/KURL.h:187: error: expected `{' before '<'
 token
 /Volumes/User/opt/local/include/KURL.h:187: error: expected unqualified-id
 before '<' token
 /Volumes/User/opt/local/include/KURL.h:312: error: expected ',' or '...'
 before '&' token
 /Volumes/User/opt/local/include/KURL.h:312: error: ISO C++ forbids
 declaration of 'QCString' with no type
 page/DOMWindow.h:281: error: field 'm_url' has incomplete type
 page/DOMWindow.h: In member function 'void
 WebCore::DOMWindow::setURL(const WebCore::KURL&)':
 page/DOMWindow.h:80: error: 'm_url' was not declared in this scope
 page/DOMWindow.h: In member function 'WebCore::KURL
 WebCore::DOMWindow::url() const':
 page/DOMWindow.h:81: error: return type 'struct WebCore::KURL' is
 incomplete
 page/DOMWindow.h:81: error: 'm_url' was not declared in this scope
 make[2]: *** [.obj/debug-shared/GCController.o] Error 1
 make[1]: *** [debug-all] Error 2
 make: *** [sub-webkit-make_default-ordered] Error 2
 }}}

 $ locate /opt/local/include/KURL.h had no results. I do not have kdelibs3
 or libevent installed.
 {{{
 % port installed kdelib3
 None of the specified ports are installed.
 }}}
 and
 {{{
 % port installed libevent
 None of the specified ports are installed.
 }}}
 locate libevent results in libevent located at
 var/macports/sources/rsync.macports.org/release/ports/devel/libevent[[BR]]

 I do have kdeedu3 installed, but is is deactivated.  I think that kdeedu3
 uses kdelibs3, so it is in the /opt file hierarchy, but deactivated.
 [[BR]]

 my system: cpu powerppc g4 laptop; xcode 3.1.4.  I tried cleaning qt4-mac
 and reinstalling.  kdeedu4 will not install quiting on errors, one being
 qt4-mac failed to build.  I tried cleaning kdeedu4 and installing qt4-mac
 and the errors above resulted.  [[BR]]
 Any ideas how to solve?  Any configurations I can give to the port install
 to help build.

-- 
Ticket URL: <http://trac.macports.org/ticket/20199#comment:31>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list