Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

ino can't find make under certain circumstances #23

Closed
fabiankr opened this issue Mar 5, 2012 · 3 comments
Closed

ino can't find make under certain circumstances #23

fabiankr opened this issue Mar 5, 2012 · 3 comments
Assignees

Comments

@fabiankr
Copy link

fabiankr commented Mar 5, 2012

Hello,

ino doesn't search for make like it does for other tools. In build.py the make() function needs to changed:

    def make(self, makefile, **kwargs):
    makefile = self.render_template(makefile + '.jinja', makefile, **kwargs)
    self.e.find_arduino_tool('make', ['hardware', 'tools', 'avr', 'bin'])
    ret = subprocess.call([self.e['make'], '-f', makefile, 'all'])
    if ret != 0:
        raise Abort("Make failed with code %s" % ret)
@ghost ghost assigned nkrkv Mar 5, 2012
@nkrkv
Copy link
Member

nkrkv commented Mar 5, 2012

Agreed. How did you figured this out? Do you have a MacOS without XCode installed or did you get compatibility issues between OS make and Arduino make?

@fabiankr
Copy link
Author

fabiankr commented Mar 5, 2012

Xcode 4.3 makes installing command line tools optional and that was causing the problems.

@nkrkv
Copy link
Member

nkrkv commented Mar 5, 2012

Ok, anyway, its a good idea to look for make bundled with Arduino IDE

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants