sudo port install scribus
---> Fetching scribus
---> Verifying checksum(s) for scribus
---> Extracting scribus
---> Configuring scribus
---> Building scribus
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_scribus/work/scribus-1.3.3.11" && make all " returned error 2
Command output: from scribus.h:61,
from scimage.cpp:8:
/opt/local/include/lcms.h:146:5: warning: "TARGET_CPU_PPC" is not defined
/opt/local/include/lcms.h:150:5: warning: "macintosh" is not defined
/opt/local/include/lcms.h: In function 'void* _cmsMalloc(size_t)':
/opt/local/include/lcms.h:1418: warning: comparison of unsigned expression < 0 is always false
scimage.cpp: In member function 'bool ScImage::LoadPicture(const QString&, const QString&, int, bool, bool, ScImage::RequestType, int, bool*, bool)':
scimage.cpp:4388: warning: enumeration value 'Thumbnail' not handled in switch
scimage.cpp:4481: warning: enumeration value 'Thumbnail' not handled in switch
scimage.cpp: In member function 'void ScImage::parseRessourceData(QDataStream&, const ScImage::PSDHeader&, uint)':
scimage.cpp:2358: warning: 'firstControl$xp' may be used uninitialized in this function
scimage.cpp:2358: warning: 'firstControl$yp' may be used uninitialized in this function
scimage.cpp:2358: warning: 'firstPoint$xp' may be used uninitialized in this function
scimage.cpp:2358: warning: 'firstPoint$yp' may be used uninitialized in this function
scimage.cpp: In member function 'bool ScImage::loadLayerChannels(QDataStream&, const ScImage::PSDHeader&, QValueList<ScImage::PSDLayer>&, uint, bool*)':
scimage.cpp:1750: warning: 'mask_a' may be used uninitialized in this function
scimage.cpp: In member function 'bool ScImage::LoadPicture(const QString&, const QString&, int, bool, bool, ScImage::RequestType, int, bool*, bool)':
scimage.cpp:3506: warning: variable 'reqType' might be clobbered by 'longjmp' or 'vfork'
/opt/local/lib/qt3/bin/moc ./scmenu.h -o scmenu.moc
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/local/lib/qt3/include -I/usr/X11/include -DDOCDIR=\"/opt/local/share/doc/scribus-1.3.3.11/\" -DICONDIR=\"/opt/local/share/scribus/icons/\" -DSAMPLESDIR=\"/opt/local/share/scribus/samples/\" -DSCRIPTSDIR=\"/opt/local/share/scribus/scripts/\" -DTEMPLATEDIR=\"/opt/local/share/scribus/templates/\" -DLIBDIR=\"/opt/local/lib/scribus/\" -DPLUGINDIR=\"/opt/local/lib/scribus/plugins/\" -DSHAREDIR=\"/opt/local/share/scribus/\" -DQT_THREAD_SUPPORT -I/opt/local/include -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor -c -o scmenu.o scmenu.cpp
/opt/local/lib/qt3/bin/moc ./scmessagebox.h -o scmessagebox.moc
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/local/lib/qt3/include -I/usr/X11/include -DDOCDIR=\"/opt/local/share/doc/scribus-1.3.3.11/\" -DICONDIR=\"/opt/local/share/scribus/icons/\" -DSAMPLESDIR=\"/opt/local/share/scribus/samples/\" -DSCRIPTSDIR=\"/opt/local/share/scribus/scripts/\" -DTEMPLATEDIR=\"/opt/local/share/scribus/templates/\" -DLIBDIR=\"/opt/local/lib/scribus/\" -DPLUGINDIR=\"/opt/local/lib/scribus/plugins/\" -DSHAREDIR=\"/opt/local/share/scribus/\" -DQT_THREAD_SUPPORT -I/opt/local/include -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor -c -o scmessagebox.o scmessagebox.cpp
/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/libpng12 -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include -I/opt/local/lib/qt3/include -I/usr/X11/include -DDOCDIR=\"/opt/local/share/doc/scribus-1.3.3.11/\" -DICONDIR=\"/opt/local/share/scribus/icons/\" -DSAMPLESDIR=\"/opt/local/share/scribus/samples/\" -DSCRIPTSDIR=\"/opt/local/share/scribus/scripts/\" -DTEMPLATEDIR=\"/opt/local/share/scribus/templates/\" -DLIBDIR=\"/opt/local/lib/scribus/\" -DPLUGINDIR=\"/opt/local/lib/scribus/plugins/\" -DSHAREDIR=\"/opt/local/share/scribus/\" -DQT_THREAD_SUPPORT -I/opt/local/include -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O2 -fno-exceptions -fno-check-new -fno-common -Wno-non-virtual-dtor -c -o scpainter.o scpainter.cpp
scpainter.cpp:40:26: error: cairo-xlib.h: No such file or directory
scpainter.cpp: In constructor 'ScPainter::ScPainter(QPaintDevice*, unsigned int, unsigned int, unsigned int, unsigned int)':
scpainter.cpp:123: error: 'cairo_xlib_surface_create' was not declared in this scope
make[3]: *** [scpainter.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.