Still having japanese codec problems

Hello guys
I still have big troubles compiling mailman 2.1.8 on a Solaris 10 06/06 sparc (SunFire V120) box. I tried with several Python Versions. SUNWones (SUNWPython / SUNWPython-devel v2.3.3), all which are available from sunfreeware (2.3.3 / 2.4.2 / 2.4.3) (2.4.3 gives a pythone too old message).
I uncommented the jp / korean import things from paths.py, which reads as follows (checked after each step):
[snip]
# In a normal interactive Python environment, the japanese.pth and korean.pth # files would be imported automatically. But because we inhibit the importing # of the site module, we need to be explicit about importing these codecs. #import japanese # As of KoreanCodecs 2.0.5, you had to do the second import to get the Korean # codecs installed, however leave the first import in there in case an upgrade # changes this. #import korean #import korean.aliases # Arabic and Hebrew (RFC-1556) encoding aliases. (temporary solution) import encodings.aliases encodings.aliases.aliases.update({ 'iso_8859_6_e': 'iso8859_6', 'iso_8859_6_i': 'iso8859_6', 'iso_8859_8_e': 'iso8859_8', 'iso_8859_8_i': 'iso8859_8', }) -bash-3.00#
-bash-3.00# make distclean [snip]
-bash-3.00# ./configure --with-python=/usr/local/bin/python creating cache ./config.cache checking for --with-python... /usr/local/bin/python checking Python interpreter... /usr/local/bin/python checking Python version... 2.3.3 checking that Python has a working distutils... yes checking for a BSD compatible install... ./install-sh -c checking whether make sets ${MAKE}... yes checking for true... /usr/bin/true checking for --without-gcc... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether #! works in shell scripts... yes checking for --with-var-prefix... no checking for --with-permcheck... yes checking for --with-username... mailman checking for user name "mailman"... okay checking for --with-groupname... mailman checki^C'import site' failed; use -v for traceback -bash-3.00# ./configure --with-python=/usr/local/bin/python loading cache ./config.cache checking for --with-python... /usr/local/bin/python checking Python interpreter... /usr/local/bin/python checking Python version... 2.3.3 checking that Python has a working distutils... yes checking for a BSD compatible install... ./install-sh -c checking whether make sets ${MAKE}... yes checking for true... /usr/bin/true checking for --without-gcc... no checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether #! works in shell scripts... yes checking for --with-var-prefix... no checking for --with-permcheck... yes checking for --with-username... mailman checking for user name "mailman"... okay checking for --with-groupname... mailman checking for group name "mailman"... okay checking permissions on /usr/local/mailman... okay checking for mail wrapper group; i.e. --with-mail-gid... mailman checking for CGI wrapper group; i.e. --with-cgi-gid... nobody checking for CGI extensions... no checking for --with-mailhost... no checking for --with-urlhost... no checking for default mail host name... bahamas checking for default URL host component... bahamas checking for strerror... yes checking for setregid... yes checking for syslog... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for syslog.h... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for vsnprintf... yes updating cache ./config.cache creating ./config.status creating misc/paths.py creating Mailman/Defaults.py creating Mailman/mm_cfg.py.dist creating src/Makefile creating misc/Makefile creating bin/Makefile creating Mailman/Makefile creating Mailman/Cgi/Makefile creating Mailman/Logging/Makefile creating Mailman/Archiver/Makefile creating Mailman/Commands/Makefile creating Mailman/Handlers/Makefile creating Mailman/Bouncers/Makefile creating Mailman/Queue/Makefile creating Mailman/MTA/Makefile creating Mailman/Gui/Makefile creating templates/Makefile creating cron/Makefile creating scripts/Makefile creating messages/Makefile creating cron/crontab.in creating misc/mailman creating Makefile creating tests/Makefile creating tests/bounces/Makefile creating tests/msgs/Makefile creating build/bin/add_members creating build/bin/arch creating build/bin/change_pw creating build/bin/check_db creating build/bin/check_perms creating build/bin/cleanarch creating build/bin/clone_member creating build/bin/config_list creating build/bin/convert.py creating build/bin/discard creating build/bin/dumpdb creating build/bin/find_member creating build/bin/fix_url.py creating build/bin/genaliases creating build/bin/inject creating build/bin/list_admins creating build/bin/list_lists creating build/bin/list_members creating build/bin/list_owners creating build/bin/mailmanctl creating build/bin/mmsitepass creating build/bin/msgfmt.py creating build/bin/newlist creating build/bin/pygettext.py creating build/bin/qrunner creating build/bin/remove_members creating build/bin/reset_pw.py creating build/bin/rmlist creating build/bin/show_qfiles creating build/bin/sync_members creating build/bin/transcheck creating build/bin/unshunt creating build/bin/update creating build/bin/version creating build/bin/withlist creating build/bin/b4b5-archfix creating build/bin/rb-archfix creating build/contrib/check_perms_grsecurity.py creating build/contrib/qmail-to-mailman.py creating build/contrib/rotatelogs.py creating build/cron/bumpdigests creating build/cron/checkdbs creating build/cron/disabled creating build/cron/gate_news creating build/cron/mailpasswds creating build/cron/nightly_gzip creating build/cron/senddigests configuration completed at Thu Aug 17 15:33:36 CEST 2006
-bash-3.00# make
for d in bin cron misc Mailman scripts src templates
messages tests;
do
(cd $d; make);
done
for d in Cgi Logging Archiver Handlers Bouncers Queue MTA
Gui Commands;
do
(cd $d; make);
done
gcc -c -I. -DPREFIX="\"/usr/local/mailman\""
-DPYTHON="\"/usr/local/bin/python\"" -DHELPFUL -g -O2 -g
-O2 -DHAVE_STRERROcgcc -c -I.
-DPREFIX="\"/usr/local/mailman\""
-DPYTHON="\"/usr/local/bin/python\"" -DHELPFUL -g -O2 -g
-O2 -DHAVE_STRERROcgcc -DSCRIPT="\"admindb\"" -I.
-DCGI_GROUP="\"nobody\"" -g -O2 -g -O2 -DHAVE_STRERROR=1
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 cgcc
-DSCRIPT="\"admin\"" -I. -DCGI_GROUP="\"nobody\"" -g -O2
-g -O2 -DHAVE_STRERROR=1 -DHAVE_SETREGID=1 -DHAVE_SYSLOG=1
-Dcgcc -DSCRIPT="\"confirm\"" -I. -DCGI_GROUP="\"nobody\""
-g -O2 -g -O2 -DHAVE_STRERROR=1 -DHAVE_SETREGID=1
-DHAVE_SYSLOG=1 cgcc -DSCRIPT="\"create\"" -I.
-DCGI_GROUP="\"nobody\"" -g -O2 -g -O2 -DHAVE_STRERROR=1
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 -cgcc
-DSCRIPT="\"edithtml\"" -I. -DCGI_GROUP="\"nobody\"" -g
-O2 -g -O2 -DHAVE_STRERROR=1 -DHAVE_SETREGID=1
-DHAVE_SYSLOG=1cgcc -DSCRIPT="\"listinfo\"" -I.
-DCGI_GROUP="\"nobody\"" -g -O2 -g -O2 -DHAVE_STRERROR=1
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1cgcc
-DSCRIPT="\"options\"" -I. -DCGI_GROUP="\"nobody\"" -g -O2
-g -O2 -DHAVE_STRERROR=1 -DHAVE_SETREGID=1 -DHAVE_SYSLOG=1
cgcc -DSCRIPT="\"private\"" -I. -DCGI_GROUP="\"nobody\""
-g -O2 -g -O2 -DHAVE_STRERROR=1 -DHAVE_SETREGID=1
-DHAVE_SYSLOG=1 cgcc -DSCRIPT="\"rmlist\"" -I.
-DCGI_GROUP="\"nobody\"" -g -O2 -g -O2 -DHAVE_STRERROR=1
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 -cgcc
-DSCRIPT="\"roster\"" -I. -DCGI_GROUP="\"nobody\"" -g -O2
-g -O2 -DHAVE_STRERROR=1 -DHAVE_SETREGID=1 -DHAVE_SYSLOG=1
-cgcc -DSCRIPT="\"subscribe\"" -I.
-DCGI_GROUP="\"nobody\"" -g -O2 -g -O2 -DHAVE_STRERROR=1
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=cgcc -I.
-DMAIL_GROUP="\"mailman\"" -g -O2 -g -O2 -DHAVE_STRERROR=1
-DHAVE_SETREGID=1 -DHAVE_SYSLOG=1 -DSTDC_HEADERS=1
-DHAc/usr/local/bin/python ../build/bin/msgfmt.py -o
ca/LC_MESSAGES/mailman.mo ca/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
cs/LC_MESSAGES/mailman.mo cs/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
da/LC_MESSAGES/mailman.mo da/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
de/LC_MESSAGES/mailman.mo de/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
es/LC_MESSAGES/mailman.mo es/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
et/LC_MESSAGES/mailman.mo et/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
eu/LC_MESSAGES/mailman.mo eu/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
fi/LC_MESSAGES/mailman.mo fi/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
fr/LC_MESSAGES/mailman.mo fr/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
hr/LC_MESSAGES/mailman.mo hr/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
hu/LC_MESSAGES/mailman.mo hu/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
ia/LC_MESSAGES/mailman.mo ia/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
it/LC_MESSAGES/mailman.mo it/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
ja/LC_MESSAGES/mailman.mo ja/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
ko/LC_MESSAGES/mailman.mo ko/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
lt/LC_MESSAGES/mailman.mo lt/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
nl/LC_MESSAGES/mailman.mo nl/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
no/LC_MESSAGES/mailman.mo no/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
pl/LC_MESSAGES/mailman.mo pl/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
pt/LC_MESSAGES/mailman.mo pt/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
pt_BR/LC_MESSAGES/mailman.mo pt_BR/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
ro/LC_MESSAGES/mailman.mo ro/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
ru/LC_MESSAGES/mailman.mo ru/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
sl/LC_MESSAGES/mailman.mo sl/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
sr/LC_MESSAGES/mailman.mo sr/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
sv/LC_MESSAGES/mailman.mo sv/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
tr/LC_MESSAGES/mailman.mo tr/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
uk/LC_MESSAGES/mailman.mo uk/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
zh_CN/LC_MESSAGES/mailman.mo zh_CN/LC_MESSAGES/mailman.po
/usr/local/bin/python ../build/bin/msgfmt.py -o
zh_TW/LC_MESSAGES/mailman.mo zh_TW/LC_MESSAGES/mailman.po
-bash-3.00# make install
Creating architecture independent directories...
chmod o-r /usr/local/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_d\do
.././install-sh -c -m 755 ../build/bin/$f
/usr/local/mailman/bin;
done
for f in crontab.in;
do
.././install-sh -c -m 644 $f /usr/local/mailman/cron;
done
for f in checkdbs mailpasswds senddigests gate_news
nightly_gzip bumpdigests disabled;
do
.././install-sh -c -m 755 ../build/cron/$f
/usr/local/mailman/cron;
done
for i in ./*.jpg ./*.png;
do
.././install-sh -c -m 644 $i /usr/local/mailman/icons;
done
for d in bin cron scripts tests;
do
dir=/usr/local/mailman/$d;
.././install-sh -c -m 644 paths.py $dir;
done
.././install-sh -c -m 755 mailman
/usr/local/mailman/scripts
.././install-sh -c -m 644 sitelist.cfg
/usr/local/mailman/data
for p in email-2.5.7 JapaneseCodecs-1.4.11
KoreanCodecs-2.0.5;
do
gunzip -c ./$p.tar.gz | (cd . ; tar xf -);
(cd ./$p ; umask 02 ;
PYTHONPATH=/usr/local/mailman/pythonlib
/usr/local/bin/python setup.py --quiet install
--install\done
/usr/local/lib/python2.3/distutils/dist.py:213:
UserWarning: 'licence' distribution option is deprecated;
use 'license'
warnings.warn(msg)
In file included from /usr/include/sys/wait.h:24,
from /usr/include/stdlib.h:22,
from
/usr/local/include/python2.3/Python.h:36,
from src/_japanese_codecs.c:12:
/usr/include/sys/siginfo.h:259: error: parse error before
"ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before
'}' token
/usr/include/sys/siginfo.h:294: error: parse error before
'}' token
/usr/include/sys/siginfo.h:390: error: parse error before
"ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types
for __proc' /usr/include/sys/siginfo.h:261: error: previous declaration of
__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types
for __fault' /usr/include/sys/siginfo.h:267: error: previous declaration of
__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types
for __file' /usr/include/sys/siginfo.h:273: error: previous declaration of
__file'
/usr/include/sys/siginfo.h:420: error: conflicting types
for __prof' /usr/include/sys/siginfo.h:287: error: previous declaration of
__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types
for __rctl' /usr/include/sys/siginfo.h:291: error: previous declaration of
__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before
'}' token
/usr/include/sys/siginfo.h:428: error: parse error before
'}' token
/usr/include/sys/siginfo.h:432: error: parse error before
"k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before
'}' token
In file included from /usr/include/sys/procset.h:24,
from /usr/include/sys/wait.h:25,
from /usr/include/stdlib.h:22,
from
/usr/local/include/python2.3/Python.h:36,
from src/_japanese_codecs.c:12:
/usr/include/sys/signal.h:85: error: parse error before
"siginfo_t"
In file included from /usr/include/stdlib.h:22,
from
/usr/local/include/python2.3/Python.h:36,
from src/_japanese_codecs.c:12:
/usr/include/sys/wait.h:86: error: parse error before
"siginfo_t"
In file included from
/usr/local/include/python2.3/pyport.h:92,
from
/usr/local/include/python2.3/Python.h:48,
from src/_japanese_codecs.c:12:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/math.h:25:26:
iso/math_iso.h: No such file or directory
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/math.h:26:26:
iso/math_c99.h: No such file or directory
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/math.h:328,
from
/usr/local/include/python2.3/pyport.h:92,
from
/usr/local/include/python2.3/Python.h:48,
from src/_japanese_codecs.c:12:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/floatingpoint.h:25:24:
sys/ieeefp.h: No such file or directory
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/math.h:328,
from
/usr/local/include/python2.3/pyport.h:92,
from
/usr/local/include/python2.3/Python.h:48,
from src/_japanese_codecs.c:12:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/floatingpoint.h:98:
error: field fpclass' has incomplete type /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/floatingpoint.h:110: confused by earlier errors, bailing out error: command 'gcc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target
install-packages'
Current working directory /root/mailman-2.1.8/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'
It still fails with the japanese codecs ... why? I said to not import them. Any clues around? Any help would be greatly appreciated. btw: On an Sol10 06/06 i386 installation it's compiling without major problems, the uncommenting of these codecs is enough.
TIA
Tom Stocker
participants (1)
-
Thomas Stocker