On Sat, Jul 04, 2009 at 11:35:03AM +0200, Dominique Dhumieres wrote: > Updating to dia-0.97-1 failed with: > > ... > g++ -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib > -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 > -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 > -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 > -I/sw/include -I/sw/include/libpng12 -I/sw/include/libxml2 > -I/sw/include/libart-2.0 -I/sw/include/libgnome-2.0 -I/sw/include/orbit-2.0 > -I/sw/include/gconf/2 -I/sw/include/gnome-vfs-2.0 > -I/sw/lib/gnome-vfs2.16/gnome-vfs-2.0/include -I/sw/include/libbonobo-2.0 > -I/sw/include/dbus-1.0 -I/sw/lib/dbus-1.0/include > -I/sw/include/bonobo-activation-2.0 -I/sw/include/libgnomeui-2.0 > -I/sw/include/gnome-keyring-1 -I/sw/include/libbonoboui-2.0 > -I/sw/include/libgnomecanvas-2.0 -I/sw/include/gail-1.0 -I/usr/X11R6/include > -I/usr/X11/include -DORBIT2=1 -I/sw/lib/fontconfig2/include -I/sw/include -g > -O2 -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 > wmf.cpp:116: error: 'HPEN' in namespace 'W32' does not name a type > wmf.cpp:118: error: 'HFONT' in namespace 'W32' does not name a type > wmf.cpp:126: error: 'RECT' in namespace 'W32' does not name a type > wmf.cpp:154: error: 'HPEN' in namespace 'W32' does not name a type > wmf.cpp:219: error: 'W32::HPEN' has not been declared > ... > wmf.cpp:1343: error: 'struct _WmfRenderer' has no member named 'hFileDC' > wmf.cpp:1343: error: 'TRANSPARENT' was not declared in this scope > wmf.cpp:1344: error: 'SetMapMode' is not a member of 'W32' > wmf.cpp:1344: error: 'struct _WmfRenderer' has no member named 'hFileDC' > wmf.cpp:1344: error: 'MM_TEXT' was not declared in this scope > wmf.cpp:1359: error: 'ReleaseDC' is not a member of 'W32' > make[3]: *** [wmf.lo] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > ### execution of /var/tmp/tmp.1.63PoR3 failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-dia-0.97-1 > (Reading database ... 421770 files and directories currently installed.) > Removing fink-buildlock-dia-0.97-1 ... > Failed: phase compiling: dia-0.97-1 failed
Confirmed. > It looks like a missing dependency on libemf (I see > /sw/include/libEMF/emf.h). There are about four inter-related bugs here...the only way it works right now is if you remove libemf (libemf-shlibs can stay installed). The only way libemf detection could work per ./configure coding is if it's installed in /usr rather than /sw. I gave htodd the following fix last evening: http://paste.lisp.org/display/82980 "works for me"(TM) dan -- Daniel Macks [email protected] http://www.netspace.org/~dmacks ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
