Matthias Apitz <g...@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. _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information