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.