28-01-2021



Building on Mac OS X 10.6 is unfortunately rather complicated. Gecko 1.9.2 is not 10.6-build-friendly (and, alas, becomes less so over time). This page contains a full list of supplemental instructions to help you complete a Cm2.1-M1.9.2 build on Mac OS X 10.6 (please be sure you follow all of the other instructions on Development:Building:Mozilla 1.9.2 Branch). Make Offer - Mac OS X v 10.5 Leopard Install DVD 2007 disc in sleeve (inc Xcode tools) APPLE MAC OS X 10.5.1 RETAIL LEOPARD INSTALL DVD WITH BOOKLET MB427Z/A $49.99. Mac OS X 10.6.8 Snow Leopard is an upgrade to the previous version of OS X Leopard. This update does not have stacks of new features, rather overall improvements and efficiency upgrades. This version of Apple's OS also has a reduced footprint.

  1. Download Xcode Mac Os X 10.6 8
  2. Ilife Mac Os X 10.6.8

Introducing Xcode 12. With an all-new design that looks great on macOS Big Sur, Xcode 12 has customizable font sizes for the navigator, streamlined code completion, and new document tabs. Xcode 12 builds Universal apps by default to support Mac with Apple Silicon, often without changing a single line of code.

There is also now the Mac OS X Strike Force that aims to improve using Haskell on OS X.

  • 3GHC
  • 6Editors with Haskell support

The Haskell Platform

There are Mac OS X installers of the full Haskell Platform development environment. We recommend it:

Haskell for Mac (IDE)

Haskell for Mac is an easy-to-use integrated programming environment for Haskell on OS X. It is a one-click install of a complete Haskell system, including Haskell compiler, editor, many libraries, and a novel form of interactive Haskell playgrounds. Haskell playgrounds support exploration and experimentation with code. They are convenient to learn functional programming, prototype Haskell code, interactively visualize data, and to create interactive animations.

Features include the following:

  • Built-in Haskell editor with customisable themes, or you can use a separate text editor.
  • Interactive Haskell playgrounds evaluate your code as you type.
  • Easy to explore type information and to observe the behaviour of you program as you change it.
  • Playground results can be text or images produced by the Rasterific, Diagrams, and Chart packages.
  • Add code and multimedia files to a Haskell project with drag'n'drop.
  • Haskell binding to Apple's 2D animation and games framework SpriteKit.
  • Autosaving and automatic project versioning.

Haskell for Mac supports OS X Yosemite or above.

GHC

Important notes

To get the most out of your GHC environment, you should add '~/Library/Haskell/bin' to your PATH environment variable before the path where you have GHC installed. This will allow you to get and use cabal-updates, as well as other programs shipped with GHC like hsc2hs.

In your ~/.profile, add the line:

export PATH=$HOME/Library/Haskell/bin:$PATH

Mac OS X 10.9 (Mavericks), Mac OS X 10.8 (Mountain Lion) and Xcode 5

Both Mountain Lion and Mavericks support and now use XCode 5, which no longer provides GCC, only Clang.

The workaround that the Haskell Platform maintainers are supporting can be found here. That work around along with this one work with only the system provided compilers.

However, if you are still encountering usual bugs, the GCC based directions here may work out better.

Mac OS X 10.5 (Leopard)

To install GHC on Mac OS X 10.5 (Leopard), there are the following options:

  • install the Haskell Platform
  • install MacPort's ghc package

Mac OS X 10.6 (Snow Leopard) and 10.7 (Lion)

  • Install the Haskell Platform

To uninstall ghc call:sudo uninstall-hs

Xcode 4.1

GHC needs Xcode to be installed so it has access to the bintools, headers, and link libraries of the platform. The later two are provided by the SDK that comes as part of Xcode. GHC 7.0.2 is compiled against the 10.5 SDK. Xcode 4.1 no longer ships with it. ghci will work, but linking and some compiles with <ghc> will not. To make those work you need a copy of the 10.5 SDK. You can get this one several ways:

  • Before you install Xcode 4.1, if you have Xcode 3.2 installed, do one of the following:
    • Move it aside (renaming /Developer to /Xcode3.2)
    • Move just the sdk aside (moving /Developer/SDKs/MacOSX10.5.sdk to, say, /ExtraSDKs/MacOSX10.5.sdk)
    • Move just the sdk aside, install Xcode 4.1, then move it back into the /Developer/SDKs directory.
  • If you don't have Xcode 3.2, then you can download it from the Apple Developer site, and install it in a location other than '/Developer'. If you have already installed Xcode 4.1 be sure that you customized the install and don't install the 'System Tools' or 'UNIX Development' packages.

Building via GHC:

Building via cabal:

Replace {loc} with wherever you put the SDK.

Xcode

HUGS

  • install MacPort's hugs98 package.


Installing libraries with external C bindings

Haskell libraries are installed with the cabal command line tool.

Some libraries depend on external C libraries, which are best installed with MacPorts. However, you have to tell cabal to include the /opt/local/ directories when searching for external libraries. The following shell script does that by wrapping the cabal utility

Editors with Haskell support

Open Source

  • AquaMacs or EmacsForOSX, a graphical Emacs version
  • Eclipse with the EclipseFP plugin. See EclipseOn_Mac_OS_X
  • Emacs, is installed on every Mac
  • MacVim, a graphical Vim version
  • Textmate 2, open source incarnation of TextMate 1.
  • Vim, is installed on every Mac
  • Yi (written in Haskell itself!), is available through cabal-install

Commercial

SubEthaEdit:

TextMate:

Smultron:

Download Xcode Mac Os X 10.6 8

and Sublime Text 2:

TextEdit is Mac's default text editor, a very basic editor that works fine for most uses, you must however be careful to put it into plain text mode using the Format menu.

Shipping Installable Haskell Applications

  • mkbndl builds installable Mac OSX applications from your Haskell project.

Links

  • Using Haskell in an Xcode Cocoa project; a description of how to add a Haskell module (callable from C) to an Xcode/Cocoa/Interface builder project on your Mac.
  • Mac OS X Common Installation Paths: an effort to standardize where things go on a Mac OS X installation
Retrieved from 'https://wiki.haskell.org/index.php?title=Mac_OS_X&oldid=60586'

Nmap has supported Mac OS X since 2001, and our support has only improved over time. While Mac users can compile Nmap themselves, we also offer an executable installer. Nmap makes use of Jhbuild and gtk-mac-bundler which are used to build other projects for Mac OS X, such as OpenSSL, libapr, libsvn... Nmap is also available through systems such as MacPorts and Fink which package Unix software for Mac OS X.

The easiest way to install Nmap and Zenmap on Mac OS X is to useour installer. TheMac OS X section ofthe Nmap download page provides a file namednmap-<version>.dmg, where<version> is the version number of the mostrecent release. The.dmgfile is known as adisk image. Installation instructions follow:

  1. Download the filenmap-<version>.dmg.Double-click the icon to open it. (Depending on how you downloaded thefile, it may be opened automatically.)

  2. The contents of the disk image will be displayed. One ofthe files will be a Mac meta-package file namednmap-<version>.mpkg.Open it to start the installer.

    On OS X 10.8 and later, you may see a dialog likeFigure 2.2.

    Figure 2.2. Apple Gatekeeper block screen


    If this happens, it is necessary to right-click or control-click on the.mpkg and select Open,as shown inFigure 2.3.

    Figure 2.3. Apple Gatekeeper Open menu


    A dialog similar to the first will appear, this time having anOpen button (shown inFigure 2.4).Click the button to continue.

    Figure 2.4. Apple Gatekeeper Open screen


  3. Follow the instructions in theinstaller. You will be asked for your password since Nmap installs in a system directory.

  4. Once the installer is finished, eject the disk image bycontrol-clicking on its icon and selectingEject. The disk image may now be placed inthe trash.

See the instructions in the section called “Executing Nmap on Mac OS X” forhelp on running Nmap and Zenmap after they are installed.

The programs installed by the installer will run on Intel Mac OS X 10.5(Leopard) or later. Users of earlier versions will have to compile fromsource or use a third-party package. Instructions for PowerPC (PPC) Mac systems (which Apple ceased selling in 2006) are available on our wiki.

Compiling Nmap from source on Mac OS X is no more difficult thanon other platforms once a proper build environment is in place.

Compiling Nmap on Mac OS X requiresXcode,Apple's developer tools that include GCC and the rest of the usual buildsystem. Xcode is not installed by default, but can be downloaded free ofcharge from the Mac AppStore. After installing Xcode, openPreferences, select theDownloads tab, and click theInstall next to Command LineTools.

Xcode installations don't always include the command line tools. You can install them by opening Xcode from the Applications folder, opening Preferencechoosing the Download header icon and clicking the Install button next to Command Line Tools.

Once you have installed Xcode and the command-line tools, follow the compilation instructions found in the section called “Linux/Unix Compilation and Installation from Source Code”. Note that on some older versions of Mac OS X, you may have to replace the command ./configure with ./configure CPP=/usr/bin/cpp. Also, on some newer Mac OS X versions, the libpcap version of the library provided by Apple may be too old. You may have to configure Nmap with the command ./configure --with-libpcap=included in order to use the compatible version included in Nmap, or you should update the libpcap installed on your machine.

Zenmap depends on some external libraries that do not come withMac OS X, including GTK+ and PyGTK. These libraries have many dependenciesof their own. A convenient way to install all of them is to use athird-party packaging system as described inSection . Once the dependencies areinstalled, follow the instructions in the section called “Linux/Unix Compilation and Installation from Source Code” toinstall Zenmap as usual.

Another option for installing Nmap is to use a systemwhich packages Unix software for Mac OS X. The two discussed here areFink andMacPorts. See therespective projects' web sites for how to install the packagemanagers.

To install using Fink, run the command fink installnmap. Nmap will be installed as/sw/bin/nmap. To uninstall use the commandfink remove nmap.

To install using MacPorts, run sudo portinstall nmap. Nmap will be installed as/opt/local/bin/nmap. To uninstall, runsudo port uninstall nmap.

These systems install the nmapexecutable outside the global PATH. To enable Zenmap tofind it, set the nmap_command_path variable inzenmap.conf to /sw/bin/nmap or/opt/local/bin/nmap as described inthe section called “The nmap Executable”.

The terminal emulator in Mac OS X is calledTerminal, and is located in the directory/Applications/Utilities. Open it and aterminal window appears. This is where you will type your commands.

By default the root user is disabled on Mac OS X. To run a scan withroot privileges prefix the command name withsudo,asin sudo nmap -sS <target>.You will be asked for a password, which is just your normal loginpassword. Only users with administrator privileges can do this.

Zenmap requires the X11 application tobe installed. If it was not installed by default it may be available asan optional install on the Mac OS X installation discs.

Ilife Mac Os X 10.6.8

When Zenmap is started, a dialog is displayed requesting that youtype your password. Users withadministrator privilegesmay enter theirpassword to allow Zenmap to run as the root user and run more advancedscans. To run Zenmap in unprivileged mode, select theCancel button on this authentication dialog.