Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haxelib run HIDE, nothing happens #4

Open
logiquefloue opened this issue Aug 20, 2014 · 12 comments
Open

haxelib run HIDE, nothing happens #4

logiquefloue opened this issue Aug 20, 2014 · 12 comments

Comments

@logiquefloue
Copy link

Ola,

I run
haxelib install HIDE
which install HIDE
then
haxelib run HIDE
which install and download the last node-webkit.
But then nothing more happens, I un again
haxelib run HIDE, nothing happens.

Any idea ? Cause it looks great :)

my terminal, hxlib is an alias for sudo haxelib:

noor@emma ~ $ hxlib run HIDE
Looking for node-webkit url...
Found a new version of node-webkit binary: node-webkit-v0.9.2-linux-ia32.tar.gz
Main.hx:335: http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-linux-ia32.tar.gz
Main.hx:347: http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-linux-ia32.tar.gz
Downloading node-webkit-v0.9.2-linux-ia32.tar.gz...
Download complete : 38909287 bytes in 52s (729.6KB/s)
node-webkit-v0.9.2-linux-ia32/
node-webkit-v0.9.2-linux-ia32/nwsnapshot
node-webkit-v0.9.2-linux-ia32/credits.html
node-webkit-v0.9.2-linux-ia32/nw
node-webkit-v0.9.2-linux-ia32/nw.pak
node-webkit-v0.9.2-linux-ia32/libffmpegsumo.so
Done
noor@emma ~ $ hxlib run HIDE
noor@emma ~ $

@logiquefloue
Copy link
Author

On Linux Mint

@as3boyan
Copy link
Owner

Do you using 32-bit version of Linux Mint?

I tested it on 64-bit version of Linux Mint worked fine.

@logiquefloue
Copy link
Author

32 bit yes

@logiquefloue
Copy link
Author

I will look again tomorrow, cause I went to the whole process of installing the git and plugin-based version, which were missing haxeparser, hxparse and CodeMirror....so I went into a lot of stuff to compile from source to end up with the same result. It looks like failing silently.

@logiquefloue
Copy link
Author

I installed node.js and grunt, trying to run nw inside the bin folder of HIDE, but did not succeed in running anything, I just see the help menu of the nw command.

New to all this, I could use some help to manually launch HIDE with nw and debug it.

@as3boyan
Copy link
Owner

haxeparser, hxparse and CodeMirror

Don't forget to clone recursively to init submodules

git clone --recursive https://github.com/HaxeIDE/HIDE.git

@as3boyan
Copy link
Owner

I installed node.js and grunt, trying to run nw inside the bin folder of HIDE, but did not succeed in running anything, I just see the help menu of the nw command.
New to all this, I could use some help to manually launch HIDE with nw and debug it.

To run compiled HIDE you need only http://dl.node-webkit.org/v0.10.2/node-webkit-v0.10.2-linux-ia32.tar.gz

extract it to HIDE location(haxelib) and run nw
if you cloned github repo then you might need to extract it to bin folder instead

@logiquefloue
Copy link
Author

Thank you for those hints, I'm gonna use them soon

@logiquefloue
Copy link
Author

Running! Slick!

So I installed nw v10 you gave me in the bin directory of git HIDE after compiling it
sudo haxe HIDE.hxml

Then there was the missing library libudev.so.0 so I tried the workaround of this page:
https://github.com/rogerwang/node-webkit/wiki/The-solution-of-lacking-libudev.so.0

And the last one worked, running this in the bin folder:
sudo sed -i 's/udev.so.0/udev.so.1/g' ./nw

using ./nw to be sure to affect the local nw and not the global one I installed before.

Thankyou!!

@as3boyan
Copy link
Owner

Thank you. Sorry for inconvenience.

@logiquefloue
Copy link
Author

that's cool man, now I know about --recursive in git :)

2014-08-21 17:45 GMT+01:00 as3boyan [email protected]:

Thank you. Sorry for inconvenience.


Reply to this email directly or view it on GitHub
#4 (comment)
.

@georgy7
Copy link

georgy7 commented Jul 21, 2015

The same thing. Nothing happens. I could not start HIDE or any html files.

$ haxelib run node-webkit /usr/lib/haxelib/node-webkit/1,0,7/rogerwang_node-webkit.html 
$ haxelib run node-webkit http://google.com/

64-bit Fedora 22.

What surprised me, node-webkit was installed with run HIDE command. And the folder version (1,0,7) and the archive version (0.9.2), unpacks in the folder, are different.

haxelib run HIDE
Looking for node-webkit url...
Found a new version of node-webkit binary: node-webkit-v0.9.2-linux-x64.tar.gz
File found. Install existing file? y/n/a
n
Main.hx:335: http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-linux-x64.tar.gz
Main.hx:347: http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-linux-x64.tar.gz
Downloading node-webkit-v0.9.2-linux-x64.tar.gz...
File found. Install existing file? y/n/a
n
Main.hx:335: http://dl.nwjs.io/v0.9.2/node-webkit-v0.9.2-linux-x64.tar.gz
Main.hx:347: http://dl.nwjs.io/v0.9.2/node-webkit-v0.9.2-linux-x64.tar.gz
Downloading node-webkit-v0.9.2-linux-x64.tar.gz...
Download complete : 42684969 bytes in 80s (520.8KB/s)
node-webkit-v0.9.2-linux-x64/
node-webkit-v0.9.2-linux-x64/nwsnapshot
node-webkit-v0.9.2-linux-x64/credits.html
node-webkit-v0.9.2-linux-x64/nw
node-webkit-v0.9.2-linux-x64/nw.pak
node-webkit-v0.9.2-linux-x64/libffmpegsumo.so
Done

@logiquefloue

sudo sed -i 's/udev.so.0/udev.so.1/g' ./nw

Thanks, this has worked for me too!

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

No branches or pull requests

3 participants