Problem installing a module
Have a look at the documentation for hook_install. It says:


  Note that functions declared in the module being installed are not yet available. The implementation of hook_install() will need to explicitly load the module before any declared functions may be invoked.