Страница 2 из 5

Re: murmur на FreeBSD

Добавлено: 16 янв 2010, 19:42
Boevik
Пробовал, только версию 1.2.1, проблема осталась. При компиляции заметил несколько предупреждений. Точный текст предупреждения сейчас не могу сказать, было что-то типа: "warning: shadowed declaration is here". Думаю обновить gcc и попробовать еще раз.

Re: murmur на FreeBSD

Добавлено: 17 янв 2010, 00:17
avy
Boevik писал(а):Мануил читал, но полезное для себя нашел - только ключи для сборки сервера. Не знаю, кто писал данный мануил, но зависимостей у murmur 1.2 гораздо больше.
Этот мануал писали разработчики. Все остальные зависимости за собой вытянут вышеприведенные порты. Лучше чем разработчики, имхо, мануал никто не напишет. Поэтому или используйте или забудьте и поставьте себе тимспик - для локалки хватит и из портов он ставится только так
По поводу установки исходников: через неделю я забуду, что murmur удаляется "rm -f /path/to/murmurd", а еще через месяц я забуду, что у меня вообще стоит какой-то там murmur. Если так и будет продолжаться, то через год система превратиться в помойку, а в де*ме (простите за выражение) я ковыряются не собираюсь.
Может Вам таблетки для памяти выпить или журнал завести. Забыть как ставится софт, ну спустя 2-3 года можно. Но забыть что он стоит - это вам надо к доктору. Я конечно не знаю, может у вас в подчинении штук 100-150 сервантов, но тогда и правда журнал нужен, потому как pkgdb тут уже не поможет (она кстати имеет обыкновение сыпаться).

В общем подозреваю, что собрать руками Вам или лень или вы просто не можете. У меня таких "одминов" было куча перед глазами, которые кроме как штатными средствами системы ничего сделать не могут и при этом выдумывают себе, что они замусорят систему и другие оправдания.

Попробуйте мыслить немного дальше чем cd /usr/ports
Ну или хотя бы ради интереса соберите из сырцов тут же мурмур или другой проект. Удалить всегда можно и в общем-то в случае с мурмур можно и не инсталлить
А вообще, Ваш стиль написания постов похож на заядлого линуксойда, куча букв, а по сути все вода.
Не поверите, через полгода будет 10 лет, как я администрирую продакшн сервера на FreeBSD. Начинал ковырять еще 3.х ветки, а серьезно работать начал с 4.0-RELEASE. Уж не знаю как вы распознаете приверженность к операционной системе по стилю речи :jokingly: Хотя я конечно работаю на линуксе, рынок, да и просто такова жизнь, может вы это дело за версту распознали :good:
По теме:
Имею установленный сервер со всеми зависимостями, конфигурационный файл по умолчанию, в котором только заменен параметр "host=0.0.0.0" на конкретный IP.
В итоге прихожу к выводу, что в портах лежит не рабочий сервер.
Я Вам сразу сказал, что из портов сервер не работает. Все претензии к мэйнтейнерам freebsd, я им писал пару PR, они ответили, что дескать взяли на заметку. Но подозреваю что это был робот.

Кстати, если вы такой суровый и немногословный bsdшник, без лишних слов намутили бы порт, Вам бы куча народу спасибо сказало, а может и денег бы дали даже :jokingly: :pardon:

Re: murmur на FreeBSD

Добавлено: 17 янв 2010, 02:55
Boevik
Слишком много предупреждений при компиляции, похоже из-за этого и не работает сервер.
Небольшая часть предупреждений:

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

...
Mumble.pb.cc:6750: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:6764: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:6778: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:6793: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:6809: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:6825: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc: In copy constructor `MumbleProto::ACL_ChanACL::ACL_ChanACL(const MumbleProto::ACL_ChanACL&)':
Mumble.pb.cc:7119: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In member function `virtual bool MumbleProto::ACL_ChanACL::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
Mumble.pb.cc:7193: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:7207: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:7221: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:7235: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:7265: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:7279: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc: In copy constructor `MumbleProto::ACL::ACL(const MumbleProto::ACL&)':
Mumble.pb.cc:7559: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In member function `virtual bool MumbleProto::ACL::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
Mumble.pb.cc:7620: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:7634: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:7676: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc: In copy constructor `MumbleProto::QueryUsers::QueryUsers(const MumbleProto::QueryUsers&)':
Mumble.pb.cc:7912: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In member function `virtual bool MumbleProto::QueryUsers::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
Mumble.pb.cc:7967: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc: In copy constructor `MumbleProto::CryptSetup::CryptSetup(const MumbleProto::CryptSetup&)':
Mumble.pb.cc:8163: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In copy constructor `MumbleProto::ContextActionAdd::ContextActionAdd(const MumbleProto::ContextActionAdd&)':
Mumble.pb.cc:8492: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In member function `virtual bool MumbleProto::ContextActionAdd::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
Mumble.pb.cc:8597: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc: In copy constructor `MumbleProto::ContextAction::ContextAction(const MumbleProto::ContextAction&)':
Mumble.pb.cc:8808: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In member function `virtual bool MumbleProto::ContextAction::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
Mumble.pb.cc:8874: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:8888: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc: In copy constructor `MumbleProto::UserList_User::UserList_User(const MumbleProto::UserList_User&)':
Mumble.pb.cc:9105: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In member function `virtual bool MumbleProto::UserList_User::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
Mumble.pb.cc:9169: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc: In copy constructor `MumbleProto::UserList::UserList(const MumbleProto::UserList&)':
Mumble.pb.cc:9363: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In copy constructor `MumbleProto::VoiceTarget_Target::VoiceTarget_Target(const MumbleProto::VoiceTarget_Target&)':
Mumble.pb.cc:9569: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In member function `virtual bool MumbleProto::VoiceTarget_Target::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
Mumble.pb.cc:9640: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:9655: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:9685: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:9699: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc: In copy constructor `MumbleProto::VoiceTarget::VoiceTarget(const MumbleProto::VoiceTarget&)':
Mumble.pb.cc:9939: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In member function `virtual bool MumbleProto::VoiceTarget::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
Mumble.pb.cc:9995: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc: In copy constructor `MumbleProto::PermissionQuery::PermissionQuery(const MumbleProto::PermissionQuery&)':
Mumble.pb.cc:10181: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In member function `virtual bool MumbleProto::PermissionQuery::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
Mumble.pb.cc:10240: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:10254: error: `ReadUInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:10268: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc: In copy constructor `MumbleProto::CodecVersion::CodecVersion(const MumbleProto::CodecVersion&)':
Mumble.pb.cc:10457: warning: base class `class google::protobuf::Message' should be explicitly initialized in the copy constructor
Mumble.pb.cc: In member function `virtual bool MumbleProto::CodecVersion::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*)':
Mumble.pb.cc:10516: error: `ReadInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:10530: error: `ReadInt32' is not a member of `google::protobuf::internal::WireFormatLite'
Mumble.pb.cc:10544: error: `ReadBool' is not a member of `google::protobuf::internal::WireFormatLite'
/usr/local/include/google/protobuf/repeated_field.h: In member function `void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = google::protobuf::int32]':
/usr/local/include/google/protobuf/repeated_field.h:500:   instantiated from `void google::protobuf::RepeatedField<Element>::MergeFrom(const google::protobuf::RepeatedField<Element>&) [with Element = google::protobuf::int32]'
Mumble.pb.cc:1797:   instantiated from here
/usr/local/include/google/protobuf/repeated_field.h:603: warning: declaration of 'size' shadows a member of 'this'
/usr/local/include/google/protobuf/repeated_field.h: In member function `void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = google::protobuf::int32]':
/usr/local/include/google/protobuf/repeated_field.h:523:   instantiated from `void google::protobuf::RepeatedField<Element>::Swap(google::protobuf::RepeatedField<Element>*) [with Element = google::protobuf::int32]'
Mumble.pb.cc:1831:   instantiated from here
/usr/local/include/google/protobuf/repeated_field.h:597: warning: declaration of 'size' shadows a member of 'this'
/usr/local/include/google/protobuf/repeated_field.h: In member function `void google::protobuf::RepeatedField<Element>::CopyArray(Element*, const Element*, int) [with Element = google::protobuf::uint32]':
/usr/local/include/google/protobuf/repeated_field.h:500:   instantiated from `void google::protobuf::RepeatedField<Element>::MergeFrom(const google::protobuf::RepeatedField<Element>&) [with Element = google::protobuf::uint32]'
Mumble.pb.cc:3786:   instantiated from here
/usr/local/include/google/protobuf/repeated_field.h:603: warning: declaration of 'size' shadows a member of 'this'
/usr/local/include/google/protobuf/repeated_field.h: In member function `void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = google::protobuf::uint32]':
/usr/local/include/google/protobuf/repeated_field.h:523:   instantiated from `void google::protobuf::RepeatedField<Element>::Swap(google::protobuf::RepeatedField<Element>*) [with Element = google::protobuf::uint32]'
Mumble.pb.cc:3836:   instantiated from here
/usr/local/include/google/protobuf/repeated_field.h:597: warning: declaration of 'size' shadows a member of 'this'
/usr/local/include/google/protobuf/repeated_field.h: In member function `void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = google::protobuf::uint64]':
/usr/local/include/google/protobuf/repeated_field.h:583:   instantiated from `void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = google::protobuf::uint64]'
/usr/local/include/google/protobuf/repeated_field.h:476:   instantiated from `void google::protobuf::RepeatedField<Element>::Add(const Element&) [with Element = google::protobuf::uint64]'
/usr/local/include/google/protobuf/wire_format_lite_inl.h:251:   instantiated from `static bool google::protobuf::internal::WireFormatLite::ReadRepeatedFixedSizePrimitive(int, google::protobuf::uint32, google::protobuf::io::CodedInputStream*, google::protobuf::RepeatedField<T>*) [with CType = google::protobuf::uint64, google::protobuf::internal::WireFormatLite::FieldType DeclaredType =  TYPE_FIXED64]'
/usr/local/include/google/protobuf/wire_format_lite_inl.h:304:   instantiated from here
/usr/local/include/google/protobuf/repeated_field.h:597: warning: declaration of 'size' shadows a member of 'this'
/usr/local/include/google/protobuf/repeated_field.h: In member function `void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = google::protobuf::int64]':
/usr/local/include/google/protobuf/repeated_field.h:583:   instantiated from `void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = google::protobuf::int64]'
/usr/local/include/google/protobuf/repeated_field.h:476:   instantiated from `void google::protobuf::RepeatedField<Element>::Add(const Element&) [with Element = google::protobuf::int64]'
/usr/local/include/google/protobuf/wire_format_lite_inl.h:251:   instantiated from `static bool google::protobuf::internal::WireFormatLite::ReadRepeatedFixedSizePrimitive(int, google::protobuf::uint32, google::protobuf::io::CodedInputStream*, google::protobuf::RepeatedField<T>*) [with CType = google::protobuf::int64, google::protobuf::internal::WireFormatLite::FieldType DeclaredType =  TYPE_SFIXED64]'
/usr/local/include/google/protobuf/wire_format_lite_inl.h:306:   instantiated from here
/usr/local/include/google/protobuf/repeated_field.h:597: warning: declaration of 'size' shadows a member of 'this'
/usr/local/include/google/protobuf/repeated_field.h: In member function `void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = float]':
/usr/local/include/google/protobuf/repeated_field.h:583:   instantiated from `void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = float]'
/usr/local/include/google/protobuf/repeated_field.h:476:   instantiated from `void google::protobuf::RepeatedField<Element>::Add(const Element&) [with Element = float]'
/usr/local/include/google/protobuf/wire_format_lite_inl.h:251:   instantiated from `static bool google::protobuf::internal::WireFormatLite::ReadRepeatedFixedSizePrimitive(int, google::protobuf::uint32, google::protobuf::io::CodedInputStream*, google::protobuf::RepeatedField<T>*) [with CType = float, google::protobuf::internal::WireFormatLite::FieldType DeclaredType =  TYPE_FLOAT]'
/usr/local/include/google/protobuf/wire_format_lite_inl.h:307:   instantiated from here
/usr/local/include/google/protobuf/repeated_field.h:597: warning: declaration of 'size' shadows a member of 'this'
/usr/local/include/google/protobuf/repeated_field.h: In member function `void google::protobuf::RepeatedField<Element>::MoveArray(Element*, Element*, int) [with Element = double]':
/usr/local/include/google/protobuf/repeated_field.h:583:   instantiated from `void google::protobuf::RepeatedField<Element>::Reserve(int) [with Element = double]'
/usr/local/include/google/protobuf/repeated_field.h:476:   instantiated from `void google::protobuf::RepeatedField<Element>::Add(const Element&) [with Element = double]'
/usr/local/include/google/protobuf/wire_format_lite_inl.h:251:   instantiated from `static bool google::protobuf::internal::WireFormatLite::ReadRepeatedFixedSizePrimitive(int, google::protobuf::uint32, google::protobuf::io::CodedInputStream*, google::protobuf::RepeatedField<T>*) [with CType = double, google::protobuf::internal::WireFormatLite::FieldType DeclaredType =  TYPE_DOUBLE]'
/usr/local/include/google/protobuf/wire_format_lite_inl.h:308:   instantiated from here
/usr/local/include/google/protobuf/repeated_field.h:597: warning: declaration of 'size' shadows a member of 'this'
Вижу, что конфликт с protobuf, но из-за чего? И странно, что FreeBSD продолжает установку, не обращая внимания на предупреждения.

Re: murmur на FreeBSD

Добавлено: 19 янв 2010, 16:32
avy
вы все-таки упорно пытаетесь ставить его из портов :(
не не будет оно работать

Re: murmur на FreeBSD

Добавлено: 19 янв 2010, 16:52
Boevik
Предупреждения появляются при установки из исходников, о чем писалось выше.

Re: murmur на FreeBSD

Добавлено: 19 янв 2010, 18:05
avy
прошу прощения, не углядел
тогда надо копать в зависимостях
еще вопрос, какая версия фрибсд? у меня на 7.2 stable собралось без писков (кроме обновления версии qt, о чем я писал выше)

Re: murmur на FreeBSD

Добавлено: 19 янв 2010, 19:48
Boevik
Версия FreeBSD написана в третьем посте, проблемная зависимость написана тремя постами выше. Естественно все зависимости ставились из портов (ставиться из исходников не будут).

Re: murmur на FreeBSD

Добавлено: 19 янв 2010, 21:16
B0nuse
Boevik писал(а):Естественно все зависимости ставились из портов (ставиться из исходников не будут).
Чтож.... к сожалению, версии пакетов в портах не всегда новые и те, которые необходимы для конкретной сборки...
В вашем случае рекомендую Вам, как вариант, попробовать собрать более старую версию мурмура, для которой подойдут те версии пакетов, что лежат в портах,
Либо арендовать сервер у нас.
...если другого не посоветует avy

Re: murmur на FreeBSD

Добавлено: 19 янв 2010, 22:25
Boevik
B0nuse писал(а):Чтож.... к сожалению, версии пакетов в портах не всегда новые и те, которые необходимы для конкретной сборки...
А можно узнать о каких портах идет речь? По крайней мере версия protobuf соответствует версии на официальном сайте.

Re: murmur на FreeBSD

Добавлено: 22 янв 2010, 17:32
avy
я не могу сказать точно по версиям портов
я ставил на freebsd 7.2 releng
могу если хотите глянуть версию снапшота
потом я поставил все зависимости которые в мануале на офф. сайте и скомпилировал мурмур
никаких ошибок небыло
была проблема со сборкой Ice (он требовал более новую версию qt4)
и та же беда была с avahi

конкретно помочь я не смогу не зная того, что у вас за система... только общие рекомендации типа обновить порты, сделать pkgdb -F и т.д.

судя по началу топика у вас freebsd 6.2
не думали о чем-то по свежее? возможно проблема чисто в системе, потому как новый protobuf не факт что корректо работает на 6-ой ветке... на дворе уже как бы 2010 год, если кто не заметил и уже скоро stable 8-ой ветки, а вы некрофилией занимаетесь

я конечно понимаю, что медленные старые сервера и все такое, но работать на не свежей версии ОС это моветон, особенно если у вас это где-то на продакшн вертится

мой рецепт только один - обновиться до 7.2 stable и не мучить голову...
на 7.2 он гарантированно работает, т.к. srv.mumble.ru на ней вертится. Сервер у нас самый последний, все зависимости собраны из портов, сам сервер - руками. Я сам лично его ставил. Никаких проблем не наблюдалось и не наблюдается. Что мы делаем не так?