Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: compiling xemacs with wnn support



>>>>> "Hector" == Hector Akamine <akamine@example.com> writes:

    Hector> I'm trying to compile xemacs (21.1.9) to work with wnn.
    Hector> Before running make I run:

    Hector> ./configure --with-wnn6 --with-canna --with-xim
    Hector> --with-mule --with-xpm

    Hector> then when I run make, I get errors in mule-wnnfns.c,
    Hector> related to undeclared constants (all of which start with
    Hector> WNN_ : WNN_ENV_YURAGI_MASK, WNN_ENV_SYMBOL_MASK,
    Hector> WWW_ENV_ALPHABET_MASK, WNN_ENV_NUMERIC_MASK and a lot
    Hector> more). What's the problem here?

Many Japanized distributions put their stuff in strange places.  If
you have the Wnn6 development stuff (as others mentioned), you may
need to tell ./configure where to find it.  Use some variants on

--site-includes=PATH    List of directories to search first for header files.
--site-libraries=PATH   List of directories to search first for libraries.
--site-prefixes=PATH    List of directories to search for include/ and lib/
                        subdirectories, just after 'site-includes' and
                        'site-libraries'.
--site-runtime-libraries=PATH
                        List of ALL directories to search for dynamically
                        linked libraries at run time.

The PATH arguments are either a single directory, or a colon-separated
list of directories.  In the latter case, order matters.

You should probably avoid using --site-prefixes and
--site-runtime-libraries because you can seriously hose yourself if
you don't use them properly.  Especially on Linux which normally uses
ld.so.conf to configure runtime libraries.

Also, I'm not sure if "--with-xim" will work correctly.  I believe you
need to specify either --with-xim=motif or --with-xim=xlib.  The
former is not likely to be very reliable on anything except Solaris,
which contrary to popular belief is not a Linux distribution.

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."
--------------------------------------------------------------------
Next Nomikai Meeting: April 20 (Thu) Linux Conference 2000 Spring Ed.
Next Technical Meeting: May 13 (Sat) 13:30 Temple University Japan
* Topic: TBD
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links