View Single Post
Old 03-27-2016, 08:45 AM   #5
patrik
Guru
patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.patrik ought to be getting tired of karma fortunes by now.
 
Posts: 682
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
Quote:
Originally Posted by KevinH View Post
and you can build Sigil with Qt 5.5.1 too.
Hmm, I'm using 5.5.1 and get the following:

Code:
CMake Warning at src/CMakeLists.txt:66 (find_package):
  Could not find a configuration file for package "Qt5" that is compatible
  with requested version "5.4".

  The following configuration files were considered but not accepted:

    /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.2.1



CMake Error at src/CMakeLists.txt:576 (qt5_wrap_ui):
  Unknown CMake command "qt5_wrap_ui".
I'm pretty sure I haven't upgraded Qt since compiling 0.9.4 but I guess it could have slipped in while updating something else.

Error log:
Spoiler:
Determining size of off64_t failed with the following output:
Change Dir: /media/data/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec3838280841/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3838280841.dir/build.make CMakeFiles/cmTryCompileExec383828
0841.dir/build
make[1]: Entering directory `/media/data/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /media/data/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3838280841.dir/OFF64_T.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec3838280841.dir/OFF64_T.c.o -c /media/data/build/CMakeFil
es/CheckTypeSize/OFF64_T.c
/media/data/build/CMakeFiles/CheckTypeSize/OFF64_T.c:17:22: error: ‘off64_t’ undeclared here (not in a
function)
#define SIZE (sizeof(off64_t))
^
/media/data/build/CMakeFiles/CheckTypeSize/OFF64_T.c:19:12: note: in expansion of macro ‘SIZE’
('0' + ((SIZE / 10000)%10)),
^
make[1]: *** [CMakeFiles/cmTryCompileExec3838280841.dir/OFF64_T.c.o] Error 1
make[1]: Leaving directory `/media/data/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec3838280841/fast] Error 2

/media/data/build/CMakeFiles/CheckTypeSize/OFF64_T.c:
#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>


#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif

#define SIZE (sizeof(off64_t))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}


Determining if the include file windows.h exists failed with the following output:
Change Dir: /media/data/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1182428918/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1182428918.dir/build.make CMakeFiles/cmTryCompileExec118242
8918.dir/build
make[1]: Entering directory `/media/data/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /media/data/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1182428918.dir/CheckIncludeFile.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec1182428918.dir/CheckIncludeFile.c.o -c /media/data/build
/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/media/data/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:21: fatal error: windows.h: No such file or
directory
#include <windows.h>
^
compilation terminated.
make[1]: *** [CMakeFiles/cmTryCompileExec1182428918.dir/CheckIncludeFile.c.o] Error 1
make[1]: Leaving directory `/media/data/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec1182428918/fast] Error 2


Determining if the include file type_traits.h exists failed with the following output:
Change Dir: /media/data/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec2653427015/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2653427015.dir/build.make CMakeFiles/cmTryCompileExec265342
7015.dir/build
make[1]: Entering directory `/media/data/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /media/data/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2653427015.dir/CheckIncludeFile.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec2653427015.dir/CheckIncludeFile.cxx.o -c /media/data/bui
ld/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
/media/data/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:25: fatal error: type_traits.h: No such fi
le or directory
#include <type_traits.h>
^
compilation terminated.
make[1]: *** [CMakeFiles/cmTryCompileExec2653427015.dir/CheckIncludeFile.cxx.o] Error 1
make[1]: Leaving directory `/media/data/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec2653427015/fast] Error 2


Determining if the include file bits/type_traits.h exists failed with the following output:
Change Dir: /media/data/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec862257861/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec862257861.dir/build.make CMakeFiles/cmTryCompileExec8622578
61.dir/build
make[1]: Entering directory `/media/data/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /media/data/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec862257861.dir/CheckIncludeFile.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec862257861.dir/CheckIncludeFile.cxx.o -c /media/data/buil
d/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
/media/data/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:30: fatal error: bits/type_traits.h: No su
ch file or directory
#include <bits/type_traits.h>
^
compilation terminated.
make[1]: *** [CMakeFiles/cmTryCompileExec862257861.dir/CheckIncludeFile.cxx.o] Error 1
make[1]: Leaving directory `/media/data/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec862257861/fast] Error 2


Determining if the function _strtoi64 exists failed with the following output:
Change Dir: /media/data/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec3736304044/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3736304044.dir/build.make CMakeFiles/cmTryCompileExec373630
4044.dir/build
make[1]: Entering directory `/media/data/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /media/data/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3736304044.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=_strtoi64 -o CMakeFiles/cmTryCompileExec3736304044.dir/CheckFun
ctionExists.c.o -c /usr/share/cmake-3.2/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec3736304044
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3736304044.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=_strtoi64 CMakeFiles/cmTryCompileExec3736304044.dir/CheckFunct
ionExists.c.o -o cmTryCompileExec3736304044 -rdynamic
CMakeFiles/cmTryCompileExec3736304044.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c.text+0x15): undefined reference to `_strtoi64'
collect2: error: ld returned 1 exit status
make[1]: *** [cmTryCompileExec3736304044] Error 1
make[1]: Leaving directory `/media/data/build/CMakeFiles/CMakeTmp'
make: *** [cmTryCompileExec3736304044/fast] Error 2


Thanks
patrik is offline   Reply With Quote