Giter Site home page Giter Site logo

Comments (9)

mdayaram avatar mdayaram commented on July 19, 2024

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.

moovops avatar moovops commented on July 19, 2024

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.

GeorgeMac avatar GeorgeMac commented on July 19, 2024

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.

GeorgeMac avatar GeorgeMac commented on July 19, 2024

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.

jbowtie avatar jbowtie commented on July 19, 2024

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.

mdayaram avatar mdayaram commented on July 19, 2024

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.

GeorgeMac avatar GeorgeMac commented on July 19, 2024

Just pulling and building it now to see.
Cheers guys

from gokogiri.

GeorgeMac avatar GeorgeMac commented on July 19, 2024

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.

mdayaram avatar mdayaram commented on July 19, 2024

Odd, but glad things are working. Will make a different issue with the warnings you're receiving.

from gokogiri.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.