dia installation fails after update to 1.710

Nigel King nigel at nigelking.me.uk
Fri Jul 17 15:06:33 PDT 2009

Hi Ryan,
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  
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.

Nigel King

On 17 Jul 2009, at 08:39, Ryan Schmidt wrote:

> On Jul 17, 2009, at 02:09, Nigel King wrote:
>> I successfully installed dia at Macports 1.6
>> I upgraded to 1.710 and asked for an upgrade of dia. The first time  
>> I did this many packages were upgraded before getting the error  
>> given below.
>> I have enclosed the relevant (I hope) position below. I see fink  
>> seems to have a similar problem.
> Could you please clean and try again with debug output enabled?  
> MacPorts only prints the last 30 or so lines of error output, but I  
> believe the first error occurred well before that.
> sudo port clean dia
> sudo port -d install dia
> Hopefully we will then see an error message we know how to fix. :)

More information about the macports-users mailing list