Comments (9)
Can you give us more information about your system? Also, have you tried this recently? We cleaned up the code base earlier this week to make go get
cleaner. Try using it with the -u
flag to make sure it gets the latest code:
go get -u github.com/moovweb/gokogiri
from gokogiri.
I can't get most CGO stuff working against clang on Mavericks at all....
On Sun, Oct 27, 2013 at 4:23 PM, Manoj Dayaram [email protected]:
Can you give us more information about your system? Also, have you tried
this recently? We cleaned up the code base earlier this week to make go
get cleaner. Try using it with the -u flag to make sure it gets the
latest code:go get -u github.com/moovweb/gokogiri
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/53#issuecomment-27178301
.
from gokogiri.
Ah I see I think this is mavericks fault. I get the error even when running go get.
go get -u github.com/moovweb/gokogiri
github.com/moovweb/gokogiri/xpath
clang: error: argument unused during compilation: '-fno-eliminate-unused-debug-types'
This has been run on mavericks OS X 10.9
from gokogiri.
If this is any help, here is my clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix
from gokogiri.
Looks like the upstream filed by @GeorgeMac has been accepted as a cgo bug - http://code.google.com/p/go/issues/detail?id=6678
from gokogiri.
Cool, it looks like the code has been fixed on golang tip. @GeorgeMac can you verify that the problem no longer shows up if you use the tip version of Go?
from gokogiri.
Just pulling and building it now to see.
Cheers guys
from gokogiri.
I can confirm that it appears to be working now.
I get this response when getting gokogiri instead:
go get -u github.com/moovweb/gokogiri
github.com/moovweb/gokogiri/xml
go/src/github.com/moovweb/gokogiri/xml/helper.c:7:3: warning: implicit declaration of function 'xmlNodeWriteCallback' is invalid in C99 [-Wimplicit-function-declaration]
go/src/github.com/moovweb/gokogiri/xml/helper.c:106:8: warning: initializing 'char *' with an expression of type 'xmlChar *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
go/src/github.com/moovweb/gokogiri/xml/helper.c:112:4: warning: implicit declaration of function 'xmlUnlinkNodeCallback' is invalid in C99 [-Wimplicit-function-declaration]
But my code with gokogiri dependencies seems to be building.
Cheers everyone
from gokogiri.
Odd, but glad things are working. Will make a different issue with the warnings you're receiving.
from gokogiri.
Related Issues (20)
- identifier "_Ctype_struct__xmlDoc" may conflict with identifiers generated by cgo HOT 4
- Get error when start Docker container
- WIndows installation
- Encoding is passed around as byte array instead of string HOT 5
- performance issue of XmlNode.SetContent() HOT 1
- strange behavior in href attribute, uri with parameters HOT 2
- How do I parse xml with a namespace? HOT 2
- XSD Validation? HOT 1
- Issues with go get github.com/moovweb/gokogiri/css HOT 2
- Attempting to cross compile for linux/amd64 on OSX fails using gox HOT 1
- Trim surrounding whitespace for Node.Content() HOT 2
- How to get arttr with CSS HOT 2
- El capitan issue HOT 1
- Crash with custom XPath resolver HOT 3
- Parsing XML dies (stays blocked) when doing in parallel HOT 2
- Go1.6 compatibility HOT 2
- Go 1.6: runtime error: cgo argument has Go pointer to Go pointer HOT 6
- Save DOM model as xml file
- build constraints exclude all Go files in /moovweb/gokogiri/help, failed to build with arch=386 HOT 1
- pkg-config: exec: "pkg-config": executable file not found in %PATH%
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gokogiri.