Mark Sapiro wrote:
>Piniella, David A wrote:
>>
>>No dice, I tried that with gcc and yacc. Is there any way to just avoid
>>the Japanese and Korean codecs packages' compilation, or to skip them
>>entirely? I don't really need to host any lists in Japanese or Korean
>>(or do these packages do something else?)
>
>
>This too is really tricky. See yesterday's take on this in the thread
>at
><http://mail.python.org/pipermail/mailman-users/2007-January/055498.html>.
I *think* the attached patch to misc/Makefile will solve the problem.
Here's the procedure:
After running 'configure' apply the attached patch to misc/Makefile.
Then if you have a pythonlib/korean directory in your installation
($prefix) directory left over from previous attempts, remove it.
Then 'make install' should give you a working installation.
This installed version of the Korean codecs will not have the compiled
C language modules, but if you aren't actually using Korean, the
Python modules will be good enough - the only difference is
performance.
Let us know how it works out.
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
--- Makefile.orig 2007-01-21 13:50:35.281250000 -0800
+++ Makefile 2007-01-23 16:16:47.296875000 -0800
@@ -57,7 +57,7 @@
JACODECSPKG= JapaneseCodecs-1.4.11
KOCODECSPKG= KoreanCodecs-2.0.5
-PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG)
+PACKAGES= $(EMAILPKG) $(JACODECSPKG)
# Modes for directories and executables created by the install
# process. Default to group-writable directories but
@@ -96,6 +96,11 @@
gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \
(cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON)
$(SETUPCMD)); \
done
+ for p in $(KOCODECSPKG); \
+ do \
+ gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \
+ (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON)
$(SETUPCMD) --without-extension); \
+ done
finish:
------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp