haxelib Uncaught exception: Module not found
Bug #160417 reported by
nix.wie.weg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
haxe (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: haxe
haxe:
Installiert:
#haxelib search arctic
Uncaught exception - load.c(176) : Module not found : search
#haxelib install arctic
Uncaught exception - load.c(176) : Module not found : install
upgrade the package to debian unstable
haxe:
Installiert:
# haxelib search arctic
arctic
1 projects found
(you have to upgrade necko too)
Changed in haxe (Ubuntu): | |
status: | New → Incomplete |
To post a comment you must log in.
The problem is that haxelib was not actually installed. The haxe package just installed neko in haxelib's place.
I resolved this rebuilding the package and replacing haxelib command with the one the build generated.
This way:
$ sudo apt-get install fakeroot
$ sudo apt-get build-dep haxe
$ sudo apt-source haxe
$ cd haxe-1.16
$ dpkg-rebuildpackage -rfakeroot
$ sudo cp -vf haxelib /usr/bin/haxelib
Additional info:
$ dpkg -l | grep '\(haxe\|neko\)'
ii haxe 1:1.16-1 Web-oriented universal programming language
ii neko 1.6.0-4 High-level dynamically typed programming lan
$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
Running the command:
$ haxelib
NekoVM 1.6.0 (c)2005-2007 Motion-Twin
Usage : neko <file>
After rebuilding haxe package and replacing binary package's haxelib with the just rebuilt one:
$ haxelib
Haxe Library Manager 1.03 - (c)2006 Motion-Twin
Usage : haxelib [command] [options]
Commands :
....
dev : set the development directory for a given project