DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
Old 20th July 2008
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Default

IMHO, this entire thread is full of examples of what to do and not to do with regards to both posting on this forum, and working with OBSD documentation to accomplish your objectives.
__________________
Network Firefighter
Reply With Quote
Old 21st July 2008
Pollywog Pollywog is offline
Port Guard
 
Join Date: Jul 2008
Posts: 12
Default

Quote:
Originally Posted by roundkat View Post
No worries..
As a rule you should always update the kernel and userland.

Anoncvs look here
Patching look here.

by keeping your kernel and userland in sync you will avoid a lot of weird issues..

rk
I got an idea... if I do a *clean install* of OpenBSD, would I then be able to properly compile Postfix in /usr/ports/mail/postfix/stable ?

After all, things are messed up because I upgraded from OBSD 4.2 to 4.3 without upgrading the sources and kernel.

OpenBSD is so easy and fast to install that a clean install is less troublesome than a clean install in Linux or FreeBSD, IMHO.
Reply With Quote
Old 21st July 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

A clean install of 4.3, obtained from /pub/OpenBSD/4.3/<arch>/ at your nearest mirror would install "4.3-release." You will need the matching ports tree, obtained from the same mirror, in /pub/OpenBSD/4.3/ports.tar.gz.

The fastest way to prepare the build is to install all dependent packages needed to build Postfix, first. Setting your FLAVOR environment variable, then issuing "make print-build-depends" will give you the list of packages to install. Set your PKG_PATH appropriately to the /pub/OpenBSD/4.3/packages/<arch>/ of your nearest mirror.
Reply With Quote
Old 21st July 2008
Pollywog Pollywog is offline
Port Guard
 
Join Date: Jul 2008
Posts: 12
Default

Quote:
Originally Posted by jggimi View Post
A clean install of 4.3, obtained from /pub/OpenBSD/4.3/<arch>/ at your nearest mirror would install "4.3-release." You will need the matching ports tree, obtained from the same mirror, in /pub/OpenBSD/4.3/ports.tar.gz.
Yes, I am aware of that except that I did not know the ports tree had to be obtained from the same mirror. I will need to burn a new ISO to be sure I do get the ports tree from the same place.


thanks
Reply With Quote
Old 21st July 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

It doesn't have to come from the same mirror -- that's a matter of convenience -- but it does need to be in synch with the -release you've chosen. e.g.: 4.2 with 4.2, 4.3 with 4.3.
Reply With Quote
Old 22nd July 2008
Pollywog Pollywog is offline
Port Guard
 
Join Date: Jul 2008
Posts: 12
Default SOLVED

Quote:
Originally Posted by jggimi View Post
It doesn't have to come from the same mirror -- that's a matter of convenience -- but it does need to be in synch with the -release you've chosen. e.g.: 4.2 with 4.2, 4.3 with 4.3.
Thanks to you all all the others who helped. I did a clean install and successfully installed Postfix from ports with mysql and sasl2 support.
Reply With Quote
Reply

Tags
postfix openbsd

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
cannot install wireshark from ports ccc FreeBSD Ports and Packages 1 1st February 2009 05:52 PM
Unable to make install on Subversion port Fuitad FreeBSD Ports and Packages 2 28th July 2008 04:49 PM
Can't install opera from ports erno FreeBSD Ports and Packages 2 25th June 2008 10:25 AM
OBSD 4.3 Customize site43 & install.site problems gamaliel OpenBSD Installation and Upgrading 7 3rd June 2008 03:25 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:01 AM.


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