[OSX Lion] Haxelib won't install

Hello, Last time I installed HaxeNME, it was on OSX Snow Leopard, and it installed fine. I've recently installed Lion, and it'd been a while since I last tried (and failed) to learn how to use this, I thought I'd start fresh. Unfortunately, I've hit a …

Viewing 1 to 6 (6 Total)
[OSX Lion] Haxelib won't install

pWEN

pWEN
Total Posts: 5
Joined: July 06, 2012

Hello,

Last time I installed HaxeNME, it was on OSX Snow Leopard, and it installed fine. I've recently installed Lion, and it'd been a while since I last tried (and failed) to learn how to use this, I thought I'd start fresh. Unfortunately, I've hit a major snag and have found no solution after hours of Googling.

When I run the installer, I make sure that everything is checked off to install. Installation goes smoothly as far as I can tell. In the terminal, I can run "haxe -v", and get:


Haxe Compiler 2.10 - (c)2005-2012 Motion-Twin
Usage : haxe -main [-swf|-js|-neko|-php|-cpp|-cs|-java|-as3] [options]
Options :
-cp : add a directory to find source files
-js : compile code to JavaScript file
-swf : compile code to Flash SWF file
-as3 : generate AS3 code into target directory
-neko : compile code to Neko Binary
-php : generate PHP code into target directory
-cpp : generate C++ code into target directory
-cs : generate C# code into target directory
-java : generate Java code into target directory
-xml : generate XML types description
-main : select startup class
-lib : use a haxelib library
-D : define a conditional compilation flag
-v : turn on verbose mode
-debug : add debug informations to the compiled code
-help Display this list of options
--help Display this list of options


But if I run "nme" from the terminal, I get:


/usr/bin/nme: line 2: haxelib: command not found


Can someone tell me what I'm doing wrong?

Tags:
Posted on August 17, 2012 at 5:01 PM

singmajesty

singmajesty
Total Posts: 2146
Joined: August 25, 2011

Re: [OSX Lion] Haxelib won't install

What happens if you run "haxelib" from a terminal. Does it work?

Posted on August 17, 2012 at 6:32 PM

HoratioLint

HoratioLint
Total Posts: 1
Joined: August 19, 2012

Re: [OSX Lion] Haxelib won't install

I'm having the same issue. When I try running "haxelib" in the terminal I get "command not found."

I was using NME 3.4.0 on Lion without this issue before now, but I downloaded and ran the installer so I could get the newest HXCPP for compiling for Mac (I was having the issue described here:http://www.haxenme.org/community/forums/installing-nme/mountain-lio...

Posted on August 19, 2012 at 8:05 PM

singmajesty

singmajesty
Total Posts: 2146
Joined: August 25, 2011

Re: [OSX Lion] Haxelib won't install

Yes, it does seem to be missing :/

The older releases were done by hand, but this one was automated. Something must have gone wrong.

As a workaround, you can download the Haxe 2.10 archive and copy "haxelib" over. I'll try and find why the script ignored haxelib

Posted on August 19, 2012 at 9:46 PM

pWEN

pWEN
Total Posts: 5
Joined: July 06, 2012

Re: [OSX Lion] Haxelib won't install

Sorry for my late reply, this was all done from the work computer on a Friday.

"haxelib" in terminal gives the same result.

I'll give the archive copy a shot. Thanks!

heh... singmajesty, last time I posted, I inadvertently got you to updatehttp://github.com/jgranick/nme-project... Guess I have a knack for this? ;)

Posted on August 20, 2012 at 9:18 AM

singmajesty

singmajesty
Total Posts: 2146
Joined: August 25, 2011

Re: [OSX Lion] Haxelib won't install

Okay!

I found the problem with my release script. Sorry everyone.

I am going to try and make an NME 3.4.2 release soon with this resolved

Posted on August 20, 2012 at 10:55 AM