При установке мускула не ставится сборщик Cmake

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Nass6196ss
рядовой
Сообщения: 14
Зарегистрирован: 2013-02-21 10:39:08

При установке мускула не ставится сборщик Cmake

Непрочитанное сообщение Nass6196ss » 2013-02-22 7:21:38

При установке MYSQL 5.6.10 - ошибка с Cmake.

Код: Выделить всё

 sudo make install clean
===>   mysql-server-5.6.10 depends on file: /usr/local/bin/cmake - not found
===>    Verifying install for /usr/local/bin/cmake in /usr/ports/devel/cmake
===>  Building for cmake-2.8.9
[  1%] Built target cmIML_test
[  5%] Built target cmsys
[  6%] Built target cmsys_c
[  9%] Built target cmzlib
[  9%] Built target cmcompress
[ 11%] Built target cmbzip2
[ 11%] Built target cmexpat
[ 21%] Built target cmForm
[ 21%] Built target foo
[ 21%] Built target cmsysTestDynload
[ 24%] Built target cmsysTestsCxx
[ 24%] Built target cmsysTestProcess
[ 25%] Built target cmsysTestSharedForward
[ 25%] Built target cmsysTestsC
[ 32%] Building C object Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_read_support_format_zip.c.o
[ 40%] Built target cmcurl
[ 41%] Built target LIBCURL
[ 42%] Building C object Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_write_add_filter_compress.c.o
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c: In function 'archive_read_format_zip_streamable_bid':
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:406: error: stray '\250' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:407: error: expected expression before '||' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:409: error: expected statement before ')' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c: At top level:
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:922: error: expected declaration specifiers or '...' before 'intv4_t'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:923: error: conflicting types for 'zip_read_data_deflate'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:133: error: previous declaration of 'zip_read_data_deflate' was here
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c: In function 'zip_read_data_deflate':
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:924: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:924: error: expected expression before ':' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:926: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:926: error: 'compressed_buff' undeclared (first use in this function)
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:926: error: (Each undeclared identifier is reported only once
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:926: error: for each function it appears in.)
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:929: error: 'zip' undeclared (first use in this function)
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:932: error: stray '\345' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:932: error: expected ')' before 'r'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:936: error: stray '\255' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:936: error: 'uncompressed_buffer' undeclared (first use in this function)
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:936: error: stray '\312' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:944: error: stray '\240' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:947: error: stray '\211' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:947: error: stray '\212' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:949: error: 'struct archive_read' has no member named 'arch'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:949: error: stray '\351' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:949: error: expected ')' before 've'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:950: error: too few arguments to function 'archive_set_error'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:965: error: 'bytes_avail' undeclared (first use in this function)
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:986: error: stray '\211' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:990: error: 'z' undeclared (first use in this function)
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:991: error: expected ';' before 'case'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:993: error: case label not within a switch statement
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:995: error: break statement not within loop or switch
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:996: error: case label not within a switch statement
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1000: error: 'default' label not within a switch statement
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c: At top level:
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1007: error: 'xip' undeclared here (not in a function)
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1008: error: conflicting types for '__archive_read_consume'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_private.h:207: error: previous declaration of '__archive_read_consume' was here
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1009: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1010: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1012: error: 'zip' undeclared here (not in a function)
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1013: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1013: error: stray '\344' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1016: error: expected identifier or '(' before 'if'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1026: error: stray '\' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1026: error: missing terminating ' character
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1029: error: stray '\211' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1032: error: expected identifier or '(' before '}' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1034: error: expected identifier or '(' before 'return'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1035: error: expected identifier or '(' before '}' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c: In function 'archive_read_format_zip_read_data_skip':
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1043: error: expected ';' before '}' token
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c: At top level:
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1043: error: expected identifier or '(' before 'struct'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1046: error: expected identifier or '(' before 'if'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1046: error: stray '\240' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1049: error: expected identifier or '(' before 'if'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1053: error: expected identifier or '(' before 'if'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1054: error: stray '\212' in program
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1065: error: expected identifier or '(' before 'switch'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1106: error: expected identifier or '(' before 'return'
/usr/ports/devel/cmake/work/cmake-2.8.9/Utilities/cmlibarchive/libarchive/archive_read_support_format_zip.c:1107: error: expected identifier or '(' before '}' token
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/devel/cmake.
*** Error code 1

Stop in /usr/ports/databases/mysql56-server.
Пробовала устанавливать пакет вручную, предварительно скачав, но тож какая та ерунда...

Код: Выделить всё

<...>CC  -I/usr/home/install/cmake-2.8.10.2/Bootstrap.cmk -I/usr/home/install/cmake-2.8.10.2/Source   -I/usr/home/install/cmake-2.8.10.2/Bootstrap.cmk -c /usr/home/install/cmake-2.8.10.2/Source/cmLocalGenerator.cxx -o cmLocalGenerator.o
In file included from /usr/include/c++/4.2/backward/strstream:51,
                 from /usr/home/install/cmake-2.8.10.2/Source/cmStandardIncludes.h:96,
                 from /usr/home/install/cmake-2.8.10.2/Source/cmLocalGenerator.h:15,
                 from /usr/home/install/cmake-2.8.10.2/Source/cmLocalGenerator.cxx:12:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
/var/tmp//ccIjNetR.s: Assembler messages:
/var/tmp//ccIjNetR.s:22835: Error: unknown pseudo-op: `.uleb028'
gmake: *** [cmLocalGenerator.o] Error 1
---------------------------------------------
Error when bootstrapping CMake:
Problem while running gmake
---------------------------------------------
Log of errors: /usr/home/install/cmake-2.8.10.2/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
Версия ОС:

Код: Выделить всё

FreeBSD  7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009     root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
Последний раз редактировалось f_andrey 2013-02-22 15:16:48, всего редактировалось 1 раз.
Причина: Автору. пожалуйста, выбирайте соответствующий раздел форума.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
vadim64
майор
Сообщения: 2098
Зарегистрирован: 2009-09-17 15:15:26
Откуда: Засратовец

Re: При установке мускула не ставится сборщик Cmake

Непрочитанное сообщение vadim64 » 2013-02-22 10:32:24

дайте

Код: Выделить всё

stat /usr/ports/INDEX*
Люди не делятся на национальности, партии, фракции и религии. Люди делятся на умных и дураков, а вот дураки делятся на национальности, партии, фракции и религии.

FiL
ст. лейтенант
Сообщения: 1368
Зарегистрирован: 2010-02-05 0:21:40

Re: При установке мускула не ставится сборщик Cmake

Непрочитанное сообщение FiL » 2013-02-22 22:48:48

у меня на 8.2 нормально собирается cmake. А из package-а поставить уже собранный не спортивно?

Nass6196ss
рядовой
Сообщения: 14
Зарегистрирован: 2013-02-21 10:39:08

Re: При установке мускула не ставится сборщик Cmake

Непрочитанное сообщение Nass6196ss » 2013-02-25 6:26:27

Код: Выделить всё

stat /usr/ports/INDEX*
88 7943193 -rw-r--r-- 1 root wheel 31736904 17370624 "Feb 20 14:40:07 2013" "Feb 19 13:38:56 2013" "Feb 19 13:38:56 2013" "Dec 20 20:57:32 2009" 4096 33984 0 /usr/ports/INDEX-5
88 7943194 -rw-r--r-- 1 root wheel 31745424 22891253 "Feb 20 14:40:10 2013" "Feb 19 13:38:57 2013" "Feb 19 13:38:57 2013" "Dec 20 20:57:34 2009" 4096 44768 0 /usr/ports/INDEX-6
88 7943195 -rw-r--r-- 1 root wheel 31766808 27457692 "Feb 22 08:32:27 2013" "Feb 19 13:39:00 2013" "Feb 19 13:39:00 2013" "Dec 20 20:57:35 2009" 4096 53664 0 /usr/ports/INDEX-7

Nass6196ss
рядовой
Сообщения: 14
Зарегистрирован: 2013-02-21 10:39:08

Re: При установке мускула не ставится сборщик Cmake[Решено]

Непрочитанное сообщение Nass6196ss » 2013-02-25 8:14:11

Все поставилось...Снова обновила порты и все прошло как по маслу