#1 Mac OS X destination

v1.0 (example)
open-later
5
2004-12-31
2004-12-26
Peter Moore
No

Python 2.3 (#1, Sep 13 2003, 00:49:11)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin
=========================================
local:/my/Desktop/Soya-0.9.1$ sudo python setup.py build_ext

running build_ext
building 'soya._soya' extension
creating build/temp.darwin-7.7.0-Power_Macintosh-2.3
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-
fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -DSOYA_BIG_ENDIAN=big -I/usr/include -I/usr/
local/include -I/usr/X11R6/lib -I/usr/include/freetype2 -I/usr/local/
include/freetype2 -I/usr/include/cal3d -I/usr/local/include/cal3d -I/
sw/include -I/System/Library/Frameworks/Python.framework/
Versions/2.3/include/python2.3 -c chunk.c -o build/temp.darwin
-7.7.0-Power_Macintosh-2.3/chunk.o -w
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-
fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -DSOYA_BIG_ENDIAN=big -I/usr/include -I/usr/
local/include -I/usr/X11R6/lib -I/usr/include/freetype2 -I/usr/local/
include/freetype2 -I/usr/include/cal3d -I/usr/local/include/cal3d -I/
sw/include -I/System/Library/Frameworks/Python.framework/
Versions/2.3/include/python2.3 -c advanced_opengl.c -o build/
temp.darwin-7.7.0-Power_Macintosh-2.3/advanced_opengl.o -w
In file included from advanced_opengl.c:19:
advanced_opengl.h:19:19: GL/gl.h: No such file or directory
advanced_opengl.h:20:22: GL/glext.h: No such file or directory
error: command 'gcc' failed with exit status 1
=========================================
Running fairly plain Mac OS X 10.3.7
Pyrex installed first without problems...

Discussion

  • DunkFordyce

    DunkFordyce - 2004-12-28

    Logged In: YES
    user_id=1131534

    ok i know someone else who has gone thru this problem. i
    will check with them and get back to you. iirc you either
    dont have the open gl development headers or the path
    somehwre is incorrect

     
  • DunkFordyce

    DunkFordyce - 2004-12-28
    • assigned_to: nobody --> dunkfordyce
     
  • DunkFordyce

    DunkFordyce - 2004-12-28
    • labels: --> soya related
     
  • Mikey Lubker

    Mikey Lubker - 2004-12-29

    Logged In: YES
    user_id=228866

    You need to find the GL directory, probably in /System,
    /Library, or /Developer

    Get the one with the latest date, make sure it has gl.h and
    glext.h in it, and copy it to your soya dir. Then recompile
    soya.

    Ratchet

     
  • DunkFordyce

    DunkFordyce - 2004-12-31
    • status: open --> open-fixed
     
  • Nobody/Anonymous

    Logged In: NO

    I found the headers here :-
    /System/Library/Frameworks/OpenGL.framework/headers

    I got quite a few errors, so
    Then I downloaded and installed freetype-2.1.9

    Soya is building, taking a nice long time...

     
  • Peter Moore

    Peter Moore - 2004-12-31
    • status: open-fixed --> open-later
     
  • Peter Moore

    Peter Moore - 2004-12-31

    Logged In: YES
    user_id=291405

    1.Headers found here :
    /System/Library/Frameworks/OpenGL.framework/Headers

    2. freetype-2.1.9 installed
    3. matrix.c edit -> include "GL/gl.h" rather than <>
    4. Now SDL is not found, but should be installed, I don't use /sw...

    JORJUN:/Volumes/DTA/jorjun/Desktop/Soya-0.9.1 jorjun$ sudo python
    setup.py build_ext
    running build_ext
    building 'soya._soya' extension
    gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-
    madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -DSOYA_BIG_ENDIAN=big -I/usr/include -I/usr/local/include
    -I/usr/X11R6/lib -I/usr/include/freetype2 -I/usr/local/include/freetype2
    -I/usr/include/cal3d -I/usr/local/include/cal3d -I/sw/include -I/System/
    Library/Frameworks/Python.framework/Versions/2.3/include/python2.3 -c
    matrix.c -o build/temp.darwin-7.7.0-Power_Macintosh-2.3/matrix.o -w
    gcc -Wl,-F. -Wl,-F. -bundle -framework Python build/temp.darwin-7.7.0-
    Power_Macintosh-2.3/_soya.o build/temp.darwin-7.7.0-Power_Macintosh
    -2.3/matrix.o build/temp.darwin-7.7.0-Power_Macintosh-2.3/chunk.o
    build/temp.darwin-7.7.0-Power_Macintosh-2.3/advanced_opengl.o -L/usr/
    lib -L/usr/local/lib -L/usr/X11R6/lib -L/sw/lib/ -lm -lGL -lGLU -lSDL
    -lfreetype -lcal3d -lstdc++ -o build/lib.darwin-7.7.0-Power_Macintosh
    -2.3/soya/_soya.so
    ld: warning -L: directory name (/sw/lib/) does not exist
    ld: can't locate file for: -lSDL
    error: command 'gcc' failed with exit status 1

     
  • Peter Moore

    Peter Moore - 2004-12-31

    Logged In: YES
    user_id=291405

    SDL from unix source OK...
    cal3d also went in fine..../autogen;./configure; make; make install
    ode (manual install) ... PLOP - no ./configure
    running build_ext
    building 'soya._ode' extension
    gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-
    madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -DSOYA_BIG_ENDIAN=big -I/usr/include -I/usr/local/include
    -I/usr/X11R6/lib -I/usr/include/freetype2 -I/usr/local/include/freetype2
    -I/usr/include/cal3d -I/usr/local/include/cal3d -I/usr/local/include/ode
    -I~/Library/Frameworks/SDL.framework/Headers -I/System/Library/
    Frameworks/OpenGL.framework/Headers -I/System/Library/Frameworks/
    Python.framework/Versions/2.3/include/python2.3 -c _ode.c -o build/
    temp.darwin-7.7.0-Power_Macintosh-2.3/_ode.o -w
    gcc -Wl,-F. -Wl,-F. -bundle -framework Python build/temp.darwin-7.7.0-
    Power_Macintosh-2.3/_ode.o build/temp.darwin-7.7.0-Power_Macintosh
    -2.3/matrix.o -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib -L/Users/jorjun/
    Library/Frameworks/SDL.framework/SDL -L/System/Library/
    Frameworks/OpenGL.framework/Libraries -lm -lGL -lGLU -lSDL -lfreetype
    -lcal3d -lstdc++ -lode -o build/lib.darwin-7.7.0-Power_Macintosh-2.3/
    soya/_ode.so
    ld: archive: /usr/local/lib/libode.a has no table of contents, add one with
    ranlib(1) (can't load from it)
    error: command 'gcc' failed with exit status 1

     

Log in to post a comment.