1 (11.09.2010 20:37:15 отредактировано nohup)

выводит это:

...

 * ERROR: media-libs/alsa-lib-1.0.21a failed:
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2619:  Called die
 * The specific snippet of code:
 *       emake || die "make failed";
 * 
 * If you need support, post the output of 'emerge --info =media-libs/alsa-lib-1.0.21a',
 * the complete build log and the output of 'emerge -pqv =media-libs/alsa-lib-1.0.21a'.
 * The complete build log is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.21a/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.21a/temp/environment'.
 * S: '/var/tmp/portage/media-libs/alsa-lib-1.0.21a/work/alsa-lib-1.0.21a'

>>> Failed to emerge media-libs/alsa-lib-1.0.21a, Log file:

>>>  '/var/tmp/portage/media-libs/alsa-lib-1.0.21a/temp/build.log'

 * Messages for package app-text/libpaper-1.1.23:

 * run "paperconfig -p letter" as root to use letter-pagesizes
 * or paperconf with normal user privileges.

 * Messages for package media-libs/libpng-1.4.3:

 * 
 * Run /usr/sbin/libpng-1.4.x-update.sh to fix libtool archives (.la)
 * 

 * Messages for package dev-python/sip-4.10.2:

 * When updating sip, you usually need to recompile packages that
 * depend on sip, such as PyQt4 and qscintilla-python. If you have
 * app-portage/gentoolkit installed you can find these packages with
 * `equery d sip` and `equery d PyQt4`.

 * Messages for package app-admin/eselect-opengl-1.1.1-r2:

 * eselect-opengl since version 1.0.9 strips the libGL.la file.
 * This file was broken by design and thus removed.
 * For fixing all sort of configure issues please run:
 *   lafilefixer --justfixit
 * or run revdep-rebuild if you update from any older release.
 * (lafilefixer package can be found as dev-util/lafilefixer)

 * Messages for package x11-proto/xcb-proto-1.6:

 * Deleting byte-compiled Python modules needlessly generated by build system:
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/__init__.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/state.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/matcher.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/matcher.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/__init__.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/xtypes.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/xtypes.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/expr.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/state.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/expr.pyc
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/error.pyo
 *  /var/tmp/portage/x11-proto/xcb-proto-1.6/image/usr/lib/python2.6/site-packages/xcbgen/error.pyc

 * Messages for package media-libs/libv4l-0.6.1:

 * 
 * libv4l includes wrapper libraries for compatibility and pixel format
 * conversion, which are especially useful for users of the gspca usb
 * webcam driver in kernel 2.6.27 and higher.
 * 
 * To add v4l2 compatibility to a v4l application 'myapp', launch it via
 * LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so myapp
 * To add automatic pixel format conversion to a v4l2 application, use
 * LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so myapp
 * 

 * Messages for package media-libs/alsa-lib-1.0.21a:

 * ERROR: media-libs/alsa-lib-1.0.21a failed:
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2619:  Called die
 * The specific snippet of code:
 *       emake || die "make failed";
 * 
 * If you need support, post the output of 'emerge --info =media-libs/alsa-lib-1.0.21a',
 * the complete build log and the output of 'emerge -pqv =media-libs/alsa-lib-1.0.21a'.
 * The complete build log is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.21a/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.21a/temp/environment'.
 * S: '/var/tmp/portage/media-libs/alsa-lib-1.0.21a/work/alsa-lib-1.0.21a'

 * Regenerating GNU info directory index...
 * Processed 80 info files.

что делать?

2

Прежде всего читать:

* Messages for package media-libs/libpng-1.4.3:
 * 
 * Run /usr/sbin/libpng-1.4.x-update.sh to fix libtool archives (.la)

Запускали /usr/sbin/libpng-1.4.x-update.sh ?!

* Messages for package app-admin/eselect-opengl-1.1.1-r2:
 * eselect-opengl since version 1.0.9 strips the libGL.la file.
 * This file was broken by design and thus removed.
 * For fixing all sort of configure issues please run:
 *   lafilefixer --justfixit
 * or run revdep-rebuild if you update from any older release.
 * (lafilefixer package can be found as dev-util/lafilefixer)

Запускали lafilefixer --justfixit?

А сама проблема со сборкой описана в /var/tmp/portage/media-libs/alsa-lib-1.0.21a/temp/build.log, вы же только показали сообщение об ошибке  wink

Был, был и весь вышел...

3

ок, сейчас будет /var/tmp/portage/media-libs/alsa-lib-1.0.21a/temp/build.log  smile
ничего пока не запускал

4 (11.09.2010 20:54:48 отредактировано nohup)

 Консоль:
cat /var/tmp/portage/media-libs/alsa-lib-1.0.21a/temp/build.log

...

python.c: In function 'get_C_ptr':
python.c:63: warning: passing argument 2 of 'PyObject_GetAttr' makes pointer from integer without a cast
/usr/include/python3.1/object.h:434: note: expected 'struct PyObject *' but argument is of type 'int'
python.c: In function 'pcall':
python.c:87: warning: passing argument 2 of 'PyObject_GetAttr' makes pointer from integer without a cast
/usr/include/python3.1/object.h:434: note: expected 'struct PyObject *' but argument is of type 'int'
python.c: In function 'is_ops':
python.c:147: warning: assignment makes pointer from integer without a cast
python.c:149: warning: assignment makes pointer from integer without a cast
python.c: In function 'get_x_range_ops':
python.c:163: warning: assignment makes pointer from integer without a cast
python.c: In function 'set_range_ops':
python.c:200: warning: assignment makes pointer from integer without a cast
python.c:201: warning: assignment makes pointer from integer without a cast
python.c:202: warning: assignment makes pointer from integer without a cast
python.c: In function 'get_x_ops':
python.c:215: warning: assignment makes pointer from integer without a cast
python.c:216: warning: assignment makes pointer from integer without a cast
python.c: In function 'ask_dB_vol_ops':
python.c:273: warning: assignment makes pointer from integer without a cast
python.c:274: warning: assignment makes pointer from integer without a cast
python.c:275: warning: assignment makes pointer from integer without a cast
python.c: In function 'set_volume_ops':
python.c:318: warning: assignment makes pointer from integer without a cast
python.c:319: warning: assignment makes pointer from integer without a cast
python.c:320: warning: assignment makes pointer from integer without a cast
python.c: In function 'set_switch_ops':
python.c:331: warning: assignment makes pointer from integer without a cast
python.c:332: warning: assignment makes pointer from integer without a cast
python.c:333: warning: assignment makes pointer from integer without a cast
python.c: In function 'set_dB_ops':
python.c:345: warning: assignment makes pointer from integer without a cast
python.c:346: warning: assignment makes pointer from integer without a cast
python.c:347: warning: assignment makes pointer from integer without a cast
python.c:348: warning: assignment makes pointer from integer without a cast
python.c: In function 'enum_item_name_ops':
python.c:363: warning: assignment makes pointer from integer without a cast
python.c:373: warning: assignment makes pointer from integer without a cast
python.c: In function 'get_enum_item_ops':
python.c:394: warning: assignment makes pointer from integer without a cast
python.c: In function 'set_enum_item_ops':
python.c:419: warning: assignment makes pointer from integer without a cast
python.c:420: warning: assignment makes pointer from integer without a cast
python.c: In function 'pymelem_cap':
python.c:455: warning: return makes pointer from integer without a cast
python.c: In function 'pymelem_get_caps':
python.c:461: warning: return makes pointer from integer without a cast
python.c: In function 'pymelem_get_name':
python.c:467: warning: return makes pointer from integer without a cast
python.c: In function 'pymelem_get_index':
python.c:473: warning: return makes pointer from integer without a cast
python.c: In function 'pymelem_error':
python.c:502: warning: return makes pointer from integer without a cast
python.c: In function 'pymelem_event_info':
python.c:550: warning: return makes pointer from integer without a cast
python.c: In function 'pymelem_event_value':
python.c:558: warning: return makes pointer from integer without a cast
python.c: In function 'pymelem_dealloc':
python.c:591: error: 'struct pymelem' has no member named 'ob_type'
python.c: In function 'pymixer_melement_new':
python.c:711: warning: assignment makes pointer from integer without a cast
python.c:712: warning: assignment makes pointer from integer without a cast
python.c:713: warning: assignment makes pointer from integer without a cast
python.c: In function 'pymixer_dealloc':
python.c:803: error: 'struct pymixer' has no member named 'ob_type'
python.c: In function 'new_helem':
python.c:858: warning: assignment makes pointer from integer without a cast
python.c: In function 'alsa_mixer_simple_finit':
python.c:1007: warning: assignment makes pointer from integer without a cast
python.c:1011: warning: assignment makes pointer from integer without a cast
python.c:1021: warning: assignment makes pointer from integer without a cast
python.c:1022: warning: assignment makes pointer from integer without a cast
make[3]: *** [smixer_python_la-python.lo] Ошибка 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/alsa-lib-1.0.21a/work/alsa-lib-1.0.21a/modules/mixer/simple'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/alsa-lib-1.0.21a/work/alsa-lib-1.0.21a/modules/mixer'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/alsa-lib-1.0.21a/work/alsa-lib-1.0.21a/modules'
make: *** [all-recursive] Ошибка 1
 * ERROR: media-libs/alsa-lib-1.0.21a failed:
 *   make failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2619:  Called die
 * The specific snippet of code:
 *       emake || die "make failed";
 * 
 * If you need support, post the output of 'emerge --info =media-libs/alsa-lib-1.0.21a',
 * the complete build log and the output of 'emerge -pqv =media-libs/alsa-lib-1.0.21a'.
 * The complete build log is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.21a/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/alsa-lib-1.0.21a/temp/environment'.
 * S: '/var/tmp/portage/media-libs/alsa-lib-1.0.21a/work/alsa-lib-1.0.21a'

5

 Консоль:
# /usr/sbin/libpng-1.4.x-update.sh

 * Fixing broken libtool archives (.la)

 Консоль:
# lafilefixer --justfixit

/usr/lib/libattr.la already clean, skipping update.
/usr/lib/libmad.la already clean, skipping update.
/usr/lib/libsandbox.la already clean, skipping update.
/usr/lib/libcurl.la already clean, skipping update.
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libmudflap.la already clean, skipping update.
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libmudflapth.la already clean, skipping update.
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libgomp.la already clean, skipping update.
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libgfortran.la already clean, skipping update.
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libgfortranbegin.la already clean, skipping update.
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libsupc++.la already clean, skipping update.
/usr/lib/libltdl.la already clean, skipping update.
/usr/lib/libenca.la already clean, skipping update.
/usr/lib/libgdbm.la already clean, skipping update.
/usr/lib/libgpg-error.la already clean, skipping update.
/usr/lib/libmpfr.la: Updating...
/usr/lib/libXfont.la: Updating...
/usr/lib/libdb_cxx-4.8.la already clean, skipping update.
/usr/lib/libdb-4.8.la already clean, skipping update.
/usr/lib/libasprintf.la already clean, skipping update.
/usr/lib/libgmp.la already clean, skipping update.
/usr/lib/libpng14.la already clean, skipping update.
/usr/lib/libcrack.la already clean, skipping update.
/usr/lib/libdb_cxx-4.7.la already clean, skipping update.
/usr/lib/libgdbm_compat.la: Updating...
/usr/lib/libgmpxx.la: Updating...
/usr/lib/libpopt.la already clean, skipping update.
/usr/lib/binutils/i686-pc-linux-gnu/2.20.1/libopcodes.la already clean, skipping update.
/usr/lib/binutils/i686-pc-linux-gnu/2.20.1/libbfd.la already clean, skipping update.
/usr/lib/libgettextsrc.la: Updating...
/usr/lib/libudev.la already clean, skipping update.
/usr/lib/libpng.la already clean, skipping update.
/usr/lib/libICE.la already clean, skipping update.
/usr/lib/libdb-4.7.la already clean, skipping update.
/usr/lib/libfreetype.la already clean, skipping update.
/usr/lib/libjpeg.la already clean, skipping update.
/usr/lib/libffi.la already clean, skipping update.
/usr/lib/libgettextlib.la: Updating...
/usr/lib/libmagic.la already clean, skipping update.
/usr/lib/libxml2.la already clean, skipping update.
/usr/lib/libpth.la already clean, skipping update.
/usr/lib/libexpat.la already clean, skipping update.
/usr/lib/libfontconfig.la: Updating...
/usr/lib/libXdmcp.la already clean, skipping update.
/usr/lib/libdb_stl-4.8.la already clean, skipping update.
/usr/lib/libXau.la already clean, skipping update.
/usr/lib/libfontenc.la already clean, skipping update.
/usr/lib/libpaper.la already clean, skipping update.
/usr/lib/liblzma.la already clean, skipping update.
/usr/lib/libacl.la: Updating...
/usr/lib/librecode.la already clean, skipping update.
/usr/lib/libclucene.la already clean, skipping update.
/usr/lib/libgettextpo.la already clean, skipping update.

6

Покажите

eselect python list
Был, был и весь вышел...

7 (11.09.2010 22:09:02 отредактировано nohup)

 Консоль:
/ # eselect python list

Available Python interpreters:
  [1]   python2.6
  [2]   python3.1 *

кстати до этого при сборке чего-то возникала проблема с питоном и там же предлагалась команда для исправления, я ее ввел, вроде не ругалась.

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

8

Поменяйте версию, 3.1 ещё не всё поддерживает и при установке об этом честно предупреждает.

Был, был и весь вышел...

9 (11.09.2010 22:18:45 отредактировано nohup)

emerge python?
после этого все что насобирал, пересобирать?

10

eselect python set X

11

даже если питона >3.1 у меня нет?

12

nohup пишет:

даже если питона >3.1 у меня нет?

http://linuxforum.ru/viewtopic.php?pid=90360#p90360 ← а куда он уже делся?

Просто так переключить python скорее всего не получится, после

eselect python set 1

нужно будет выполнить python-updater.
Почему же никто не хочет читать вывод консоли после выполнения команды emerge ...? Сколько проблем можно было бы избежать!  smile

Был, был и весь вышел...

13 (13.09.2010 21:39:57 отредактировано nohup)

Проблема решена,
собралось без ошибок, спасибо за помощь и терпение к новичкам  smile