在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):leksah/leksah开源软件地址(OpenSource Url):https://github.com/leksah/leksah开源编程语言(OpenSource Language):Haskell 49.4%开源软件介绍(OpenSource Introduction):Leksah, an Integrated Development Environment for HaskellLeksah aims to integrate various Haskell development tools to provide a practical and pleasant development environment. The user interface is a mix of GTK+ and WebKit based components. Documentation can be found on leksah.org. Leksah's Nix SupportNix is great and we have added some features to make it easier to use Nix projects with Leksah. If your project has a If you change your A great way to set up a suitable Getting LeksahNix (Recommended for Linux and macOS users)Install Nix. Leksah uses the cached builds provided by IOHK. Setting these up will allow you to use their prebuilt GHC binaries and packages. This is highly recommended. If you're using NixOS then follow the instructions located at: https://github.com/input-output-hk/plutus#iohk-binary-cache. Otherwise you can use the following instructions for adding the caches to your local Nix install: https://github.com/input-output-hk/cardano-sl/blob/master/docs/nix.md#binary-cache Then download, build and run Leksah with:
On macOS the Leksah window start below other active application windows you can use Command+Shift+Tab to bring it to the top (issue 461). The Chocolatey and MSYS2 (Recommended for Windows users)Install Chocolatey. Right click on choco install ghc --version 8.8.4
choco install msys2 Close the git clone --recursive https://github.com/leksah/leksah.git
cd leksah
leksah.bat Alternative Installation MethodLeksah requires Step 1: Install C librariesFedorasudo dnf install gobject-introspection-devel webkitgtk4-devel gtksourceview3-devel Ubuntu/Debiansudo apt-get install libgirepository1.0-dev libwebkit2gtk-4.0-dev libgtksourceview-3.0-dev libtinfo-dev Arch Linuxsudo pacman -S gobject-introspection gobject-introspection-runtime gtksourceview3 webkit2gtk macOS with MacPortssudo port install gobject-introspection webkit2-gtk gtksourceview3 gtk-osx-application-gtk3 adwaita-icon-theme` You will also need to build a MacPorts compatible of GHC. 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
./configure --prefix=$HOME/ghc-8.4.3 --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
make
make install
echo 'PATH: '"$PATH" Make sure the macOS with HomebrewIt might be possible to build Leksah using Homebrew now we have switched to WebKit 2. If you can figure it out please send us the details or better yet a pull request to update this file. Raise an issue if you try and it does not work. FreeBSDpkg install devel/gobject-introspection x11-toolkits/gtksourceview3 www/webkit2-gtk3 Step 2: Clone repository and its submodulesgit clone --recursive https://github.com/leksah/leksah.git
cd leksah Step 3.a: Build - cabal new-build variantStep 3.a.1: Install extra toolscabal update
cabal install alex happy
cabal install haskell-gi Make sure Step 3.a.2: Build and run LeksahmacOS using MacPortsXDG_DATA_DIRS=/opt/local/share ./leksah.sh Other OS./leksah.sh Step 3.b: Build - stack variantStep 3.b.1: Install extra toolsstack setup --upgrade-cabal
stack install alex happy
stack install haskell-gi
stack install gtk2hs-buildtools Leksah needs stack install cabal-install
cabal update Step 3.b.2: Build and run LeksahmacOS using MacPortsXDG_DATA_DIRS=/opt/local/share stack install
stack exec --no-ghc-package-path leksah Other OS with Gtk+ 3.20 (or newer)stack install
stack exec --no-ghc-package-path leksah Other OS with Gtk+ 3.18 (e.g. Ubuntu 16.04)stack install --flag ltk:-gtk-320 --flag leksah:-gtk-320
stack exec --no-ghc-package-path leksah |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论