![]() |
|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I can't get Postfix from snapshots to install on OpenBSD 4.3
I have tried to install Postfix from both snapshots and stable to install on OpenBSD 4.3 but I get this: c -DFD_SETSIZE=2048 -DDEF_CONFIG_DIR=\"/etc/postfix\" -DDEF_DATA_DIR=\"/var/pos tfix\" -DUSE_TLS -DUSE_SASL_AUTH -DHAS_PCRE -I/usr/local/include -I/usr/local/in clude -I/usr/local/include/sasl -DUSE_CYRUS_SASL -I/usr/local/include/mysql -DHA S_MYSQL -DSNAPSHOT -O2 -pipe -I. -I../../include -DOPENBSD4 -c discard.c cc -DFD_SETSIZE=2048 -DDEF_CONFIG_DIR=\"/etc/postfix\" -DDEF_DATA_DIR=\"/var/pos tfix\" -DUSE_TLS -DUSE_SASL_AUTH -DHAS_PCRE -I/usr/local/include -I/usr/local/in clude -I/usr/local/include/sasl -DUSE_CYRUS_SASL -I/usr/local/include/mysql -DHA S_MYSQL -DSNAPSHOT -O2 -pipe -I. -I../../include -DOPENBSD4 -o discard discard. o ../../lib/libmaster.a ../../lib/libglobal.a ../../lib/libutil.a -lssl -lcrypto -L/usr/local/lib -lpcre -L/usr/local/lib -lsasl2 -L/usr/local/lib/mysql -lmysql client ../../lib/libutil.a(concatenate.o)(.text+0x64): In function `concatenate': : warning: strcpy() is almost always misused, please use strlcpy() ../../lib/libglobal.a(mail_conf_int.o)(.text+0x1ae): In function `set_mail_conf_ int': : warning: sprintf() is often misused, please use snprintf() ../../lib/libutil.a(concatenate.o)(.text+0x84): In function `concatenate': : warning: strcat() is almost always misused, please use strlcat() cp discard ../../libexec [src/tlsmgr] cc -DFD_SETSIZE=2048 -DDEF_CONFIG_DIR=\"/etc/postfix\" -DDEF_DATA_DIR=\"/var/pos tfix\" -DUSE_TLS -DUSE_SASL_AUTH -DHAS_PCRE -I/usr/local/include -I/usr/local/in clude -I/usr/local/include/sasl -DUSE_CYRUS_SASL -I/usr/local/include/mysql -DHA S_MYSQL -DSNAPSHOT -O2 -pipe -I. -I../../include -DOPENBSD4 -c tlsmgr.c cc -DFD_SETSIZE=2048 -DDEF_CONFIG_DIR=\"/etc/postfix\" -DDEF_DATA_DIR=\"/var/pos tfix\" -DUSE_TLS -DUSE_SASL_AUTH -DHAS_PCRE -I/usr/local/include -I/usr/local/in clude -I/usr/local/include/sasl -DUSE_CYRUS_SASL -I/usr/local/include/mysql -DHA S_MYSQL -DSNAPSHOT -O2 -pipe -I. -I../../include -DOPENBSD4 -o tlsmgr tlsmgr.o ../../lib/libmaster.a ../../lib/libtls.a ../../lib/libglobal.a ../../lib/libuti l.a -lssl -lcrypto -L/usr/local/lib -lpcre -L/usr/local/lib -lsasl2 -L/usr/local /lib/mysql -lmysqlclient ../../lib/libutil.a(concatenate.o)(.text+0x64): In function `concatenate': : warning: strcpy() is almost always misused, please use strlcpy() ../../lib/libglobal.a(mail_conf_int.o)(.text+0x1ae): In function `set_mail_conf_ int': : warning: sprintf() is often misused, please use snprintf() ../../lib/libutil.a(concatenate.o)(.text+0x84): In function `concatenate': : warning: strcat() is almost always misused, please use strlcat() cp tlsmgr ../../libexec ===> Faking installation for postfix-2.6.20080216p1-sasl2-mysql /bin/sh: cd: /usr/ports/mail/postfix/snapshot/w-postfix-2.6.20080216p1/postfix-2 .6-20080216 - No such file or directory *** Error code 1 Stop in /usr/ports/mail/postfix/snapshot (line 110 of /usr/ports/mail/postfix/sn apshot/../Makefile.inc). *** Error code 1 Stop in /usr/ports/mail/postfix/snapshot (line 2146 of /usr/ports/infrastructure /mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/mail/postfix/snapshot (line 1392 of /usr/ports/infrastructure /mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/mail/postfix/snapshot (line 1890 of /usr/ports/infrastructure /mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/mail/postfix/snapshot (line 1422 of /usr/ports/infrastructure /mk/bsd.port.mk). I can install one of the packages for Postfix but I can't get sasl and mysql support if I do that. |
|
|||
![]() Quote:
![]() I will read the FAQ section, which I have probably read but forgotten, so I should check the document more often. |
|
|||
![]()
Having read the section in the FAQ to which I was referred, that still does not explain why even the stable Postfix port produced similar errors. I should probably change to another machine on which I already have FreeBSD installed; I am more familiar with that than with OpenBSD.
BTW I had read the section in the FAQ before but didn't realize this applied to my situation. I had not realized I was mixing different releases, since I am using the ports tree for OpenBSD 4.3 Last edited by Pollywog; 18th July 2008 at 09:15 PM. |
|
|||
![]()
Wanna drop the attitude next time Oko ? I'm going to suspend your account if i see another complaint about the tone of your posts!
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison Forum Netiquette |
|
||||
![]() Quote:
You don't have to worry about my posts any more. It is the last one. I am self suspending my account forever ![]() |
|
|||
![]() Quote:
I wasn't expecting sympathy, just asking for a little help, and you helped. I have a very similar configuration working on my FreeBSD Postfix system and that works, so I think I should convert the OpenBSD system to FreeBSD since I have a little more experience with that. Thanks, and I wasn't expecting anyone to do the work for me. I just wasn't born knowing how to do this stuff and one learns by reading and making mistakes. |
|
||||
![]() Quote:
The unfriendly, disrespectful, and hostile tone might be a few other things ... Yes, the answer may be in the manual but there are lots of pages in the manual, and it's very normal/human not to read all of them letter by letter and make mistakes, especially if you're under some pressure to get things working and/or you're used to a system which is both similar and very different (FreeBSD ports). There is nothing wrong with pointing out to someone that he/she should put a bit more effort in finding a solution for himself, rather than asking for a read-made solution at forums, but this can be said respectfully too ... Aside from this, it would seem that Pollywog actually did read te manual, but is confused by it and/or misunderstood something ... Which is not so strange since it would seem that he expects OpenBSD ports to behave the same as FreeBSD ports ... Which they don't ... I made the same mistake, and I'm pretty sure lots of other people have too...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
![]() Quote:
|
|
||||
![]()
1) I sympathize; it can be confusing.
2) Part of the confusion may be Postfix itself; there are two versions called "stable" and "snapshot" that are both available with 4.3-release; the terms "snapshot" and "stable" have different meanings in OpenBSD than they do when used by Postfix. 3) Looking at the posted build output, above, it looks like the FLAVOR environment variable was not passed to the "make fake" step. If so, perhaps you did a "make build" with FLAVOR set, but then did a "make install" without it. As your excerpt does not include the commands you used; that's just a guess. |
|
|||
![]() Quote:
Postfix on the other hand it relatively easy to configure more so than sendmail.. I don't care what these other guys say about Sendmail.. it isn't built for humans.. ![]() rk
__________________
All posts sent on ReCycled Electrons... Last edited by roundkat; 19th July 2008 at 09:27 PM. |
|
|||
![]() Quote:
I forgot to look for "OpenBSD for Dummies" when I was at the bookstore but I will be sure to check next time I am there. |
|
|||
![]()
Here is a excerpt from Matty's Blog
Quote:
regarding syntax, look at this. Code:
# cd /usr/ports/mail/postfix/snapshot # env FLAVOR="mysql sasl2" make install
__________________
All posts sent on ReCycled Electrons... |
|
|||
![]() Quote:
|
|
|||
![]() Quote:
Thanks for the URL's, I will have a look there. |
|
|||
![]() Quote:
I know there is a book about OpenBSD but it is out of print. I use a book for FreeBSD and it is a great source of information. |
|
||||
![]()
Don't follow "HowTo" documents. That said, you can learn from them, and use them to provide some direction, or perhaps areas to research. It is safest to assume from the outset that the person who wrote the document:
|
|
|||
![]() Quote:
I read the section of the FAQ that pertains to FLAVORS and I think I will stick with the packages until I understand OpenBSD better. I have used one or two other ports when packages were not available and didn't have any problems with those. |
|
|||
![]() Quote:
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
__________________
All posts sent on ReCycled Electrons... |
![]() |
Tags |
postfix openbsd |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
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 |