Re: Building Plug-ins

From: David Chart (linux@dchart.demon.co.uk)
Date: Sat Apr 20 2002 - 14:04:08 EDT

  • Next message: Alan Horkan: "Re: Ready for the Big Time!"

    Thanks, Rui. I'm getting there...

    On Sat, 2002-04-20 at 16:45, Rui Miguel Silva Seabra wrote:
    > You need the aiksaurus header files.
    > If you use redhat, you need aiksaurus and aiksaurus gtk, both packages
    > available on Jared's website:
    > http://www.aiksaurus.com/
    >

    This seems to be working. Thanks.

    > > magick: Magick++ >= 5.4.0 not found - unable to build magick plugin
    > > svg: this plugin is non-functional and is disabled by default
    >
    > You need the ImageMagick-devel package with version earlier than or as
    > old as 5.4.0,
    >

    Got this now, but make still crashes out.

    make[5]: Entering directory
    `/home/David/abiword/abiword-plugins/wp/impexp/graphics/magick/xp'
    /bin/sh ../libtool --mode=link c++ -g -O2 -lMagick++
    -L/home/David/ImageMagick-5.4.4/magick -lMagick -ltiff -ljpeg -lpng
    -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread
    -lm -o libAbiMagick.la -rpath /usr/local/share/AbiSuite/AbiWord/plugins
    -no-undefined -module -avoid-version AbiMagick.lo
    rm -fr .libs/libAbiMagick.la .libs/libAbiMagick.* .libs/libAbiMagick.*
    gcc -shared AbiMagick.lo -lMagick++
    -L/home/David/ImageMagick-5.4.4/magick -lMagick -ltiff -ljpeg -lpng
    -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread
    -lm -lc -Wl,-soname -Wl,libAbiMagick.so -o .libs/libAbiMagick.so
    /usr/bin/ld: cannot find -ldpstk
    collect2: ld returned 1 exit status
    make[5]: *** [libAbiMagick.la] Error 1
    make[5]: Leaving directory
    `/home/David/abiword/abiword-plugins/wp/impexp/graphics/magick/xp'

    > You need libxml2-devel version earlier than or as old as 2.4.9
    >

    OK, I built from source (I'm on PPC), and this seems to work.

    > > OpenWriter: can't find zipios++ header(s) - unable to build OpenWriter
    > > plugin
    >
    > You need zipios++-devel package.

    None for PPC, so I rebuilt from source. Same error.

    > I made a spec for zipios which got included in the source tree.
    > You can rebuild it's packages (if they're not available on their
    > website) by executing rpm -tb zipios's tar.gz

    This didn't work at all:

    [David@localhost Archive]$ rpm -tb zipios++-0.1.5.tar.gz
    error: Name field must be present in package: (main package)
    error: Version field must be present in package: (main package)
    error: Release field must be present in package: (main package)
    error: Summary field must be present in package: (main package)
    error: Group field must be present in package: (main package)
    error: License field must be present in package: (main package)

    Help gratefully received.

    -- 
    David Chart
    


    This archive was generated by hypermail 2.1.4 : Sat Apr 20 2002 - 14:05:13 EDT