kraft-devel Mailing List for Kraft
Kraft helps to handle daily quotes and invoices in your small business
Brought to you by:
kfreitag
This list is closed, nobody may subscribe to it.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
|
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
|
16
|
17
|
18
|
19
|
20
|
21
(3) |
22
|
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
|
30
|
31
|
|
|
|
|
|
|
From: Christoph S. <chr...@gm...> - 2010-05-21 15:26:45
|
Hi Klaas, vielen Dank. That fixed it. I have two patches for you: (1) add find_package(Boost REQUIRED) will ensure that boost is installed. --- Also Ctemplate is not needed but rather libctemplate-dev, the development files. CMake should complain about this, and it did but I installed libctemplate and afterwards it did not complain about it anymore. However, it should have since the -dev would have been needed. (2) The INSTALL files misses the info on how to start Kraft for the first time. Could you, please, include the patches in the code? Anyway, I like the project! Best regards, Christoph PS: Some legalese: I hereby transfer all rights on the included changes to the software to the Kraft project and Klaas Freitag. On Fri, May 21, 2010 at 2:49 PM, Klaas Freitag <kr...@fr...> wrote: > Hi Christoph, > >> I got the Kraft sources from SVN and tried to build. After setting the >> right paths in CMake, I tried to build but get an error. Does anyone >> know what this is about? > The requirements of akonadi seems not fulfilled, namely I guess boost > is missing. Try to install the boost-devel package(s). > > It's not a kraft problem btw ;-) > > have fun, > > Klaas > >> >> What would you need to know, to help me here? >> >> Best regards, >> Christoph >> >> >> ================================================ >> PASTE: >> chris@laptop:~/src/kraft/build$ cmake . >> -- Found Qt-Version 4.6.2 (using /usr/bin/qmake) >> -- Found X11: /usr/lib/libX11.so >> -- Phonon Version: 4.3.1 >> -- Found KDE 4.4 include dir: /usr/include >> -- Found KDE 4.4 library dir: /usr/lib >> -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler >> -- Found automoc4: /usr/bin/automoc4 >> -- Configuring done >> -- Generating done >> -- Build files have been written to: /home/chris/src/kraft/build >> chris@laptop:~/src/kraft/build$ make >> [ 0%] Built target kplant_automoc >> [ 0%] Built target kraftcat_automoc >> [ 24%] Built target kraftcat >> [ 26%] Built target kplant >> [ 26%] Built target kraft_automoc >> [ 26%] Building CXX object src/CMakeFiles/kraft.dir/kraft_automoc.o >> In file included from /usr/include/akonadi/item.h:28, >> from >> /home/chris/src/kraft/build/src/../../src/addressselection.h:26, >> from >> /home/chris/src/kraft/build/src/moc_addressselection.cpp:10, >> from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9: >> /usr/include/akonadi/itempayloadinternals_p.h:28:32: error: >> boost/shared_ptr.hpp: No such file or directory >> /usr/include/akonadi/itempayloadinternals_p.h:29:41: error: >> boost/type_traits/is_same.hpp: No such file or directory >> In file included from >> /home/chris/src/kraft/build/src/../../src/addressselection.h:26, >> from >> /home/chris/src/kraft/build/src/moc_addressselection.cpp:10, >> from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9: >> /usr/include/akonadi/item.h:34:35: error: boost/static_assert.hpp: No >> such file or directory >> /usr/include/akonadi/item.h:35:44: error: >> boost/type_traits/is_pointer.hpp: No such file or directory >> In file included from /usr/include/akonadi/item.h:28, >> from >> /home/chris/src/kraft/build/src/../../src/addressselection.h:26, >> from >> /home/chris/src/kraft/build/src/moc_addressselection.cpp:10, >> from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9: >> /usr/include/akonadi/itempayloadinternals_p.h:89: error: ‘boost’ was >> not declared in this scope >> /usr/include/akonadi/itempayloadinternals_p.h:89: error: template >> argument 1 is invalid >> /usr/include/akonadi/itempayloadinternals_p.h:127: error: ‘boost’ has >> not been declared >> /usr/include/akonadi/itempayloadinternals_p.h:127: error: expected >> primary-expression before ‘,’ token >> /usr/include/akonadi/itempayloadinternals_p.h:127: error: expected ‘;’ >> before ‘>’ token >> In file included from >> /home/chris/src/kraft/build/src/../../src/addressselection.h:26, >> from >> /home/chris/src/kraft/build/src/moc_addressselection.cpp:10, >> from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9: >> /usr/include/akonadi/item.h: In member function ‘T >> Akonadi::Item::payload() const’: >> /usr/include/akonadi/item.h:368: error: ‘boost’ has not been declared >> /usr/include/akonadi/item.h:368: error: expected primary-expression >> before ‘>’ token >> /usr/include/akonadi/item.h:368: error: ‘::value’ has not been declared >> /usr/include/akonadi/item.h:368: error: there are no arguments to >> ‘BOOST_STATIC_ASSERT’ that depend on a template parameter, so a >> declaration of ‘BOOST_STATIC_ASSERT’ must be available >> /usr/include/akonadi/item.h:368: note: (if you use ‘-fpermissive’, G++ >> will accept your code, but allowing the use of an undeclared name is >> deprecated) >> /usr/include/akonadi/item.h: In member function ‘bool >> Akonadi::Item::hasPayload() const’: >> /usr/include/akonadi/item.h:393: error: ‘boost’ has not been declared >> /usr/include/akonadi/item.h:393: error: expected primary-expression >> before ‘>’ token >> /usr/include/akonadi/item.h:393: error: ‘::value’ has not been declared >> /usr/include/akonadi/item.h:393: error: there are no arguments to >> ‘BOOST_STATIC_ASSERT’ that depend on a template parameter, so a >> declaration of ‘BOOST_STATIC_ASSERT’ must be available >> make[2]: *** [src/CMakeFiles/kraft.dir/kraft_automoc.o] Error 1 >> make[1]: *** [src/CMakeFiles/kraft.dir/all] Error 2 >> make: *** [all] Error 2 >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Kraft-devel mailing list >> Kra...@li... >> https://lists.sourceforge.net/lists/listinfo/kraft-devel >> > > |
|
From: Klaas F. <kr...@fr...> - 2010-05-21 13:47:37
|
Hi Christoph, > I got the Kraft sources from SVN and tried to build. After setting the > right paths in CMake, I tried to build but get an error. Does anyone > know what this is about? The requirements of akonadi seems not fulfilled, namely I guess boost is missing. Try to install the boost-devel package(s). It's not a kraft problem btw ;-) have fun, Klaas > > What would you need to know, to help me here? > > Best regards, > Christoph > > > ================================================ > PASTE: > chris@laptop:~/src/kraft/build$ cmake . > -- Found Qt-Version 4.6.2 (using /usr/bin/qmake) > -- Found X11: /usr/lib/libX11.so > -- Phonon Version: 4.3.1 > -- Found KDE 4.4 include dir: /usr/include > -- Found KDE 4.4 library dir: /usr/lib > -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler > -- Found automoc4: /usr/bin/automoc4 > -- Configuring done > -- Generating done > -- Build files have been written to: /home/chris/src/kraft/build > chris@laptop:~/src/kraft/build$ make > [ 0%] Built target kplant_automoc > [ 0%] Built target kraftcat_automoc > [ 24%] Built target kraftcat > [ 26%] Built target kplant > [ 26%] Built target kraft_automoc > [ 26%] Building CXX object src/CMakeFiles/kraft.dir/kraft_automoc.o > In file included from /usr/include/akonadi/item.h:28, > from > /home/chris/src/kraft/build/src/../../src/addressselection.h:26, > from > /home/chris/src/kraft/build/src/moc_addressselection.cpp:10, > from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9: > /usr/include/akonadi/itempayloadinternals_p.h:28:32: error: > boost/shared_ptr.hpp: No such file or directory > /usr/include/akonadi/itempayloadinternals_p.h:29:41: error: > boost/type_traits/is_same.hpp: No such file or directory > In file included from > /home/chris/src/kraft/build/src/../../src/addressselection.h:26, > from > /home/chris/src/kraft/build/src/moc_addressselection.cpp:10, > from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9: > /usr/include/akonadi/item.h:34:35: error: boost/static_assert.hpp: No > such file or directory > /usr/include/akonadi/item.h:35:44: error: > boost/type_traits/is_pointer.hpp: No such file or directory > In file included from /usr/include/akonadi/item.h:28, > from > /home/chris/src/kraft/build/src/../../src/addressselection.h:26, > from > /home/chris/src/kraft/build/src/moc_addressselection.cpp:10, > from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9: > /usr/include/akonadi/itempayloadinternals_p.h:89: error: ‘boost’ was > not declared in this scope > /usr/include/akonadi/itempayloadinternals_p.h:89: error: template > argument 1 is invalid > /usr/include/akonadi/itempayloadinternals_p.h:127: error: ‘boost’ has > not been declared > /usr/include/akonadi/itempayloadinternals_p.h:127: error: expected > primary-expression before ‘,’ token > /usr/include/akonadi/itempayloadinternals_p.h:127: error: expected ‘;’ > before ‘>’ token > In file included from > /home/chris/src/kraft/build/src/../../src/addressselection.h:26, > from > /home/chris/src/kraft/build/src/moc_addressselection.cpp:10, > from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9: > /usr/include/akonadi/item.h: In member function ‘T > Akonadi::Item::payload() const’: > /usr/include/akonadi/item.h:368: error: ‘boost’ has not been declared > /usr/include/akonadi/item.h:368: error: expected primary-expression > before ‘>’ token > /usr/include/akonadi/item.h:368: error: ‘::value’ has not been declared > /usr/include/akonadi/item.h:368: error: there are no arguments to > ‘BOOST_STATIC_ASSERT’ that depend on a template parameter, so a > declaration of ‘BOOST_STATIC_ASSERT’ must be available > /usr/include/akonadi/item.h:368: note: (if you use ‘-fpermissive’, G++ > will accept your code, but allowing the use of an undeclared name is > deprecated) > /usr/include/akonadi/item.h: In member function ‘bool > Akonadi::Item::hasPayload() const’: > /usr/include/akonadi/item.h:393: error: ‘boost’ has not been declared > /usr/include/akonadi/item.h:393: error: expected primary-expression > before ‘>’ token > /usr/include/akonadi/item.h:393: error: ‘::value’ has not been declared > /usr/include/akonadi/item.h:393: error: there are no arguments to > ‘BOOST_STATIC_ASSERT’ that depend on a template parameter, so a > declaration of ‘BOOST_STATIC_ASSERT’ must be available > make[2]: *** [src/CMakeFiles/kraft.dir/kraft_automoc.o] Error 1 > make[1]: *** [src/CMakeFiles/kraft.dir/all] Error 2 > make: *** [all] Error 2 > > ------------------------------------------------------------------------------ > > _______________________________________________ > Kraft-devel mailing list > Kra...@li... > https://lists.sourceforge.net/lists/listinfo/kraft-devel > |
|
From: Christoph S. <chr...@gm...> - 2010-05-21 11:19:39
|
Hi,
I got the Kraft sources from SVN and tried to build. After setting the
right paths in CMake, I tried to build but get an error. Does anyone
know what this is about?
What would you need to know, to help me here?
Best regards,
Christoph
================================================
PASTE:
chris@laptop:~/src/kraft/build$ cmake .
-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.1
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/chris/src/kraft/build
chris@laptop:~/src/kraft/build$ make
[ 0%] Built target kplant_automoc
[ 0%] Built target kraftcat_automoc
[ 24%] Built target kraftcat
[ 26%] Built target kplant
[ 26%] Built target kraft_automoc
[ 26%] Building CXX object src/CMakeFiles/kraft.dir/kraft_automoc.o
In file included from /usr/include/akonadi/item.h:28,
from
/home/chris/src/kraft/build/src/../../src/addressselection.h:26,
from
/home/chris/src/kraft/build/src/moc_addressselection.cpp:10,
from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9:
/usr/include/akonadi/itempayloadinternals_p.h:28:32: error:
boost/shared_ptr.hpp: No such file or directory
/usr/include/akonadi/itempayloadinternals_p.h:29:41: error:
boost/type_traits/is_same.hpp: No such file or directory
In file included from
/home/chris/src/kraft/build/src/../../src/addressselection.h:26,
from
/home/chris/src/kraft/build/src/moc_addressselection.cpp:10,
from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9:
/usr/include/akonadi/item.h:34:35: error: boost/static_assert.hpp: No
such file or directory
/usr/include/akonadi/item.h:35:44: error:
boost/type_traits/is_pointer.hpp: No such file or directory
In file included from /usr/include/akonadi/item.h:28,
from
/home/chris/src/kraft/build/src/../../src/addressselection.h:26,
from
/home/chris/src/kraft/build/src/moc_addressselection.cpp:10,
from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9:
/usr/include/akonadi/itempayloadinternals_p.h:89: error: ‘boost’ was
not declared in this scope
/usr/include/akonadi/itempayloadinternals_p.h:89: error: template
argument 1 is invalid
/usr/include/akonadi/itempayloadinternals_p.h:127: error: ‘boost’ has
not been declared
/usr/include/akonadi/itempayloadinternals_p.h:127: error: expected
primary-expression before ‘,’ token
/usr/include/akonadi/itempayloadinternals_p.h:127: error: expected ‘;’
before ‘>’ token
In file included from
/home/chris/src/kraft/build/src/../../src/addressselection.h:26,
from
/home/chris/src/kraft/build/src/moc_addressselection.cpp:10,
from /home/chris/src/kraft/build/src/kraft_automoc.cpp:9:
/usr/include/akonadi/item.h: In member function ‘T
Akonadi::Item::payload() const’:
/usr/include/akonadi/item.h:368: error: ‘boost’ has not been declared
/usr/include/akonadi/item.h:368: error: expected primary-expression
before ‘>’ token
/usr/include/akonadi/item.h:368: error: ‘::value’ has not been declared
/usr/include/akonadi/item.h:368: error: there are no arguments to
‘BOOST_STATIC_ASSERT’ that depend on a template parameter, so a
declaration of ‘BOOST_STATIC_ASSERT’ must be available
/usr/include/akonadi/item.h:368: note: (if you use ‘-fpermissive’, G++
will accept your code, but allowing the use of an undeclared name is
deprecated)
/usr/include/akonadi/item.h: In member function ‘bool
Akonadi::Item::hasPayload() const’:
/usr/include/akonadi/item.h:393: error: ‘boost’ has not been declared
/usr/include/akonadi/item.h:393: error: expected primary-expression
before ‘>’ token
/usr/include/akonadi/item.h:393: error: ‘::value’ has not been declared
/usr/include/akonadi/item.h:393: error: there are no arguments to
‘BOOST_STATIC_ASSERT’ that depend on a template parameter, so a
declaration of ‘BOOST_STATIC_ASSERT’ must be available
make[2]: *** [src/CMakeFiles/kraft.dir/kraft_automoc.o] Error 1
make[1]: *** [src/CMakeFiles/kraft.dir/all] Error 2
make: *** [all] Error 2
|