trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-devel] k3b, koffice not building for me

From: Darrell Anderson <humanreadable@...>
Date: Sat, 18 Feb 2012 09:27:53 -0800 (PST)
> Ok so i have successfully compiled the base
> of Trinity using Qt3 and everything in /usr. A while back i
> also successfully compiled many of the
> 'applications' from the applications folder. Today i
> am having no such luck. 
> 
> I am pushing out a release candidate of Porteus this weekend
> with a 'skin & bones' version of Trinity that
> successfully compiled a few weeks ago. The problem is that
> koffice is no longer compiling for me, and neither is k3b.
> 
> I have booted using the Trinity-3.5.13 that i compiled and
> when trying to build k3b, here is my output.
> 
> In file included from k3bglobals.cpp:28:0:
> /usr/include/tdeversion.h:57:5: error: ‘TDECORE_EXPORT’
> does not name a type
> 
> /usr/include/tdeversion.h:64:5: error: ‘TDECORE_EXPORT’
> does not name a type
> /usr/include/tdeversion.h:71:5: error: ‘TDECORE_EXPORT’
> does not name a type
> /usr/include/tdeversion.h:78:5: error: ‘TDECORE_EXPORT’
> does not name a type
> 
> /usr/include/tdeversion.h:84:5: error: ‘TDECORE_EXPORT’
> does not name a type
> k3bglobals.cpp: In function ‘KIO::filesize_t
> K3b::imageFilesize(const KURL&)’:
> k3bglobals.cpp:304:126: warning: ‘static bool
> KIO::NetAccess::exists(const KURL&, bool)’ is
> deprecated (declared at /usr/include/kio/netaccess.h:282)
> 
> k3bglobals.cpp: In function ‘bool
> K3b::mount(K3bDevice::Device*)’:
> k3bglobals.cpp:601:74: warning: converting ‘false’ to
> pointer type for argument 1 of ‘QString::QString(const
> char*)’
> make[3]: *** [k3bglobals.lo] Error 1
> 
> make[3]: Leaving directory `/tmp/k3b/libk3b/core'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/k3b/libk3b'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/k3b'
> 
> make: *** [all] Error 2

I haven't tried building 3.5.13 for a while, but you can find my build scripts and packages at my web site (http://humanreadable.nfshost.com/trinity/).

A note about koffice that stumped me for a long time: koffice requires more than 2GB of temporary space to build. In my entire Slackware build respository, I build all but a few packages in $TMP, which is assigned to tmpfs, which on my system is 2GB free space (I have 4GB of RAM). When I finally figured out koffice was always failing to build because of running out of build space, I was able to build koffice thereafter.

A long time ago I submitted an enhancement request to break koffice into individual packages.

Contrarily, I never had a problem building k3b on Slackware. Glancing at the errors you posted indicates something is awry with both the core and k3b sources. Those k3b references to Qstring should be TQString. That indicates possibly using KDE 3.5.10 sources.

Another confusion is you say you are building 3.5.13. The renaming project started after 3.5.13 was released and tdeversion.h was named kdeversion.h in 3.5.13. Also in 3.5.13, TDECORE_EXPORT would have been KDECORE_EXPORT in kdeversion.h.

My first guess is you have GIT sources mixed with 3.5.13 sources, and maybe 3.5.10 sources too.

You can find the 3.5.13 source tarballs here (http://trinity.blackmag.net/releases/3.5.13/).

I hope that helps. :)

Darrell