puma007 / goconf

Automatically exported from code.google.com/p/goconf
0 stars 0 forks source link

Can't import after goinstall #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I installed goconf using goinstall with the command

    goinstall goconf.googlecode.com/hg/

The install command finished without errors. Then I tried to import goconf as

    import "goconf.googlecode.com/hg"

When compiling, I get the error

    config.go:7: can't find import: goconf.googlecode.com/hg

There seems to be a problem with the name of the produced object file.

    $ ls -a /home/me/src/go/pkg/linux_386/goconf.googlecode.com/hg/
    .  ..  .a
    $

The object file has no name, just the ".a" suffix. It seems to be impossible to 
include.

This problem can of course be bypassed by going into to cloned repo's directory 
and running

    gomake install

I'm running build weekly.2011-06-23 8864 on Ubuntu 10.04 Lucid with a i386 
architecture.

Original issue reported on code.google.com by bryan.matsuo on 3 Jul 2011 at 6:38

GoogleCodeExporter commented 9 years ago
Old bug mentioning goinstall. Refile if you still have a problem

Original comment by step...@q5comm.com on 8 May 2012 at 7:48