cant compile kdelibs4

Andre Goree andre at drenet.info
Sun Oct 23 22:53:58 UTC 2011


On Sun, October 23, 2011 10:17 am, tehnik wrote:
> On Sun, 23 Oct 2011 14:21:01 +0200
> Brent Clark <brentgclarklist at gmail.com> wrote:
>
>> Hiya
>>
>> Im struggling to install / compile x11/kdelibs4. Would anyone know or
>> please help me understand where I am going wrong.
>>
>> In file included from
>> /usr/ports/x11/kdelibs4/work/kdelibs-4.7.2/kio/bookmarks/kbookmark.cc:33:
>> /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
>> /usr/local/include/qdatetime.h:241: error: expected initializer before
>> '&' token
>> /usr/local/include/qdatetime.h:242: error: expected initializer before
>> '&' token
>> /usr/local/include/qdatetime.h:243: error: expected initializer before
>> '&' token
>> /usr/local/include/qdatetime.h:244: error: expected initializer before
>> '&' token
>> /usr/local/include/qdatetime.h:245: error: expected initializer before
>> '&' token
>> /usr/local/include/qdatetime.h:246: error: expected initializer before
>> '&' token
>> /usr/ports/x11/kdelibs4/work/kdelibs-4.7.2/kio/bookmarks/kbookmark.cc:
>> In member function 'void KBookmark::updateAccessMetadata()':
>> /usr/ports/x11/kdelibs4/work/kdelibs-4.7.2/kio/bookmarks/kbookmark.cc:548:
>> error: incomplete type 'QDateTime' used in nested name specifier
>> *** Error code 1
>> 1 error
>> *** Error code 2
>> 1 error
>> *** Error code 2
>> 1 error
>> *** Error code 1
>>
>> Stop in /usr/ports/x11/kdelibs4.
>> ** Command failed [exit code 1]: /usr/bin/script -qa
>> /tmp/portinstall20111023-2898-rske50-0 env make
>> ** Fix the problem and try again.
>> --->  Skipping 'multimedia/kdenlive' because a requisite port
>> 'x11/kdelibs4' failed (specify -k to force)
>> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>> 	! x11/kdelibs4	(unknown build error)
>> 	* multimedia/kdenlive
>> [bclark at bclark-laptop /usr/ports/multimedia]$
>>
>> Kind Regards
>> Brent Clark
>> _______________________________________________
>> freebsd-questions at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscribe at freebsd.org"
> Me helped delete qt3
>
> --
> tehnik <tehnik at hackermail.com>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>



I'm having this same exact issue, the compile is failing at the same exact
spot.  I've removed the only port that had any trace of qt3 in the name,
however I still get the error when trying to compile.

[root at desktop kdelibs4]# pkg_info -xI qt3
qt4-qt3support-4.7.4 Qt3 compatibility library


I've also rebuilt a few other ports that I thought my have been the
culprit(devel/py-qt4-core, devel/py-sip), but to no avail.  Any other
ideas or hints?


-- 
Andre Goree
andre at drenet.info



More information about the freebsd-questions mailing list