Re: Test CMake build

Поиск
Список
Период
Сортировка
От Andy Colson
Тема Re: Test CMake build
Дата
Msg-id 56BBA2A4.5030307@squeakycode.net
обсуждение исходный текст
Ответ на Re: Test CMake build  (Andy Colson <andy@squeakycode.net>)
Ответы Re: Test CMake build  (Andy Colson <andy@squeakycode.net>)
Re: Test CMake build  (Yury Zhuravlev <u.zhuravlev@postgrespro.ru>)
Список pgsql-general
On 2/10/2016 2:45 PM, Andy Colson wrote:
> On 2/10/2016 12:09 PM, Yury Zhuravlev wrote:
>> Hello all.
>> Please test build Postgres using cmake. If you are of course interested.
>> Still not everything is ready but most of the work. Assembly
>> instructions as does the repository is on github:
>> https://github.com/stalkerg/postgres_cmake
>>
>> The compilation will be enough (tests even better). I need feedbacks so
>> that create issues on github.
>> Very interesting NetBSD, OpenBSD, Solaris.
>> Thanks!
> Slackware64, 14.1
>
>
> -- The C compiler identification is GNU 4.9.2
> -- Check for working C compiler: /usr/bin/cc
> -- Check for working C compiler: /usr/bin/cc -- works

This might be important:

-- Looking for include file pwd.h
-- Looking for include file pwd.h - found
-- Found Readline: /usr/include
-- Looking for include files stdio.h, readline.h
-- Looking for include files stdio.h, readline.h - not found
-- Looking for include files stdio.h, history.h
-- Looking for include files stdio.h, history.h - not found
-- Looking for include files stdio.h, readline/history.h
-- Looking for include files stdio.h, readline/history.h - found
-- Looking for include files stdio.h, readline/readline.h
-- Looking for include files stdio.h, readline/readline.h - found
-- Looking for include files stdio.h, editline/history.h
-- Looking for include files stdio.h, editline/history.h - not found
-- Looking for include files stdio.h, editline/readline.h
-- Looking for include files stdio.h, editline/readline.h - not found

 > -- Check size of long long int - failed
 > CMake Error at CMakeLists.txt:262 (message):
 >    Cannot find a working 64-bit integer type.
 >



the end of CMakeFiles/CMakeError.log shows:

Determining size of long long int failed with the following output:
Change Dir: /home/andy/projects/postgres_cmake/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec301475258/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec301475258.dir/build.make
CMakeFiles/cmTryCompileExec301475258.dir/build
gmake[1]: Entering directory
`/home/andy/projects/postgres_cmake/build/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/andy/projects/postgres_cmake/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object
CMakeFiles/cmTryCompileExec301475258.dir/HAVE_LONG_LONG_INT_64.c.o
/usr/bin/cc    -o
CMakeFiles/cmTryCompileExec301475258.dir/HAVE_LONG_LONG_INT_64.c.o   -c
/home/andy/projects/postgres_cmake/build/CMakeFiles/CheckTypeSize/HAVE_LONG_LONG_INT_64.c
Linking C executable cmTryCompileExec301475258
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec301475258.dir/link.txt --verbose=1
/usr/bin/cc
CMakeFiles/cmTryCompileExec301475258.dir/HAVE_LONG_LONG_INT_64.c.o  -o
cmTryCompileExec301475258 -rdynamic -lreadline
/usr/lib64/gcc/x86_64-slackware-linux/4.9.2/../../../../lib64/libreadline.so:
undefined reference to `tputs'
/usr/lib64/gcc/x86_64-slackware-linux/4.9.2/../../../../lib64/libreadline.so:
undefined reference to `tgoto'
/usr/lib64/gcc/x86_64-slackware-linux/4.9.2/../../../../lib64/libreadline.so:
undefined reference to `tgetflag'
/usr/lib64/gcc/x86_64-slackware-linux/4.9.2/../../../../lib64/libreadline.so:
undefined reference to `UP'
/usr/lib64/gcc/x86_64-slackware-linux/4.9.2/../../../../lib64/libreadline.so:
undefined reference to `tgetent'
/usr/lib64/gcc/x86_64-slackware-linux/4.9.2/../../../../lib64/libreadline.so:
undefined reference to `tgetnum'
/usr/lib64/gcc/x86_64-slackware-linux/4.9.2/../../../../lib64/libreadline.so:
undefined reference to `PC'
/usr/lib64/gcc/x86_64-slackware-linux/4.9.2/../../../../lib64/libreadline.so:
undefined reference to `tgetstr'
/usr/lib64/gcc/x86_64-slackware-linux/4.9.2/../../../../lib64/libreadline.so:
undefined reference to `BC'
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTryCompileExec301475258] Error 1
gmake[1]: Leaving directory
`/home/andy/projects/postgres_cmake/build/CMakeFiles/CMakeTmp'
gmake: *** [cmTryCompileExec301475258/fast] Error 2






В списке pgsql-general по дате отправления:

Предыдущее
От: Andy Colson
Дата:
Сообщение: Re: Test CMake build
Следующее
От: Andy Colson
Дата:
Сообщение: Re: Test CMake build