MAGIC Magic Mailing List
 
 

From: Erwin J. Prinz (ejprinz AT austin DOT rr.com)
Date: Wed Oct 03 2001 - 19:24:00 EDT

  • Next message: Spaceborne Calin: "RE: Graphics help"

    All:
    
    I downloaded the current magic source from cvs and tried to configure
    for OpenGL.
    
    "gmake config", choosing the option "2" for OpenGL graphics, resulted in
    the error message:
    
    OpenGL selected
    X11HELP_PROG: Undefined variable.
    gmake: *** [config] Error 1
    
    When I replaced in "magic/config/scripts/config" the line 96:
    
    	set gr_dflags=("$gr_dflags" -DXLIB -DX11HELP_PROG=\"${X11HELP_PROG}\")
    
    by
    
    	set gr_dflags=("$gr_dflags" -DXLIB
    -DX11HELP_PROG=\\\"'${X11HELP_PROG}'\\\")
    
    the "gmake config" worked and the compile (on Mandrake 7.1) was
    successful.
    
    Therefore, you may want to consider to change this line as shown above
    to be consistent with the other cases. I am running magic with OpenGL
    graphics on Linux Mandrake 8.1 with a NVIDIA Geforce card and the NVIDIA
    supplied Linux drivers (version 1.0-1541) and so far magic works well.
    
    Best regards,
    
    Erwin Prinz (ejprinz AT austin DOT rr.com)
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo