Professional Web Applications Themes

Problems compiling python 2.2.3 under AIX 4.3.3 and gcc - AIX

Mcptron wrote: > trying to compile python 2.2.3 with gcc 3.0.1 (bull package) results in > the following compile error: > > gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include > -DHAVE_CONFIG_H -o Python/thread.o Python/thread.c > In file included from /usr/include/sys/pri.h:29, > from /usr/include/sys/sched.h:38, > from /usr/include/sched.h:52, > from /usr/include/pthread.h:43, > from Python/thread_pthread.h:9, > from Python/thread.c:113: > /usr/include/sys/proc.h:203: p error before "crid_t" > /usr/include/sys/proc.h:212: p error before "p_class" > /usr/include/sys/proc.h:355: p error before '}' token This type of compile problem with any package (seen with Apache2 as well) is usually the cause of a gcc installation that is using ...

  1. #1

    Default Re: Problems compiling python 2.2.3 under AIX 4.3.3 and gcc

    Mcptron wrote:
    > trying to compile python 2.2.3 with gcc 3.0.1 (bull package) results in
    > the following compile error:
    >
    > gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
    > -DHAVE_CONFIG_H -o Python/thread.o Python/thread.c
    > In file included from /usr/include/sys/pri.h:29,
    > from /usr/include/sys/sched.h:38,
    > from /usr/include/sched.h:52,
    > from /usr/include/pthread.h:43,
    > from Python/thread_pthread.h:9,
    > from Python/thread.c:113:
    > /usr/include/sys/proc.h:203: p error before "crid_t"
    > /usr/include/sys/proc.h:212: p error before "p_class"
    > /usr/include/sys/proc.h:355: p error before '}' token
    This type of compile problem with any package (seen with Apache2 as
    well) is usually the cause of a gcc installation that is using header
    files that don't match your system.

    Can you run gcc's fixincludes utility (I have no idea how to do that)?
    If you're on 4.3.3 or above, try IBM's RPM of gcc.

    Jeff Trawick Guest

  2. #2

    Default Re: Problems compiling python 2.2.3 under AIX 4.3.3 and gcc

    cool, thanx. with the ibm rpm everything works fine :)

    Jeff Trawick wrote:
    > Mcptron wrote:
    >
    >> trying to compile python 2.2.3 with gcc 3.0.1 (bull package) results
    >> in the following compile error:
    >>
    >> gcc -c -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include
    >> -DHAVE_CONFIG_H -o Python/thread.o Python/thread.c
    >> In file included from /usr/include/sys/pri.h:29,
    >> from /usr/include/sys/sched.h:38,
    >> from /usr/include/sched.h:52,
    >> from /usr/include/pthread.h:43,
    >> from Python/thread_pthread.h:9,
    >> from Python/thread.c:113:
    >> /usr/include/sys/proc.h:203: p error before "crid_t"
    >> /usr/include/sys/proc.h:212: p error before "p_class"
    >> /usr/include/sys/proc.h:355: p error before '}' token
    >
    >
    > This type of compile problem with any package (seen with Apache2 as
    > well) is usually the cause of a gcc installation that is using header
    > files that don't match your system.
    >
    > Can you run gcc's fixincludes utility (I have no idea how to do that)?
    > If you're on 4.3.3 or above, try IBM's RPM of gcc.
    >
    Mcptron Guest

Similar Threads

  1. Problems getting Python client (SOAPpy) to consume .NET web services
    By Michael Hatmaker in forum ASP.NET Web Services
    Replies: 2
    Last Post: September 15th, 04:37 AM
  2. Problems compiling Perl 5.6.1
    By Dan Anderson in forum PERL Beginners
    Replies: 1
    Last Post: December 10th, 12:30 AM
  3. Problems compiling Ruby 1.8 CVS
    By Austin Ziegler in forum Ruby
    Replies: 0
    Last Post: September 8th, 07:22 PM
  4. Replies: 1
    Last Post: August 23rd, 10:18 PM
  5. Kernel 2.6.0 compiling problems
    By Marino Fernandez in forum Debian
    Replies: 9
    Last Post: July 21st, 08:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139