guard# portinstall sysutils/gsmartcontrol
................................................................................................................... done] ---> Installing 'pkgconf-0.8.5' from a port (devel/pkgconf) ---> Building '/usr/ports/devel/pkgconf' ===> Cleaning for pkgconf-0.8.5 ===> pkgconf-0.8.5 conflicts with installed package(s): pkg-config-0.25_1 They install files into the same place. You may want to stop build with Ctrl + C. ===> License BSD accepted by the user ===> Extracting for pkgconf-0.8.5 => SHA256 Checksum OK for pkgconf-0.8.5.tar.bz2. ===> Patching for pkgconf-0.8.5 ===> Configuring for pkgconf-0.8.5 checking for gcc... cc checking whether the C compiler works... yes
===> An older version of devel/pcre is already installed (pcre-8.10) You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of devel/pcre without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1
とかやってたら、GuardのPostfixがメール送信できないじょうたいに(´д`)
mailq すると、
guard# mailq /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "sendmail" guard# postfix reload /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "postfix"
とか言われるので、
guard# locate libpcre.so.0 /usr/Backups/Guard_all/usr/local/lib/libpcre.so.0 /usr/local/lib/libpcre.so.0
で見る限りは libpcre.so.0 は存在している風味だけど・・・(実際は消えてたw)
guard# rehash
して、
guard# postfix reload
/libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required by "postfix" やっぱり、ない!?
実際に/usr/local/lib/をみると、libpcre.so.0は無くて、libpcre.so.1がありました。
というわけで、とにかく早期復旧で、ということにして、
guard# cp -p /usr/Backups/Guard_all/usr/local/lib/libpcre.so.0 /usr/local/lib/
したら、動き出した。ブネ~~~ (^^ゞ
バックアップ置いてて助かった・・・・
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`). *** Error code 1 Stop in /usr/ports/devel/bison. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20120810- 13991-1q540h8-0 env make ** Fix the problem and try again. ---> Installing 'p5-Time-HiRes-1.9725,1' from a port (devel/p5-Time-HiRes) ---> Building '/usr/ports/devel/p5-Time-HiRes' ===> Cleaning for p5-Time-HiRes-1.9725,1 => Time-HiRes-1.9725.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Time/Time- HiRes-1.9725.tar.gz Time-HiRes-1.9725.tar.gz 100% of 86 kB 77 kBps ===> Extracting for p5-Time-HiRes-1.9725,1 => SHA256 Checksum OK for Time-HiRes-1.9725.tar.gz. ===> p5-Time-HiRes-1.9725,1 depends on file: /usr/local/bin/perl5.10.1 - found ===> Patching for p5-Time-HiRes-1.9725,1 ===> p5-Time-HiRes-1.9725,1 depends on file: /usr/local/bin/perl5.10.1 - found