Code Monkey home page Code Monkey logo

Comments (7)

ling32945 avatar ling32945 commented on July 20, 2024

Also, the files i686-apple-darwin10-cpp-4.2.1, i686-apple-darwin10-g++-4.0.1, i686-apple-darwin10-llvm-g++-4.2, i686-apple-darwin10-llvm-gcc-4.2, etc need to create soft link to /usr/local/bin

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

can you make a pull request or submit a patch? I have no time to work on it now

from xcodelegacy.

ling32945 avatar ling32945 commented on July 20, 2024

OK, I'll work on it.

from xcodelegacy.

inspector-g avatar inspector-g commented on July 20, 2024

I had this same issue. The underlying cause is that on a fresh installation of El Capitan there is no /usr/local/bin directory, so the soft links cannot be created. Following is a patch that fixes the issue:

*** ./XcodeLegacy/XcodeLegacy.sh    2015-10-07 17:20:31.000000000 -0700
--- ./XcodeLegacyElCapFix/XcodeLegacy.sh    2015-10-12 10:15:30.000000000 -0700
***************
*** 63,68 ****
--- 63,74 ----
      # install in Xcode instead, and put links in /usr/local
      SANDBOX=1
      GCCLINKDIR=/usr/local
+ 
+     # On fresh installations of OSX 10.11, the /usr/local/bin directory doesn't exist.
+     # Create it if necessary and set typical permissions.
+     if [ ! -d "/usr/local/bin" ]; then
+       mkdir -m 755 "/usr/local/bin"
+     fi
  fi

  GCCFILES="usr/share/man/man7/fsf-funding.7 usr/share/man/man7/gfdl.7 usr/share/man/man7/gpl.7 usr/share/man/man1/*-4.0.1 usr/share/man/man1/*-4.0.1.1 usr/libexec/gcc/*-apple-darwin10/4.0.1 usr/lib/gcc/*-apple-darwin10/4.0.1 usr/include/gcc/darwin/4.0 usr/bin/*-4.0 usr/bin/*-4.0.1 usr/share/man/man1/*-4.2.1 usr/libexec/gcc/*-apple-darwin10/4.2.1 usr/lib/gcc/*-apple-darwin10/4.2.1 usr/include/gcc/darwin/4.2 usr/bin/*-4.2 usr/bin/*-4.2.1 usr/llvm-gcc-4.2 usr/share/man/man1/llvm-g*.1.gz usr/libexec/gcc/*-apple-darwin10/4.2.1 usr/lib/gcc/*-apple-darwin10/4.2.1 usr/include/gcc/darwin/4.2 usr/bin/*-4.2 usr/bin/*-4.2.1"

from xcodelegacy.

ling32945 avatar ling32945 commented on July 20, 2024

How do I commit it? I do have the access privileges.

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

as usual with github: fork, commit in your fork, branch, then do a pull request from your branch
https://help.github.com/articles/using-pull-requests/

or send me the file by email (frederic dot devernay at inria dot fr), but then the commit won't have your name on it!

from xcodelegacy.

devernay avatar devernay commented on July 20, 2024

fixed by #18

from xcodelegacy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.