I downloaded ImageMagick-6.2.9-2 and ran into the following error while
building it
on a Solaris Nevada build 45 sparc system:
DEPDIR=.deps depmode=none /bin/bash ./depcomp \
/bin/bash ./libtool --silent --tag=CC --mode=compile
/ws/onnv-tools/SUNWspro/SOS10/bin/cc -DHAVE_CONFIG_H -I. -I. -I./magick
-I./wand -I./ltdl -I./ltdl
-I/builds1/jacobs/sfwnv-fixes/proto/root_sparc/usr/sfw/include
-I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/X/include/X11
-I/usr/include/libxml2 -g -D_REENTRANT -c -o
magick/magick_libMagick_la-random.lo `test -f 'magick/random.c' || echo
'./'`magick/random.c
"magick/random.c", line 360: undefined symbol: nanseconds
cc: acomp failed for magick/random.c
*** Error code 1
make: Fatal error: Command failed for target
`magick/magick_libMagick_la-random.lo'
Current working directory
/builds1/jacobs/sfwnv-fixes/usr/src/cmd/ImageMagick/ImageMagick-6.2.9
*** Error code 1
The fix is simple. It's a typo in magick/random.c. A patch to fix this
is below.
*** ImageMagick-6.2.9/magick/random.c.orig Sun Jul 16 07:02:21 2006
--- ImageMagick-6.2.9/magick/random.c Mon Aug 28 14:22:38 2006
***************
*** 357,363 ****
if (clock_gettime(CLOCK_HIGHRES,&timer) == 0)
{
seconds=timer.tv_sec;
! nanseconds=timer.tv_nsec;
}
}
#endif
--- 357,363 ----
if (clock_gettime(CLOCK_HIGHRES,&timer) == 0)
{
seconds=timer.tv_sec;
! nanoseconds=timer.tv_nsec;
}
}
#endif
This may already be fixed in CVS, but I have been having problems
getting to the CVS
repository to find out. My systems at home don't appear to be able to
resolve
cvs.imagemagick.org.
-Norm
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs