trouble building Python 2.5.1 on solaris 10

Discussion in 'Python' started by mg, Jul 9, 2008.

  1. mg

    mg Guest

    When make gets to the _ctypes section, I am getting the following in
    my output:

    building '_ctypes' extension
    creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/
    Modules/_ctypes
    creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/
    Modules/_ctypes/libffi
    creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/
    Modules/_ctypes/libffi/src
    creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/
    Modules/_ctypes/libffi/src/x86
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/_ctypes.c -o build/temp.solaris-2.10-i86pc-2.5/home/
    ecuser/Python-2.5.1/Modules/_ctypes/_ctypes.o
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/callbacks.c -o build/temp.solaris-2.10-i86pc-2.5/home/
    ecuser/Python-2.5.1/Modules/_ctypes/callbacks.o
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/callproc.c -o build/temp.solaris-2.10-i86pc-2.5/home/
    ecuser/Python-2.5.1/Modules/_ctypes/callproc.o
    /home/ecuser/Python-2.5.1/Modules/_ctypes/callproc.c: In function
    `_CallProc':
    /home/ecuser/Python-2.5.1/Modules/_ctypes/callproc.c:918: warning:
    implicit declaration of function `alloca'
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/stgdict.c -o build/temp.solaris-2.10-i86pc-2.5/home/
    ecuser/Python-2.5.1/Modules/_ctypes/stgdict.o
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/cfield.c -o build/temp.solaris-2.10-i86pc-2.5/home/
    ecuser/Python-2.5.1/Modules/_ctypes/cfield.o
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/malloc_closure.c -o build/temp.solaris-2.10-i86pc-2.5/
    home/ecuser/Python-2.5.1/Modules/_ctypes/malloc_closure.o
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/libffi/src/prep_cif.c -o build/temp.solaris-2.10-
    i86pc-2.5/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/
    prep_cif.o
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/libffi/src/x86/ffi64.c -o build/temp.solaris-2.10-
    i86pc-2.5/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/
    ffi64.o
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/libffi/src/x86/unix64.S -o build/temp.solaris-2.10-
    i86pc-2.5/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/
    unix64.o
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/libffi/src/x86/ffi.c -o build/temp.solaris-2.10-
    i86pc-2.5/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/
    ffi.o
    /home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/ffi.c:177:
    warning: function declaration isn't a prototype
    /home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/ffi.c:194:
    warning: function declaration isn't a prototype
    gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
    prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
    temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
    i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
    src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
    Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
    Modules/_ctypes/libffi/src/x86/sysv.S -o build/temp.solaris-2.10-
    i86pc-2.5/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/
    sysv.o
    Assembler:
    "/var/tmp//ccbsqiOB.s", line 236 : Syntax error
    Near line: ".section .note.GNU-stack,"",%progbits"

    my configure looks like this: ./configure --prefix=/home/ecuser/dev --
    with-gcc --with-system-ffi

    any ideas?
     
    mg, Jul 9, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dave Harrison

    Solaris 9, problem building Python 2.1.1

    Dave Harrison, Jul 16, 2003, in forum: Python
    Replies:
    0
    Views:
    556
    Dave Harrison
    Jul 16, 2003
  2. Thomas Heller

    building Python on solaris

    Thomas Heller, Oct 21, 2004, in forum: Python
    Replies:
    2
    Views:
    436
    Thomas Heller
    Oct 21, 2004
  3. Replies:
    3
    Views:
    611
    Thomas Dickey
    Jun 7, 2006
  4. Tony Arcieri
    Replies:
    8
    Views:
    227
    nobuyoshi nakada
    Sep 29, 2005
  5. Justin Johnson
    Replies:
    1
    Views:
    217
    Justin Johnson
    May 27, 2008
Loading...

Share This Page