openbsd安装错误一解

作者:Timo

初次安装OPENBSD,难免有这个和那个问题。

虽然系统安装完很容易,但是发现要ports安装包的时候就会出现这个那个问题。

/usr/local/bin/libtool  –tag=CC –mode=link cc  -O2 -pipe    -o libgettextlib.la -rpath /usr/local/lib -no-undefined allocsa.lo argmatch.lo backupfile.lo  addext.lo basename.lo c-ctype.lo c-strcasecmp.lo  c-strncasecmp.lo classpath.lo closeout.lo copy-file.lo  csharpcomp.lo csharpexec.lo error-progname.lo execute.lo  exitfail.lo fatal-signal.lo findprog.lo fstrcmp.lo  full-write.lo fwriteerror.lo gcd.lo hash.lo javacomp.lo  javaexec.lo linebreak.lo mbswidth.lo obstack.lo concatpath.lo  pipe.lo progname.lo progreloc.lo quote.lo quotearg.lo  safe-read.lo safe-write.lo sh-quote.lo tmpdir.lo  wait-process.lo xmalloc.lo xstrdup.lo xallocsa.lo xerror.lo  xreadlink.lo xsetenv.lo localcharset.lo stpcpy.lo getline.lo getndelim2.lo getopt.lo getopt1.lo stpncpy.lo error.lo canonicalize.lo
libtool: link: `linebreak.lo’ is not a valid libtool object
*** Error code 1

Stop in /usr/ports/devel/gettext/w-gettext-0.14.6p0/gettext-0.14.6/gettext-tools/lib (line 542 of Makefile).
*** Error code 1

Stop in /usr/ports/devel/gettext/w-gettext-0.14.6p0/gettext-0.14.6/gettext-tools/lib (line 473 of Makefile).
*** Error code 1

Stop in /usr/ports/devel/gettext/w-gettext-0.14.6p0/gettext-0.14.6/gettext-tools (line 479 of Makefile).
*** Error code 1

Stop in /usr/ports/devel/gettext/w-gettext-0.14.6p0/gettext-0.14.6/gettext-tools (line 365 of Makefile).
*** Error code 1

Stop in /usr/ports/devel/gettext/w-gettext-0.14.6p0/gettext-0.14.6 (line 245 of Makefile).
*** Error code 1

Stop in /usr/ports/devel/gettext (line 2063 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gettext (line 1373 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gettext (line 1861 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/devel/gettext (line 1403 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/net/wget (line 1531 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/net/wget (line 1892 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/net/wget (line 1373 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/net/wget (line 1861 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/net/wget (line 1403 of /usr/ports/infrastructure/mk/bsd.port.mk).

首先是安装libiconv-1.9.2p3.tgz

其次是安装gettext-0.14.6p0.tgz一定要网上下好后通过pkg_add来进行安装

同时expat也要安装,但是从4.2开始expat被包含在xbase42.tgz这个包里了,要通过tar zxfp xbase42.tgz -C /  安装

今天一天就是耗在这2个问题上了,终于给找到并且安装好了wget,一个ports安装居然饶了那么大的圈子。

关于 Timo
XNIX SA & MYSQL DBA

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: