Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 26th July 2008
ukulele ukulele is offline
New User
Join Date: Jul 2008
Posts: 2
Default no /usr/ports or /usr/src/ports ??


I've set up an OpenBSD 3.8 system that I'm using as a webserver. I've got apache happily configured to serve three domains and run CGIs that I'm writing in Perl. Now I want Subversion, to use for source control.

It looks as though all you have to do is download the makefile from http://subversion.tigris.org/getting.html#freebsd, then run "make install" and make will get the sources .tgz, do the build and install svn, svnserve, etc.

But the above-linked page says you should be in /usr/ports/devel/subversion when you run make. Well, /usr/ports didn't exist, so I made those directories and ran "make install". Got the following fatal error:

"Could not find /usr/ports/infrastructure/mk/bsd.port.mk"

Then I found a note at http://monkey.org/openbsd/archive/mi.../msg00131.html which suggests you need to have PORTSDIR configured as /usr/src/ports. Trouble is, /usr/src is empty on my system, so I doubt make will find whatever it's looking for there, either. Ha ha!

I guess some package or other is not installed, to enable this kind of make. But what? And how do I install it? I do find make and gcc on the system, so there's some provision for development.
Reply With Quote

makefile, packages, ports, subversion, svn

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
packages vs ports zelut FreeBSD Ports and Packages 17 28th October 2009 08:19 AM
Broken ports in /usr/ports/x11 DNAeon FreeBSD Ports and Packages 3 5th July 2009 08:20 PM
How do you update ports? disappearedng FreeBSD General 6 8th November 2008 05:59 AM
Why ports? disappearedng FreeBSD Ports and Packages 14 20th July 2008 09:29 PM
Install ports from cd? xCipherx OpenBSD Packages and Ports 5 2nd June 2008 06:35 PM

All times are GMT. The time now is 09:34 PM.

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