[Mailman-Users] Where's Korea? (recurring problem)
Ashley M. Kirchner
ashley at pcraft.com
Sat Sep 15 04:30:50 CEST 2007
Mark Sapiro wrote:
> Presumably, this is from
>
> make install
>
> and not just
>
> make
Sorry, you're correct.
> What is in the misc/ directory of the untarred distribution.
$> ls -l misc
total 1728
drwxr-xr-x 2 mailman mailman 4096 Sep 14 20:28 ./
drwxr-xr-x 14 mailman mailman 4096 Sep 14 20:28 ../
-rw-r--r-- 1 mailman mailman 1139795 Jul 25 2006 email-2.5.8.tar.gz
-rw-r--r-- 1 mailman mailman 3049 Dec 7 2000 gnu-head-tiny.jpg
-rw-r--r-- 1 mailman mailman 288814 Nov 28 2004 JapaneseCodecs-1.4.11.tar.gz
-rw-r--r-- 1 mailman mailman 260762 Dec 29 2003 KoreanCodecs-2.0.5.tar.gz
-rw-r--r-- 1 mailman mailman 1696 Aug 26 2005 mailman.in
-rw-r--r-- 1 mailman mailman 2022 Dec 7 2000 mailman.jpg
-rw-r--r-- 1 mailman mailman 6150 Dec 7 2000 mailman-large.jpg
-rw-r--r-- 1 mailman mailman 2838 Jul 25 2006 Makefile.in
-rw-r--r-- 1 mailman mailman 281 Feb 1 2002 mm-icon.png
-rw-r--r-- 1 mailman mailman 2677 Dec 30 2005 paths.py.in
-rw-r--r-- 1 mailman mailman 945 Dec 7 2000 PythonPowered.png
-rw-r--r-- 1 mailman mailman 14114 Aug 26 2005 sitelist.cfg
> In
> particular are all of JapaneseCodecs-1.4.11.tar.gz,
> KoreanCodecs-2.0.5.tar.gz and email-2.5.8.tar.gz there. Note that they
> must be the *.gz files because that's what the makefile looks for.
That's what they show...
> Does misc/Makefile contain
>
> EMAILPKG= email-2.5.8
> JACODECSPKG= JapaneseCodecs-1.4.11
> KOCODECSPKG= KoreanCodecs-2.0.5
>
> PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG)
EMAILPKG= email-2.5.8
JACODECSPKG= JapaneseCodecs-1.4.11
KOCODECSPKG= KoreanCodecs-2.0.5
PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG)
> and
>
> install-packages:
> for p in $(PACKAGES); \
> do \
> gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \
> (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR)
> $(PYTHON) $(SETUPCMD)); \
> done
install-packages:
for p in $(PACKAGES); \
do \
gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \
(cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON)
$(SETUPCMD)); \
done
See anything missing?
Now, one thing I have to bring up though. When I hit 'make install', I
do get a bazillion errors like these:
src/_koco_uhc.h:3007: warning: pointer targets in initialization differ
in signedness
src/_koco_uhc.h:3007: warning: pointer targets in initialization differ
in signedness
src/_koco_uhc.h:3007: warning: pointer targets in initialization differ
in signedness
src/_koco_uhc.h:3007: warning: pointer targets in initialization differ
in signedness
src/_koco_uhc.h:3007: warning: pointer targets in initialization differ
in signedness
src/_koco_uhc.h:3008: warning: pointer targets in initialization differ
in signedness
src/_koco_uhc.h:3008: warning: pointer targets in initialization differ
in signedness
...etc., etc...
And at one point it fails when working in the misc folder:
src/_koco.c:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
src/_koco.c:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
src/_koco.c: In function ‘error_type’:
src/_koco.c:82: error: ‘NULL’ undeclared (first use in this function)
src/_koco.c:82: error: (Each undeclared identifier is reported only once
src/_koco.c:82: error: for each function it appears in.)
src/_koco.c:82: warning: implicit declaration of function ‘strcmp’
src/_koco.c:92: warning: implicit declaration of function ‘PyErr_Format’
src/_koco.c:92: error: ‘PyExc_ValueError’ undeclared (first use in
this function)
src/_koco.c: At top level:
src/_koco.c:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
In file included from src/_koco.c:121:
src/euckr_codec.h:29: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
src/euckr_codec.h:100: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from src/_koco.c:122:
src/cp949_codec.h:29: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
src/cp949_codec.h:121: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
In file included from src/_koco.c:123:
src/koco_stream.h:32: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
src/koco_stream.h:125: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
src/koco_stream.h:262: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
src/koco_stream.h: In function ‘streaminfo_destroy’:
src/koco_stream.h:295: warning: implicit declaration of function
‘PyMem_Del’
src/koco_stream.h: At top level:
src/koco_stream.h:300: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
src/koco_stream.h:352: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
src/koco_stream.h:418: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
src/koco_stream.h:484: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
src/koco_stream.h:549: error: expected ‘=’, ‘,’, ‘;’,
‘asm’ or ‘__attribute__’ before ‘*’ token
src/koco_stream.h:569: error: array type has incomplete element type
src/koco_stream.h:570: error: ‘PyCFunction’ undeclared here (not in
a function)
src/koco_stream.h:570: error: expected ‘}’ before
‘StreamReader___init__’
src/koco_stream.h:573: error: expected ‘}’ before
‘StreamReader_read’
src/koco_stream.h:576: error: expected ‘}’ before
‘StreamReader_readline’
src/koco_stream.h:579: error: expected ‘}’ before
‘StreamReader_readlines’
src/koco_stream.h:582: error: expected ‘}’ before
‘StreamReader_reset’
src/koco_stream.h:585: error: ‘NULL’ undeclared here (not in a function)
src/_koco.c:129: error: array type has incomplete element type
src/_koco.c:130: error: expected ‘}’ before ‘euc_kr_decode’
src/_koco.c:131: error: expected ‘}’ before ‘euc_kr_encode’
src/_koco.c:132: error: expected ‘}’ before ‘cp949_decode’
src/_koco.c:133: error: expected ‘}’ before ‘cp949_encode’
src/_koco.c: In function ‘init_koco’:
src/_koco.c:142: error: ‘PyObject’ undeclared (first use in this
function)
src/_koco.c:142: error: ‘m’ undeclared (first use in this function)
src/_koco.c:142: error: ‘d’ undeclared (first use in this function)
src/_koco.c:142: warning: left-hand operand of comma expression has no
effect
src/_koco.c:142: error: ‘t’ undeclared (first use in this function)
src/_koco.c:142: warning: left-hand operand of comma expression has no
effect
src/_koco.c:145: warning: implicit declaration of function
‘Py_InitModule’
src/_koco.c:148: warning: implicit declaration of function
‘PyModule_GetDict’
src/_koco.c:150: warning: implicit declaration of function
‘PyClass_New_WithMethods’
src/_koco.c:151: warning: implicit declaration of function
‘PyDict_SetItemString’
src/_koco.c:152: warning: implicit declaration of function ‘Py_DECREF’
src/_koco.c:154: warning: implicit declaration of function
‘PyString_FromString’
src/_koco.c:158: error: ‘ErrorObject’ undeclared (first use in this
function)
src/_koco.c:158: warning: implicit declaration of function
‘PyErr_NewException’
src/_koco.c:163: warning: implicit declaration of function
‘PyErr_Occurred’
src/_koco.c:164: warning: implicit declaration of function
‘Py_FatalError’
error: command 'gcc' failed with exit status 1
make[1]: *** [install-packages] Error 1
make[1]: Leaving directory `/home/mailman/mailman-2.1.9/misc'
...right there.
--
H | It's not a bug - it's an undocumented feature.
+--------------------------------------------------------------------
Ashley M. Kirchner <mailto:ashley at pcraft.com> . 303.442.6410 x130
IT Director / SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Imaging . 3550 Arapahoe Ave. #6
http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.
More information about the Mailman-Users
mailing list