Re: 2.3.3 on Solaris 10

From: QMartin_v=2E_L=F6wis=22?= (martin_at_v.loewis.de)
Date: 03/16/04

  • Next message: Bruno Desthuilliers: "Re: Static Typing in Python"
    Date: Tue, 16 Mar 2004 08:52:06 +0100
    
    

    J.D. Bronson wrote:
    > I am having trouble compiling python (from src) on Solaris 10 beta and
    > was wondering if someone can help me?
    [...]
    > Any ideas?

    Yes, but we need your help to make the necessary corrections.

    It is quite unclear what precisely the compiler error message is
    complaining about, as the particular line (complexobject.c:469)
    is expanded through multiple levels of macros.

    Please do the following to narrow the source of the problem:

    1. Compile the particular file with --save-temps:

    gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
    -I. -I./Include -DPy_BUILD_CORE -o Objects/complexobject.o
    Objects/complexobject.c --save-temps

    2. Remove all # (line) directives from complexobject.i (alternatively,
    use -P for preprocessing - I couldn't make it work here, though)

    grep -v "^#" complexobject.i >complexobject.ii
    mv complexobject.ii complexobject.i

    3. Compile the file again:

    gcc -c -fno-strict-aliasing -g -O3 -Wall complexobject.i

    4. Read the line containing the error. If it consists of multiple
    statements, break those into multiple lines, one per statement,
    and compile again.

    5. If it then is not apparent what the problem is, post the
    fragment of the preprocessor output, along with the (updated)
    error message.

    Regards,
    Martin


  • Next message: Bruno Desthuilliers: "Re: Static Typing in Python"

    Relevant Pages

    • Re: [SLE] Please! I could use some help!
      ... I don't know what SuSE distribution you are running -- I came in late on ... "NULL" error message ... to ensure he was getting a working installation. ... and do some simple compile development exercises until you gain the ...
      (SuSE)
    • Re: Error exiting database
      ... without error if you choose 'Compile ' form the Debug ... > The Load Event looks like this but I don't understand why it would fire ... >> The error message, though, indicates that the problem is in the Load ... >> GlobalSign digital certificate is a forgery and should be deleted without ...
      (microsoft.public.access.formscoding)
    • Re: using #ifndef
      ... > gone to the newsgroup as well. ... that was ERT's fault for sending his response both by ... but nothing that anyone else could actually compile. ... cut-and-paste the actual error message. ...
      (comp.lang.c)
    • Re: Make Exe problem
      ... When compiling an ActiveX component with binary compatibility set to the ... LINK fatal error LNK1104 cannot open file. ... Set binary compatibility to the copied file, and compile ... If you click "Yes," the following error message appears: ...
      (microsoft.public.vb.bugs)
    • Re: Proper way to save a record
      ... The error message tells the user the exact problem ... MsgBox "You must enter a value into Patient Number." ... > control., such as ... > name, and compile your code, you get a error. ...
      (microsoft.public.access.formscoding)

    Loading