Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jbrave
Channel Surfer

make install

according to the text in the makefiles, one needs only to have export ROKU_DEV_TARGET=<ip address> 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
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos
2 REPLIES 2
RokuMarkn
Visitor

Re: make install

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
0 Kudos
jbrave
Channel Surfer

Re: make install

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
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos