On Sunday, Sep 7, 2003, at 15:12 US/Central, Sam Varshavchik wrote:

Guy LOUIS writes:

Hi James,
I had choosen sqwebmail 3.5 because I used a Qmail Step-by-Step procedure which shows this version. Now I downloaded SQWM 3.6 and the installation works *almost* fine.
Here is the error I got at the end of the "make install" or "make install-strip" process:
...
make install-data-hook
mksoftlinks /usr/local/share/sqwebmail/html en-us
/bin/sh ./../mkinstalldirs /usr/local/share/sqwebmail
/usr/bin/install -c -m 644 ldapaddressbook.dist /usr/local/share/sqwebmail/ldapaddressbook.dist
/bin/sh ./../mkinstalldirs /var/run/sqwebmail
test -w /etc || exit 0; chown bin /var/run/sqwebmail
chown: bin: invalid user name
make[4]: *** [cache-reminder] Error 1
make[3]: *** [install-am] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-strip] Error 2
"bin" in chown is not a user, even in Belgium :-)


Oh yeah, I almost forgot that one... Mac OS X doesn't have a "bin" user. It has the "bin" group, but not the user. That is a problem -- as you've noticed. =)


Sorry. I had a document around here that I had started, which had all this info in it about how to install Courier on OS X. But I stopped maintaining it before I even finished it, and so never got around to posting it either.


Use the --with-cacheowner option to the configure script.


Right, except I believe there are some other files that sqwebmail will try to install as the "bin" user. Aren't there, Sam? (Courier does at least.) If so, they'll also complain... and you'll have to adjust their options too -- assuming they all have them.


Anyway, I just created the "bin" user on my OS X system to get around this problem. You have to know what you're doing with NetInfo (or at least feel okay about probably screwing up your machine if you don't know NetInfo) to do that though.

Of course, there's no harm in changing the --with-cacheowner setting and just *seeing* if there's anything else that's going to complain that the "bin" user doesn't exist in OS X. I do think there are some others, but you could obviously just check to be sure -- especially if you want to try going the easy route first. ;-)

-jab


P.S. Okay, here it is! -- I looked around a bit and found the file I mentioned I had been working on previously. As I said, it's for installing the full Courier package, so it's got some info that you won't need for just SqWebMail. But at least some of the things still apply. -- Not that you need many of them at this point. You're almost done, I think. But here it is for your reference regardless.


http://mboro.org/~james/courier/Installing%20Courier- MTA%20on%20OS%20X.txt

(For you list archive readers of the future, this URL is not permanent... but I'll try to leave it there for a good long time at least. :)

P.P.S. Actually, after looking over it again, I'm not sure what exactly was missing from it that I thought I was still waiting on... Maybe some more details about a few of the things such as NetInfo user creation or the problems I had with "make check". I'm not sure any more. Anyway, it's at least fairly complete, even if not fully so. Enjoy!


Reply via email to