|
楼主 |
发表于 2012-2-7 09:32:02
|
显示全部楼层
Post by timemars;2159718
呵呵,就是那么快。今天sync之后libpcre就降为8.21了,看ebuild,是php的DEPEND里加上<libpcre-8.30这一行。。。
我的妈妈啊!
昨天用ln 给libpcre建了个软连接,今天尝到恶果了。
执行完revdep-rebuild --library '/lib/libpcre.so.0'之后,发现- # eix libpcre
- [u] dev-libs/libpcre
- Available versions: (3) 7.9-r1 8.02 8.12 (~)8.13 (~)8.13-r1 (~)8.20 (~)8.21 (~)8.30-r2
- {bzip2 +cxx doc +jit pcre16 +readline +recursion-limit static-libs unicode zlib}
- Installed versions: 8.21(3)(09时11分06秒 2012年02月07日)(bzip2 cxx jit readline recursion-limit unicode zlib -static-libs)
- Homepage: http://www.pcre.org/
- Description: Perl-compatible regular expression library
- # ls -al libpcre*
- lrwxrwxrwx 1 root root 16 2月 7 09:11 libpcre.so.0 -> libpcre.so.0.0.1
- -rwxr-xr-x 1 root root 374148 2月 7 09:11 libpcre.so.0.0.1
复制代码 又回到了昨天的窘境了,请看- # emerge -avutDN world
- These are the packages that would be merged, in reverse order:
- Calculating dependencies... done!
- [nomerge ] app-office/libreoffice-bin-3.4.3.2-r1 USE="gnome (-aqua) -java -kde"
- [nomerge ] dev-libs/redland-1.0.15 USE="berkdb mysql sqlite ssl xml -iodbc -odbc -postgres -static-libs"
- [nomerge ] dev-libs/rasqal-0.9.28 USE="crypt mhash pcre xml -doc -gmp -static-libs -test"
- [ebuild U ] dev-libs/libpcre-8.30-r2 [8.21] USE="bzip2 cxx jit readline recursion-limit (unicode) zlib -pcre16% -static-libs" 0 kB
- Total: 1 package (1 upgrade), Size of downloads: 0 kB
- Would you like to merge these packages? [Yes/No] y
- >>> Verifying ebuild manifests
- >>> Emerging (1 of 1) dev-libs/libpcre-8.30-r2
- * pcre-8.30.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
- >>> Unpacking source...
- >>> Unpacking pcre-8.30.tar.bz2 to /var/tmp/portage/dev-libs/libpcre-8.30-r2/work
- >>> Source unpacked in /var/tmp/portage/dev-libs/libpcre-8.30-r2/work
- >>> Preparing source in /var/tmp/portage/dev-libs/libpcre-8.30-r2/work/pcre-8.30 ...
- grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- * Running elibtoolize in: pcre-8.30/
- grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- * Applying portage/1.2.0 patch ...
- grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- * Applying sed/1.5.6 patch ...
- * Applying as-needed/2.2.6 patch ...
- grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- >>> Source prepared.
- >>> Configuring source in /var/tmp/portage/dev-libs/libpcre-8.30-r2/work/pcre-8.30 ...
- * econf: updating pcre-8.30/config.sub with /usr/share/gnuconfig/config.sub
- * econf: updating pcre-8.30/config.guess with /usr/share/gnuconfig/config.guess
- grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-match-limit-recursion=8192 --enable-pcregrep-libbz2 --enable-cpp --enable-jit --enable-pcregrep-jit --disable-pcre16 --enable-pcretest-libreadline --disable-static --enable-utf --enable-unicode-properties --enable-pcregrep-libz --enable-pcre8 --enable-shared --htmldir=/usr/share/doc/libpcre-8.30-r2/html --docdir=/usr/share/doc/libpcre-8.30-r2
- 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 for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes
- checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
- checking for style of include used by make... GNU
- checking dependency style of i686-pc-linux-gnu-gcc... none
- checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
- checking whether we are using the GNU C++ compiler... yes
- checking whether i686-pc-linux-gnu-g++ accepts -g... yes
- checking dependency style of i686-pc-linux-gnu-g++... none
- checking how to run the C preprocessor... grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- i686-pc-linux-gnu-gcc -E
- grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found in /usr/lib/portage/bin/ebuild-helpers/4:/usr/lib/portage/bin/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.5.3:/usr/lib/subversion/bin:/usr/xpg4/bin
- !!! Please attach the following file when seeking support:
- !!! /var/tmp/portage/dev-libs/libpcre-8.30-r2/work/pcre-8.30/config.log
- * ERROR: dev-libs/libpcre-8.30-r2 failed (configure phase):
- * econf failed
- *
- * Call stack:
- * ebuild.sh, line 85: Called src_configure
- * environment, line 2767: Called econf '--with-match-limit-recursion=8192' '--enable-pcregrep-libbz2' '--enable-cpp' '--enable-jit' '--enable-pcregrep-jit' '--disable-pcre16' '--enable-pcretest-libreadline' '--disable-static' '--enable-utf' '--enable-unicode-properties' '--enable-pcregrep-libz' '--enable-pcre8' '--enable-shared' '--htmldir=/usr/share/doc/libpcre-8.30-r2/html' '--docdir=/usr/share/doc/libpcre-8.30-r2'
- * phase-helpers.sh, line 467: Called die
- * The specific snippet of code:
- * die "econf failed"
- *
- * If you need support, post the output of 'emerge --info =dev-libs/libpcre-8.30-r2',
- * the complete build log and the output of 'emerge -pqv =dev-libs/libpcre-8.30-r2'.
- * The complete build log is located at '/var/tmp/portage/dev-libs/libpcre-8.30-r2/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libpcre-8.30-r2/temp/environment'.
- * S: '/var/tmp/portage/dev-libs/libpcre-8.30-r2/work/pcre-8.30'
- >>> Failed to emerge dev-libs/libpcre-8.30-r2, Log file:
- >>> '/var/tmp/portage/dev-libs/libpcre-8.30-r2/temp/build.log'
复制代码 为了修复,尝试了如下的方法:- # USE="-pcre" emerge -avutDN world
- These are the packages that would be merged, in reverse order:
- Calculating dependencies... done!
- [nomerge ] app-office/libreoffice-bin-3.4.3.2-r1 USE="gnome (-aqua) -java -kde"
- [nomerge ] dev-libs/redland-1.0.15 USE="berkdb mysql sqlite ssl xml -iodbc -odbc -postgres -static-libs"
- [ebuild R ] dev-libs/rasqal-0.9.28 USE="crypt mhash xml -doc -gmp -pcre* -static-libs -test" 0 kB
- [ebuild R ] sys-apps/grep-2.10 USE="nls -pcre*" 0 kB
- [ebuild R ] app-admin/syslog-ng-3.2.5 USE="ipv6 ssl tcpd -caps -hardened -pcre* (-selinux) -spoof-source -sql" 0 kB
- [nomerge ] www-servers/apache-2.2.21-r1 USE="ldap ssl threads -debug -doc (-selinux) -static -suexec" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker"
- [nomerge ] app-admin/apache-tools-2.2.21 USE="ssl"
- [ebuild U ] dev-libs/libpcre-8.30-r2 [8.21] USE="bzip2 cxx jit readline recursion-limit (unicode) zlib -pcre16% -static-libs" 0 kB
- [ebuild R ] sys-apps/less-445-r1 USE="unicode -pcre*" 0 kB
- Total: 5 packages (1 upgrade, 4 reinstalls), Size of downloads: 0 kB
- Would you like to merge these packages? [Yes/No] y
- >>> Verifying ebuild manifests
- >>> Starting parallel fetch
- >>> Emerging (1 of 5) sys-apps/less-445-r1
- * less-445.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
- * code2color RMD160 SHA1 SHA256 size ;-) ... [ ok ]
- >>> Unpacking source...
- >>> Unpacking less-445.tar.gz to /var/tmp/portage/sys-apps/less-445-r1/work
- >>> Source unpacked in /var/tmp/portage/sys-apps/less-445-r1/work
- >>> Preparing source in /var/tmp/portage/sys-apps/less-445-r1/work/less-445 ...
- * Applying code2color.patch ... [ ok ]
- >>> Source prepared.
- >>> Configuring source in /var/tmp/portage/sys-apps/less-445-r1/work/less-445 ...
- ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-regex=posix --with-editor=/usr/libexec/editor
- checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes
- checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
- checking for library containing strerror... none required
- checking how to run the C preprocessor... grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- i686-pc-linux-gnu-gcc -E
- grep: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
- checking for grep that handles long lines and -e... configure: error: no acceptable grep could be found in /usr/lib/portage/bin/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.5.3:/usr/lib/subversion/bin:/usr/xpg4/bin
- !!! Please attach the following file when seeking support:
- !!! /var/tmp/portage/sys-apps/less-445-r1/work/less-445/config.log
- * ERROR: sys-apps/less-445-r1 failed (configure phase):
- * econf failed
- *
- * Call stack:
- * ebuild.sh, line 85: Called src_configure
- * environment, line 2089: Called econf '--with-regex=posix' '--with-editor=/usr/libexec/editor'
- * phase-helpers.sh, line 467: Called die
- * The specific snippet of code:
- * die "econf failed"
- *
- * If you need support, post the output of 'emerge --info =sys-apps/less-445-r1',
- * the complete build log and the output of 'emerge -pqv =sys-apps/less-445-r1'.
- * The complete build log is located at '/var/tmp/portage/sys-apps/less-445-r1/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/sys-apps/less-445-r1/temp/environment'.
- * S: '/var/tmp/portage/sys-apps/less-445-r1/work/less-445'
- >>> Failed to emerge sys-apps/less-445-r1, Log file:
- >>> '/var/tmp/portage/sys-apps/less-445-r1/temp/build.log'
复制代码 这下不敢妄动系统的文件了。
请高手指点! |
|