haxelib Uncaught exception: Module not found

Bug #160417 reported by nix.wie.weg
10
Affects Status Importance Assigned to Milestone
haxe (Ubuntu)
Expired
Undecided
Unassigned
Nominated for Hardy by romeu.hcf

Bug Description

Binary package hint: haxe

haxe:
  Installiert:1:1.14-3 (on Ubuntu 7.10)

#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:1:1.15-2

# haxelib search arctic
arctic
1 projects found

(you have to upgrade necko too)

Revision history for this message
romeu.hcf (romeu-hcf) wrote :

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

Revision history for this message
romeu.hcf (romeu-hcf) wrote :

Nicolas Cannasse informed the haxe-list that "This might occur with all neko bootable binaries (nekoc, nekoml, haxelib, haxedoc...) if they are strip'ed." And thus they should not be.

Revision history for this message
Bryan Moore (moore-bryan) wrote :

having some issues with the "dpkg-rebuildpackage" command... i'm getting a "command not found" response; help?

Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported should be reproducible with the live environment of the Desktop CD development release - Maverick Meerkat. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find more about the development release at http://www.ubuntu.com/testing/. Thanks again and we appreciate your help.

Changed in haxe (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for haxe (Ubuntu) because there has been no activity for 60 days.]

Changed in haxe (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.