LinuxForum.Fans
Тема

libwebkitgtk-1.0.so.0()(64bit)

Автор: Vitalik85 51 сообщений 14355 просмотров
#325114

Здравствуйте. Устанавливаю клиента 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)).
Если кто-нибудь может помогите. Спасибо.

#325116

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

#325135

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

text

[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
#325136

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

#325137

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

#325150

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

#325221

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

#325244

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

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

#325245

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

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

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

text
rpmbuild --rebuild webkitgtk-1.2.7-1.fc13.src.rpm
#325273

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

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

выдает:

text

# 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

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

text

# 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)

#325287

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

#325292

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

text

# 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

#325294

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

#325360

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

#325364

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

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

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

#325375

"Vitalik85⇓" написал:
с помощью табуляции выхожу на этот файл
... однако сообщение о невозможности открыть файл может означать как отсутствие файла, так и отсутствие прав на чтение файла либо просто битый файл.
#325378

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

text

# 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
Войдите или зарегистрируйтесь, чтобы ответить.