View Single Post
  #8   (View Single Post)  
Old 20th June 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by bsdnewbie999 View Post
I download the ports.tar.gz and extract to /usr/
...but from what directory did you get this file?

Two points:
  • ports.tar.gz can be found in several different directories. This is done because the ports tree is available in different flavors. If you are unfamiliar with flavors, you need to study & understand Section 5.1 of the FAQ:

    http://openbsd.org/faq/faq5.html#Flavors

    ...& using the ports tree from -current on a -release installation is neither recommended nor supported. For more information, see Section 15.4.1 for more details:

    http://openbsd.org/faq/faq15.html#NoFun

    If you downloaded the wrong version of the ports tree, this may account for why you are continually getting weird build errors.
  • As has been repeatedly recommended to you, don't build from ports when pre-compiled packages are available. Nothing is gained by compiling applications yourself. By compiling from ports, you are building a local copy of the same package files which are found on the mirrors. Again, nothing is gained from compiling yourself over using packages that are already built.
A number of people have been providing you links to relevant sections of the FAQ. We do this because the answers to a lot of the problems & predicaments you are getting yourself into are explained there. As I have said to you numerous times before: study the FAQ. It will save you a lot of time & aggravation.
Reply With Quote