I want to install Mailman here to replace majordomo for a few mail lists. My system includes postfix-2.5.2 and httpd-2.2.12, as well as the latest Mailman version downloaded at the end of last week.
With the source in /usr/local/mailman I ran './configure --with-mail-gid=postdrop --with-cgi-gid=apache' followed by 'make'. However, when I tried 'make install' (as root) I get this:
... /bin/ginstall: ./test_membership.py' and /usr/local/mailman/tests/test_membership.py' are the same file /bin/ginstall: ./test_message.py' and /usr/local/mailman/tests/test_message.py' are the same file /bin/ginstall: ./test_runners.py' and /usr/local/mailman/tests/test_runners.py' are the same file /bin/ginstall: ./test_safedict.py' and /usr/local/mailman/tests/test_safedict.py' are the same file /bin/ginstall: ./test_security_mgr.py' and /usr/local/mailman/tests/test_security_mgr.py' are the same file /bin/ginstall: ./test_smtp.py' and /usr/local/mailman/tests/test_smtp.py' are the same file /bin/ginstall: ./testall.py' and /usr/local/mailman/tests/testall.py' are the same file /bin/ginstall: ./EmailBase.py' and /usr/local/mailman/tests/EmailBase.py' are the same file /bin/ginstall: ./TestBase.py' and /usr/local/mailman/tests/TestBase.py' are the same file make[1]: *** [install] Error 1 make[1]: Leaving directory /usr/local/mailman/tests' make: *** [doinstall] Error 2
What do I do differently so the application installs?
Rich
Rich Shepard writes:
I want to install Mailman here to replace majordomo for a few mail lists. My system includes postfix-2.5.2 and httpd-2.2.12, as well as the latest Mailman version downloaded at the end of last week.
With the source in /usr/local/mailman
Move that whole directory and all its contents to /usr/local/src/mailman.
AIUI, Mailman is not designed to be run from the source directory, and by default it installs into /usr/local/mailman. So you're trying to overwrite the source with itself, usually a bad idea for a number of reasons.
On Tue, 18 Aug 2009, Stephen J. Turnbull wrote:
Move that whole directory and all its contents to /usr/local/src/mailman.
AIUI, Mailman is not designed to be run from the source directory, and by default it installs into /usr/local/mailman. So you're trying to overwrite the source with itself, usually a bad idea for a number of reasons.
Stephen,
OK. I was following the directions in the mailman-install.pdf. I'm surprised no mention was made of creating /usr/local/src/ and installing mailman there.
Thanks,
Rich
On Tue, 18 Aug 2009, Stephen J. Turnbull wrote:
Move that whole directory and all its contents to /usr/local/src/mailman.
AIUI, Mailman is not designed to be run from the source directory, and by default it installs into /usr/local/mailman. So you're trying to overwrite the source with itself, usually a bad idea for a number of reasons.
Stephen,
That's amazing! The installation instructions need to be changed to reflect this. What the step-by-step instructions should read is:
mkdir /usr/local/mailman
mkdir -p /usr/local/src/mailman
untar the downloaded tarball in the latter directory
cd /usr/local/src/mailman
run ./configure & make & make install in that directory.
This puts all the necessary files in /usr/local/mailman.
Final question on installation: can I now delete /usr/local/src/?
Thanks,
Rich
Rich Shepard writes:
Final question on installation: can I now delete /usr/local/src/?
Yes, you can. I usually don't, as source trees often contain random bits of documentation and information that don't get copied to the install tree. Backup to a CD before removing would be a good compromise.
Rich Shepard wrote:
That's amazing! The installation instructions need to be changed to reflect this. What the step-by-step instructions should read is:
mkdir /usr/local/mailman mkdir -p /usr/local/src/mailman
untar the downloaded tarball in the latter directory
cd /usr/local/src/mailman
run ./configure & make & make install in that directory.
This puts all the necessary files in /usr/local/mailman.
The directory into which you unpack the tarball and in which you run configure and make does not have to be /usr/local/src/mailman or any specific directory. It just needs to be different from the ultimate install directory ($prefix).
Granted, some mention of this could be made in the manual, and I'll do that, but this is standard GNU software installation practice.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (4)
-
Mark Sapiro
-
Rakotomandimby Mihamina
-
Rich Shepard
-
Stephen J. Turnbull