###
### Mon Aug 8 17:58:38 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for vtk-4.2.6nb1
### Current pkg count:  16 installed packages: MesaLib-6.2.1nb2 SDL-1.2.8nb1 SDL_image-1.2.4nb1 aalib-x11-1.4.0.5 digest-20050323 gettext-lib-0.11.5nb4 glu-6.2.1nb1 gmake-3.80nb4 jpeg-6bnb3 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 pkg_install-info-4.5nb3 png-1.2.8 tiff-3.7.2nb1 x11-links-0.25 zlib-1.2.3
###
BULK> Full rebuild in progress...
BULK> Cleaning package vtk-4.2.6nb1 and pre-requisite packages
===> Cleaning for vtk-4.2.6nb1
===> Cleaning for cmake-2.0.5
===> Cleaning for gmake-3.80nb4
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for ncurses-5.4nb1
===> Cleaning for MesaLib-6.2.1nb2
===> Cleaning for x11-links-0.25
===> Cleaning for glu-6.2.1nb1
BULK> Removing installed packages which are not needed to build vtk-4.2.6nb1
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r jpeg-6bnb3
BULK> vtk-4.2.6nb1 requires installed package x11-links-0.25 (pkgtools/x11-links) to build.
BULK> vtk-4.2.6nb1 requires installed package MesaLib-6.2.1nb2 (graphics/MesaLib) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r aalib-x11-1.4.0.5
BULK> vtk-4.2.6nb1 requires installed package glu-6.2.1nb1 (graphics/glu) to build.
BULK> vtk-4.2.6nb1 requires installed package libiconv-1.9.2nb1 (converters/libiconv) to build.
BULK> vtk-4.2.6nb1 requires installed package gettext-lib-0.11.5nb4 (devel/gettext-lib) to build.
BULK> vtk-4.2.6nb1 requires installed package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) to build.
BULK> vtk-4.2.6nb1 requires installed package gmake-3.80nb4 (devel/gmake) to build.
BULK> vtk-4.2.6nb1 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r zlib-1.2.3
BULK> Installing packages which are required to build vtk-4.2.6nb1.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/cmake-2.0.5.tgz
tar: Unable to access share/CMake/Modules/Platform/SunOS.cmake (No such file or directory)
tar: WARNING! These file names were not selected:
share/CMake/Modules/Platform/SunOS.cmake
BULK> Required package gmake-3.80nb4 (devel/gmake) is already installed
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.2nb1 (converters/libiconv) is already installed
BULK> Required package libtool-base-1.5.18nb3 (devel/libtool-base) is already installed
BULK> Required package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) is already installed
BULK> Required package ncurses-5.4nb1 (devel/ncurses) is already installed
BULK> Required package MesaLib-6.2.1nb2 (graphics/MesaLib) is already installed
BULK> Required package x11-links-0.25 (pkgtools/x11-links) is already installed
BULK> Required package glu-6.2.1nb1 (graphics/glu) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (vtk-4.2.6nb1)
===> Checking for vulnerabilities in vtk-4.2.6nb1
=> Checksum SHA1 OK for VTK-4.2.6/VTK-4.2-LatestRelease.tar.gz.
=> Checksum RMD160 OK for VTK-4.2.6/VTK-4.2-LatestRelease.tar.gz.
work -> /pkgobj/graphics/vtk/work
===> Extracting for vtk-4.2.6nb1
===> Required installed package glu>=6.0.1nb2: glu-6.2.1nb1 found
===> Required installed package MesaLib>=6.2.1nb2: MesaLib-6.2.1nb2 found
===> Required installed package ncurses>=5.4nb1: ncurses-5.4nb1 found
===> Required installed package x11-links>=0.25: x11-links-0.25 found
===> Required installed package cmake>=2.0.2: cmake-2.0.5 found
===> Patching for vtk-4.2.6nb1
===> Overriding tools for vtk-4.2.6nb1
===> Creating toolchain wrappers for vtk-4.2.6nb1
===> Configuring for vtk-4.2.6nb1
cd /pkgobj/graphics/vtk/work/VTK && cmake . -DCMAKE_INSTALL_PREFIX:STRING=/usr/pkg  -DCMAKE_SHARED_LINKER_FLAGS:STRING=-Wl,-R/usr/pkg/lib/vtk  -DCMAKE_MODULE_LINKER_FLAGS:STRING=-Wl,-R/usr/pkg/lib/vtk  -DVTK_USE_HYBRID:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of void*
-- Check size of void* - done
-- Check size of char
-- Check size of char - done
-- Check size of short
-- Check size of short - done
-- Check size of float
-- Check size of float - done
-- Check size of double
-- Check size of double - done
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for sys/prctl.h
-- Looking for sys/prctl.h - not found.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Check if the system is big endian
-- Check if the system is big endian - big endian
-- Looking for XOpenDisplay in /usr/openwin/lib/libX11.so;/usr/openwin/lib/libXext.so
-- Looking for XOpenDisplay in /usr/openwin/lib/libX11.so;/usr/openwin/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - found
-- Looking for connect
-- Looking for connect - not found
-- Looking for connect in socket
-- Looking for connect in socket - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for thr_create in thread
-- Looking for thr_create in thread - found
-- Checking for CXX include file iostream
-- Checking for CXX include file iostream -- found
-- Check for STD namespace
-- Check for STD namespace - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Checking for CXX include file sstream
-- Checking for CXX include file sstream -- found
-- Check size of long long
-- Check size of long long - done
-- Checking support for C++ type bool
-- Checking support for C++ type bool -- yes
-- Checking support for C++ explicit template instantiation
-- Checking support for C++ explicit template instantiation -- yes
-- Compiling VTK CMake commands
-- Compiling VTK CMake commands - done
-- Loading VTK CMake commands
-- Loading VTK CMake commands - done
-- Using Buildname: SunOS-c++
-- Checking for CXX include file iosfwd
-- Checking for CXX include file iosfwd -- found
-- Checking for CXX include file iostream.h
-- Checking for CXX include file iostream.h -- found
-- Checking for CXX include file strstrea.h
-- Checking for CXX include file strstrea.h -- not found
-- Checking for CXX include file strstream.h
-- Checking for CXX include file strstream.h -- found
CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
OPENGL_INCLUDE_DIR (ADVANCED)

-- Configuring done
*** Error code 255

Stop.
bmake: stopped in /usr/pkgsrc/graphics/vtk
===> 
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /pkgobj/graphics/vtk/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/vtk

Please view the work log for vtk-4.2.6nb1


BULK> vtk-4.2.6nb1 was marked as broken:
-rw-r--r--   1 root     other       7725 Aug  8 18:02 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for vtk
BULK> Marking all packages which depend upon vtk-4.2.6nb1 as broken:
BULK> marking package that requires vtk-4.2.6nb1 as broken: vtk-python-4.2.6nb1 (graphics/vtk-python)
BULK> marking package that requires vtk-4.2.6nb1 as broken: MayaVi-1.3nb1 (graphics/mayavi)
BULK> Build for vtk-4.2.6nb1 was not successful, aborting.