On 12/28/2010 01:05 AM, Douglas Held wrote:
I'm having trouble building jdk 1.6 for OpenBSD 4.8 in a VMWare
virtual machine.  Is there something wrong with my procedure?

Thanks
Doug

Machine specs: VMWare with 2x i386 CPU, 2GB RAM, 8GB disk
Host system is OS X / VMWare Fusion 2.x; Vmware tools are NOT installed.

Steps to reproduce:
1. Download install48.iso for i386, connect as CDROM and boot
2. Install entire base system
3. Download ports.tar.gz, xenocara.tar.gz and extract into /usr/
4. Download src.tar.gz and sys.tar.gz; extract into /usr/src/
5. cd /usr/ports/archivers/gtar
6. 'make install'

Expected results:
'make' downloads, configures and installs gtar and any of its dependencies.

Actual results:
Missing library for iconv.>=2.0
The latest libiconv for OpenBSD seems to be 1.x.

Further information:
===>   Checking files for gtar-1.23p1
`/usr/ports/distfiles/tar-1.23.tar.bz2' is up to date.
(SHA256) tar-1.23.tar.bz2: OK
===>   gtar-1.23p1 depends on: gettext->=0.18.1 - not found
===>   Verifying install for gettext->=0.18.1 in devel/gettext
===>   Checking files for gettext-0.18.1
`/usr/ports/distfiles/gettext-0.18.1.tar.gz' is up to date.
(SHA256) gettext-0.18.1.tar.gz: OK
===>   Verifying specs: iconv.>=2 iconv.>=2 c expat m ncurses stdc++ c
expat m ncurses stdc++
Missing library for iconv.>=2.0
Fatal error
*** Error code 1


This error hit me recently. The fix you need is most likely in -current in /usr/libdata/perl5/OpenBSD/LibSpec/Build.pm. My previous thread about this issue (final msg, anyway):

        http://marc.info/?l=openbsd-ports&m=129169328317934&w=1

I've used that updated Build.pm on 4.8 with no issues so far, but a better solution might be to check out the ports tree tagged at OPENBSD_4_8, unless you specifically need something from HEAD.

Also, if you are interested in doing other things with your system than compiling ports, you might want to just install the packages. Set PKG_PATH and use pkg_add(1). Way faster for people who need to get to work doing other things.

--
David Cantrell | KB1PCX
http://www.burdell.org/

Reply via email to