View Single Post
  #2   (View Single Post)  
Old 26th July 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by ukulele View Post
.../usr/src is empty on my system...
There are several issues at play:
  • OpenBSD 3.8 was released November 1, 2005 which makes it nearly 3 years old. This release is no longer supported. Note that OpenBSD 4.4 will be released November 1, 2008.
  • /usr/src & /usr/ports are not populated by default. If you have the distribution CD set, you will find the following:
    • src.tar.gz
    • sys.tar.gz
    • ports.tar.gz
    ...there, or on a mirror site located under pub/OpenBSD/3.8. Assuming you have copied these files to /tmp, issue the following commands:
    Code:
    # cd /usr/src; tar xzf /tmp/src.tar.gz
    # cd /usr/src; tar xzf /tmp/sys.tar.gz
    # cd /usr; tar xzf /tmp/ports.tar.gz
    ...will populate /usr/src & /usr/ports as expected.

    The point here is that the contents of src.tar.gz & sys.tar.gz both go into /usr/src while the contents of ports.tar.gz go into /usr/ports.
  • If your goal is to install Subversion, downloading the files described in your initial post means that you will be having to port anything (libraries, system calls...) not specific to OpenBSD. Even if you are versed in porting software, you may or may not be successful at this venture, & expect the effort to be very time-consuming. You will be saving yourself significant grief by installing the pre-built package available at pub/OpenBSD/3.8/packages/i386 assuming you are running on the i386 platform. The version found there is:

    subversion-1.2.1.tgz

    Note that all packages found in that directory will also be three years old, & installing versions of newer packages is not supported given the tight coupling between the kernel & userland. For more information on installing packages, study Section 15.2.2:

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

    More importantly, study the pkg_add(1) manpage given that the information currently in the FAQ is specific to OpenBSD 4.3. The manpage link provided is specific to 3.8.
Note that you can upgrade from 3.8 to 4.3 or 4.4, but you will need to upgrade sequentially through all intermediate versions: 3.8 to 3.9 to 4.0, etc. all the way to either 4.3 or 4.4 once it is available.

My recommendation would be to do a fresh install. Information for installing OpenBSD 4.3 can be found in Section 4 of the FAQ:

http://openbsd.org/faq/faq4.html

More information on the packages/ports system can be found in Section 15:

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

Last edited by ocicat; 27th July 2008 at 03:53 AM.
Reply With Quote