1 (18.06.2013 12:39:42 отредактировано Vitalik85)

Здравствуйте. Устанавливаю клиента 1С 8.3 на Centos 6.4.
Выдает ошибку:
1C_Enterprise83-client-8.3.3-641.x86_64 requires libwebkitgtk-1.0.so.0()(64bit)
никак не могу установить требуемую библиотеку(libwebkitgtk-1.0.so.0()(64bit)).
Если кто-нибудь может помогите. Спасибо.

2

Устанавливаешь через yum?

3

Через него тоже не получается:

[root@SERVER ~]# yum install /home/server/1C_Enterprise83-client-8.3.3-641.x86_64.rpm 
Loaded plugins: fastestmirror, priorities, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: mirror.majorhost.net
 * epel: ftp://ftp.astral.ro]ftp.astral.ro
 * extras: mirror.majorhost.net
 * rpmforge: mirror.cpsc.ucalgary.ca
 * updates: mirror.majorhost.net
Setting up Install Process
Examining /home/server/1C_Enterprise83-client-8.3.3-641.x86_64.rpm: 1C_Enterprise83-client-8.3.3-641.x86_64
Marking /home/server/1C_Enterprise83-client-8.3.3-641.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package 1C_Enterprise83-client.x86_64 0:8.3.3-641 will be installed
--> Processing Dependency: libwebkitgtk-1.0.so.0()(64bit) for package: 1C_Enterprise83-client-8.3.3-641.x86_64
--> Finished Dependency Resolution
Error: Package: 1C_Enterprise83-client-8.3.3-641.x86_64 (/1C_Enterprise83-client-8.3.3-641.x86_64)
           Requires: libwebkitgtk-1.0.so.0()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

4

Если ставить без учета зависимостей то не запускается.

5

Попробуй взять srpm webkitgtk от федоры и пересобрать его у себя.

6

Попробую. А где взять исходник?

7

Например тут http://fedora-mirror01.rbc.ru/pub/fedor … 13.src.rpm

8

Вчера мучился, так и не смог пересобрать пакет. Как правильно пересобирать RPM пакеты?

9

Вот так http://wiki.russianfedora.pro/index.php … _RPM-пакет

10

Из руководства:
Наконец, делаем то, ради чего все затевалось: редактируем файлы в рабочей копии ~/rpmbuild/BUILD/xscreensaver-5.14-1
Например, заменяем картинки в каталоге ~/rpmbuild/BUILD/xscreensaver-5.14-1/utils/images/ на что-нибудь более интересное.
Теперь создаем патч с нашими изменениями. Для этого переходим в папку BUILD

Вопрос в том, что мне на что менять?

11

Тебе ничего менять не надо, просто сделай от рута

yum-builddep webkitgtk-1.2.7-1.fc13.src.rpm

затем от пользователя

rpmbuild --rebuild webkitgtk-1.2.7-1.fc13.src.rpm

12 (19.06.2013 13:19:45 отредактировано Vitalik85)

Никак не получается пересобрать:
По команде:

yum-builddep webkitgtk-1.2.7-1.fc13.src.rpm

выдает:

# yum-builddep /home/server/webkitgtk-1.2.7-1.fc13.src.rpm 
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: mirror.majorhost.net
 * epel: mirror.karneval.cz
 * extras: mirror.majorhost.net
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirror.majorhost.net
Checking for new repos for mirrors
предупреждение: rpmts_HdrFromFdno: Заголовок V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY
Error: Could not open /home/vv-petrov/webkitgtk-1.2.7-1.fc13.src.rpm .
Try running yum-builddep with the --nogpgcheck option.
There was a problem getting the build deps, exiting:
   Could not open local rpm file: /home/vv-petrov/webkitgtk-1.2.7-1.fc13.src.rpm: RPM Error opening Package

А если устонавливаю по инструкции то:

# rpmbuild -ba ~/rpmbuild/SPECS/webkitgtk.spec 
ошибка: Длина файла /root/rpmbuild/SOURCES/webkit-1.1.14-nspluginwrapper.patch меньше чем 13 байт
Выполняется(%prep): /bin/sh -e /var/tmp/rpm-tmp.GP8zd7
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf webkit-1.2.7
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/webkit-1.2.7.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd webkit-1.2.7
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #2 (webkit-1.1.14-nspluginwrapper.patch):'
Patch #2 (webkit-1.1.14-nspluginwrapper.patch):
+ /bin/cat /root/rpmbuild/SOURCES/webkit-1.1.14-nspluginwrapper.patch
+ /usr/bin/patch -p1 -b --suffix .nspluginwrapper --fuzz=0
+ exit 0
Выполняется(%build): /bin/sh -e /var/tmp/rpm-tmp.I3Yqdg
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd webkit-1.2.7
+ CFLAGS='-O2 -g -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY'
+ CFLAGS='-O2 -g -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY'
+ export CFLAGS
+ CXXFLAGS='-O2 -g'
+ export CXXFLAGS
+ FFLAGS='-O2 -g'
+ export FFLAGS
+ ./configure --host=x86_64-redhat-linux-gnu --build=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-jit --enable-geolocation
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for native Win32... no
checking for style of include used by make... GNU
checking for x86_64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for x86_64-redhat-linux-gnu-g++... no
checking for x86_64-redhat-linux-gnu-c++... no
checking for x86_64-redhat-linux-gnu-gpp... no
checking for x86_64-redhat-linux-gnu-aCC... no
checking for x86_64-redhat-linux-gnu-CC... no
checking for x86_64-redhat-linux-gnu-cxx... no
checking for x86_64-redhat-linux-gnu-cc++... no
checking for x86_64-redhat-linux-gnu-cl.exe... no
checking for x86_64-redhat-linux-gnu-FCC... no
checking for x86_64-redhat-linux-gnu-KCC... no
checking for x86_64-redhat-linux-gnu-RCC... no
checking for x86_64-redhat-linux-gnu-xlC_r... no
checking for x86_64-redhat-linux-gnu-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking if g++ supports -fvisibility=hidden -fvisibility-inlines-hidden... yes
checking for pkg-config... /usr/bin/pkg-config
checking for perl... /usr/bin/perl
checking for bison... /usr/bin/bison
checking for mv... /bin/mv
checking for x86_64-redhat-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
configure: error: No C++ compiler found
ошибка: Неверный код возврата из /var/tmp/rpm-tmp.I3Yqdg (%build)


Ошибки сборки пакетов:
    Длина файла /root/rpmbuild/SOURCES/webkit-1.1.14-nspluginwrapper.patch меньше чем 13 байт
    Неверный код возврата из /var/tmp/rpm-tmp.I3Yqdg (%build)

13

Так ты команду yum-builddep натравливай на скачанный файл. И установи пакет gcc-c++
Если с такими элементарными вещами ещё не разобрался, то может рано 1С на центос водружать?

14

Пакет GCC-C++ поставил, но все равно не компилируется:

# yum-builddep /home/server/webkitgtk-1.2.7-1.fc13.src.rpm 
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: mirror.majorhost.net
 * epel: ftp.heanet.ie
 * extras: mirror.majorhost.net
 * rpmforge: ftp.heanet.ie
 * updates: mirror.majorhost.net
Checking for new repos for mirrors
предупреждение: rpmts_HdrFromFdno: Заголовок V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY
Error: Could not open /home/server/webkitgtk-1.2.7-1.fc13.src.rpm .
Try running yum-builddep with the --nogpgcheck option.
There was a problem getting the build deps, exiting:
   Could not open local rpm file: /home/server/webkitgtk-1.2.7-1.fc13.src.rpm: RPM Error opening Package

15

Этот файл у тебя лежит по этому пути? /home/server/webkitgtk-1.2.7-1.fc13.src.rpm

16

Да, именно там

17

Не может быть, ясно же написано:

Could not open local rpm file: /home/server/webkitgtk-1.2.7-1.fc13.src.rpm: RPM Error opening Package

18

Ну как не может быть я с помощью табуляции выхожу на этот файл.

19

Vitalik85⇓ пишет:

с помощью табуляции выхожу на этот файл

... однако сообщение о невозможности открыть файл может означать как отсутствие файла, так и отсутствие прав на чтение файла либо просто битый файл.

20

Перекопировал этот файл:

# yum-builddep /root/webkitgtk.rpm 
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
epel/metalink                                            |  18 kB     00:00     
 * base: mirror.majorhost.net
 * epel: fedora-mirror01.rbc.ru
 * extras: mirror.majorhost.net
 * rpmforge: mirror.awanti.com
 * updates: mirror.majorhost.net
http://mirror.majorhost.net/centos/6.4/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
base                                                     | 3.7 kB     00:00     
epel                                                     | 4.2 kB     00:00     
epel/primary_db                                          | 5.3 MB     00:14     
http://mirror.majorhost.net/centos/6.4/extras/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
extras                                                   | 3.5 kB     00:00     
rpmforge                                                 | 1.9 kB     00:00     
http://mirror.majorhost.net/centos/6.4/updates/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 403 Forbidden"
Trying other mirror.
updates                                                  | 3.4 kB     00:00     
Checking for new repos for mirrors
Enabling epel-source repository
epel-source/metalink                                     |  18 kB     00:00     
epel-source                                              | 3.5 kB     00:00     
epel-source/primary_db                                   | 1.4 MB     00:04     
No such package(s): /root/webkitgtk.rpm

21

Файл открывается в mc

22

Установил еще пакет ruby теперь:

# yum-builddep /root/webkitgtk-1.2.7-1.fc13.src.rpm 
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: mirror.majorhost.net
 * epel: www.fedora.is
 * extras: mirror.majorhost.net
 * rpmforge: ftp.heanet.ie
 * updates: mirror.majorhost.net
Checking for new repos for mirrors
предупреждение: rpmts_HdrFromFdno: Заголовок V3 RSA/SHA256 Signature, key ID e8e40fde: NOKEY
Error: Could not open /root/webkitgtk-1.2.7-1.fc13.src.rpm .
Try running yum-builddep with the --nogpgcheck option.
There was a problem getting the build deps, exiting:
   Could not open local rpm file: /root/webkitgtk-1.2.7-1.fc13.src.rpm: RPM Error opening Package

Где взять рабочий файл? На офсайте только исходники.

23

Я уже запутался. Стал разбираться у меня установлено уже в системе webkitgtk.x86_64 0:1.2.6-2.el6_0
А 1С ругается на libwebkitgtk-1.0.so.0()(64bit)
Т.е. получается это не одно и тоже

24

Все, понял, нужно более новую версию webkitgtk поставить, но не могу. С исходников не собирается нужна более новая версия gcc и далее вагон

25

Vitalik85⇓ пишет:

Все, понял, нужно более новую версию webkitgtk поставить, но не могу. С исходников не собирается нужна более новая версия gcc и далее вагон

а не смущает, что wibkitgtk - 1.2.6 уж наверняка предоставляет версию 1.0

сдаётся мне, просто в 1C'овском неправильно зависимости прописаны...
как вариант, скажи rpm'у наплевать зависимости при установке 1C... если запускаться не будет, жалуясь на отсутствие libwebkitgtk-1.0.so.0, то создай симлинк /usr/lib/libwebkitgtk-1.0.so.0 -> libwebkitgtk-1.0.so.0.13.4 [пути даны примерно]

95% процентов проблем находятся между клавиатурой и стулом.

26

В системе есть библиотека libwebkit, a libwebkitgtk нету. СОздал ссылки не помогло.

27

Здесь нужен пакет webkitgtk-devel. Смотри здесь: http://pkgs.org/search/?keyword=webkitgtk

In Tux We Trust     Centos 6.5
Самурай без меча подобен самураю с мечом, но только без меча, однако как-будто с мечом, которого у него нет, но и без него он как с ним...

28

Vitalik85⇓ пишет:

В системе есть библиотека libwebkit, a libwebkitgtk нету. СОздал ссылки не помогло.

пакет libwebkitgtk установлен?
у шляпы ЕМНИП идиотизм есть, у них в lib хранятся 32-х битные либы, а не нативные... тогда смотреть надо в lib64...

95% процентов проблем находятся между клавиатурой и стулом.

29

Fat-Zer⇓ пишет:

пакет libwebkitgtk установлен?

redix⇓ пишет:

Здесь нужен пакет webkitgtk-devel.

In Tux We Trust     Centos 6.5
Самурай без меча подобен самураю с мечом, но только без меча, однако как-будто с мечом, которого у него нет, но и без него он как с ним...

30

Это не идиотизм. Просто поддерживается одновременная работа как x86_64 программ, так и i686 и тут без раздельных /lib и /lib64 не обойтись.