View Full Version : How to install luasocket...
kwaugh
January 9th, 2007, 02:04 PM
I'm having a bit of trouble installing luasocket for netremote. I've downloaded luasocket-2.0-win32, but am unclear on which netremote directories are the targets for the various files.
Any help is greatly appreciated...
Thanks,
K
Ben S
January 10th, 2007, 03:04 PM
You shouldn't have to install luasocket, it comes with NetRemote by default. You just need to do a
require('socket');
or whatever other files you need.
kwaugh
January 10th, 2007, 03:41 PM
Thanks for the response Ben...
I must be doing something else wrong then. I'm trying to run mhwlng's worldtime3 ccf.
There is a worldtime3.ccf and a worldtime3.lua. I've tried starting the ccf with the lua file in the same directory and in the lua directory and the results are the same. The first line of the lua is:
require('socket.http')
and I get the following message on startup:
Error executing lua
[string "F:\Program Files\NetRemote\CCFs\worldtime3...."]:1: could not load package 'socket.http' from path 'F:\program files\netremote\lua\?.lua'
I'm sure it's something simple and obvious, but I'm still learning the ropes...
Thanks,
K
Ben S
January 11th, 2007, 02:49 AM
Oh. Is this NetRemote 1 or 2?
NetRemote 2 includes the socket stuff.
kwaugh
January 11th, 2007, 03:03 AM
Guess I should have mentioned that. It's 1...
Is it possible to install on NR 1?
Thanks!
K
kwaugh
January 16th, 2007, 11:47 AM
I figured I'd close the loop on this thread - I could never figure out how to get it working with NR1, so I just upgraded to NR2.
Ben S
January 18th, 2007, 08:20 AM
Yes, unfortunately putting it in 1 would be a problem as it wasn't loading shared libraries.
I hope you like NR2.
kwaugh
January 29th, 2007, 11:24 AM
I'd been meaning to do it for a while and this gave me the final reason to go ahead and do it.
Awesome product...
Ben S
January 29th, 2007, 04:49 PM
Awesome. Glad you like it!
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.