1

Привет! =)
Подскажите, как может так быть, с помощью команды необходимые файлы находятся:

 Консоль:

# yum search libshout
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files



libshout-devel.x86_64                    2.2.2-2.el5.rf         rpmforge
Matched from:
libshout-devel
Development files for the libshout icecast library
This package contains the header files needed for developing applications
that send data to an icecast server.  Install libshout-devel if you want to
develop applications using libshout.



libshout.x86_64                          2.2.2-2.el5.rf         rpmforge
Matched from:
libshout
Libshout is a library for communicating with and sending data to an
icecast server. It handles the socket connection, the timing of the
data, and prevents bad data from getting to the icecast server.



libshout-devel.x86_64                    2.2.2-1.el5.rf         rpmforge
Matched from:
libshout-devel
Development files for the libshout icecast library
This package contains the header files needed for developing applications
that send data to an icecast server.  Install libshout-devel if you want to
develop applications using libshout.



libshout-devel.x86_64                    2.2-1.el5.rf           rpmforge
Matched from:
libshout-devel
Development files for the libshout icecast library
This package contains the header files needed for developing applications
that send data to an icecast server.  Install libshout-devel if you want to
develop applications using libshout.



libshout.x86_64                          2.2-1.el5.rf           rpmforge
Matched from:
libshout
Libshout is a library for communicating with and sending data to an
icecast server.  It handles the socket connection, the timing of the
data, and prevents bad data from getting to the icecast server.



libshout.x86_64                          2.2.2-1.el5.rf         rpmforge
Matched from:
libshout
Libshout is a library for communicating with and sending data to an
icecast server. It handles the socket connection, the timing of the
data, and prevents bad data from getting to the icecast server.



libshout.x86_64                          2.2.2-2.el5.rf         installed
Matched from:
libshout
Libshout is a library for communicating with and sending data to an
icecast server. It handles the socket connection, the timing of the
data, and prevents bad data from getting to the icecast server.


А устанавливаться не хотят:
 Консоль:

# yum install libshout
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

Может нужно указать какие то дополнительные параметры?

2

Этот вопрос решил. Все установилось.
Но теперь возникла другая проблема. Пытаюсь установить ezstream, делаю

 Консоль:

# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking for a thread-safe mkdir -p... //bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 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 AIX... no
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 for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for fgrep... //bin/grep -F
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether to enable debugging... no
checking if gcc -std=gnu99 understands -fstack-protector... yes
checking if gcc -std=gnu99 understands -fstrict-aliasing... yes
checking if gcc -std=gnu99 understands -Wall... yes
checking if gcc -std=gnu99 understands -W... yes
checking if gcc -std=gnu99 understands -Wstrict-aliasing... yes
checking if gcc -std=gnu99 understands -Wwrite-strings... yes
checking if gcc -std=gnu99 understands -Wpointer-arith... yes
checking if gcc -std=gnu99 understands -Wshadow... yes
checking if gcc -std=gnu99 understands -Wconversion... yes
checking if gcc -std=gnu99 understands -Wcast-qual... yes
checking if gcc -std=gnu99 understands -Wcast-align... yes
checking if gcc -std=gnu99 understands -Wbounded... no
checking if gcc -std=gnu99 understands -Wmissing-declarations... yes
checking if gcc -std=gnu99 understands -Wmissing-prototypes... yes
checking if gcc -std=gnu99 understands -Wstrict-prototypes... yes
checking if gcc -std=gnu99 understands -Wformat=2... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for sys/time.h... yes
checking for signal.h... yes
checking for langinfo.h... yes
checking for libgen.h... yes
checking for locale.h... yes
checking for paths.h... yes
checking for size_t... yes
checking for ssize_t... yes
checking for basename in -lgen... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking shout/shout.h usability... yes
checking shout/shout.h presence... yes
checking for shout/shout.h... yes
checking if libshout works... no
checking for libshout ... no
configure: error: libshout 2.2.x is required.

Пишет что нужна библиотека, хотя она только что была установлена.

3

Нужен devel пакет от этой библиотеки, установи его тоже.

4

Vascom пишет:

Нужен devel пакет от этой библиотеки, установи его тоже.

К сожалению так же выдает туже ошибку=(

5

Покажи вывод yum list "libshout*"

6

Vascom пишет:

Покажи вывод yum list "libshout*"

Вот:

 Консоль:

# yum list "libshout*"
Loading "installonlyn" plugin
Setting up repositories
epel                                                     | 3.7 kB     00:00
rpmforge                                                 |  975 B     00:00
base                                                     | 2.1 kB     00:00
atomic                                                   | 1.9 kB     00:00
addons                                                   |  951 B     00:00
updates                                                  | 1.9 kB     00:00
extras                                                   | 2.1 kB     00:00
Reading repository metadata in from local files
Installed Packages
libshout.x86_64                          2.2.2-2.el5.rf         installed
libshout-devel.x86_64                    2.2.2-2.el5.rf         installed

7

Значит все вопросы к разработчикам программы, или гляди в скрипты сборки что он там ищет и не находит.

8

Vascom пишет:

Значит все вопросы к разработчикам программы, или гляди в скрипты сборки что он там ищет и не находит.

ну сложно сказать насчет разработчиков. вроде бы у большинства работает.
Полазив по формумам только однажды встретил такую проблему. Там естеееественно, человеку предлагается просто установить этот libshout. Но это проблемы не решает

9

Vascom пишет:

Значит все вопросы к разработчикам программы, или гляди в скрипты сборки что он там ищет и не находит.

Вот кусок из скрипта сборки где есть я так понял эта проверка:

 Консоль:

dnl ###############
dnl ## LIBRARIES #######################################################
dnl ###############

AC_CHECK_LIB([gen], [basename],
    [ AX_UNIQVAR_PREPEND([EZ_LIBS], [-lgen]) ])

AX_CHECK_LIBSHOUT([], [],
    [AC_MSG_ERROR([libshout 2.2.x is required.], [1])])
AX_UNIQVAR_APPEND([EZ_CPPFLAGS], [${LIBSHOUT_CPPFLAGS}])
AX_UNIQVAR_APPEND([EZ_CFLAGS], [${LIBSHOUT_CFLAGS}])
AX_UNIQVAR_APPEND([EZ_LDFLAGS], [${LIBSHOUT_LDFLAGS}])
AX_UNIQVAR_PREPEND([EZ_LIBS], [${LIBSHOUT_LIBS}])

AX_CHECK_LIBXML2([], [],
    [AC_MSG_ERROR([libxml 2.x is required.], [1])])
AX_UNIQVAR_APPEND([EZ_CPPFLAGS], [${LIBXML2_CPPFLAGS}])
AX_UNIQVAR_APPEND([EZ_CFLAGS], [${LIBXML2_CFLAGS}])
AX_UNIQVAR_APPEND([EZ_LDFLAGS], [${LIBXML2_LDFLAGS}])
AX_UNIQVAR_PREPEND([EZ_LIBS], [${LIBXML2_LIBS}])


Может быть как то подправить эту часть чтобы заработало??

10

скажите хоть что собираете что-ли...

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

11

Fat-Zer пишет:

скажите хоть что собираете что-ли...

В общем стараюсь(пытаюсь) установить icecast. Точнее сам icecast установил. Но как написано здесь - http://radiocms.ru/forum/showthread.php?t=84 нужен еще этот ezstream, который в упор не видит установленный libshout. =(

12

Это какая-то известная проблема, вот почитай способы решения
http://icecast.imux.net/viewtopic.php?t … 6bb4a0271a
Если не поможет - погугли ещё.

13

evgenyan, посмотрите, какие файлы в пакетах libshout и libshout-devel?

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

14

Fat-Zer пишет:

evgenyan, посмотрите, какие файлы в пакетах libshout и libshout-devel?

Это в libshout:

2006-01-03 23:25         Папка         Папка  libshout-2.2
2006-01-03 23:18        266549  9223372034707292159  libshout-2.2\aclocal.m4
2005-11-02 11:07          3707  9223372034707292159  libshout-2.2\compile
2005-12-19 23:12         43668  9223372034707292159  libshout-2.2\config.guess
2006-01-03 23:19          4915  9223372034707292159  libshout-2.2\config.h.in
2005-12-19 23:12         32151  9223372034707292159  libshout-2.2\config.sub
2006-01-03 23:19        869146  9223372034707292159  libshout-2.2\configure
2006-01-03 23:18          6156  9223372034707292159  libshout-2.2\configure.ac
2004-03-21 08:03         25275  9223372034707292159  libshout-2.2\COPYING
2006-01-03 23:25         Папка         Папка  libshout-2.2\debian
2004-03-21 08:03          4711  9223372034707292159  libshout-2.2\debian\changelog
2004-03-21 08:03             2  9223372034707292159  libshout-2.2\debian\compat
2004-03-21 08:03          1529  9223372034707292159  libshout-2.2\debian\control
2004-03-21 08:03           605  9223372034707292159  libshout-2.2\debian\copyright
2004-03-21 08:03            19  9223372034707292159  libshout-2.2\debian\libshout3-dev.examples
2004-03-21 08:03           174  9223372034707292159  libshout-2.2\debian\libshout3-dev.install
2004-03-21 08:03            34  9223372034707292159  libshout-2.2\debian\libshout3.install
2004-03-21 08:03           221  9223372034707292159  libshout-2.2\debian\Makefile.am
2006-01-03 23:19         10583  9223372034707292159  libshout-2.2\debian\Makefile.in
2004-03-21 08:03           327  9223372034707292159  libshout-2.2\debian\rules
2005-03-05 23:41            93  9223372034707292159  libshout-2.2\debian\watch
2005-11-02 11:07         15936  9223372034707292159  libshout-2.2\depcomp
2006-01-03 23:25         Папка         Папка  libshout-2.2\doc
2004-07-06 12:07         31281  9223372034707292159  libshout-2.2\doc\libshout.xml
2004-03-21 08:03            68  9223372034707292159  libshout-2.2\doc\Makefile.am
2006-01-03 23:19         10480  9223372034707292159  libshout-2.2\doc\Makefile.in
2004-03-21 08:03           192  9223372034707292159  libshout-2.2\doc\spec-html.xsl
2006-01-03 23:25         Папка         Папка  libshout-2.2\examples
2004-10-30 05:46          1930  9223372034707292159  libshout-2.2\examples\example.c
2005-09-01 06:25           405  9223372034707292159  libshout-2.2\examples\Makefile.am
2006-01-03 23:19         15554  9223372034707292159  libshout-2.2\examples\Makefile.in
2005-01-29 23:50          2445  9223372034707292159  libshout-2.2\examples\nonblocking.c
2006-01-03 23:25         Папка         Папка  libshout-2.2\include
2004-03-21 08:03           122  9223372034707292159  libshout-2.2\include\Makefile.am
2006-01-03 23:19         15910  9223372034707292159  libshout-2.2\include\Makefile.in
2004-03-21 08:03           163  9223372034707292159  libshout-2.2\include\os.h
2006-01-03 23:25         Папка         Папка  libshout-2.2\include\shout
2004-03-21 08:03           157  9223372034707292159  libshout-2.2\include\shout\Makefile.am
2006-01-03 23:19         13551  9223372034707292159  libshout-2.2\include\shout\Makefile.in
2004-10-30 05:23          6924  9223372034707292159  libshout-2.2\include\shout\shout.h.in
2005-02-19 21:50          1390  9223372034707292159  libshout-2.2\INSTALL
2005-11-02 11:07          9233  9223372034707292159  libshout-2.2\install-sh
2005-12-19 23:12        196440  9223372034707292159  libshout-2.2\ltmain.sh
2006-01-03 23:25         Папка         Папка  libshout-2.2\m4
2004-07-06 00:43         12592  9223372034707292159  libshout-2.2\m4\ac_config_libconfig_in.m4
2005-08-31 20:55          7424  9223372034707292159  libshout-2.2\m4\acx_pthread.m4
2005-08-31 20:55          1711  9223372034707292159  libshout-2.2\m4\ogg.m4
2004-07-20 06:50          2206  9223372034707292159  libshout-2.2\m4\shout.m4
2005-08-31 20:55          2332  9223372034707292159  libshout-2.2\m4\speex.m4
2005-12-04 03:27          2022  9223372034707292159  libshout-2.2\m4\theora.m4
2005-08-31 20:55          2503  9223372034707292159  libshout-2.2\m4\vorbis.m4
2004-12-22 12:09          4272  9223372034707292159  libshout-2.2\m4\xiph_compiler.m4
2004-07-06 00:43           888  9223372034707292159  libshout-2.2\m4\xiph_net.m4
2004-07-06 00:43          1350  9223372034707292159  libshout-2.2\m4\xiph_types.m4
2006-01-03 23:17           730  9223372034707292159  libshout-2.2\Makefile.am
2006-01-03 23:19         25637  9223372034707292159  libshout-2.2\Makefile.in
2005-11-02 11:07         11014  9223372034707292159  libshout-2.2\missing
2006-01-03 23:16           139  9223372034707292159  libshout-2.2\NEWS
2004-03-21 08:03           843  9223372034707292159  libshout-2.2\README
2006-01-03 23:19          6424  9223372034707292159  libshout-2.2\shout-config.in
2005-09-01 06:53           371  9223372034707292159  libshout-2.2\shout.pc.in
2006-01-03 23:25         Папка         Папка  libshout-2.2\src
2006-01-03 23:25         Папка         Папка  libshout-2.2\src\avl
2004-07-06 00:44         27507  9223372034707292159  libshout-2.2\src\avl\avl.c
2004-07-06 00:44          2750  9223372034707292159  libshout-2.2\src\avl\avl.dsp
2004-07-06 00:44          5370  9223372034707292159  libshout-2.2\src\avl\avl.h
2004-07-06 00:44            66  9223372034707292159  libshout-2.2\src\avl\BUILDING
2004-07-06 00:44         25275  9223372034707292159  libshout-2.2\src\avl\COPYING
2004-07-06 00:44           370  9223372034707292159  libshout-2.2\src\avl\Makefile.am
2006-01-03 23:19         16207  9223372034707292159  libshout-2.2\src\avl\Makefile.in
2004-07-06 00:44           120  9223372034707292159  libshout-2.2\src\avl\README
2004-07-06 00:44          1491  9223372034707292159  libshout-2.2\src\avl\test.c
2004-07-06 00:44            50  9223372034707292159  libshout-2.2\src\avl\TODO
2006-01-03 23:25         Папка         Папка  libshout-2.2\src\httpp
2004-07-06 00:43         25275  9223372034707292159  libshout-2.2\src\httpp\COPYING
2005-06-26 06:48         13038  9223372034707292159  libshout-2.2\src\httpp\httpp.c
2005-06-26 06:48          2424  9223372034707292159  libshout-2.2\src\httpp\httpp.h
2004-07-06 00:43           393  9223372034707292159  libshout-2.2\src\httpp\Makefile.am
2006-01-03 23:19         16321  9223372034707292159  libshout-2.2\src\httpp\Makefile.in
2004-07-06 00:43            99  9223372034707292159  libshout-2.2\src\httpp\README
2004-07-06 00:43            25  9223372034707292159  libshout-2.2\src\httpp\TODO
2006-01-03 23:22           857  9223372034707292159  libshout-2.2\src\Makefile.am
2006-01-03 23:24         21713  9223372034707292159  libshout-2.2\src\Makefile.in
2004-07-22 22:49          8185  9223372034707292159  libshout-2.2\src\mp3.c
2006-01-03 23:25         Папка         Папка  libshout-2.2\src\net
2004-07-06 00:44            48  9223372034707292159  libshout-2.2\src\net\BUILDING
2004-07-06 00:44         25275  9223372034707292159  libshout-2.2\src\net\COPYING
2004-07-06 00:44           394  9223372034707292159  libshout-2.2\src\net\Makefile.am
2006-01-03 23:19         17359  9223372034707292159  libshout-2.2\src\net\Makefile.in
2004-07-06 00:44           355  9223372034707292159  libshout-2.2\src\net\README
2004-07-06 00:44          4948  9223372034707292159  libshout-2.2\src\net\resolver.c
2004-07-06 00:44           727  9223372034707292159  libshout-2.2\src\net\resolver.h
2004-10-29 23:55         19065  9223372034707292159  libshout-2.2\src\net\sock.c
2004-07-26 20:05          4391  9223372034707292159  libshout-2.2\src\net\sock.h
2004-07-06 00:44           378  9223372034707292159  libshout-2.2\src\net\test_resolver.c
2004-07-06 00:44            33  9223372034707292159  libshout-2.2\src\net\TODO
2006-01-03 22:48          4899  9223372034707292159  libshout-2.2\src\ogg.c
2006-01-03 22:56         28993  9223372034707292159  libshout-2.2\src\shout.c
2005-12-04 06:49          1646  9223372034707292159  libshout-2.2\src\shout_ogg.h
2005-01-29 23:45          2504  9223372034707292159  libshout-2.2\src\shout_private.h
2005-12-04 03:30          2381  9223372034707292159  libshout-2.2\src\speex.c
2006-01-03 22:48          3723  9223372034707292159  libshout-2.2\src\theora.c
2006-01-03 23:25         Папка         Папка  libshout-2.2\src\thread
2004-07-06 00:45           405  9223372034707292159  libshout-2.2\src\thread\BUILDING
2004-07-06 00:45         25275  9223372034707292159  libshout-2.2\src\thread\COPYING
2004-07-06 00:45           370  9223372034707292159  libshout-2.2\src\thread\Makefile.am
2006-01-03 23:19         16342  9223372034707292159  libshout-2.2\src\thread\Makefile.in
2004-07-06 00:45           313  9223372034707292159  libshout-2.2\src\thread\README
2005-12-04 03:27         21174  9223372034707292159  libshout-2.2\src\thread\thread.c
2004-07-06 00:45          6730  9223372034707292159  libshout-2.2\src\thread\thread.h
2004-07-06 00:45           170  9223372034707292159  libshout-2.2\src\thread\TODO
2006-01-03 23:25         Папка         Папка  libshout-2.2\src\timing
2004-07-06 00:45            66  9223372034707292159  libshout-2.2\src\timing\BUILDING
2004-07-06 00:45         25275  9223372034707292159  libshout-2.2\src\timing\COPYING
2004-07-06 00:45           343  9223372034707292159  libshout-2.2\src\timing\Makefile.am
2006-01-03 23:19         16316  9223372034707292159  libshout-2.2\src\timing\Makefile.in
2004-07-06 00:45            70  9223372034707292159  libshout-2.2\src\timing\README
2004-07-06 00:45          1451  9223372034707292159  libshout-2.2\src\timing\timing.c
2004-07-06 00:45           647  9223372034707292159  libshout-2.2\src\timing\timing.h
2004-07-06 00:45             9  9223372034707292159  libshout-2.2\src\timing\TODO
2004-03-21 08:03          7009  9223372034707292159  libshout-2.2\src\util.c
2004-03-21 08:03           874  9223372034707292159  libshout-2.2\src\util.h
2006-01-03 22:48          3160  9223372034707292159  libshout-2.2\src\vorbis.c
2006-01-03 23:25         Папка         Папка  libshout-2.2\win32
2004-07-26 02:16          4817  9223372034707292159  libshout-2.2\win32\libshout.dsp
2004-03-21 08:03           539  9223372034707292159  libshout-2.2\win32\libshout.dsw
2004-03-21 08:03           127  9223372034707292159  libshout-2.2\win32\Makefile.am
2006-01-03 23:19         10485  9223372034707292159  libshout-2.2\win32\Makefile.in

В libshout-devel просмотреть не могу.

Такие длинные листинги лучше в тег Code оформлять. Исправил Vascom.

15

Vascom пишет:

Это какая-то известная проблема, вот почитай способы решения
http://icecast.imux.net/viewtopic.php?t … 6bb4a0271a
Если не поможет - погугли ещё.

Прочитал. Все понял что необходимо, только вот где взять этот libshout.spec файл?

What's suggested is: 
Download sourc package from fedora. 

use: 
Code:
rpmbuild -bb libshout.spec

This will build a complete set of rpms, libshout and libshout-devel packages, you can then install via yum localinstall 

What sounds missing is the full developmant package, includes, link library and so on..

Там написано что Скачай исходник с федоры?
А это где?

16

Например тут http://koji.fedoraproject.org/koji/pack … ageID=2406

17

Vascom пишет:

Например тут http://koji.fedoraproject.org/koji/pack … ageID=2406

Я прошу прощения за глупые вопросы, я с линуксом работаю совсем недавно =(( но в каком там именно месте этот libshout.spec файл? Вообще в упор не вижу=((( либо что то пока не знаю

18

Скачай оттуда src.rpm пакет и пересобери его.

$ su -c 'yum install yum-utils rpmdevtools'
$ rpmdev-setuptree
$ su -c 'yum-builddep libshout.src.rpm'
$ rpm -Uvh libshout.src.rpm'
$ rpmbuild -ba rpmbuild/SPECS/libshout.spec'

libshout.src.rpm надо заменить на название скачанного пакета.

Если конечно именно это требуется сделать. Там найдёшь и спек и всё остальное.

19

Vascom пишет:

Скачай оттуда src.rpm пакет и пересобери его.

$ su -c 'yum install yum-utils rpmdevtools'
$ rpmdev-setuptree
$ su -c 'yum-builddep libshout.src.rpm'
$ rpm -Uvh libshout.src.rpm'
$ rpmbuild -ba rpmbuild/SPECS/libshout.spec'

libshout.src.rpm надо заменить на название скачанного пакета.

Если конечно именно это требуется сделать. Там найдёшь и спек и всё остальное.

Получается такая вот ошибка:

 Консоль:

su -c 'yum-builddep libshout-2.2.2-6.fc15.src.rpm'
bash: yum-builddep: command not found

20

А ты сделал yum install yum-utils rpmdevtools?
Или там такой старый yum.

Да и вряд ли у тебя соберётся версия от Ф15.

В общем, всё что мог я выдал, дальше дело за тобой.

21

Vascom пишет:

А ты сделал yum install yum-utils rpmdevtools?
Или там такой старый yum.

Да и вряд ли у тебя соберётся версия от Ф15.

В общем, всё что мог я выдал, дальше дело за тобой.

Да блин, прошу прощения за мою глупость, но я сделал только  yum install rpmdevtools
Сейчас вот еще сделал  yum install yum-utils, дело вроде бы пошло дальше=)

22

Теперь вот такая вот фигня:

 Консоль:

# rpm -Uvh libshout-2.2.2-6.fc15.src.rpm
   1:libshout               warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
########################################### [100%]
error: unpacking of archive failed on file /root/rpmbuild/SOURCES/libshout-2.2.2-fix_speex.patch;4e27ec86: cpio: MD5 sum mismatch

23

Я предупреждал, что от Ф15 не получится. Там сжатие другое, не поддерживаемое в RHEL5.
Вообще геморрой всё это. Лучше погугли готовые решения.