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'
On 06/04/2018 05:31 PM, Brent Kearney wrote:
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?
What version of make do you have. It works fine for me with GNU Make 4.1.
Also, since Mailman 2.1.13, the settings for EMAILPKG, JACODECSPKG and KOCODECSPKG and hence for PACKAGES are always empty if the underlying Python on the system running configure has email>=2.5.8 and iso-2022-jp and euc-kr codecs in its library which is true of Python since 2.4, and this is the first I've heard of this issue.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Thanks Mark; its an old Sun Solaris 10 system. I’m not sure how to get the version from make itself, but the GCC version is 3.4.3.
On Jun 5, 2018, at 14:17, Mark Sapiro mark@msapiro.net wrote:
On 06/04/2018 05:31 PM, Brent Kearney wrote:
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?
What version of make do you have. It works fine for me with GNU Make 4.1.
Also, since Mailman 2.1.13, the settings for EMAILPKG, JACODECSPKG and KOCODECSPKG and hence for PACKAGES are always empty if the underlying Python on the system running configure has email>=2.5.8 and iso-2022-jp and euc-kr codecs in its library which is true of Python since 2.4, and this is the first I've heard of this issue.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/brentk%40birs.ca
On 06/05/2018 01:40 PM, Brent Kearney wrote:
Thanks Mark; its an old Sun Solaris 10 system. I’m not sure how to get the version from make itself, but the GCC version is 3.4.3.
Try
make --version
or if that doesn't work,
make --help
to see the options.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
That was the first thing I tried :). It is whatever version of make shipped with SunStudio 12, around 2008, I think. I wouldn’t worry about this, its an edge-case, and was easy to monkey-patch myself to make it work. In retrospect, I should have run gmake
, for GNU make.
$ make --help Usage : make [ -f makefile ][ -K statefile ]... [ -d ][ -dd ][ -D ][ -DD ] [ -e ][ -i ][ -k ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ] [ -u ][ -w ][ -V ][ target... ][ macro=value... ][ "macro +=value"... ] make: Fatal error: Missing argument after `—'
$ make --version make: Warning: Ignoring DistributedMake -v option make: Warning: Ignoring DistributedMake -o option make: Fatal error: No dmake output dir argument after -o flag
Best wishes, Brent
On Jun 5, 2018, at 15:10, Mark Sapiro mark@msapiro.net wrote:
On 06/05/2018 01:40 PM, Brent Kearney wrote:
Thanks Mark; its an old Sun Solaris 10 system. I’m not sure how to get the version from make itself, but the GCC version is 3.4.3.
Try
make --version
or if that doesn't work,
make --help
to see the options.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/brentk%40birs.ca
participants (2)
-
Brent Kearney
-
Mark Sapiro