trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2011

[SOLVED - but patch needed & CMake files need fixing] Re: [trinity-devel] kdewebdev - kafkacommon.cpp:745:56: error: using temporary as lvalue [-fpermissive]

From: "David C. Rankin" <drankinatty@...>
Date: Mon, 16 May 2011 19:16:35 -0500
On 05/16/2011 06:13 PM, /dev/ammo42 wrote:
>> projectupload.h us NOT there in the code.
> Yes it is.
> dd@darkstar:~/trinity/kdewebdev/quanta/project$ ls -l projectupload.h
> -rw-r--r-- 1 dd users 4009 mai   15 12:48 projectupload.h
>> >  Looks like it is one of the
>> >  auto-generate things that isn't being auto generated??

Hmm...

find /dat_e/david/bld/david/build/src/build/quanta/ -name projectupload.h
<nothing>

hmm...

19:02 archangel:/dat_e/david/bld/trinity> find kdewebdev/ -name projectupload.h
kdewebdev/quanta/project/projectupload.h

hmm...

tar -tzf kdewebdev-1232132.tar.gz | grep projectupload.h
kdewebdev/quanta/project/projectupload.h

WTF??

l ../../david/build/src/kdewebdev/quanta/project/projectupload.h
-rw-r--r-- 1 nobody nobody 4009 Oct 11  2010 
../../david/build/src/kdewebdev/quanta/project/projectupload.h

Hah!

-include tqt.h
-I/build/src/build/quanta/project
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-I/build/src/build/quanta/dialogs
-I/build/src/kdewebdev/lib
-I/build/src/kdewebdev/quanta/src
-I/build/src/kdewebdev/quanta/parsers
-I/build/src/kdewebdev/quanta/utility
-I/build/src/kdewebdev/quanta/treeviews
-I/build/src/kdewebdev/quanta/dialogs
-I/build/src/kdewebdev/quanta/dialogs/tagdialogs
-I/build/src/kdewebdev/quanta/components/debugger
-I/build/src/kdewebdev/quanta/components/debugger/interfaces
-I/opt/trinity/include
-I/opt/qt/include
-I/opt/qt/include/tqt

but NO -I/build/src/kdewebdev/quanta/project

So for some reason the CMake files are not including the actual 'project' 
directory in the build. They include the out-of-source 'project' dir, but not 
the source 'project' dir.

   So, let's add:

     -DCMAKE_CXX_FLAGS="-I /build/src/kdewebdev/quanta/project" \

Hah!!

==> Tidying install...
   -> Purging other files...
   -> Compressing man and info pages...
==> Creating package...
   -> Generating .PKGINFO file...
   -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: trinity-kdewebdev-1222551-1 (Tue May 17 00:14:01 UTC 2011)

2365932 May 16 19:14 trinity-kdewebdev-1222551-1-x86_64.pkg.tar.xz

-- 
David C. Rankin, J.D.,P.E.