MAGIC Magic Mailing List
 
 

From: Michael Doster (mtdos AT erols DOT com)
Date: Tue Oct 08 2002 - 18:27:22 EDT

  • Next message: yongliu1918: "make install hang on cygwin"

    Felix,
    
    Most of the changes that I mentioned in my previous post to the mailing list
    still hold with the following exceptions:
    
    1. in defs.mak remove -traditional from the CFLAGS variable
    
    and
    
    2. change misc/magic.h
    
    *** magic/misc/magic.h Sun Dec 30 14:41:40 2001
    --- magic-7.1.5/misc/magic.h        Mon Oct  7 22:19:13 2002
    ***************
    *** 285,294 ****
      #include <errno.h>
      #define sys_errlist _sys_errlist
      #define sys_nerr _sys_nerr
    ! #elif !defined(__FreeBSD__) && !defined(__NetBSD__)
      extern int errno;
      /* extern char *sys_errlist[]; */
      extern int sys_nerr;
      #endif
      
      /* 
    --- 285,296 ----
      #include <errno.h>
      #define sys_errlist _sys_errlist
      #define sys_nerr _sys_nerr
    ! #elif !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(macosx)
      extern int errno;
      /* extern char *sys_errlist[]; */
      extern int sys_nerr;
    + #elif defined(macosx)
    +  extern int errno;
      #endif
      
      /* 
    
    These are the changes needed to compile the magic 7.1.x series to run on Mac
    OS 10.2.
    
    
    
    
    
    on 10/6/02 4:12 PM, Felix  Erales at ferales AT austin DOT rr.com wrote:
    
    > Mike
    > 
    > Hello.  I'm wondering if you have been able to compile and run magic  on
    > OS X.2.  I see you were successful under OS X.1.  I would really appreciate
    > any help/info.   Thank you.
    > 
    > 
    > Felix
    > 
    


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo