[kde-freebsd] Re: ports/x11/kde4 does not compile (conflict with qt-3.3.8_12)

Raphael Kubo da Costa kubito at gmail.com
Mon Jul 11 05:43:31 CEST 2011


Matthias Apitz <guru at unixarea.de> writes:

> Hello,
>
> I have a 9-CURRENT r222407 from around end of May and ports from CVS
> from the same day; and I have compiled and running ports/x11/kde3 in this;
>
> now I wanted to check out (for the recent threat here) ports/x11/kde4
> but this stops compiling in:
>
> Stop in /usr/ports/x11/kdelibs4.
> *** Error code 1
>
> for errors from:
>
> /usr/local/include/qdatetime.h:51: error: function definition does not
> declare parameters
> /usr/local/include/qdatetime.h:123: error: function definition does not
> declare parameters
> /usr/local/include/qdatetime.h:184: error: function definition does not
> declare parameters
> ...
>
> 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.


More information about the kde-freebsd mailing list