bmake: "../../pkgtools/x11-links/../../pkgtools/x11-links/xorg-version.mk" line 38: warning: Couldn't read shell's output for "/usr/X11/bin/Xquartz -version 2>&1 | /usr/bin/awk '/X.org Release / { print $3 }'" => Bootstrap dependency digest>=20010302: found digest-20111104 => Checksum SHA1 OK for djview-4.8.tar.gz => Checksum RMD160 OK for djview-4.8.tar.gz ===> Installing dependencies for djview4-4.8nb9 ========================================================================== The following variables will affect the build process of this package, djview4-4.8nb9. Their current value is shown below: * JPEG_DEFAULT = jpeg * SSLBASE = /usr * SSLCERTS = /etc/ssl/certs * SSLDIR = /etc/ssl * SSLKEYS = /etc/ssl/private Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Build dependency nbpatch-[0-9]*: found nbpatch-20100124 => Build dependency pkg-config>=0.25: found pkg-config-0.27.1 => Build dependency x11-links>=0.71: found x11-links-0.71 => Build dependency qt4-tools>=4.8.3nb2: found qt4-tools-4.8.3nb2 => Build dependency checkperms>=1.1: found checkperms-1.11 => Full dependency djvulibre-lib>=3.5.24: found djvulibre-lib-3.5.24 => Full dependency qt4-libs>=4.8.3nb2: found qt4-libs-4.8.3nb2 => Full dependency tiff>=4.0.0: found tiff-4.0.3 bmake: "../../pkgtools/x11-links/../../pkgtools/x11-links/xorg-version.mk" line 38: warning: Couldn't read shell's output for "/usr/X11/bin/Xquartz -version 2>&1 | /usr/bin/awk '/X.org Release / { print $3 }'" ===> Overriding tools for djview4-4.8nb9 ===> Extracting for djview4-4.8nb9 ===> Patching for djview4-4.8nb9 => Applying pkgsrc patches for djview4-4.8nb9 => Fixing hardcoded paths. ===> Creating toolchain wrappers for djview4-4.8nb9 ===> Configuring for djview4-4.8nb9 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Checking for portability problems in extracted files checking build system type... i386-apple-darwin12 checking host system type... i386-apple-darwin12 checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for rm... /bin/rm checking for touch... /usr/bin/touch checking for mkdir... /bin/mkdir -p checking for rsvg... false checking for convert... false checking for a BSD-compatible install... /usr/bin/install -c -o kristerw -g staff checking for i386-apple-darwin12-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking if g++ accepts -Wall... yes checking if g++ accepts -O2... yes checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files... -r checking for i386-apple-darwin12-objdump... no checking for objdump... no checking how to recognize dependent libraries... pass_all checking for i386-apple-darwin12-ar... no checking for ar... ar checking for i386-apple-darwin12-strip... no checking for strip... strip checking for i386-apple-darwin12-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm output from gcc object... ok checking for i386-apple-darwin12-dsymutil... no checking for dsymutil... dsymutil checking for i386-apple-darwin12-nmedit... no checking for nmedit... nmedit checking for i386-apple-darwin12-lipo... no checking for lipo... lipo checking for i386-apple-darwin12-otool... no checking for otool... otool checking for i386-apple-darwin12-otool64... no checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin12 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no checking whether the g++ linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin12 dyld checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for sigaction... yes checking for strerror... yes checking for waitpid... yes checking for wait3... yes checking for pkg-config... /Users/kristerw/pbulk/scratch/graphics/djview4/work/.tools/bin/pkg-config checking for X... libraries /usr/X11/lib, headers /usr/X11/include checking whether -R must be followed by a space... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes Program qmake reports Qt version 4.8.3. checking for rcc-qt4... no checking for rcc... /usr/pkg/qt4/bin/rcc checking for lupdate-qt4... no checking for lupdate... /usr/pkg/qt4/bin/lupdate checking for lrelease-qt4... no checking for lrelease... /usr/pkg/qt4/bin/lrelease checking for ddjvuapi... found setting DDJVUAPI_LIBS=-L/usr/pkg/lib -ldjvulibre setting DDJVUAPI_CFLAGS=-I/usr/pkg/include checking for the libtiff library... yes setting TIFF_CFLAGS= setting TIFF_LIBS=-ltiff checking for X... libraries /usr/X11/lib, headers /usr/X11/include checking whether -R must be followed by a space... no checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking for glib... not found by pkg-config checking X11/Shell.h usability... yes checking X11/Shell.h presence... yes checking for X11/Shell.h... yes checking X11/IntrinsicP.h usability... yes checking X11/IntrinsicP.h presence... yes checking for X11/IntrinsicP.h... yes configure: WARNING: GLib not found. Compiling plugin without XEmbed. checking whether Q_WS_X11 is declared... no configure: WARNING: Disabling plugin compilation (need X11-based version of Qt.) configure: If you have an X11-supporting Qt, try: configure: CPPFLAGS=-D__USE_WS_X11__ ./configure ... checking for xdg-mime... no checking for xdg-icon-resource... no checking for xdg-desktop-menu... no configure: creating ./config.status config.status: creating Makefile config.status: creating nsdejavu/Makefile config.status: creating desktopfiles/Makefile config.status: creating config.h config.status: executing libtool commands config.status: executing qmake_src commands config.status: running /usr/pkg/qt4/bin/qmake -spec "/usr/pkg/qt4/mkspecs/netbsd-g++" CONFIG+=autoconf CONFIG+=release QMAKE_UIC="/usr/pkg/qt4/bin/uic" QMAKE_MOC="/usr/pkg/qt4/bin/moc" QMAKE_RCC="/usr/pkg/qt4/bin/rcc" LIBS+="-L/usr/pkg/lib -ldjvulibre -ltiff " QMAKE_LFLAGS+="-L/usr/pkg/lib -L/usr/pkg/qt4/lib -L/usr/X11/lib -L/usr/lib" QMAKE_CFLAGS+=" -pipe -I/usr/pkg/include -I/usr/pkg/qt4/include -I/usr/X11/include -I/usr/include -I/usr/X11/include/freetype2 -I.././src -I.. -I/usr/pkg/include " QMAKE_CXXFLAGS+=" -pipe -I/usr/pkg/include -I/usr/pkg/qt4/include -I/usr/X11/include -I/usr/include -I/usr/X11/include/freetype2 -I.././src -I.. -I/usr/pkg/include " QMAKE_CPPFLAGS+="-no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/pkg/qt4/include -I/usr/X11/include -I/usr/include -I/usr/X11/include/freetype2 -I.././src -I.. -I/usr/pkg/include " VPATH=".././src". Configuration is done. Compile with command: $ make Then install the binaries in /usr/pkg with command: # make install