View Single Post
  #3   (View Single Post)  
Old 29th October 2009
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by shep View Post
My question is where most of the build occurs ?/tmp and how big should I make the directory to compile jdk 1.5, mplayer-codecs, libdvdcss?
Issuing the following:

$ df -h

...will help you pinpoint errant partition sizes.

If you are not changing the locations of where the ports tree builds applications, all versions of the JDK are primarily built underneath /usr/ports/devel/jdk & /usr/ports/obj, however, there are dependencies which will be built throughout the tree. Personally, I allocate 35-50GB as a single partition mounted as /usr/ports, but this is (intentionally) larger than what I ever need, but at times I build very large applications -- OpenOffice, etc., so I don't want to run into the situation you are experiencing now. 35GB is usually enough for everything, but I sometimes allocate more if I have the disk space to spare.

Cleaning object file & distfiles after building all applications can help if disk space is at a premium.

Likewise, note that only JDK versions prior to 1.7 require building as JDK 1.7 is available as a package as discussed in Section 8.3 of the FAQ.
Reply With Quote