|
发表于 2009-11-21 16:15:52
|
显示全部楼层
Post by zhoukb;2047634
media-tv/gmlive-extra-0.3无法编译
- >>> Emerging (1 of 2) media-tv/gmlive-extra-0.3 from gentoo-china
- * gmlive-extra-0.3.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
- * checking ebuild checksums ;-) ... [ ok ]
- * checking auxfile checksums ;-) ... [ ok ]
- * checking miscfile checksums ;-) ... [ ok ]
- >>> Unpacking source...
- >>> Unpacking gmlive-extra-0.3.tar.gz to /usr/portage/distfiles/tmp/portage/media-tv/gmlive-extra-0.3/work
- >>> Source unpacked in /usr/portage/distfiles/tmp/portage/media-tv/gmlive-extra-0.3/work
- >>> Preparing source in /usr/portage/distfiles/tmp/portage/media-tv/gmlive-extra-0.3/work/gmlive-extra-0.3 ...
- >>> Source prepared.
- >>> Configuring source in /usr/portage/distfiles/tmp/portage/media-tv/gmlive-extra-0.3/work/gmlive-extra-0.3 ...
- >>> Source configured.
- >>> Compiling source in /usr/portage/distfiles/tmp/portage/media-tv/gmlive-extra-0.3/work/gmlive-extra-0.3 ...
- make -j2
- g++ -O2 -g -m32 -c -o xpps.o xpps.cc
- g++ -O2 -g -m32 -c -o ec_throw.o ec_throw.cc
- gcc -shared -Wl,-ldl -o libppswrapper-preload.so.0.0.0 ppswrapper-msgget.c
- g++ -O2 -g -m32 -o xpps xpps.o ec_throw.o -m32 -L./lib -lppsbase -lppssg -lppsapi -lppsvodres -lppsfds -lppsvodnet
- /usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lppsbase
- collect2: ld returned 1 exit status
- make: *** [xpps] Error 1
- make: *** Waiting for unfinished jobs....
- /usr/lib/gcc/i686-pc-linux-gnu/4.4.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
- ln -s libppswrapper-preload.so.0.0.0 libppswrapper-preload.so.0.0
- ln -s libppswrapper-preload.so.0.0 libppswrapper-preload.so.0
- ln -s libppswrapper-preload.so.0 libppswrapper-preload.so
- *
- * ERROR: media-tv/gmlive-extra-0.3 failed.
- * Call stack:
- * ebuild.sh, line 49: Called src_compile
- * environment, line 2237: Called die
- * The specific snippet of code:
- * emake || die "make failed.";
- * The die message:
- * make failed.
- *
- * If you need support, post the topmost build error, and the call stack if relevant.
- * A complete build log is located at '/usr/portage/distfiles/tmp/portage/media-tv/gmlive-extra-0.3/temp/build.log'.
- * The ebuild environment file is located at '/usr/portage/distfiles/tmp/portage/media-tv/gmlive-extra-0.3/temp/environment'.
- * This ebuild is from an overlay named 'gentoo-china': '/usr/local/portage/layman/gentoo-china/'
复制代码
同问,这个包好久就编译不起来了。我把lib包解到ppstream中,ld倒是可以通过了,但是后面又又一个错误却不明白,对ebuild不懂的家伙在用gentoo,让大家见笑了,呵呵。
- >>> Install gmlive-extra-0.3 into /var/tmp/portage/media-tv/gmlive-extra-0.3/image/ category media-tv
- lib/
- lib/libppsbase.so
- lib/libppsapi.so.0.1.826
- lib/libppsbase.so.0.1.826
- lib/libppssg.so.0.1.826
- lib/libppssg.so
- lib/libppsvodres.so.0.1.826
- lib/libppsvodres.so.0
- lib/libppsapi.so
- lib/libppsfds.so
- lib/libppsfds.so.0.1.826
- lib/libppsapi.so.0
- lib/libppssg.so.0
- lib/libppsvodnet.so
- lib/libppsvodres.so
- lib/libppsvodnet.so.0.1.826
- lib/libppsbase.so.0
- lib/libppsfds.so.0
- lib/libppsvodnet.so.0
- mv: cannot move `/var/tmp/portage/media-tv/gmlive-extra-0.3/image//usr/lib' to a subdirectory of itself, `/var/tmp/portage/media-tv/gmlive-extra-0.3/image//usr/lib/lib'
- make -j4 DESTDIR=/var/tmp/portage/media-tv/gmlive-extra-0.3/image/ install
- cp xpps /usr/bin/
- ACCESS DENIED open_wr: /usr/bin/xpps
- cp: cannot create regular file `/usr/bin/xpps': Permission denied
- make: *** [install] Error 1
- * ERROR: media-tv/gmlive-extra-0.3 failed:
- * install failed.
- *
- * Call stack:
- * ebuild.sh, line 55: Called src_install
- * environment, line 2301: Called die
- * The specific snippet of code:
- * emake DESTDIR="${D}" install || die "install failed.";
- *
- * If you need support, post the output of 'emerge --info =media-tv/gmlive-extra-0.3',
- * the complete build log and the output of 'emerge -pqv =media-tv/gmlive-extra-0.3'.
- * This ebuild is from an overlay named 'gentoo-china': '/usr/local/portage/layman/gentoo-china/'
- * The complete build log is located at '/var/tmp/portage/media-tv/gmlive-extra-0.3/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/media-tv/gmlive-extra-0.3/temp/environment'.
- * S: '/var/tmp/portage/media-tv/gmlive-extra-0.3/work/gmlive-extra-0.3'
- --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
- LOG FILE "/var/log/sandbox/sandbox-1246.log"
- VERSION 1.0
- FORMAT: F - Function called
- FORMAT: S - Access Status
- FORMAT: P - Path as passed to function
- FORMAT: A - Absolute Path (not canonical)
- FORMAT: R - Canonical Path
- FORMAT: C - Command Line
- F: open_wr
- S: deny
- P: /usr/bin/xpps
- A: /usr/bin/xpps
- R: /usr/bin/xpps
- C: cp xpps /usr/bin/
- --------------------------------------------------------------------------------
复制代码 |
|