$ cat /etc/mk.conf
BSDOBJDIR=/var/obj
WRKOBJDIR=/var/obj2

$ sudo nice make install
===>  Configuring for gcc-4.2.20070307
loading site script /usr/ports/infrastructure/db/config.site
loading cache ./config.cache
checking host system type... i386-unknown-openbsd4.4
checking target system type... i386-unknown-openbsd4.4
checking build system type... i386-unknown-openbsd4.4
checking for a BSD compatible install... /usr/bin/install -c -o root -g bin
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... /var/obj2/gcc-4.2.20070307/bin/egcc
checking whether the C compiler (/var/obj2/gcc-4.2.20070307/bin/egcc -O2 -g ) 
works... no
configure: error: installation or configuration problem: C compiler cannot 
create executables.
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 2147 of 
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1427 of 
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1967 of 
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/lang/gcc/4.2 (line 1457 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

$ ls -ld /var/obj*
drwxr-xr-x    2 root  wheel   512 Dec 13 00:00 /var/obj
drwxr-xr-x  170 root  wheel  4608 Dec 13 13:50 /var/obj2

$ pkg_info
ORBit2-2.14.16      high-performance CORBA Object Request Broker
aalib-1.4           ascii art library
alacarte-0.11.6     easy GNOME menu editing tool
atk-1.24.0          accessibility toolkit used by gtk+
autoconf-2.13p1     automatically configure source code on many Un*x platforms
autoconf-2.52p3     automatically configure source code on many Un*x platforms
autoconf-2.59p3     automatically configure source code on many Un*x platforms
autoconf-2.61p3     automatically configure source code on many Un*x platforms
autoconf-2.62       automatically configure source code on many Un*x platforms
automake-1.9.6p2    GNU standards-compliant Makefile generator
bash-3.2.48         GNU Bourne Again Shell
bison-2.3           GNU parser generator
bzip2-1.0.5         block-sorting file compressor, unencumbered
cairo-1.8.2         vector graphics library
cdparanoia-3.a9.8p0 CDDA reading utility with extra data verification features
control-center2-2.24.0.1p0 GNOME control center
cups-1.2.7p14       Common Unix Printing System
curl-7.19.2         get files from FTP, Gopher, HTTP or HTTPS servers
cyrus-sasl-2.1.22p4 RFC 2222 SASL (Simple Authentication and Security Layer)
db-4.6.21           Berkeley DB package, revision 4
dbus-1.2.6          message bus system
dbus-glib-0.78      glib bindings for dbus message system
desktop-file-utils-0.15 utilities for 'desktop' entries
docbook-4.4         technical documentation XML/SGML definitions
docbook-dsssl-1.72  modular DSSSL stylesheets for the DocBook DTD
docbook-xsl-1.68.1p1 docbook XSL modular stylesheet
eel-2.24.1          Eazel Extensions Library
esound-0.2.38v0     sound library for Enlightenment
evolution-data-server-2.24.2 data backends for the Evolution mail/PIM suite
fam-2.7.0p6         File Alteration Monitor
flac-1.2.1p0        free lossless audio codec
fping-2.4b2p4       quickly ping N hosts w/o flooding the network
gconf2-2.24.0       configuration database system for GNOME
gdbm-1.8.3p0        GNU dbm
gettext-0.17p0      GNU gettext
ghostscript-8.63p1  GNU PostScript interpreter
ghostscript-fonts-8.11p0 35 standard PostScript fonts with Adobe name aliases
glib-1.2.10p2       useful routines for C programming
glib2-2.18.3        general-purpose utility library
glitz-0.5.6p0       OpenGL image compositing library
gmake-3.81p0        GNU make
gmp-4.2.4           library for arbitrary precision arithmetic
gnome-applets2-2.24.2p1 applets for use with the GNOME panel
gnome-backgrounds-2.24.0 wallpapers for GNOME
gnome-desktop-2.24.2 components for the GNOME desktop
gnome-doc-utils-0.10.3p6 collection of documentation utilities for the GNOME 
project
gnome-icon-theme-2.24.0 base icon theme for GNOME
gnome-keyring-2.24.1 password agent for the GNOME project
gnome-media-2.24.0.1 GNOME media utilities
gnome-menus-2.24.2  implementation of the FreeDesktop Desktop Menu Spec
gnome-mime-data-2.18.0p0 MIME and Application database for GNOME
gnome-panel-2.24.2p1 GNOME panel
gnome-settings-daemon-2.24.1 GNOME settings daemon
gnome-vfs2-2.24.0   GNOME Virtual File System
gnome2-user-docs-2.24.0 general GNOME User Documentation
gnugetopt-1.1.4p0   GNU getopt(1) utility
gperf-3.0.1         perfect hash functions, to help write parsers
gstreamer-0.10.19p0 streaming media framework - core
gstreamer-confelements-0.10.8p0 multimedia framework - conf elements
gstreamer-esd-0.10.8p0 multimedia framework - esound plugin
gstreamer-gnome-0.10.19p1 multimedia framework - gnome vfs plugin
gstreamer-plugins-base-0.10.19p0 multimedia framework - plugins base
gstreamer-plugins-good-0.10.8p5 multimedia framework - good plugins
gtk+-1.2.10p6       General Toolkit for X11 GUI
gtk+2-2.14.5p0      multi-platform graphical toolkit
gucharmap-2.24.2    Unicode character map for the GNOME project
help2man-1.29p0     GNU help2man
hicolor-icon-theme-0.10p4 high-color icon theme shell for GNOME and KDE
icon-naming-utils-0.8.7 compatibility tools from the Tango project
ijs-0.35            raster image transmission library
imlib2-1.4.0p0      image manipulation library
intltool-0.40.5     internationalization tool
iso-codes-3.3       lists of the country, language and currency iso names
iso8879-1986        character entity sets from ISO 8879:1986 (SGML)
jasper-1.900.1p0    reference implementation of JPEG-2000
jbigkit-1.6p1       lossless image compression library
jpeg-6bp3           IJG's JPEG compression utilities
libIDL-0.8.12       IDL parsing library
libart-2.3.20p0     high-performance 2D graphics library
libaudiofile-0.2.6p0 SGI audiofile library clone
libbonobo-2.24.0    GNOME component and compound document system
libbonoboui-2.24.0  user interface components for bonobo
libcaca-0.9p3       color ascii art library
libcanberra-0.10p0  implementation of the Freedesktop sound theme spec.
libcroco-0.6.1p0    generic CSS parsing library for GNOME project
libdv-0.104p2       Quasar DV codec
libexecinfo-1.1p0   clone of backtrace facility found in the GNU libc
libgcrypt-1.4.3     crypto library based on code used in GnuPG
libglade2-2.6.2p1   library for loading GLADE interface files at runtime
libgnome-2.24.1     libraries for the GNOME project
libgnomecanvas-2.20.1.1p4 graphics library for GNOME
libgnomekbd-2.24.0  keyboard configuration library
libgnomeprint-2.18.5 printing framework for GNOME
libgnomeprintui-2.18.3 user interface components for libgnomeprint
libgnomeui-2.24.0   user interface components for GNOME
libgpg-error-1.5    error codes for GnuPG related software
libgsf-1.14.10      GNOME Structured File library
libgtop2-2.20.1p0   portable library for obtaining system information
libgweather-2.24.2  weather information access library
libiconv-1.12       character set conversion library
libid3tag-0.15.1bp0 library for reading ID3 tags
libidn-1.1          internationalized string handling
libltdl-1.5.26      GNU libtool system independent dlopen wrapper
libnotify-0.4.4p3   send desktop notifications to a notification daemon
libogg-1.1.3        Ogg bitstream library
liboil-0.3.14p0     library of optimized inner loops
librsvg-2.22.3      SAX-based render library for SVG files
libshout-2.2.2p0    library for communicating with an icecast server
libsoup-2.24.2.1    SOAP implementation in C
libtasn1-1.5        Abstract Syntax Notation One structure parser library
libtheora-1.0beta3  open video codec
libtool-1.5.26p0    generic shared library support script
libungif-4.1.4p1    tools and library routines for working with GIF images
libvorbis-1.2.0p0   audio compression codec library
libwnck-2.24.2      window navigator construction kit
libxklavier-3.8     utility library for XKB
libxml-2.6.32p2     XML parsing library
libxslt-1.1.24      XSLT C Library for GNOME
m4-1.4.11           GNU m4
metaauto-0.9        wrapper for gnu auto*
metacity-2.24.0p0   lightweight window manager
mpfr-2.3.2          library for multiple-precision floating-point computations
mysql-client-5.0.67 multithreaded SQL database (client)
nasm-2.05.01        general-purpose multi-platform x86 assembler
net-snmp-5.4.2.1    extendable SNMP implementation
netpbm-10.26.57     toolkit for converting images between different formats
nspr-4.7.1p0        Netscape Portable Runtime
nss-3.12            libraries to support development of security-enabled apps
openldap-client-2.3.43 Open source LDAP software (client)
p5-XML-NamespaceSupport-1.09p0 perl module to the SAX2 NamespaceSupport class
p5-XML-Parser-2.36p1 perl module for parsing XML documents
p5-XML-SAX-0.96p0   perl interface to the SAX2 XML parser
p5-XML-Simple-2.18  trivial perl API for reading/writing XML
pango-1.22.3        library for layout and rendering of text
pcre-7.8            perl-compatible regular expression library
png-1.2.33          library for manipulating PNG images
popt-1.7p0          getopt(3)-like library with a number of enhancements
py-Numeric-23.1p2   fast array facility to the Python language
py-cairo-1.4.12p0   cairo bindings for Python
py-gnome-2.22.3p0   GNOME Python bindings
py-gnome-desktop-2.24.0 Python bindings for the GNOME desktop
py-gobject-2.15.4   Python bindings for glib2 gobject
py-gtk2-2.12.1p2    GTK+2 Python bindings
py-libxml-2.6.32    Python bindings for libxml
py-orbit-2.14.3p2   ORBit2 Python bindings
python-2.5.2p7      interpreted object-oriented programming language
python-expat-2.5.2p7 expat module for Python
samba-3.0.33        SMB and CIFS client and server for UNIX
scrollkeeper-0.3.14p5 Scrollkeeper Open Documentation Cataloging System
sdl-1.2.13p6        cross-platform multimedia library
shared-mime-info-0.51 shared mime database for desktops
speex-1.2rc1        patent-free speech codec
sqlite3-3.6.4p0     embedded SQL implementation
startup-notification-0.9 library for tracking application startup
taglib-1.4p2        managing meta-data of audio formats
tcl-8.4.7p6         Tool Command Language
tcl-8.5.5           Tool Command Language
tiff-3.8.2p2        tools and library routines for working with TIFF images
tk-8.4.7p2          graphical toolkit for Tcl
totem-pl-parser-2.24.3 GObject-based parsing library
transfig-3.2.5      tools to convert Xfig's .fig files
unzip-5.52p0        extract, list & test files in a ZIP archive
xdg-utils-1.0.2p1   utilities to assist desktop integration tasks
xmlto-0.0.18p1      front-end to an XSL toolchain
xulrunner-1.8.1.18  standalone XUL/XPCOM runtime environment
xulrunner-devel-1.8.1.18 devel files for Gecko
yasm-0.7.1          complete rewrite of the NASM assembler
yelp-2.18.1p5       GNOME help browser
zip-2.32            create/update ZIP files compatible with PKZip(tm)

Reply via email to