[kde-freebsd] Re: ports/x11/kde4 does not compile (conflict with qt-3.3.8_12)
Matthias Apitz
guru at unixarea.de
Tue Jul 12 07:28:37 CEST 2011
El día Monday, July 11, 2011 a las 12:43:31AM -0300, Raphael Kubo da Costa escribió:
> Matthias Apitz <guru at unixarea.de> writes:
>
> > the file /usr/local/include/qdatetime.h was installed by:
> >
> > caracas# ls -l /usr/local/include/qdatetime.h
> > -rw-r--r-- 1 root wheel 8795 May 28 18:34 /usr/local/include/qdatetime.h
> > caracas# pkg_info -W /usr/local/include/qdatetime.h
> > /usr/local/include/qdatetime.h was installed by package qt-3.3.8_12
> >
> > What is the correct way to solve this conflict?
>
> There have been many threads about this sort of conflict between qt3 and
> qt4/kde4 over time, but I don't remember if there was ever a definitive
> solution for this.
>
> One possible suggestion is to remove qt3 while the qt4/kde4 stuff is
> being built, or just make sure /usr/local/include/qt4 and friends are
> found by the compiler before /usr/local/include itself.
I deleted temporarely the pkg qt-3.3.8_12 with -f and after this
ports/x11/kde4 installed fine. Thanks for the hint.
In general I think, the configure / Makefiles of kde4 should pick up by
itself the correct header (...) files or just stop with an error message
if qt3 is installed and in the way:
$ find /usr/local/include -name qdatetime.h
/usr/local/include/qt4/Qt/qdatetime.h
/usr/local/include/qt4/QtCore/qdatetime.h
/usr/local/include/qdatetime.h
Thanks anyway
matthias
--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at unixarea.de> - w http://www.unixarea.de/
More information about the kde-freebsd
mailing list