1.99.2 and plugins

From: Michael A. Peters (mpeters@mac.com)
Date: Sun Jul 13 2003 - 03:08:48 EDT

  • Next message: E . A . Zen: "AbiWord Weekly News #152 (2003, week 28) released"

    Hi. First post to list.
    First of all I would like to say I am very excited about AbiWord 2

    OpenOffice.org is a good project, but it just doesn't look right in my
    gtk2/gnome2 environment, and a good word processor that looks good in a
    gnome 2.2.x desktop is something I really have been craving for awhile
    now.

    1.99.2 is the first build of the gtk2 AbiWord I have tried - and I must
    say, it blew my socks off. It is extremely gorgeous.

    Ximian (imho) chose the wrong office suite.

    Anyway, to my point.
    I downloaded the src.rpm from sourceforge and didn't like the spec file
    much, so I started from scratch.

    I'm having a problem trying to build the plugins.
    Compiler (gcc 3.2.2) complains of illegal declarations etc.

    Is this a known issue, or am I doing something wrong?
    My spec file is at
    http://homepage.mac.com/mpeters/abiword/abiword2-yjl.spec if anyone
    wants to take a look at it.

    Basically - this is what I'm trying:

    ./configure --with-abiword=../../abiword-1.99.2 \
    --disable-all \
    --enable-abicommand \
    --enable-abigimp \
    --enable-babelfish \
    --enable-freetranslation \
    --enable-google \
    --enable-gdict \
    --enable-referee \
    --enable-urldict \
    --enable-wikipedia \
    --disable-magick \
    --enable-shell

    It configures OK but chokes when compiling.
    It choked on abicommand, I took that out - it choked on abigimp.

    Anyone know what is going on?

    AbiCommand.cpp:127: parse error before `return'
    AbiCommand.cpp:132: syntax error before `int'
    AbiCommand.cpp:135: syntax error before `->' token
    AbiCommand.cpp:136: syntax error before `->' token
    AbiCommand.cpp:137: syntax error before `->' token
    AbiCommand.cpp:138: syntax error before `->' token
    AbiCommand.cpp:140: ISO C++ forbids declaration of `
       AbiCommand_RemoveFromMethods' with no type
    AbiCommand.cpp:140: new declaration `int AbiCommand_RemoveFromMethods()'
    AbiCommand.cpp:98: ambiguates old declaration `void
       AbiCommand_RemoveFromMethods()'
    AbiCommand.cpp:142: parse error before `return'
    AbiCommand.cpp:147: syntax error before `int'
    AbiCommand.cpp:165: type specifier omitted for parameter `EV_EditMethodCallData

    (stuff like that - lots of it - and similar with AbiGimp if I remove AbiCommand from the configure)

    I'm running gnome 2.2.2 if it matters.

    [mpeters@mylfsbox SPECS]$ gcc -v
    Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/specs
    Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared --enable-languages=c,c++,objc,f77,java --enable-threads=posix --with-slibdir=/lib --enable-__cxa_atexit --enable-clocale=gnu --mandir=/usr/share/man --infodir=/usr/share/info
    Thread model: posix
    gcc version 3.2.2
    [mpeters@mylfsbox SPECS]$

    -----------------------------------------------
    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Sun Jul 13 2003 - 03:21:59 EDT