You might want to hack yourself around this. See e.g.

- init.cpp: #ifdef WITH_IMAGE_MAGICK
- or configure: #define WITH_IMAGE_MAGICK 1
- or configure.ac: AC_DEFINE(WITH_IMAGE_MAGICK,1,[Image Magick++ support for bitmap effects])

Just try disabling the ImageMagick code by modifying one of the above lines (if don't see a more elegant way). This should at least get you started, as Inkscape should compile just fine without it.

As to what's going on: I don't have a clue :-(

Good luck,

Diederik




On 02/02/2011 08:56 AM, Dmitry Shkirmanov wrote:
I installed newest version of imagemagick from source, ./configure finished without errors, but 'make' gives new error:


th, std::allocator<Geom::Path> > Geom::read_svgd(const char*
)':
./2geom/svg-path-parser.h:63: warning: ignoring return value
šof char* fgets(char*, int, FILE*)', declared with attribut
e warn_unused_result
š CXXššš 2geom/svg-path.o
š CXXššš 2geom/sweep.o
š CXXššš 2geom/transforms.o
š CXXššš 2geom/numeric/matrix.o
š ARšššš 2geom/lib2geom.a
š CXXššš inkscape-version.o
š ARšššš libinkversion.a
š CXXššš main.o
š CXXLDš inkscape
libinkscape.a(adaptiveThreshold.o): In function `Inkscape::E
xtension::Internal::Bitmap::AdaptiveThreshold::applyEffect(M
agick::Image*)':
/home/ya/Desktop/inkscape-0.48.0/src/extension/internal/bitm
ap/adaptiveThreshold.cpp:21: undefined reference to `Magick:
:Image::adaptiveThreshold(unsigned int, unsigned int, unsign
ed int)'
libinkscape.a(addNoise.o): In function `Inkscape::Extension:
:Internal::Bitmap::AddNoise::applyEffect(Magick::Image*)':
/home/ya/Desktop/inkscape-0.48.0/src/extension/internal/bitm
ap/addNoise.cpp:29: undefined reference to `Magick::Image::a
ddNoise(MagickLib::NoiseType)'
libinkscape.a(channel.o): In function `Inkscape::Extension::
Internal::Bitmap::Channel::applyEffect(Magick::Image*)':
/home/ya/Desktop/inkscape-0.48.0/src/extension/internal/bitm
ap/channel.cpp:32: undefined reference to `Magick::Image::ch
annel(MagickLib::ChannelType)'
collect2: ld returned 1 exit status
make[2]: *** [inkscape] Error 1
make[2]: Leaving directory `/home/ya/Desktop/inkscape-0.48.0
/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ya/Desktop/inkscape-0.48.0
'
make: *** [all] Error 2


Any suggestions?







>What version of ImageMagick has been installed? Have the dev-libs of ImageMagick also been installed?
>
>It should also be possible to provide ./configure with a flag that tells it to compile without ImageMagick, IIRC, but I .don't know the syntax of the top of my head.
>
>Kind regards,
>
>Diederik




>>Hello,š i can not build inkscape-0.48 on debian lenny. ./configure finished without errors, but 'make' gives an error. >>Here is the extraction from the output:
>>#
>>#

>>extension/internal/bitmap/level.cpp: In member function vir
>>tual void Inkscape::Extension::Internal::Bitmap::Level::appl
>>yEffect(Magick::Image*)':
>>extension/internal/bitmap/level.cpp:23: error: class Magick
>>::Image' has no member named level'
>>make[2]: *** [extension/internal/bitmap/level.o] Error 1
>>make[2]: Leaving directory `/home/ya/Desktop/inkscape-0.48.0
>>/src'
>>make[1]: *** [all-recursive] Error 1
>>make[1]: Leaving directory `/home/ya/Desktop/inkscape-0.48.0
>>'
>>make: *** [all] Error 2
>>#
>>#
>>I searched through the Google but have not found solution.
>>Help me please to build it.




------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d



_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel