| Summary: | Builing of ImageMagick Fails on X4.0 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | patseal <patseal> |
| Component: | Individual Port(s) | Assignee: | jseger |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports->jseger Over to maintainer. State Changed From-To: open->closed Just committed a fix for this. Thanks. |
===> Building for ImageMagick-5.1.1 Making all in delegates Making all in magick /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I../ -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -O -pipe -c PreRvIcccm.c rm -f .libs/PreRvIcccm.lo cc -DHAVE_CONFIG_H -I../ -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include/X11 -O -pipe -c PreRvIcccm.c -fPIC -DPIC -o .libs/PreRvIcccm.lo In file included from /usr/X11R6/include/X11/Xos.h:307, from xwindows.h:15, from PreRvIcccm.c:55: /usr/X11R6/include/X11/Xarch.h:48: sys/byteorder.h: No such file or directory *** Error code 1 This is not an ImageMagick specific problem, but this is how I found out about it. The relevant lines in Xarch.h are: #ifdef X_BYTE_ORDER #define X_BIG_ENDIAN 4321 #define X_LITTLE_ENDIAN 1234 #else #ifdef SVR4 #if defined(NCR) || defined(Mips) #include <sys/endian.h> #else #if !defined(sun) #include <sys/byteorder.h> /* line 48 */ #endif #endif How-To-Repeat: Install X4.0 cd /usr/ports/graphics/ImageMagick make