trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: January 2011

Re: [trinity-users] compiling kdebase multiple errors

From: "Timothy Pearson" <kb9vqf@...>
Date: Sat, 22 Jan 2011 13:01:36 -0600
> I am compiling kde-3.5.12 in a slackware 13 environment with no previous
> KDE. I have installed everything with --prefix=/usr including qt3,
> tqtinterface, arts & kdelibs
>
> After patching qt3 i have compiled tqtinterface, arts and kdelibs without
> error however compiling kdebase gives multiple errors.
>
> The file index.cache.bz2 is missing for all folders in doc. Instead of
> just
> creating the file (touch index.cache.bz2) i removed all directories in
> kdebase/doc (won't need them anyway) and that got me through.
>
> The next error was
> shutdowndlg.cpp:83:39: error: cannot call constructor 'QImage::QImage'
> directly
> shutdowndlg.cpp:83:39: error:   for a function-style cast, remove the
> redundant '::QImage'
>
> Removing the ::QImage from the function allowed compilation to continue.
>
> krandrbindings.cpp:31:2: error: cannot call constructor
> 'KShortcut::KShortcut' directly
> krandrbindings.cpp:31:2: error:   for a function-style cast, remove the
> redundant '::KShortcut'
>
> Again removing the direct call allowed me to continue. The next one is
> where
> i am stuck and not sure how to proceed.
>
> iccconfig.cpp:148:6: warning: unused variable 'i'
> iccconfig.cpp:149:12: warning: unused variable 'iccFileArrayNew'

Just a quick observation: Those are not errors, and removing the unused
variables is minor cleanup that needs to be done at some point but is not
required to get Trinity to build.

>
> I tried removing the unused variables but i get a slew of these errors
> with
> the randr section.
>
> So far i have downgraded make, autoconf and automake to slack 12.2
> versions
> and they have worked ok up until now. I am also not using the -j switch
> during compilation depsite using quad core processor.
>
> Can anyone advise what i may be missing or what i have done wrong?

Are you pulling the source from SVN or using the 3.5.12 release tarballs?

Thanks!

Tim