Coder Social home page Coder Social logo

Comments (7)

donbright avatar donbright commented on July 22, 2024

what is the full name of your sdk file

also what is the full log of the error?

from osxcross.

paresy avatar paresy commented on July 22, 2024

Thanks for the fast response :-)

I have used the get_sdk_package.sh script. The full name is "MacOSX10.9.sdk.tar.bz2"

from osxcross.

donbright avatar donbright commented on July 22, 2024

does your output look like this?

don@serebryanya:~/src/osxcross$ SDK_VERSION=10.9 ./build.sh 
SDK VERSION set in environment variable:  10.9
verified at tarballs/MacOSX10.9.sdk.tar

Building OSXCross toolchain, Version: 0.5

OS X SDK Version: 10.9, Target: darwin13
Minimum targeted OS X Version: 10.5
Tarball Directory: /home/don/src/osxcross/tarballs
Build Directory: /home/don/src/osxcross/build
Install Directory: /home/don/src/osxcross/target
SDK Install Directory: /home/don/src/osxcross/target/SDK

from osxcross.

paresy avatar paresy commented on July 22, 2024

Unfortunately not.

found SDK version 10.9...2 at tarballs/MacOSX10.9.sdk.tar.bz2

I modified the following lines:

    tmp2=`echo $sdk | sed s/[^0-9.]//g`
    tmp3=`echo $tmp2 | sed s/\\\.*$//g`

to

    tmp1=`echo $sdk | sed s/bz2//g`
    tmp2=`echo $tmp1 | sed s/[^0-9.]//g`
    tmp3=`echo $tmp2 | sed s/\\\.*$//g`

That fixed the problem. Thanks again for your help!

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

Please show the way you invoke the build.sh script, there shouldn't be any need to modify it.

from osxcross.

paresy avatar paresy commented on July 22, 2024

./build.sh

The SDK version auto-detect (sed s/[^0-9.]//g) filters all numbers. The 2 from bz2 is therefore added to the variable aswell. The SDK_VERSION variable is then set to "10.9...2" and the build script fails at the point i stated above.

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

Fixed.

from osxcross.

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.