Alexander K. Hansen wrote: > Alexander Lehmann wrote: >> Hi there, >> >> for quite a long time I've been trying to build gtk-sharp2 but the build >> keeps failing with the following error: >> >> /bin/sh ../../libtool --tag=CC --mode=link gcc -g -Wall -Wunused >> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes >> -Wmissing-prototypes -Wnested-externs -Wshadow -Wpointer-arith >> -Wno-cast-qual -Wcast-align -Wwrite-strings -o libgdksharpglue-2.la >> -rpath /sw/lib -module -avoid-version -no-undefined dragcontext.lo >> device.lo event.lo selection.lo windowmanager.lo generated.lo >> -L/sw/lib/pango-ft219/lib -L/sw/lib/fontconfig2/lib >> -L/sw/lib/freetype219/lib -L/usr/X11R6/lib -L/sw/lib -lgtk-x11-2.0 >> -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXcursor -latk-1.0 >> -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lXrender -lpangox-1.0 -lX11 >> -lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lgobject-2.0 >> -lgmodule-2.0 -lglib-2.0 -lintl -liconv >> grep: /sw/lib/libpangoxft-1.0.la: No such file or directory >> sed: /sw/lib/libpangoxft-1.0.la: No such file or directory >> libtool: link: `/sw/lib/libpangoxft-1.0.la' is not a valid libtool >> archive >> make[3]: *** [libgdksharpglue-2.la] Error 1 >> make[2]: *** [all-recursive] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 >> >> So far, so good. Obviously libpangoxft is missing. Thus I installed >> pango1-xft2-dev. Installing pango1-xft2-dev automatically removes >> pango1-xft2-ft219-dev which unfortunately is another dependency of >> gtk-sharp2. >> I don't know if the pango1-xft2-dev libraries and header files are also >> included within pango1-xft2-ft219-dev but if that's the case then it >> looks like some links were missing?! >> >> What do you think and have you also encountered similar problems? I >> really need gtk-sharp2 because I have to do a lot of mono programming at >> this time. >> >> Thank you, >> Alexander
Meanwhile I have found a solution that may or may not work for others as well. However, use at your own risk ;-) As stated above the error messages indicate missing libraries. Since these libraries are actually installed I thought that maybe missing links were causing the build problems. In fact in my case adding those missing links solved the problem and I was finally able to build and install gtk-sharp2 as well as libgdiplus. In order to create the missing links I issued the following commands on the command line: # cd /sw/lib # for i in pango-ft219/lib/*; do ln -sf $i; done Hope this helps other folks, too ;-) Alexander ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-beginners mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-beginners
