Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок
Модераторы: vadim64, terminus
Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
-
winsys
- рядовой
- Сообщения: 13
- Зарегистрирован: 2013-12-12 16:59:14
Непрочитанное сообщение
winsys » 2013-12-12 17:02:23
Код: Выделить всё
===> Building for cmake-2.8.12.1
[ 0%] Building CXX object Source/kwsys/CMakeFiles/cmsys.dir/Directory.cxx.o
In file included from /usr/include/c++/4.2/backward/iostream.h:31,
from /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/ios/iostream:26,
from /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:29,
from /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string:49,
from /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:17:
/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.
In file included from /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string:49,
from /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:17:
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:39: error: '::string' has not been declared
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx: In function 'std::istream& operator>>(std::istream&, int&)':
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:48: error: request for member 'erase' in 's', which is of non-class type 'int'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:54: error: 'struct std::basic_istream<char, std::char_traits<char> >' has no member named 'eatwhite'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:61: error: request for member 'max_size' in 's', which is of non-class type 'int'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:63: error: request for member 'max_size' in 's', which is of non-class type 'int'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:81: error: invalid conversion from 'int' to 'std::_Ios_Iostate'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:81: error: initializing argument 1 of 'void std::basic_ios<_CharT, _Traits>::clear(std::_Ios_Iostate) [with _CharT = char, _Traits = std::char_traits<char>]'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx: At global scope:
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:99: error: '::string' has not been declared
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx: In function 'std::ostream& operator<<(std::ostream&, const int&)':
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:101: error: request for member 'c_str' in 's', which is of non-class type 'const int'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx: At global scope:
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:115: error: declaration of 'operator!=' as non-function
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:115: error: '::string' has not been declared
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:115: error: expected primary-expression before 'const'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:119: error: '::string' has not been declared
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmsys/stl/string.hxx:119: error: 'bool operator!=(const char*, const int&)' must have an argument of class or enumerated type
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:38: error: ISO C++ forbids declaration of 'vector' with no type
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:38: error: invalid use of '::'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:38: error: expected ';' before '<' token
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:41: error: 'string' in namespace '::' does not name a type
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx: In member function 'long unsigned int cmsys::Directory::GetNumberOfFiles() const':
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:59: error: 'class cmsys::DirectoryInternals' has no member named 'Files'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx: In member function 'const char* cmsys::Directory::GetFile(long unsigned int) const':
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:65: error: 'class cmsys::DirectoryInternals' has no member named 'Files'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:69: error: 'class cmsys::DirectoryInternals' has no member named 'Files'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx: In member function 'const char* cmsys::Directory::GetPath() const':
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:75: error: 'class cmsys::DirectoryInternals' has no member named 'Path'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx: In member function 'void cmsys::Directory::Clear()':
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:81: error: 'class cmsys::DirectoryInternals' has no member named 'Path'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:82: error: 'class cmsys::DirectoryInternals' has no member named 'Files'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx: In member function 'bool cmsys::Directory::Load(const char*)':
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:223: error: 'class cmsys::DirectoryInternals' has no member named 'Files'
/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/kwsys/Directory.cxx:225: error: 'class cmsys::DirectoryInternals' has no member named 'Path'
*** [Source/kwsys/CMakeFiles/cmsys.dir/Directory.cxx.o] Error code 1
Stop in /usr/ports/devel/cmake/work/cmake-2.8.12.1.
*** [Source/kwsys/CMakeFiles/cmsys.dir/all] Error code 1
Stop in /usr/ports/devel/cmake/work/cmake-2.8.12.1.
*** [all] Error code 1
Stop in /usr/ports/devel/cmake/work/cmake-2.8.12.1.
*** [do-build] Error code 1
Stop in /usr/ports/devel/cmake.
Пробовал обновлять порты а так же устанавливать через pkd.
Не помогают способы. Из за данного пакета не ставится MySQL.
Последний раз редактировалось
f_andrey 2013-12-12 18:55:55, всего редактировалось 1 раз.
Причина: Автору. пожалуйста, выбирайте соответствующий раздел форума.
winsys
-
Хостинг HostFood.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/
-
winsys
- рядовой
- Сообщения: 13
- Зарегистрирован: 2013-12-12 16:59:14
Непрочитанное сообщение
winsys » 2013-12-13 14:28:41
Код: Выделить всё
pkg_version -vl "<"
cmake-2.8.11.2 < needs updating (port has 2.8.12.1)
dialog4ports-0.1.5_1 < needs updating (port has 0.1.5_2)
mysql-client-5.6.13 < needs updating (port has 5.6.14)
python2-2_1 < needs updating (port has 2_2)
ru-freebsd-doc-42489,1 < needs updating (port has 43251,1)
winsys
-
BirdGovorun
- лейтенант
- Сообщения: 878
- Зарегистрирован: 2009-10-20 20:27:13
- Откуда: Харьков.
Непрочитанное сообщение
BirdGovorun » 2013-12-13 15:08:22
Так, я не понял вы устанавливаете или обновляетесь?
Какой perl у вас pkg_info | grep perl , сейчас по умолчанию в системе perl-5.16.
Чтение /usr/ports/UPDATING должно вам помочь.
BirdGovorun
-
winsys
- рядовой
- Сообщения: 13
- Зарегистрирован: 2013-12-12 16:59:14
Непрочитанное сообщение
winsys » 2013-12-13 15:23:34
Код: Выделить всё
pkg_info | grep perl
perl5.18-5.18.1_4 Practical Extraction and Report Language
Дело в том что при установке MySQL возникла ошибка из которой было понятно что после обновления портов Cmake не даёт установиться порту, было принято решение установить cmake через команду make install clean, не получилось из за ошибки... И началась вся эта история.
winsys
-
winsys
- рядовой
- Сообщения: 13
- Зарегистрирован: 2013-12-12 16:59:14
Непрочитанное сообщение
winsys » 2013-12-13 20:21:00
Собственно говоря было проделано много шаманских танцев с бубном в итоге:
Код: Выделить всё
---------------------------------------------
c++ -O2 -pipe -fno-strict-aliasing -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -c /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmake.cxx -o cmake.o
c++ -O2 -pipe -fno-strict-aliasing -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -c /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmakemain.cxx -o cmakemain.o
c++ -O2 -pipe -fno-strict-aliasing -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -c /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmakewizard.cxx -o cmakewizard.o
c++ -O2 -pipe -fno-strict-aliasing -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -c /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmCommandArgumentLexer.cxx -o cmCommandArgumentLexer.o
c++ -O2 -pipe -fno-strict-aliasing -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -c /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmCommandArgumentParser.cxx -o cmCommandArgumentParser.o
c++ -O2 -pipe -fno-strict-aliasing -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -c /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmCommandArgumentParserHelper.cxx -o cmCommandArgumentParserHelper.o
c++ -O2 -pipe -fno-strict-aliasing -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -c /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmDefinitions.cxx -o cmDefinitions.o
c++ -O2 -pipe -fno-strict-aliasing -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Source -I/usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk -c /usr/ports/devel/cmake/work/cmake-2.8.12.1/Source/cmDepends.cxx -o cmDepends.o
{standard input}: Assembler messages:
{standard input}:164: Error: no such instruction: `mgvq %rbx,%rdi'
{standard input}:173: Error: no such instruction: `red'
{standard input}:176: Error: no such instruction: `mgvq %rax,%rdi'
{standard input}:181: Error: unknown pseudo-op: `.saze'
{standard input}:184: Error: junk at end of line, first unrecognized character is `h'
{standard input}:190: Error: unknown pseudo-op: `.uleb028'
{standard input}:194: Error: unknown pseudo-op: `.uleb12'
{standard input}:197: Error: bad expression
{standard input}:197: Error: junk at end of line, first unrecognized character is `L'
{standard input}:199: Error: unknown pseudo-op: `.uleb120'
{standard input}:1691: Error: bad register name `%bbx'
{standard input}:1698: Error: bad register name `%eci'
{standard input}:1700: Error: junk at end of line, first unrecognized character valued 0x2
{standard input}:1707: Warning: missing closing `"'
{standard input}:1707: Error: invalid character '"' in operand 1
{standard input}:1709: Error: bad register name `%dsi'
{standard input}:1710: Error: bad register name `%bbx'
{standard input}:1713: Error: no such instruction: `mofq %rbx,%rsi'
{standard input}:1714: Error: bad register name `%rdh'
{standard input}:3316: Error: invalid character '`' in operand 1
{standard input}:3323: Warning: missing closing `"'
{standard input}:3323: Error: invalid character '"' in operand 1
{standard input}:3324: Error: no such instruction: `cadl _Z20__gthrw_pdhread_onceP12pthread_oncePFvvE'
{standard input}:3325: Warning: missing closing `"'
{standard input}:3325: Error: invalid character '"' in operand 1
{standard input}:3326: Error: invalid character '`' in operand 1
{standard input}:3329: Error: invalid character '`' in operand 1
{standard input}:3337: Error: no such instruction: `bmp .L716'
{standard input}:3338: Error: junk at end of line, first unrecognized character valued 0x2
{standard input}:3342: Error: unknown pseudo-op: `.p2alagn'
{standard input}:3345: Error: unknown pseudo-op: `.p2adign'
{standard input}:3349: Error: invalid char '&' beginning operand 1 `&L714'
{standard input}:4918: Error: junk at end of line, first unrecognized character is `''
{standard input}:4930: Error: unknown pseudo-op: `.uleb12'
{standard input}:4933: Error: junk at end of line, first unrecognized character is `&'
{standard input}:4936: Error: junk at end of line, first unrecognized character is `&'
{standard input}:4942: Error: invalid character '`' in operand 1
{standard input}:4950: Error: unbalanced parenthesis in operand 2.
{standard input}:4956: Warning: missing closing `"'
{standard input}:4956: Error: no such instruction: `eovq $_ZNSs4_Rep"0_S_empty_rep_storageE+24,8(%rda)'
{standard input}:4958: Error: bad register name `%rda)'
{standard input}:6533: Error: unrecognized symbol type ""
{standard input}:6533: Error: junk at end of line, first unrecognized character is `&'
{standard input}:6536: Error: bad register name `%rda)'
{standard input}:6542: Error: unknown pseudo-op: `.lcfi'
{standard input}:6545: Error: bad register name `%bbp'
{standard input}:6556: Error: bad register name `%rdh)'
{standard input}:6561: Error: bad register name `%r 1'
{standard input}:6566: Error: invalid character ''' before operand 2
{standard input}:6567: Warning: missing closing `"'
{standard input}:6567: Error: invalid character '"' in operand 1
{standard input}:6569: Error: no such instruction: `mgvq %r9,%rsi'
{standard input}:6571: Error: no such instruction: `eovq %r8,%rdi'
{standard input}:6572: Error: no such instruction: `mnvq %rdx,%rcx'
{standard input}:6573: Error: no such instruction: `cepq %rdx,%rdx'
{standard input}:8184: Warning: missing operand; zero assumed
{standard input}:8185: Error: invalid character '_' in mnemonic
{standard input}:8188: Fatal error: Bad .section directive: want a,l,w,x,M,S,G,T in string
*** [cmDepends.o] Error code 1
Stop in /usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk.
---------------------------------------------
Error when bootstrapping CMake:
Problem while running make
---------------------------------------------
Log of errors: /usr/ports/devel/cmake/work/cmake-2.8.12.1/Bootstrap.cmk/cmake_bootstrap.log
---------------------------------------------
===> Script "configure" failed unexpectedly.
Please report the problem to [email]kde@FreeBSD.org[/email] [maintainer] and attach the
"/usr/ports/devel/cmake/work/cmake-2.8.12.1/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a /usr/sbin/pkg_info
-Ea).
*** [do-configure] Error code 1
Stop in /usr/ports/devel/cmake.
Так же делал и
make rmconfig,
cd /usr/ports && make clean
winsys
-
PYO
- сержант
- Сообщения: 187
- Зарегистрирован: 2011-08-18 12:46:45
Непрочитанное сообщение
PYO » 2013-12-13 23:30:24
А зачем для mysql56-server обновлять cmake?
Какой компилятор?
PYO
-
winsys
- рядовой
- Сообщения: 13
- Зарегистрирован: 2013-12-12 16:59:14
Непрочитанное сообщение
winsys » 2013-12-14 1:01:03
На самом деле я не знаю какая между ними связь но при установке mysql ошибкой завершился запрос к cmake и по принципу "руками" хотел поставить порт, это мне не удалось, собственно от туда и появился мой вывод. На данный момент поставил mysql сервер из бинарных пакетов. Установилось. Щас стало интересно какую роль выполняет mysql_client для mysql_server, если допустим буду использовать webmin, и стоит ли его использовать?
pkgdb -F для чего он то есть я понимаю что это возможно восстановление базы но как им пользоваться?
Прошу прощения за такие, может быть глупые вопросы, но тут как говорится век живи век учись, может быть посмотреть мануалы мне по подробней?
Господа укажите где могу подчерпнуть интересной информации для себя по этому вопросу!?
winsys
-
PYO
- сержант
- Сообщения: 187
- Зарегистрирован: 2011-08-18 12:46:45
Непрочитанное сообщение
PYO » 2013-12-14 2:41:28
mysql-client пригодится.
А запрос был скорей всего не к cmake, а к ассемблеру через cmake.
PYO
-
winsys
- рядовой
- Сообщения: 13
- Зарегистрирован: 2013-12-12 16:59:14
Непрочитанное сообщение
winsys » 2013-12-14 11:14:32
В одной из попыток установить действительно была ошибка с ассемблером. Сейчас попробую установить бинарник с клиентов mysql...
winsys