This forum has been archived. All content is frozen. Please use KDE Discuss instead.

building kexi (and calligra)

Tags: None
(comma "," separated)
leleu
Registered Member
Posts
20
Karma
0

building kexi (and calligra)

Sat Mar 21, 2015 5:36 pm
I unpacked calligra-2.9.1.tar.xz to /home/leleu/kde4/src/calligra-2.9.1/ and tried to build.....but :
Code: Select all
leleu@leleu-portable:~/kde4/src/calligra-2.9.1 > cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra-2.9.1 -DCMAKE_BUILD_TYPE=RelWithDebInfo                                                       
-- Calligra version: 2.9.1                                                                                   
-- Release build: TRUE                                                                                       
-- -------------------------------------------------------------------                                       
-- Configured with product set "ALL"                                                                         
-- -------------------------------------------------------------------                                       
CMake Error at /usr/share/kde4/apps/cmake/modules/FindQt4.cmake:886 (MESSAGE):                               
  Could NOT find QtCore.  Check
  /home/leleu/kde4/src/calligra-2.9.1/CMakeFiles/CMakeError.log for more
  details.
Call Stack (most recent call first):
  /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:425 (find_package)
  /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
  CMakeLists.txt:146 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/leleu/kde4/src/calligra-2.9.1/CMakeFiles/CMakeOutput.log".
See also "/home/leleu/kde4/src/calligra-2.9.1/CMakeFiles/CMakeError.log".

checking CMakeLists.txt:146 (find_package) the requested one is find_package(KDE4 4.3.0 REQUIRED) and my KDE is Plate-forme version 4.14.2 the most recent in Mint Rebecca.

isn't 4.14 more recent than 4.4 ?

what should I do ?
thanks
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS

Re: building kexi (and calligra)  Topic is solved

Thu Apr 02, 2015 10:17 pm
Please build in ~/kde4/build/calligra-2.9.1/.

Also you seem to lack build-dependencies such as Qt devel packages.


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help
leleu
Registered Member
Posts
20
Karma
0

Re: building kexi (and calligra)

Mon Jun 22, 2015 3:57 pm
I built in the build repertory, and Qt4-dev-tools 4.8.5 is installed, and I googled for some days.... however
Code: Select all
leleu@leleu-portable:~/kde4/build/calligra > cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra -DCMAKE_BUILD_TYPE=RelWithDebInfo
-- Release build: TRUE
-- --------------------------------------------------------------------------
-- Configured with product set "ALL"
-- --------------------------------------------------------------------------
CMake Error at /usr/share/kde4/apps/cmake/modules/FindQt4.cmake:886 (MESSAGE):
  Could NOT find QtCore.  Check
  /home/leleu/kde4/build/calligra/CMakeFiles/CMakeError.log for more details.
Call Stack (most recent call first):
  /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:425 (find_package)
  /usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
  CMakeLists.txt:259 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/leleu/kde4/build/calligra/CMakeFiles/CMakeOutput.log".
See also "/home/leleu/kde4/build/calligra/CMakeFiles/CMakeError.log".
leleu@leleu-portable:~/kde4/build/calligra >

The last lines «See also» are curious since they are dated from the 17/6 when I first tried.
The error one include 4 times the same sequence
Code: Select all
Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /home/leleu/kde4/build/calligra/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec792308632/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec792308632.dir/build.make CMakeFiles/cmTryCompileExec792308632.dir/build
make[1]: entrant dans le répertoire « /home/leleu/kde4/build/calligra/CMakeFiles/CMakeTmp »
/usr/bin/cmake -E cmake_progress_report /home/leleu/kde4/build/calligra/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec792308632.dir/CheckSymbolExists.c.o
/usr/bin/cc   -I/home/leleu/Qt/5.4/gcc_64/include    -o CMakeFiles/cmTryCompileExec792308632.dir/CheckSymbolExists.c.o   -c /home/leleu/kde4/build/calligra/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/leleu/kde4/build/calligra/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’:
/home/leleu/kde4/build/calligra/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_WIN’ undeclared (first use in this function)
   return ((int*)(&Q_WS_WIN))[argc];
                   ^
/home/leleu/kde4/build/calligra/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [CMakeFiles/cmTryCompileExec792308632.dir/CheckSymbolExists.c.o] Erreur 1
make[1]: quittant le répertoire « /home/leleu/kde4/build/calligra/CMakeFiles/CMakeTmp »
make: *** [cmTryCompileExec792308632/fast] Erreur 2

File /home/leleu/kde4/build/calligra/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
  (void)argv;
#ifndef Q_WS_WIN
  return ((int*)(&Q_WS_WIN))[argc];
#else
  (void)argc;
  return 0;
#endif
}


Thanks
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS

Re: building kexi (and calligra)

Mon Jun 22, 2015 4:08 pm
Hi Robert,
This thread is closed :)
I think you wanted to use this thread: viewtopic.php?f=221&t=126838

The error message for the Q_WS_WIN isn't a bug; all it tells us is: "you don't build Kexi on Windows, Window has not been found" :)


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, sandyvee, Sogou [Bot]