Subject: lang/gcc34-ada fails to build on OpenSolaris
To: None <>
From: None <>
List: tech-pkg
Date: 02/17/2006 01:39:14
Hi, I'm trying to build Ada compiler from pkgsrc, however it fails with:

stage1/xgcc -Bstage1/ -B/opt/pkg/gcc34-ada/sparc--solaris5.11/bin/   -g -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H  -o cc1 \
c-parse.o c-lang.o c-pretty-print.o stub-objc.o attribs.o c-errors.o c-lex.o
c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o
c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o
prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a  main.o
libbackend.a ../libiberty/libiberty.a  -liconv -Wl,-R/opt/pkg/lib ld: fatal:
library -liconv: not found ld: fatal: File processing errors. No output written
to cc1 collect2: ld returned 1 exit status gmake[2]: *** [cc1] Error 1 gmake
[2]: Leaving directory `/opt/pkg.obj/lang/gcc34-ada/work.e450-dsl/obj/gcc' gmake
[1]: *** [stage2_build] Error 2 gmake[1]: Leaving directory
`/opt/pkg.obj/lang/gcc34-ada/work.e450-dsl/obj/gcc' gmake: *** [bootstrap]
Error 2 *** Error code 2

bmake: stopped in /opt/pkgsrc/lang/gcc34-ada

Any ideas how to fix that?