|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
no /usr/ports or /usr/src/ports ??
Hello,
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. |
|
|||
There are several issues at play:
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. |
|
|||
Thanks so much for the detailed reply!
I think I'll just go the fresh install route; I had that old 3.8 system lying around and didn't realize how out of date it was. But I may do a subversion experiment first. Thanks again. I can see that this forum will be a huge help to my continuing education. |
|
|||
Quote:
As a newcomer to OpenBSD, you will save yourself a great deal of time & grief by familiarizing yourself with the contents found in the official FAQ. It is the single best place to find information on all things relating to OpenBSD: http://openbsd.org/faq/index.html Welcome! |
Tags |
makefile, packages, ports, subversion, svn |
Thread Tools | |
Display Modes | |
|
|
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 |