dia installation fails after update to 1.710

Ryan Schmidt ryandesign at macports.org
Fri Jul 17 16:09:18 PDT 2009

On Jul 17, 2009, at 17:06, Nigel King wrote:

> I followed your instructions and the lead up to the first error  
> seems to be below
> =========
> creating libxfig_filter.la
> (cd .libs && rm -f libxfig_filter.la && ln -s ../libxfig_filter.la  
> libxfig_filter.la)
> Making all in wmf
> /bin/sh ../../libtool --tag=CXX   --mode=compile /usr/bin/g++-4.0 - 
> DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib  -D_REENTRANT - 
> I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/ 
> local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/ 
> include/pango-1.0 -I/opt/local/include -I/opt/local/include/ 
> glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/ 
> pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/ 
> libpng12 -I/opt/local/include/libxml2 -I/opt/local/include/ 
> libart-2.0     -I/opt/local/include  -O2 -MT wmf.lo -MD -MP - 
> MF .deps/wmf.Tpo -c -o wmf.lo wmf.cpp
> mkdir .libs
>  /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../ 
> lib -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/ 
> gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/ 
> cairo -I/opt/local/include/pango-1.0 -I/opt/local/include -I/opt/ 
> local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/ 
> local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/ 
> include/libpng12 -I/opt/local/include/libxml2 -I/opt/local/include/ 
> libart-2.0 -I/opt/local/include -O2 -MT wmf.lo -MD -MP -MF .deps/ 
> wmf.Tpo -c wmf.cpp  -fno-common -DPIC -o .libs/wmf.o
> wmf.cpp:64:19: error: emf.h: No such file or directory
> wmf.cpp:108: error: 'HDC' in namespace 'W32' does not name a type
> wmf.cpp:111: error: 'HDC' in namespace 'W32' does not name a type
> =========
> Do you need any more-it is very long.

Thanks, that's enough to let us know where it's failing.... I don't  
know why though. I don't have an emf.h on my system either and dia  
built fine. Could you attach the config.log file? It's in the dia-*  
directory in the directory identified by "port work dia". I can  
compare the config.log to mine; maybe it's finding something  
different on your system and making different decisions than on mine.

More information about the macports-users mailing list