From: Andy S. <laz...@gm...> - 2008-12-02 13:55:17
|
Hi all, I use Debian and install GHC 6.10.1 Today i compile darcs version gtk2hs with GHC 6.10.1 First i install below Debian packages for predepend. ,---- | libglade2-dev | libgtksourceview-dev | libgconf2-dev | librsvg2-dev | libgstreamer-plugins-base0.10-dev | libgstreamer0.10-dev | libgtkglext1-dev | libgnomevfs2-dev | xulrunner-dev `---- And "./configure" with: ,---- | * The following packages will be built: | * | * glib : yes | * gtk : yes | * glade : yes | * cairo : yes | * svgcairo : yes | * gtkglext : yes | * gconf : yes | * sourceview : yes | * mozembed : yes | * soegtk : yes | * gnomevfs : yes | * gstreamer : yes | * documentation : no `---- But i got below error information when i "make": ,---- | if test -f gio/libHSgio_a.deps; then touch gio/libHSgio_a.deps; else touch gio/libHSgio_a.deps; make gio/System/GIO/AsyncResult.hs gio/System/GIO/Base.hs gio/System/GIO/Cancellable.hs gio/System/GIO/File.hs gio/System/GIO/Types.hs gio/System/GIO/Signals.hs gio/System/GIO/FileAttribute.hs gio/System/GIO.hs; /usr/local/bin/ghc -M -optdep-f -optdepgio/libHSgio_a.deps -fglasgow-exts -O -XForeignFunctionInterface -fglasgow-exts -igio -package-conf package.conf.inplace -hide-all-packages -ignore-package gio -package base-4.0.0.0 -package bytestring-0.9.1.4 -package glib-0.9.13 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include gio/System/GIO/AsyncResult.hs gio/System/GIO/Base.hs gio/System/GIO/Cancellable.hs gio/System/GIO/File.hs gio/System/GIO/Types.hs gio/System/GIO/Signals.hs gio/System/GIO/FileAttribute.hs gio/System/GIO.hs; fi; | make[1]: Entering directory `/test/Download/gtk2hs' | make[1]: “gio/System/GIO/AsyncResult.hs” is NEWEST. | make[1]: “gio/System/GIO/Base.hs” is NEWEST. | make[1]: “gio/System/GIO/Cancellable.hs” is NEWEST. | if test -x ./tools/c2hs/c2hsLocal; then :; else make ./tools/c2hs/c2hsLocal; fi; | if test -f gio/gio.precomp; then :; else make gio/gio.precomp; fi; | ./tools/c2hs/c2hsLocal +RTS -RTS -iglib:gio --precomp=gio/gio.precomp -o gio/System/GIO/File.hs gio/System/GIO/File.chs | c2hsLocal: Errors during expansion of binding hooks: | | gio/System/GIO/File.chs:738: (column 23) [ERROR] | >>> Unknown identifier! | Cannot find a definition for `file_make_directory_with_parents' in the header file. | | make[1]: *** [gio/System/GIO/File.hs] ERROR 1 | make[1]: Leaving directory `/test/Download/gtk2hs' | | on the commandline: | Warning: -optdep-f is deprecated: Use -dep-makefile instead | | <no location info>: can't find file: gio/System/GIO/File.hs | make: *** Deleting file “gio/libHSgio_a.deps” | make all-am | make[1]: Entering directory `/test/Download/gtk2hs' | if test -f gio/libHSgio_a.deps; then touch gio/libHSgio_a.deps; else touch gio/libHSgio_a.deps; make gio/System/GIO/AsyncResult.hs gio/System/GIO/Base.hs gio/System/GIO/Cancellable.hs gio/System/GIO/File.hs gio/System/GIO/Types.hs gio/System/GIO/Signals.hs gio/System/GIO/FileAttribute.hs gio/System/GIO.hs; /usr/local/bin/ghc -M -optdep-f -optdepgio/libHSgio_a.deps -fglasgow-exts -O -XForeignFunctionInterface -fglasgow-exts -igio -package-conf package.conf.inplace -hide-all-packages -ignore-package gio -package base-4.0.0.0 -package bytestring-0.9.1.4 -package glib-0.9.13 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include gio/System/GIO/AsyncResult.hs gio/System/GIO/Base.hs gio/System/GIO/Cancellable.hs gio/System/GIO/File.hs gio/System/GIO/Types.hs gio/System/GIO/Signals.hs gio/System/GIO/FileAttribute.hs gio/System/GIO.hs; fi; | make[2]: Entering directory `/test/Download/gtk2hs' | make[2]: “gio/System/GIO/AsyncResult.hs” is NEWEST. | make[2]: “gio/System/GIO/Base.hs” is NEWEST. | make[2]: “gio/System/GIO/Cancellable.hs” is NEWEST. | if test -x ./tools/c2hs/c2hsLocal; then :; else make ./tools/c2hs/c2hsLocal; fi; | if test -f gio/gio.precomp; then :; else make gio/gio.precomp; fi; | ./tools/c2hs/c2hsLocal +RTS -RTS -iglib:gio --precomp=gio/gio.precomp -o gio/System/GIO/File.hs gio/System/GIO/File.chs | c2hsLocal: Errors during expansion of binding hooks: | | gio/System/GIO/File.chs:738: (column 23) [ERROR] | >>> Unknown identifier! | Cannot find a definition for `file_make_directory_with_parents' in the header file. | | make[2]: *** [gio/System/GIO/File.hs] ERROR 1 | make[2]: Leaving directory `/test/Download/gtk2hs' | | on the commandline: | Warning: -optdep-f is deprecated: Use -dep-makefile instead | | <no location info>: can't find file: gio/System/GIO/File.hs | make[1]: *** Deleting file “gio/libHSgio_a.deps” | rm -rf gio/System/GIO/AsyncResult.o gio/System/GIO/AsyncResult_split/; mkdir -p gio/System/GIO/AsyncResult_split | /usr/local/bin/ghc +RTS -RTS -split-objs -c gio/System/GIO/AsyncResult.hs -o gio/System/GIO/AsyncResult.o -O -XForeignFunctionInterface -fglasgow-exts -igio -package-conf package.conf.inplace -hide-all-packages -ignore-package gio -package base-4.0.0.0 -package bytestring-0.9.1.4 -package glib-0.9.13 -package-name gio-0.9.13 '-#include<gio/gio.h>' -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include | | gio/System/GIO/AsyncResult.chs:37:0: | Failed to load interface for `System.GIO.Base': | Use -v to see a list of the files searched for. | make[1]: *** [gio/System/GIO/AsyncResult.o] ERROR 1 | make[1]: Leaving directory `/test/Download/gtk2hs' | make: *** [all] ERROR 2 `---- So anyone can help me? Thank you very much! -- Andy |