Полезная информация

Общайтесь со знакомыми и друзьями в нашей группе в Контакте.

№108-09-2010 18:17:40

torched
Участник
 
Группа: Members
Зарегистрирован: 31-08-2010
Сообщений: 8
UA: Firefox 2.0

Помогите собрать Firefox 3.6.8

In file included from ./src/chrome/common/ipc_channel_posix.cc:5:
../../ipc/chromium/src/chrome/common/ipc_message.h:287: error: `struct IPC::Message::Header' is protected
../../ipc/chromium/src/chrome/common/ipc_channel_posix.h:82: error: within this context
./src/chrome/common/ipc_channel_posix.cc: In member function `bool IPC::Channel::ChannelImpl::ProcessIncomingMessages()':
../../ipc/chromium/src/chrome/common/ipc_message.h:305: error: `IPC::Message::Header* IPC::Message::header()' is protected
./src/chrome/common/ipc_channel_posix.cc:505: error: within this context
../../ipc/chromium/src/chrome/common/ipc_message.h:305: error: `IPC::Message::Header* IPC::Message::header()' is protected
./src/chrome/common/ipc_channel_posix.cc:508: error: within this context
../../ipc/chromium/src/chrome/common/ipc_message.h:305: error: `IPC::Message::Header* IPC::Message::header()' is protected
./src/chrome/common/ipc_channel_posix.cc:514: error: within this context
../../ipc/chromium/src/chrome/common/ipc_message.h:305: error: `IPC::Message::Header* IPC::Message::header()' is protected
./src/chrome/common/ipc_channel_posix.cc:524: error: within this context
../../ipc/chromium/src/chrome/common/ipc_message.h:325: error: `FileDescriptorSet* IPC::Message::file_descriptor_set()' is protected
./src/chrome/common/ipc_channel_posix.cc:535: error: within this context
../../ipc/chromium/src/chrome/common/ipc_message.h:305: error: `IPC::Message::Header* IPC::Message::header()' is protected
./src/chrome/common/ipc_channel_posix.cc:536: error: within this context
../../ipc/chromium/src/chrome/common/ipc_message.h:305: error: `IPC::Message::Header* IPC::Message::header()' is protected
./src/chrome/common/ipc_channel_posix.cc:537: error: within this context
./src/chrome/common/ipc_channel_posix.cc: In member function `bool IPC::Channel::ChannelImpl::ProcessOutgoingMessages()':
../../ipc/chromium/src/chrome/common/ipc_message.h:325: error: `FileDescriptorSet* IPC::Message::file_descriptor_set()' is protected
./src/chrome/common/ipc_channel_posix.cc:602: error: within this context
../../ipc/chromium/src/chrome/common/ipc_message.h:325: error: `FileDescriptorSet* IPC::Message::file_descriptor_set()' is protected
./src/chrome/common/ipc_channel_posix.cc:605: error: within this context
../../ipc/chromium/src/chrome/common/ipc_message.h:325: error: `FileDescriptorSet* IPC::Message::file_descriptor_set()' is protected
./src/chrome/common/ipc_channel_posix.cc:615: error: within this context
../../ipc/chromium/src/chrome/common/ipc_message.h:305: error: `IPC::Message::Header* IPC::Message::header()' is protected
./src/chrome/common/ipc_channel_posix.cc:619: error: within this context
../../ipc/chromium/src/chrome/common/ipc_message.h:325: error: `FileDescriptorSet* IPC::Message::file_descriptor_set()' is protected
./src/chrome/common/ipc_channel_posix.cc:624: error: within this context

>uname -srvpio
Linux 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 GNU/Linux

Отсутствует

 

№208-09-2010 19:28:37

Крошка Ру
Участник
 
Группа: Extensions
Зарегистрирован: 19-10-2008
Сообщений: 8718
UA: Firefox 3.6

Re: Помогите собрать Firefox 3.6.8

torched :rolleyes: а готовый вариант Вас не устраивает? :angel:

.... кстати в репозитории уже [firefox]3.6.9

Добавлено 08-09-2010 19:32:08

x86_64

а,теперь всё  понял ........:whistle: :)

Отредактировано Крошка Ру (08-09-2010 19:30:35)

Отсутствует

 

№308-09-2010 19:40:03

Unghost
Призрак-админ
 
Группа: Administrators
Откуда: Moscow, Russia
Зарегистрирован: 08-10-2004
Сообщений: 11771
UA: Firefox 4.0

Re: Помогите собрать Firefox 3.6.8

Крошка Ру

а готовый вариант Вас не устраивает?

Судя по ядру это RHEL 4. Там всё настолько мохнатое (тот же GTK), что сборка от Mozilla вряд ли запустится.
Наверно можно попробовать поставить отсюда


Do not meddle in the affairs of Wizards, for they are subtle and quick to anger.

Отсутствует

 

№408-09-2010 21:40:17

torched
Участник
 
Группа: Members
Зарегистрирован: 31-08-2010
Сообщений: 8
UA: Firefox 3.5

Re: Помогите собрать Firefox 3.6.8

Unghost пишет

Крошка Ру

а готовый вариант Вас не устраивает?

Судя по ядру это RHEL 4. Там всё настолько мохнатое (тот же GTK), что сборка от Mozilla вряд ли запустится.
Наверно можно попробовать поставить отсюда

Готовый вариант требует новую ГТК. Я ее обновить не могу потому что рутового пароля нет.
Поэтому собрал ГТК у себя в хоуме. С новым ГТК ФФ нормально сконфигурился, а вот копмилится отказывается.

Отсутствует

 

№509-09-2010 10:29:00

Unghost
Призрак-админ
 
Группа: Administrators
Откуда: Moscow, Russia
Зарегистрирован: 08-10-2004
Сообщений: 11771
UA: Firefox 4.0

Re: Помогите собрать Firefox 3.6.8

Если добавить в .mozconfig

Выделить код

Код:

ac_add_options --disable-ipc

компиляция дальше идёт?

Добавлено 09-09-2010 10:31:37
И какой используется GCC?

Добавлено 09-09-2010 10:33:47
Также можно попробовать добавить:

Выделить код

Код:

ac_add_options --disable-crashreporter

Do not meddle in the affairs of Wizards, for they are subtle and quick to anger.

Отсутствует

 

№609-09-2010 17:54:31

torched
Участник
 
Группа: Members
Зарегистрирован: 31-08-2010
Сообщений: 8
UA: Firefox 2.0

Re: Помогите собрать Firefox 3.6.8

Unghost пишет

Если добавить в .mozconfig

Выделить код

Код:

ac_add_options --disable-ipc

компиляция дальше идёт?

Добавлено 09-09-2010 10:31:37
И какой используется GCC?

Добавлено 09-09-2010 10:33:47
Также можно попробовать добавить:

Выделить код

Код:

ac_add_options --disable-crashreporter

>gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

ключи добавил. Это помогло, но не намного :)

sydney_audio_alsa.c: In function `sa_stream_open':
sydney_audio_alsa.c:136: warning: implicit declaration of function `snd_pcm_set_params'
sydney_audio_alsa.c: In function `sa_stream_write':
sydney_audio_alsa.c:199: warning: implicit declaration of function `snd_pcm_recover'
sydney_audio_alsa.c: In function `sa_stream_set_volume_abs':
sydney_audio_alsa.c:377: error: void value not ignored as it ought to be
sydney_audio_alsa.c: In function `sa_stream_get_volume_abs':
sydney_audio_alsa.c:420: error: void value not ignored as it ought to be

Отсутствует

 

№709-09-2010 18:05:05

Unghost
Призрак-админ
 
Группа: Administrators
Откуда: Moscow, Russia
Зарегистрирован: 08-10-2004
Сообщений: 11771
UA: Firefox 4.0

Re: Помогите собрать Firefox 3.6.8

torched
Отруби sydneyaudio:

Выделить код

Код:

ac_add_options --disable-ogg
ac_add_options --disable-wave
ac_add_options --disable-webm

Do not meddle in the affairs of Wizards, for they are subtle and quick to anger.

Отсутствует

 

№810-09-2010 23:04:30

torched
Участник
 
Группа: Members
Зарегистрирован: 31-08-2010
Сообщений: 8
UA: Firefox 3.5

Re: Помогите собрать Firefox 3.6.8

Unghost пишет

torched
Отруби sydneyaudio:

Выделить код

Код:

ac_add_options --disable-ogg
ac_add_options --disable-wave
ac_add_options --disable-webm

Вообщем все получилось. ФФ собрался и запустился :)
но вопросы остались
1. что такое ipc? и можно ли без этого обойтись?
2. что такое sydneyaudio? и можного ли без этого обойтись?

по поводу второй проблемы надо,  наверное, alsa-lib скомпилить
snd_pcm_set_params там в инклюдах находится
попробую это через неделю сделать.

Отсутствует

 

№911-09-2010 02:45:17

Unghost
Призрак-админ
 
Группа: Administrators
Откуда: Moscow, Russia
Зарегистрирован: 08-10-2004
Сообщений: 11771
UA: Firefox 4.0

Re: Помогите собрать Firefox 3.6.8

torched

что такое ipc? и можно ли без этого обойтись?

ipc это та штука, портированная из chrome, которая позволяет вынести плагины в отдельный процесс - http://www.chromium.org/developers/desi … munication. Без него не удастся запустить плагины в отдельном процессе, но это не смертельно.

2. что такое sydneyaudio? и можного ли без этого обойтись?

libsydneyaudio это часть xiph. Я так полагаю, без него возникнут проблемы с проигрыванием ogg и wave


Do not meddle in the affairs of Wizards, for they are subtle and quick to anger.

Отсутствует

 

№1021-09-2010 18:00:42

torched
Участник
 
Группа: Members
Зарегистрирован: 31-08-2010
Сообщений: 8
UA: Namoroka 3.6

Re: Помогите собрать Firefox 3.6.8

Скомпилил и установил alsa-lib. После чего скомпилил ФФ с ключем --disable-ipc. Все получилось.

Отсутствует

 

Board footer

Powered by PunBB
Modified by Mozilla Russia
Copyright © 2004–2020 Mozilla Russia GitHub mark
Язык отображения форума: [Русский] [English]