make install

according to the text in the makefiles, one needs only to have export ROKU_DEV_TARGET= in .bashrc which translates to .bash_profile on mac os x.

However when I do this what happens when I do make install is I get a name resolution error:

curl: (6) Couldn’t resolve host ‘http:’

I did have success with using a slightly modified version of curl in a bash script:

make
curl -S -F “archive=@/Users/jbrave/Desktop/roku_sdk_v26/examples/zips/myapp.zip” -F “mysubmit=Replace” -F “passwd=” http://192.168.1.67/plugin_install

but since make already has the ability to do the upload, it would be nice to troubleshoot this. Can anyone help?

  • Joel

It sounds like your ROKU_DEV_TARGET environment variable did not get set. After editing your profile, you need to either source the profile (using the dot command) or logout and login again to create a new shell that reads the profile. You can verify whether the variable is set by typing

env | grep ROKU

which should produce output like

ROKU_DEV_TARGET=192.168.1.67

or whatever you set it to.

–Mark

Thanks! tried grep, got nothing, logged off and back on, and now grep returns the correct string. I had assumed that quitting Terminal and reloading would be enough, but I guess this gets initialized only at logon.

  • Joel