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

Can not upgrade from v0.0.1 too v0.0.2 or v.0.03 #30

Open
obourdon opened this issue Feb 10, 2022 · 5 comments
Open

Can not upgrade from v0.0.1 too v0.0.2 or v.0.03 #30

obourdon opened this issue Feb 10, 2022 · 5 comments

Comments

@obourdon
Copy link

$ go get github.com/mattn/[email protected]
go: downloading github.com/mattn/go-ieproxy v0.0.2
# github.com/mattn/go-ieproxy
../../../../../.gvm/pkgsets/go1.16.13/global/pkg/mod/github.com/mattn/[email protected]/ieproxy_darwin.go:37:2: could not determine kind of name for C.CFNumberGetValue
../../../../../.gvm/pkgsets/go1.16.13/global/pkg/mod/github.com/mattn/[email protected]/ieproxy_darwin.go:35:29: could not determine kind of name for C.CFNumberRef
../../../../../.gvm/pkgsets/go1.16.13/global/pkg/mod/github.com/mattn/[email protected]/ieproxy_darwin.go:28:26: could not determine kind of name for C.calloc
../../../../../.gvm/pkgsets/go1.16.13/global/pkg/mod/github.com/mattn/[email protected]/ieproxy_darwin.go:29:8: could not determine kind of name for C.free
../../../../../.gvm/pkgsets/go1.16.13/global/pkg/mod/github.com/mattn/[email protected]/ieproxy_darwin.go:37:28: could not determine kind of name for C.kCFNumberIntType
@mattn
Copy link
Owner

mattn commented Feb 10, 2022

@yylyyl Can you handle this issue?

@yylyyl
Copy link
Contributor

yylyyl commented Feb 10, 2022

@obourdon Any information about your environment? Have you installed the latest version of Xcode Command Line Tools?

It's quite strange to see this error could not determine kind of name for C.free

I found a similar issue golang/go#39871

Maybe there is problem with header files in your environment.

@obourdon
Copy link
Author

obourdon commented Mar 2, 2022

MacOSX Mojave 10.14.6
Xcode Version 11.0 (11A420a)

$ softwareupdate --list
Software Update Tool

Finding available software
No new software available.

Currently trying to download and install latest compatible version 11.3.1 from https://xcodereleases.com

@obourdon
Copy link
Author

obourdon commented Mar 2, 2022

Unluckily the archive is said to be damaged

@yylyyl
Copy link
Contributor

yylyyl commented Mar 13, 2022

I installed a virtual machine with:

  • macOS 10.14.6 Mojave
  • Xcode 11.3.1
  • go 1.16.15

But this project can compile.

image

Would you try to download Xcode again? Here is my checksum.

MD5 (Xcode_11.3.1.xip) = 2bb49fa23d16a3ce8a44629609da0a75

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

No branches or pull requests

3 participants