[Mailman-Users] mailman-2.1.26: `make install` fails
Brent Kearney
brentk at birs.ca
Mon Jun 4 20:31:13 EDT 2018
Hello,
When I run 'make install’ on mailman-2.1.26 (with python 2.7), I get a fatal error in the “misc” directory. The complete output is below.
I notice that the "for p in ; \” has an empty list of packages. Perhaps that for loop should be surrounded by a conditional checking that the $(PACKAGES) variable is non-empty?
Best regards,
Brent
mailman-2.1.26]$ sudo make install
Creating architecture independent directories...
chmod o-r /opt/mailman/archives/private
Creating architecture dependent directories...
for f in mmsitepass newlist rmlist add_members list_members remove_members clone_member update arch sync_members check_db withlist check_perms find_member version config_list list_lists dumpdb cleanarch list_admins genaliases change_pw mailmanctl qrunner inject unshunt fix_url.py convert.py transcheck b4b5-archfix list_owners msgfmt.py show_qfiles discard rb-archfix reset_pw.py export.py mailman-config; \
do \
/opt/csw/bin/ginstall -c -m 755 ../build/bin/$f /opt/mailman/bin; \
done
for f in crontab.in; \
do \
/opt/csw/bin/ginstall -c -m 644 $f /opt/mailman/cron; \
done
for f in checkdbs mailpasswds senddigests gate_news nightly_gzip bumpdigests disabled cull_bad_shunt; \
do \
/opt/csw/bin/ginstall -c -m 755 ../build/cron/$f /opt/mailman/cron; \
done
for i in ./*.jpg ./*.png ./*.ico; \
do \
/opt/csw/bin/ginstall -c -m 644 $i /opt/mailman/icons; \
done
for d in bin cron scripts tests; \
do \
dir=/opt/mailman/$d; \
/opt/csw/bin/ginstall -c -m 644 paths.py $dir; \
done
/opt/csw/bin/ginstall -c -m 755 mailman /opt/mailman/scripts
/opt/csw/bin/ginstall -c -m 644 sitelist.cfg /opt/mailman/data
if [ -z "" -a -d /opt/mailman/pythonlib/email ] ; \
then \
rm -rf /opt/mailman/pythonlib/email* ; \
fi
for p in ; \
do \
gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \
(cd ./$p ; umask 02 ; PYTHONPATH=/opt/mailman/pythonlib /opt/csw/bin/python2.7 setup.py --quiet install --install-lib /opt/mailman/pythonlib --install-purelib /opt/mailman/pythonlib --install-data /opt/mailman/pythonlib); \
done
sh: syntax error at line 1: `;' unexpected
*** Error code 2
make: Fatal error: Command failed for target `install-packages'
Current working directory /opt/src/mailman-2.1.26/misc
*** Error code 1
The following command caused the error:
for d in bin cron misc Mailman scripts src templates messages tests; \
do \
(cd $d; make DESTDIR= install); \
done
make: Fatal error: Command failed for target `doinstall'
More information about the Mailman-Users
mailing list