MAGIC Magic Mailing List
 
 

From: Stefan Robert (s.robert AT usherbrooke DOT ca)
Date: Sat Sep 13 2003 - 10:25:27 EDT

  • Next message: cfk: "Re: Arrgh, Redhat 8"

    Hi,
    
    I tried to compile 7.2.47, 7.2.48 and 7.2.49 on MacOS X and got errors. 
    At first I thought it was a bad installation of TCL/TK (I upgraded to 
    version 8.4.3 lately). But I tried to recompile 7.2.45 and got no 
    errors and installation went perfectly.
    
    To be more precise, the errors I got was not when I was compiling 
    7.2.47, 48 and 49 but when I do a make install-tcl.
    
    Here is a sample of the errors (they span over several lines so I just 
    show a couple of them):
    
    /usr/local/include/tk.h:96: header file 'X11/Xlib.h' not found
    /usr/local/include/tk.h:575: undefined type, found `XEvent'
    /usr/local/include/tk.h:584: undefined type, found `Tk_ClassCreateProc'
    /usr/local/include/tk.h:678: undefined type, found `Bool'
    /usr/local/include/tk.h:679: undefined type, found `Display'
    /usr/local/include/tk.h:683: undefined type, found `Time'
    /usr/local/include/tk.h:688: undefined type, found `Bool'
    /usr/local/include/tk.h:694: undefined type, found `Bool'
    [...][snip]
    cpp-precomp: warning: errors during smart preprocessing, retrying in 
    basic mode
    make[2]: *** [tclmagic.o] Error 1
    /usr/local/include/tk.h:96: header file 'X11/Xlib.h' not found
    [...][snip]
    cpp-precomp: warning: errors during smart preprocessing, retrying in 
    basic mode
    make[2]: *** [simwrap.o] Error 1
    /usr/local/include/tk.h:96: header file 'X11/Xlib.h' not found
    [...][snip]
    cpp-precomp: warning: errors during smart preprocessing, retrying in 
    basic mode
    make[2]: *** [spicewrap.o] Error 1
    
    
    It seems related to not finding the Xlibs.h file (which exist on my 
    machine) so I tried to modify the defs.mak file by adding the path to 
    /usr/X11R6/include/X11 but I must not be placing this at the right 
    place because it did not solve the problem.
    
    Does someone know about this problem?
    
    Stefan
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo