New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14610 (closed defect: worksforme)

Opened 6 years ago

Last modified 5 years ago

Compiling mod_wsgi fails on OS X 10.5 with MacPorts Python 2.4.4

Reported by: sasha@… Owned by: ys@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: python Cc: blb@…
Port: mod_wsgi

Description (last modified by blb@…) (diff)

I'm attempting to compile mod_wsgi on PowerBook G4 under OS X 10.5 and MacPorts Python 2.4.4. According to mod_wsgi maintainer this issue might be related to MacPorts and its Python:

http://code.google.com/p/modwsgi/issues/detail?id=68

Here's the traceback:

shurik:mod_wsgi-2.0c4 sasha$ make
/usr/sbin/apxs -c -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -DNDEBUG -Wc,'-arch ppc7400' -Wc,'-arch ppc64' -Wc,'-arch i386' -Wc,'-arch x86_64' mod_wsgi.c -arch ppc7400 -arch ppc64 -arch i386 -arch x86_64 -Wl,-F/opt/local/Library/Frameworks -framework Python -u _PyMac_Error  -ldl
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc    -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp  -I/usr/include/apache2  -I/usr/include/apr-1   -I/usr/include/apr-1  -arch ppc7400 -arch ppc64 -arch i386 -arch x86_64 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 -DNDEBUG  -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
                 from mod_wsgi.c:112:
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:629:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
In file included from /opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python.h:55,
                 from mod_wsgi.c:112:
/opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/pyport.h:629:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
lipo: can't figure out the architecture type of: /var/folders/DQ/DQ8iYT1BHxes1-nQvJacO++++TI/-Tmp-//ccwEuHQ7.out
apxs:Error: Command failed with rc=65536
.
make: *** [mod_wsgi.la] Error 1

Change History

comment:1 Changed 5 years ago by blb@…

  • Owner changed from macports-tickets@… to ys@…
  • Keywords mod_wsgi removed
  • Port set to mod_wsgi
  • Description modified (diff)

comment:2 Changed 5 years ago by blb@…

  • Cc blb@… added; sasha@… removed

Can you try the current version of mod_wsgi, after the update in r48610?

comment:3 Changed 5 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:4 Changed 5 years ago by blb@…

  • Status changed from new to closed
  • Resolution set to worksforme

Closing, lack of response.

Note: See TracTickets for help on using tickets.