VLC из исходников не ставится

Софт под Linux, разные программы, но только связанные с Linux

Модератор: /dev/random

Ответить
k20
Сообщения: 18
ОС: Ubuntu 10.04

VLC из исходников не ставится

Сообщение k20 »

Доброе время суток!
Пытаюсь поставить VLC v.1.1.0 из исходников на RHEL 5, но ничего не получается. Вот последовательность моих действий:

Выполняю # ./configure

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

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-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 whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
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 gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
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 how to run the C preprocessor... gcc -std=gnu99 -E
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... no
checking whether gcc accepts -g... no
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking for egrep... (cached) /bin/grep -E
checking whether make sets $(MAKE)... (cached) yes
checking dependency style of gcc -std=gnu99... gcc3
checking for ranlib... ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for dlltool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for libs in /opt/src/vlc-1.1.0/./extras/contrib/hosts/i386-redhat-linux... no
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for ar... (cached) ar
checking for strip... (cached) strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) no
checking whether g++ accepts -g... (cached) no
checking dependency style of g++... (cached) none
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... ld
checking if the linker (ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for buggy GNU/libc versions... found
configure: error: Buggy GNU/libc (version 2.5 - 2.7) present. VLC would crash; there is no viable
work-around for this. Check with your distribution vendor on how to update the
glibc run-time. Alternatively, build with --disable-nls --disable-mozilla and
be sure to not use LibVLC from other applications/wrappers.


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

Package glibc-2.5-49.i686 already installed and latest version
Package glibc-devel-2.5-49.i386 already installed and latest version


Выполняю # ./configure --silent --disable-nls --disable-mozilla

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

configure: WARNING: lua5.1 not found, trying lua >= 5.1 instead
configure: error: Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.


Выполняю # ./configure --silent --disable-nls --disable-mozilla --disable-lua

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

configure: WARNING: Library libnotify needed for notify was not found
configure: WARNING: TagLib library not found
configure: WARNING: The development files for liveMedia (live555) can't be found
configure: WARNING: Library libraw1394 >= 2.0.1 libdc1394-2 >= 2.1.0 needed for dc1394 was not found
configure: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv was not found
configure: WARNING: cannot find libdvbpsi headers
configure: WARNING: LibV4L support disabled because libv4l development headers were not found
configure: WARNING: LibV4L2 support disabled because libv4l2 development headers were not found
configure: WARNING: Library gnome-vfs-2.0 needed for gnomevfs was not found
configure: WARNING: new enough libcddb not found. CDDB access disabled
configure: WARNING: the dvb access module requires libdvbpsi
configure: WARNING: Library ogg >= 1.0 needed for ogg was not found
configure: WARNING: Library ogg >= 1.0 needed for mux_ogg was not found
configure: WARNING: Library shout >= 2.1 needed for shout was not found
configure: WARNING: libmodplug not found!
configure: WARNING: only static linking is available, you must provide a gme-tree
configure: error: Could not find libmad on your system: you may get it from http://www.underbit.com/products/mad/. Alternatively you can use --disable-mad to disable the mad plugin.


Выполняю ./configure --silent --disable-nls --disable-mozilla --disable-lua --disable-mad

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

configure: WARNING: Library libnotify needed for notify was not found
configure: WARNING: TagLib library not found
configure: WARNING: The development files for liveMedia (live555) can't be found
configure: WARNING: Library libraw1394 >= 2.0.1 libdc1394-2 >= 2.1.0 needed for dc1394 was not found
configure: WARNING: Library libraw1394 >= 2.0.1 libavc1394 >= 0.5.3 needed for dv was not found
configure: WARNING: cannot find libdvbpsi headers
configure: WARNING: LibV4L support disabled because libv4l development headers were not found
configure: WARNING: LibV4L2 support disabled because libv4l2 development headers were not found
configure: WARNING: Library gnome-vfs-2.0 needed for gnomevfs was not found
configure: WARNING: new enough libcddb not found. CDDB access disabled
configure: WARNING: the dvb access module requires libdvbpsi
configure: WARNING: Library ogg >= 1.0 needed for ogg was not found
configure: WARNING: Library ogg >= 1.0 needed for mux_ogg was not found
configure: WARNING: Library shout >= 2.1 needed for shout was not found
configure: WARNING: libmodplug not found!
configure: WARNING: only static linking is available, you must provide a gme-tree
configure: error: Could not find libavcodec or libavutil. Use --disable-avcodec to ignore this error.


./configure --silent --disable-nls --disable-mozilla --disable-lua --disable-mad --disable-avcodec

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

.
.
.
configure: error: Could not find libavformat or libavutil. Use --disable-avformat to ignore this error.


./configure --silent --disable-nls --disable-mozilla --disable-lua --disable-mad --disable-avcodec --disable-avformat

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

.
.
.
configure: error: Could not find libswscale. Use --disable-swscale to ignore this error. Proper software scaling and some video chroma conversion will be missing.


./configure --silent --disable-nls --disable-mozilla --disable-lua --disable-mad --disable-avcodec --disable-avformat --disable-swscale

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

.
.
.
configure: error: Could not find libpostproc. Use --disable-postproc to ignore this error.


./configure --silent --disable-nls --disable-mozilla --disable-lua --disable-mad --disable-avcodec --disable-avformat --disable-swscale --disable-postproc

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

.
.
.
configure: error: Package requirements (xcb) were not met:

No package 'xcb' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XCB_CFLAGS
and XCB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


ls /usr/lib | grep avcodec

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

libavcodec.so.52
libavcodec.so.52.20.1


ls /usr/lib | grep avutil

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

libavutil.so.49
libavutil.so.49.15.0
libavutil.so.50
libavutil.so.50.14.0


Все, что нужно уже стоит, но при выполнении ./configure не может ничего найти.
P.S. VLC нужен без GUI для установки на сервер для вещания видео. Нужен только web интерфейс, поэтому и ставлю из исходников

Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5289
ОС: Gentoo

Re: VLC из исходников не ставится

Сообщение /dev/random »

Вы, похоже, dev-пакеты не ставили.
Спасибо сказали:
k20
Сообщения: 18
ОС: Ubuntu 10.04

Re: VLC из исходников не ставится

Сообщение k20 »

/dev/random писал(а):
12.07.2010 03:26
Вы, похоже, dev-пакеты не ставили.

Я по возможности ставил все пакеты devel. Но пакета libavcodec-devel для RHEL нету :(
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5289
ОС: Gentoo

Re: VLC из исходников не ставится

Сообщение /dev/random »

k20 писал(а):
12.07.2010 03:36
Я по возможности ставил все пакеты devel. Но пакета libavcodec-devel для RHEL нету :(

Возможно, он в RHEL как-то по-другому называется. Переношу тему в раздел RedHat, возможно, там вам подскажут.
Спасибо сказали:
k20
Сообщения: 18
ОС: Ubuntu 10.04

Re: VLC из исходников не ставится

Сообщение k20 »

Так, с libavcodec я вроде разобрался установкой ffmpeg-devel.
Помогите разобраться с No package 'xcb' found.
На сколько я понимаю это аналог X11. Но мне GUI не нужны.
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5289
ОС: Gentoo

Re: VLC из исходников не ставится

Сообщение /dev/random »

k20 писал(а):
12.07.2010 04:36
На сколько я понимаю это аналог X11. Но мне GUI не нужны.

Нет, это не аналог X11, это аналог libX11 )). Тем не менее, если вам не нужен GUI, то xcb вам действительно не нужен. Используйте --disable-x11
Спасибо сказали:
k20
Сообщения: 18
ОС: Ubuntu 10.04

Re: VLC из исходников не ставится

Сообщение k20 »

/dev/random писал(а):
12.07.2010 06:08
k20 писал(а):
12.07.2010 04:36
На сколько я понимаю это аналог X11. Но мне GUI не нужны.

Нет, это не аналог X11, это аналог libX11 )). Тем не менее, если вам не нужен GUI, то xcb вам действительно не нужен. Используйте --disable-x11

При такой команде

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

./configure --prefix=/usr --silent --disable-nls --disable-mozilla --disable-lua --disable-swscale --without-x --enable-ncurses --enable-httpd --disable-x11

получаю

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

configure: WARNING: unrecognized options: --disable-x11

--disable-x тоже не понимает.
На флаг --without-x не ругается, но почемуто все равно просит xcb
Спасибо сказали:
Аватара пользователя
/dev/random
Администратор
Сообщения: 5289
ОС: Gentoo

Re: VLC из исходников не ставится

Сообщение /dev/random »

Да, верно, это я на 1.0.6 смотрел. В 1.1.0 общего ключа нет, нужно отключать по-отдельности.
--without-x
--disable-xcb
--disable-xvideo
--disable-xosd
--disable-opengl
--disable-glx
Может, ещё что-то.
Спасибо сказали:
Ответить