Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 9f89c06c1b9911b16886321f484d4836 > files > 6

pspell-0.12.2-7mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 99.2beta6 (1.42)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>2. Getting Started</TITLE>
<META NAME="description" CONTENT="2. Getting Started">
<META NAME="keywords" CONTENT="manual">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v99.2beta6">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="manual.css">

<LINK REL="next" HREF="3_Keeping.html">
<LINK REL="previous" HREF="1_Introduction.html">
<LINK REL="up" HREF="manual.html">
<LINK REL="next" HREF="3_Keeping.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html119"
  HREF="3_Keeping.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html115"
  HREF="manual.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html109"
  HREF="1_Introduction.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html117"
  HREF="Contents.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html120"
  HREF="3_Keeping.html">3. Keeping in Touch</A>
<B> Up:</B> <A NAME="tex2html116"
  HREF="manual.html">Portable Spell Checker Interface</A>
<B> Previous:</B> <A NAME="tex2html110"
  HREF="1_Introduction.html">1. Introduction</A>
 &nbsp <B>  <A NAME="tex2html118"
  HREF="Contents.html">Contents</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>

<UL>
<LI><A NAME="tex2html121"
  HREF="2_Getting.html#SECTION00310000000000000000">2.1 Obtaining</A>
<LI><A NAME="tex2html122"
  HREF="2_Getting.html#SECTION00320000000000000000">2.2 Support</A>
<LI><A NAME="tex2html123"
  HREF="2_Getting.html#SECTION00330000000000000000">2.3 Installation</A>
<UL>
<LI><A NAME="tex2html124"
  HREF="2_Getting.html#SECTION00331000000000000000">2.3.1 Generic Install Instructions</A>
<LI><A NAME="tex2html125"
  HREF="2_Getting.html#SECTION00332000000000000000">2.3.2 General Problems</A>
<LI><A NAME="tex2html126"
  HREF="2_Getting.html#SECTION00333000000000000000">2.3.3 Problems with Libltdl</A>
<LI><A NAME="tex2html127"
  HREF="2_Getting.html#SECTION00334000000000000000">2.3.4 Upgrading from Pspell .11.2</A>
</UL>
<LI><A NAME="tex2html128"
  HREF="2_Getting.html#SECTION00340000000000000000">2.4 Helping Out</A>
</UL>
<!--End of Table of Child-Links-->
<HR>

<H1><A NAME="SECTION00300000000000000000">
2. Getting Started</A>
</H1>

<P>

<H1><A NAME="SECTION00310000000000000000">
2.1 Obtaining</A>
</H1>

<P>
The latest version of pspell can always be found at the pspell home
page at <TT><A NAME="tex2html1"
  HREF="http://pspell.sourceforge.net/">http://pspell.sourceforge.net/</A></TT>
<P>

<H1><A NAME="SECTION00320000000000000000">
2.2 Support</A>
</H1>

<P>
Support for Pspell can be found on the Pspell mailing lists. Instructions
for joining the various mailing lists (and an archive of them) can
be found off the Pspell home page at <TT><A NAME="tex2html2"
  HREF="http://pspell.sourceforge.net">http://pspell.sourceforge.net</A></TT>.

<P>

<H1><A NAME="SECTION00330000000000000000">
2.3 Installation</A>
</H1>

<P>

<H2><A NAME="SECTION00331000000000000000">
2.3.1 Generic Install Instructions</A>
</H2>

<P>
To install the library simply type

<P>

<DL COMPACT>
<DT>
<DD><TT>./configure
<BR>
make
<BR>
make&nbsp;install</TT>
</DD>
</DL> Then install at least one pspell module. You can find more information
about available modules from the Pspell home page. This is all that
should be required for Pspell to function properly.

<P>
If you run into problems you can try disabling the building of shared
libraries with &#45;&#45;disable-shared and/or the ltdl library which is used
for dynamically loading pspell modules with &#45;&#45;disable-ltdl. If you
do so you will then need to manually link in the necessary modules
by doing the following:

<P>

<DL COMPACT>
<DT>
<DD><TT>cd&nbsp;modules
<BR>./add-modules
<BR>
cd&nbsp;..
<BR>
make
<BR>
make&nbsp;install</TT>
</DD>
</DL> However this has not been known to work properly on most platforms.
If you are just installing Pspell so that you can compile and use
the Aspell utility then you should be okay as Aspell does not need
any of Pspell modules linked in. However, if you are trying to use
Pspell with an application that actually used the Pspell library such
as PHP, AbiWord or the like then you will likely run into problems.

<P>
By default a static library is also created you can turn this of by
passing the parameter &#45;&#45;disable-static to configure. You can control
what C and C++ compiler is used by setting the environmental variable
CC and CXX respectfully before running configure and you can control
what flags are passed to the C and C++ compile via the environmental
variable CFLAGS and CXXFLAGS respectfully.

<P>

<H2><A NAME="SECTION00332000000000000000">
2.3.2 General Problems</A>
</H2>

<P>
Aspell does not use a released version of GNU Libtool. In previous
versions of aspell this will often create problems if you inadvertently
modify a file which causes Libtool to be called. However, as of Pspell
.12.2 this so no longer be a problem and automake, autoconf, or libtool
should not be called unless you specifically call them or if you configure
Aspell with &#45;&#45;enable-maintainer-mode. If you do notice any of these
programs being called (and you did not configure with &#45;&#45;enable-maintainer-mode)
please let me know about it. If you have a need to modify configure.in
or any of the Makefile.am's you should install the multi-language-branch
of the CVS version of libtool.

<P>

<H2><A NAME="SECTION00333000000000000000">
2.3.3 Problems with Libltdl</A>
</H2>

<P>
Pspell also requires libltdl, Libtool's portable ``dlopen''
wrapper library, in order to function properly. If configure does
not find libltdl installed on your system it will generally compile
it and install it with the rest of Pspell. However, this can create
problems if the compile environment is different than the environment
that Pspell runs under. For example if configure was able to find
libltdl at compile time but libltdl is no longer visible at runtime
you will run into problems. The easiest thing to do here is copy the
libltdl library found when compiling Pspell into the library directly
Pspell was installed in. Another potently source of problems is the
fact that the version of Libltdl found in the Pspell distribution
is not the same as the one found in the released version of Libtool.
In fact the two, while being source code compatible, are not binary
compatible. This should normally not be a problem because if configure
finds libltdl already installed on your system it will use that one.
However, this might cause problems if the compile environment is different
than the environment that Pspell runs under.

<P>

<H2><A NAME="SECTION00334000000000000000">
2.3.4 Upgrading from Pspell .11.2</A>
</H2>

<P>
<A NAME="new_size_parm"></A>Pspell .12 breaks binary and source code compatibility
with Pspell .11. Many of the PspellManager functions now also have
a length parameter specifying the length of the word. A length of
-1 means that the string is null terminated. This unfortunately breaks
source code compatibility. To upgrade to Pspell .12 either define
the variable USE_ORIGINAL_MANAGER_FUNCS before pspell.h in included
or simply add a length of -1 after each word passed in. Please see
manager.h for the exact phototype of the functions. Defining the variable
USE_ORIGINAL_MANAGER_FUNCS will allow your code to work with both
Pspell .11 and .12.

<P>

<H1><A NAME="SECTION00340000000000000000">
2.4 Helping Out</A>
</H1>

<P>
Right now the area I need the most help in is better shared library
support and on the ispell module. If you are interested in helping
out please contact me at kevina@users.sourceforge.net.

<P>
If you wish to work on Pspell you will need the multi-language-branch
of the CVS version of libtool. You will also need autoconf and automake.
The released version of autoconf has a small bug in it which will
cause it to think ``.C'' is the extension of executables. To
fix this you need to apply the patch ``autoconf-exeext.patch''
which can be found in the pspell distribution.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html119"
  HREF="3_Keeping.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html115"
  HREF="manual.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html109"
  HREF="1_Introduction.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html117"
  HREF="Contents.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html120"
  HREF="3_Keeping.html">3. Keeping in Touch</A>
<B> Up:</B> <A NAME="tex2html116"
  HREF="manual.html">Portable Spell Checker Interface</A>
<B> Previous:</B> <A NAME="tex2html110"
  HREF="1_Introduction.html">1. Introduction</A>
 &nbsp <B>  <A NAME="tex2html118"
  HREF="Contents.html">Contents</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Kevin Atkinson
2001-05-29
</ADDRESS>
</BODY>
</HTML>