reportfree.blogg.se

Install x11sdk for mac
Install x11sdk for mac







install x11sdk for mac
  1. INSTALL X11SDK FOR MAC HOW TO
  2. INSTALL X11SDK FOR MAC MAC OS X

In that ‘OSX GCC Installer’ area, the first of two options is pre-built binaries - for Snow Leopard and for Lion, but not for Mountain Lion. 5: For users who can download from Apple a build of Xcode, but not the command line toolsĪn accepted answer to a comparable question suggests kennethreitz / osx-gcc-installer. Then check your ruby version: user$ ruby -v Then to set your new ruby as default: user$ rvm use 1.9.2 -default Install Ruby Prefix the install command with CFLAGS="-I/opt/X11/include" Install RVM CFLAGS="-I/opt/X11/include" rvm reinstall ree $ brew tap homebrew/dupesĪdd the following to your ~/.profile or equivalent: export CC=/usr/local/bin/gcc-4.2Īnd reload your shell before attempting the install commands below. Note, the Xcode Command Line Tools do not include GCC, they include LLVM-GCC. Just paste this into terminal: export PATH=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:$PATH My error looked like this: make: /usr/bin/gcc-4.2: No such file or directoryĪ symlink will sort out the issue: sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

install x11sdk for mac

Now the default installation path is /usr/bin/gcc. I found that after upgrading from Lion my install was failing because it was looking for GCC in /usr/bin/gcc-4.2.

INSTALL X11SDK FOR MAC MAC OS X

Package requires Mac OS X 10.7.3 or later. Using the Downloads preferences pane within Xcode 4.3 and later. If you use Xcode, these tools are alsoĮmbedded within the Xcode IDE, and can be installed on your system Many useful tools are included, such as the Apple LLVMĬompiler, linker, and Make. This package enables UNIX-style development via Terminal by installingĬommand line developer tools, as well as Mac OS X SDK frameworks and Starting with Xcode 4.3 – you must now manually install command line tools from Xcode menu > Preferences > Downloads.Īlternatively, there are stand-alone installation packages both for Mountain Lion (10.8) and for Mavericks (10.9). You can now just run the following command from your terminal: xcode-select -install

INSTALL X11SDK FOR MAC HOW TO

I need gcc both for mac ports and for ruby gems (that have native extensions).ĭoes Xcode 4.4 include gcc or is there a way to install gcc? How to solve this problem? Solution no. I’ve also installed Xcode 4.4 so there is no more /Developer directory. I have install Mountain Lion (Mac OS X 10.8) and now gcc doesn’t seem to be available anymore.









Install x11sdk for mac