[MacPorts] #20199: qt4-mac fails to build
MacPorts
noreply at macports.org
Thu Oct 15 01:06:22 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:31 tanks4dat@…]:
> 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.
UPDATE[[BR]]
I fallowed this:
{{{
port installed kdelibs3 kdelibs4 libevent
sudo port deactivate kdelibs3 kdelibs4 libevent
sudo port upgrade qt4-mac # or install instead of upgrade
sudo port activate kdelibs3 kdelibs4 libevent
}}}
I did not have libevents. I deactivated kdelibs3 and qt4-mac still never
build. I deactivated kdeedp3 and still no build. So I uninstalled
kdeedu3 (I don't know why this worked, sorry) and qt4-mac build properly.
Thank you, all who understand the inner workings of port libraries,
dependencies, and lateral thinking for offering assistance and a
workaround :) now, off to wikipedia to find out what CPPFLAGS and CFLAGS
are :P my code knowledge is LAGing :)
--
Ticket URL: <http://trac.macports.org/ticket/20199#comment:36>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list