DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 6th February 2013
haziz haziz is offline
New User
 
Join Date: Jan 2013
Posts: 7
Thanked 0 Times in 0 Posts
Default Cleaning up after a failed Ports Make Install Attempt?

I am trying to clean up after failed installs from ports of Emacs 21 and Emacs 23 as well as Git. I was trying to install Emacs and Git on an OpenBSD v5.2 install on a DEC VaxStation 4000 model 90. It has a staggering 32 megs of RAM and a 2.1 gig hard drive, very high end for 1991, but all this now seems puny; so yes every last megabyte of hard drive space does matter on this hard drive which is now already 72% full.

My attempts at the installs using "make install" within the appropriate directory of the `/usr/ports` tree have failed. I did run "make clean" after each failed compilation and have also checked `/tmp` and it is largely empty. OpenBSD seems to also flush `/tmp` with each reboot. The hard drive capacity does however seem to shrink with each failed program compilation so I am probably accumulating some programs or tarballs or cruft with each attempted installation.

The programs in question are not available as binary packages for the VAX architecture.

How do I clean up after failed ports compilations in this scenario?
Reply With Quote
  #2   (View Single Post)  
Old 7th February 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,612
Thanked 214 Times in 189 Posts
Default

From memory, I recall that ports are built in /usr/ports/pobj.

To record the console for later review, try the script(1) program.
Reply With Quote
  #3   (View Single Post)  
Old 7th February 2013
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,612
Thanked 214 Times in 189 Posts
Default

Now that I'm off my phone and can type with less trouble ...

The "build" directories default to /usr/ports/pobj. This can be changed by setting the $WRKOBJDIR environment variable.

FAQ 15 is a good start, but for additional environment variables and details of port building, see the ports(7) man page. For a complete list of all environment variables and even more detail, see bsd.port.mk(5).
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Write failed: Broken pipe .. while updating ports tree daemonfowl OpenBSD Packages and Ports 5 28th June 2012 12:58 AM
Second attempt to install OpenBSD on my troublesome system aleunix OpenBSD Installation and Upgrading 26 1st March 2012 08:46 AM
Booting netBSD 5 install failed dk_zero-cool NetBSD Installation and Upgrading 10 5th May 2009 12:23 PM
ran make deinstall in /usr/ports/multimedia/ How do I undo this? kasse FreeBSD General 11 5th September 2008 08:22 AM
passing make args/variables to builds of prerequisite ports jbhappy FreeBSD Ports and Packages 2 18th July 2008 02:35 PM


All times are GMT. The time now is 07:53 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick