Проблемы с установкой

Для новичков как вообще в Linux, так и в конкретной теме, к которой относится вопрос.

Модератор: Bizdelnick

Калий
Сообщения: 100
ОС: Ubuntu

Проблемы с установкой

Сообщение Калий »

Я хочу собрать из исходников drip. ./configure идет нормально, но когда я пытаюсь make, возникает ошибка:

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

[root@localhost drip-0.9.0]# make
make  all-recursive
make[1]: Entering directory `/home/kaliy/Linux/drip-0.9.0'
Making all in libspu
make[2]: Entering directory `/home/kaliy/Linux/drip-0.9.0/libspu'
make[2]: Цель `all' не требует выполнения команд.
make[2]: Leaving directory `/home/kaliy/Linux/drip-0.9.0/libspu'
Making all in encoder
make[2]: Entering directory `/home/kaliy/Linux/drip-0.9.0/encoder'
if /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..  -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -Wno-deprecated  -fomit-frame-pointer -march=athlon -mcpu=athlon -D_REENTRANT -g -ggdb -Wno-deprecated -mmmx  -msse  -I/usr/local/include/avifile-0.7   `glib-config --cflags` -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include    -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_LARGEFILE64 -pthread  `gdk-pixbuf-config --cflags` -I../libspu/ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -Wno-deprecated  -fomit-frame-pointer -march=athlon -mcpu=athlon -D_REENTRANT -g -ggdb -Wno-deprecated -mmmx  -msse  -I/usr/local/include/avifile-0.7   `glib-config --cflags` -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include    -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_LARGEFILE64 -pthread  `gdk-pixbuf-config --cflags` -I../libspu/ -g -O2 -MT libencoder_la-demuxer.lo -MD -MP -MF ".deps/libencoder_la-demuxer.Tpo" \
  -c -o libencoder_la-demuxer.lo `test -f 'demuxer.cpp' || echo './'`demuxer.cpp; \
then mv ".deps/libencoder_la-demuxer.Tpo" ".deps/libencoder_la-demuxer.Plo"; \
else rm -f ".deps/libencoder_la-demuxer.Tpo"; exit 1; \
fi
rm -f .libs/libencoder_la-demuxer.lo
g++ -DHAVE_CONFIG_H -I. -I. -I.. -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -Wno-deprecated -fomit-frame-pointer -march=athlon -mcpu=athlon -D_REENTRANT -g -ggdb -Wno-deprecated -mmmx -msse -I/usr/local/include/avifile-0.7 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_LARGEFILE64 -pthread -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../libspu/ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DARCH_X86 -funroll-all-loops -ffast-math -fexpensive-optimizations -fschedule-insns2 -Wno-deprecated -fomit-frame-pointer -march=athlon -mcpu=athlon -D_REENTRANT -g -ggdb -Wno-deprecated -mmmx -msse -I/usr/local/include/avifile-0.7 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_USE_LARGEFILE64 -pthread -I/usr/include/gdk-pixbuf-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I../libspu/ -g -O2 -MT libencoder_la-demuxer.lo -MD -MP -MF .deps/libencoder_la-demuxer.Tpo -c demuxer.cpp  -fPIC -DPIC -o .libs/libencoder_la-demuxer.lo
In file included from demuxer.hh:29,
                 from demuxer.cpp:21:
mpeg2_internal.h:141: error: 'fbuf_t' is used as a type, but is not defined as a type.
mpeg2_internal.h:145: error: 'decoder_t' is used as a type, but is not defined as a type.
mpeg2_internal.h:175: error: 'sequence_t' is used as a type, but is not defined as a type.
mpeg2_internal.h:176: error: 'sequence_t' is used as a type, but is not defined as a type.
mpeg2_internal.h:177: error: syntax error before `[' token
mpeg2_internal.h:178: error: syntax error before `*' token
mpeg2_internal.h:179: error: syntax error before `*' token
mpeg2_internal.h:211: error: declaration of C function `void* mpeg2_malloc(int, int)' conflicts with
/usr/local/include/mpeg2dec/mpeg2.h:191: error: previous declaration `void* mpeg2_malloc(unsigned int, mpeg2_alloc_t)' here
In file included from encoder.hh:30,
                 from demuxer.cpp:22:
/usr/local/include/avifile-0.7/creators.h:4:2: warning: #warning Use #include "avm_creators.h" instead
demuxer.cpp: In function `void* drip_demux(void*, gint**)':
demuxer.cpp:1003: error: `mpeg2_pts' undeclared (first use this function)
demuxer.cpp:1003: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[2]: *** [libencoder_la-demuxer.lo] Ошибка 1
make[2]: Leaving directory `/home/kaliy/Linux/drip-0.9.0/encoder'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/kaliy/Linux/drip-0.9.0'
make: *** [all] Ошибка 2
[root@localhost drip-0.9.0]#

что делать?:
Ждём релиза Ubuntu 7.04 :)
Спасибо сказали:
Аватара пользователя
clx
Сообщения: 3121
Статус: Think Different !
ОС: Mac OS X

Re: Проблемы с установкой

Сообщение clx »

Какой дистрибутив? Пробовал из пакета ставить ?
iMac 20" Core Duo.
Спасибо сказали:
Аватара пользователя
agent-mega
Сообщения: 505
Статус: Автономный модуль

Re: Проблемы с установкой

Сообщение agent-mega »

Я думаю, всё-таки ./configure надо ещё разок сделать, с какими-то дополнительными опциями, необходимыми для твоей конфигурации (читай и изучай ./configure --help). INSTALL и README в папке сырцов тоже почитай.
DEBIAN & DEBIAN-BASED ONLY

Всё относительно. Объективности не существует.
Спасибо сказали:
Калий
Сообщения: 100
ОС: Ubuntu

Re: Проблемы с установкой

Сообщение Калий »

Для clx:
Mandrake 10.0
из пакета или не нашел, или нету..
Для agent-mega:
Ну, я посмотрел... Вроде, ничего не нашел ((
Ждём релиза Ubuntu 7.04 :)
Спасибо сказали: