(make sure ~/. Then in a shell with administrator privileges: choco install ghc The one installed by brew was linked with GTK+'s Quartz backend, and you can use macOS's native display manager, keyboard, and pointing device. TIPS: If you installed GTK with homebrew, you do not need to install X11 on macOS. usr/local/Cellar/libffi/3.0.13/lib/pkgconfig) directory to $PKG_CONFIG_PATH. To find out where your brew installed libffi, and add the pkg_config(e.g. Some packaged (such as WebKitGTK) seem to be less well supported on Homebrew.Īnd if you got an error about that pkg-config can not find libffi when installing haskell-gi or something like that, you need Unlike MacPorts you will not need a custom build of GHC for homebrew since it uses the system libiconv. Then make sure the $HOME/ghc-8.0.1/bin is in your $PATH. configure -prefix=$HOME/ghc-8.0.1 -with-iconv-includes=/opt/local/include -with-iconv-libraries=/opt/local/lib -with-gmp-includes=/opt/local/include -with-gmp-libraries=/opt/local/lib -with-system-libffi -with-ffi-includes=/opt/local/lib/libffi-3.2.1/include -with-ffi-libraries=/opt/local/lib -with-nm=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm-classic First install GHC some other way then unpack the source for the GHC version you want to use and run: sudo port install libxslt gmp ncurses libiconv llvm-3.5 libffi You will also need to build a MacPorts compatible of GHC. Sudo port install gobject-introspection webkit-gtk3 webkit2-gtk gtksourceview3 gtk-osx-application-gtk3 adwaita-icon-theme Sudo pacman -S gobject-introspection gobject-introspection-runtime gtksourceview3 webkitgtk webkit2gtk OS X MacPorts Sudo apt-get install libgirepository1.0-dev libwebkitgtk-3.0-dev libwebkit2gtk-4.0-dev libgtksourceview-3.0-dev Arch Linux Sudo dnf install gobject-introspection-devel webkitgtk3-devel webkitgtk4-devel gtksourceview3-devel Ubuntu/Debian The following commands will install most of the C libraries used by the Gtk2Hs and haskell-gi. The Gtk2Hs packages for those (even when using haskell-gi for everything else). Using haskell-gi as it has much more complete bindings.Ĭairo and WebKitGTK JavaScriptCore do not have GObject introspection data so you will still need to use GTK+ is an extensive and mature multi-platform toolkitįor all new application development you should consider :info:build /opt/local/var/macports/build/_Users_gcenx_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32-gcc/work/gcc-10.2.0/libgomp/target.Gtk2Hs is a GUI library for Haskell based on GTK+. :info:build /opt/local/i686-w64-mingw32/include/inttypes.h:37:18: note: format string is defined here :info:build /opt/local/i686-w64-mingw32/include/inttypes.h:36:18: note: format string is defined here :info:build In file included from /opt/local/var/macports/build/_Users_gcenx_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32-gcc/work/gcc-10.2.0/libgomp/target.c:36: :info:build 1228 | gomp_fatal ("present clause: !acc_is_present (%p, " :info:build /opt/local/var/macports/build/_Users_gcenx_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32-gcc/work/gcc-10.2.0/libgomp/target.c:1228:21: error: unknown conversion type character ‘l’ in format :info:build /opt/local/var/macports/build/_Users_gcenx_ports_cross_i686-w64-mingw32-gcc/i686-w64-mingw32-gcc/work/gcc-10.2.0/libgomp/target.c: In function ‘gomp_map_vars_internal’: Mageia Core aarch64 Official .rpm: MinGW compilation of International Components for Unicode Tools: Mageia Core x8664 Official.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |