Coder Social home page Coder Social logo

Comments (13)

gorakhargosh avatar gorakhargosh commented on June 3, 2024

I used https://github.com/mxcl/homebrew to install libev. However, my compilation fails for a different reason. Also, macports installs things in /opt/local. Homebrew installs it correctly under /usr/local. I'd advise removing macports and using homebrew instead.

from bjoern.

jonashaag avatar jonashaag commented on June 3, 2024

GothAlice, would you mind pasting the output of pip when trying to compile bjoern? I'd like to know where pip searches for the headers. I assume ev.h is in /usr/local/include/ev.h?

gorakhargosh, please tell me about your installation problems!

from bjoern.

amcgregor avatar amcgregor commented on June 3, 2024

http://pastie.textmate.org/private/le7wmzqyavtuajlk7598ww is the output (from ~/.pip/pip.log; waaay too long to paste here).

After a quick search I've determined that libraries are actually installed in /opt/local/include, so the path to ev.h is /opt/local/include/ev.h. I can only guess this is to keep ports installed material away from the rest of the system. :/

from bjoern.

jonashaag avatar jonashaag commented on June 3, 2024

Humm, no idea how to fix this... this actually seems like a setuptools bug because the libev includes are not included in the gcc call...

from bjoern.

amcgregor avatar amcgregor commented on June 3, 2024

After symlinking the appropriate libraries and headers from /opt/local/{include,lib} to /usr/local/{include,lib} I've run into a new problem: architecture incompatibility. Now I'm getting some odd errors.

http://pastie.textmate.org/private/4lblopkuhxlkissmzlml0w

from bjoern.

gorakhargosh avatar gorakhargosh commented on June 3, 2024

@GothAlice
I'd advise using homebrew. It handles packages on Mac OS X way better than MacPorts. You get the 'just works' tag with it.

from bjoern.

jonashaag avatar jonashaag commented on June 3, 2024

wtf o_O I have no idea what's going on on your machine, GothAlice... seems like every source file is built three times and for i386, x64 and PPC at the same time. No idea. Weird OS X.

from bjoern.

amcgregor avatar amcgregor commented on June 3, 2024

Well, it's GCC's default behaviour on 64-bit Mac OS X 10.6 Snow Leopard to compile things for 32-bit, 64-bit, and PPC to create "Universal" binaries.

from bjoern.

jahmad avatar jahmad commented on June 3, 2024

afaik by default, macports doesn't build universal binaries. that's the reason of architecture incompability. but that's not a problem since you won't need bjoern to be universal anyway.

i don't know what's the real reason of your compile error, but it definitely is not for the reason mentioned here. i use homebrew on non-standard path, and have no problem compiling bjoern.

what i have: homebrew on /opt/homebrew. CFLAGS="-I/opt/homebrew/include" LDFLAGS="-L/opt/homebrew/lib", and this is the output of pip. http://pastie.textmate.org/1410273

from bjoern.

amcgregor avatar amcgregor commented on June 3, 2024

Thanks! I'll give homebrew a go when I get a replacement for my failing drive and re-install. If I can avoid macports, I'll be happy, happy girl. ;)

Closing the ticket until I can get a chance to try homebrew out. If I have any additional problems, I'll open a new ticket.

Thank you for all of your excellent and speedy responses. Great support. :)

from bjoern.

jahmad avatar jahmad commented on June 3, 2024

i believe it's happened because my english is sucks, please forgive me. but when i said the error definitely is not for any reason mentioned here, i meant macports is included. macports is not the error source.

originally i don't bother to reply since the issue is closed, but after i read the new readme, my guilt is big enough to make me install macports and try to compile bjoern using it.

and yes, i can compile using macports' libev without any problem: http://dpaste.de/wDgd/

again, i'm sorry for the confusion.

from bjoern.

amcgregor avatar amcgregor commented on June 3, 2024

My computer's HDD failed; with a new installation and tool installation via homebrew (loving it, by the way) I'll give bjoern another try.

from bjoern.

amcgregor avatar amcgregor commented on June 3, 2024

Let me open a new ticket.

from bjoern.

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.