Package: golang
Version: 2:1.0.1-1
Severity: normal

Dear Maintainer,

   * What led up to the situation?
        I installed golang.
        I wrote a package, which lives in its own directory with a src
subdirectory. I set $GOPATH to the right directory.
        I ran:
                $go build $package
        and it worked (or so it seemed).
        But I don't see any binary which I can run. I set also $WORK as $PWD
but it gets changed by go build (I saw this with go build -x).

        The correct binary is in /tmp/go-build$build/a.out.

        Using
                $go build -o ./$package.bin $package
        didn't work: the ./$package.bin file was not runnable.

        I would have expected to find a bin/ sudirectory, together with the
src/ one, with the binary just built inside.

        Thank you,

        marco



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages golang depends on:
ii  golang-doc  2:1.0.1-1
ii  golang-go   2:1.0.1-1
ii  golang-src  2:1.0.1-1

golang recommends no packages.

golang suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to