Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on goinstall #1

Closed
GoogleCodeExporter opened this issue Sep 16, 2015 · 5 comments
Closed

error on goinstall #1

GoogleCodeExporter opened this issue Sep 16, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. use `goinstall portaudio-go.googlecode.com/hg/portaudio`

What to expect: install without errors

What do you see instead?

bart@bart-laptop:~$ goinstall portaudio-go.googlecode.com/hg/portaudio
/bin/bash: === cd 
/home/bart/go/src/pkg/portaudio-go.googlecode.com/hg/portaudio; bash gomake -f- 
install
CGOPKGPATH=portaudio-go.googlecode.com/hg cgo --  portaudio.go 
error: 'getPaStreamCallback' undeclared (first use in this function)
error: (Each undeclared identifier is reported only once
error: 'paContinue' undeclared (first use in this function)
unresolved names
make: *** [_obj/_cgo_run] Error 2
--- exit status 2
goinstall: portaudio-go.googlecode.com/hg/portaudio: install: running bash: 
exit status 2 ($GOPATH not set)


What version of the product are you using? On what operating system?
bart@bart-laptop:~$ 8g -V
8g version release.r60.3 9516

bart@bart-laptop:~$ uname -a
Linux bart-laptop 2.6.32-37-generic #81-Ubuntu SMP Fri Dec 2 20:35:14 UTC 2011 
i686 GNU/Linux

bart@bart-laptop:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.3 LTS
Release:    10.04
Codename:   lucid

Original issue reported on code.google.com by bblau...@gmail.com on 15 Jan 2012 at 9:41

@GoogleCodeExporter
Copy link
Author

Sorry for the slow response - who knew I had to star my own project in order to 
receive emails about it?

I don't understand why you got the errors you did.  Do they persist after 
upgrading to Go 1?

Original comment by gordon.k...@gmail.com on 12 Apr 2012 at 7:29

@GoogleCodeExporter
Copy link
Author

No problems using go 1. Thanks

Original comment by bblau...@gmail.com on 2 Jul 2012 at 1:28

@GoogleCodeExporter
Copy link
Author

Original comment by gordon.k...@gmail.com on 2 Jul 2012 at 2:49

  • Changed state: Verified

@GoogleCodeExporter
Copy link
Author

Running:
go get code.google.com/p/portaudio-go/portaudio

I get:
# code.google.com/p/portaudio-go/portaudio
In file included from portaudio.go:3:
pa.h:5:23: error: portaudio.h: No such file or directory

Seem like this project is not proper "go gettable" or am I missing something?

Original comment by ernest.m...@gmail.com on 24 Feb 2013 at 11:18

@GoogleCodeExporter
Copy link
Author

This package provides Go bindings to the C library PortAudio.  Therefore, you 
need the development headers and libraries in order to 'go get'.  I've made a 
note of this on the main page.

Original comment by gordon.k...@gmail.com on 24 Feb 2013 at 1:59

  • Added labels: NotAProblem
  • Removed labels: Type-Defect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant