MAGIC Magic Mailing List
 
 

From: Á¤°©¼º (sacred4th AT empal DOT com)
Date: Sat May 10 2003 - 23:35:39 EDT

  • Next message: Svenn.Bjerkem AT temic DOT com: "compiling of xcircuit"

    
    
    
    
    
    
    I AM  CUK(catholic university of korea) STUDENT..
    
    linux environment... installing(magic 7.1).....
    
    problem!!
    
    tell me the solution!!
    
    
    
    
    
    [root@localhost cad]# make config
    
                  Welcome to Magic's configuration program.
                        This is Version 7.1.
    
    You do not have CAD_HOME set. Set it now or press return to it to the default.
    Enter a value of CAD_HOME [~cad]:
    CAD_HOME set to ~cad
    
    The $CAD_HOME value will be reflected in the $CADDIR varible in the
    defs.mak files. It is only needed for installation so you can change
    it by modifying the defs.mak after building.
    
    You can create other custom configurations yourself.  Read the
    maintainer's manuals for details.  In particular, you can have more than
    one graphics driver installed.
    
    We haven't been able to test all of these configurations.  If
    you develop modifications to Magic or to this configuration program,
    please let us (magic-hackers AT csl DOT cornell.edu) know.
    -------------------------------------------------------------------------------
    Magic works with the following window configurations.  X11 is preferred.
            1) X11
            2) OpenGL
            3) SunView
            4) X10
            5) AED graphics terminal
    
    Please select one or more of the above configurations by number:  1
    X11 selected
    Make sure your default link and include path contains the X11
    libraries and header files. Otherwise edit LDFLAGS in defs.mak
    to include them.
    
    -------------------------------------------------------------------------------
    The following operating systems are known:
    
             1) Linux
             2) NetBSD 1.x
             3) FreeBSD 2.x
             4) OSF/1 on a 64 bit machine (Digital Alpha AXP)
             5) Solaris 2.x (aka SunOS 5.x)
             6) SunOS 4.x
             7) SGI IRIX
             8) OS/2 Warp
             9) BSD Unix systems (Ultrix, pre-4.0 SunOS, RISCos4.0, etc..)
            10) SYSV Unix systems (A/UX, HPUX)
    Please select one of the above operating systems by number:  1
    
    Linux selected
    
    -------------------------------------------------------------------------------
    Some machines need special compile-time switches:
    
            1) Intel 80x86-based workstations
            2) HP 68000-based workstations
            3) HP/PA based workstation
            4) A MIPS workstation running RISCos4.0 or greater (not DECStations)
            5) An Apple MacII
            6) None of the above
    
    Please select one of the above machine types by number:  1
    Intel x86 workstation selected
    
    -------------------------------------------------------------------------------
    Sometimes is it handy to eliminate modules from Magic, to make it smaller.
    The following modules are optional:
        CALMA - module to read and write GDS-II format
        CIF - module to read and write CIF
        PLOT - plotting code
        READLINE - readline support on the command line
        NONMANHATTAN - support for non-manhattan geometry
        ROUTE - a whole bunch of routing tools
        SCM - a scheme command-line interpreter
        SIM - an interface to RSIM
        .magic - choice of new or old system startup (macro definition) file
    
    You may need to update your system wide ".magic" file to eliminate use of these
    modules.  (Look at "~cad/lib/magic/sys/.magic".)
    Include CALMA module? [yes]  1
    Unrecognized answer: 1
    Exiting.
    make: *** [config] ¿À·ù 5
    [root@localhost cad]# make config
    
                  Welcome to Magic's configuration program.
                        This is Version 7.1.
    
    You do not have CAD_HOME set. Set it now or press return to it to the default.
    Enter a value of CAD_HOME [~cad]:
    CAD_HOME set to ~cad
    
    The $CAD_HOME value will be reflected in the $CADDIR varible in the
    defs.mak files. It is only needed for installation so you can change
    it by modifying the defs.mak after building.
    
    You can create other custom configurations yourself.  Read the
    maintainer's manuals for details.  In particular, you can have more than
    one graphics driver installed.
    
    We haven't been able to test all of these configurations.  If
    you develop modifications to Magic or to this configuration program,
    please let us (magic-hackers AT csl DOT cornell.edu) know.
    -------------------------------------------------------------------------------
    Magic works with the following window configurations.  X11 is preferred.
            1) X11
            2) OpenGL
            3) SunView
            4) X10
            5) AED graphics terminal
    
    Please select one or more of the above configurations by number:  1
    X11 selected
    Make sure your default link and include path contains the X11
    libraries and header files. Otherwise edit LDFLAGS in defs.mak
    to include them.
    
    -------------------------------------------------------------------------------
    The following operating systems are known:
    
             1) Linux
             2) NetBSD 1.x
             3) FreeBSD 2.x
             4) OSF/1 on a 64 bit machine (Digital Alpha AXP)
             5) Solaris 2.x (aka SunOS 5.x)
             6) SunOS 4.x
             7) SGI IRIX
             8) OS/2 Warp
             9) BSD Unix systems (Ultrix, pre-4.0 SunOS, RISCos4.0, etc..)
            10) SYSV Unix systems (A/UX, HPUX)
    Please select one of the above operating systems by number:  1
    
    Linux selected
    
    -------------------------------------------------------------------------------
    Some machines need special compile-time switches:
    
            1) Intel 80x86-based workstations
            2) HP 68000-based workstations
            3) HP/PA based workstation
            4) A MIPS workstation running RISCos4.0 or greater (not DECStations)
            5) An Apple MacII
            6) None of the above
    
    Please select one of the above machine types by number:  1
    Intel x86 workstation selected
    
    -------------------------------------------------------------------------------
    Sometimes is it handy to eliminate modules from Magic, to make it smaller.
    The following modules are optional:
        CALMA - module to read and write GDS-II format
        CIF - module to read and write CIF
        PLOT - plotting code
        READLINE - readline support on the command line
        NONMANHATTAN - support for non-manhattan geometry
        ROUTE - a whole bunch of routing tools
        SCM - a scheme command-line interpreter
        SIM - an interface to RSIM
        .magic - choice of new or old system startup (macro definition) file
    
    You may need to update your system wide ".magic" file to eliminate use of these
    modules.  (Look at "~cad/lib/magic/sys/.magic".)
    Include CALMA module? [yes]
    Include CIF module? [yes]
    Include PLOT module? [yes]
    Include multiuser file-locking? [yes]
    Include READLINE module? [yes]
    Include NONMANHATTAN extensions? [yes]
    Include ROUTE module? [yes]
    Include SCM module? [yes]
    Include SIM module? [yes]
    Include new system .magic file? [yes]
    Updating 'defs.mak' file.
    
    Everything that all the Makefiles use is in this files. You can change
    compilers, compiler flags, and libraries there.
    
    Configuration completed.  The following files were changed:
    
            defs.mak (old version in old.defs.mak)
    
    Now you need to look at defs.mak and make sure it makes sense.
    
    Then type "make".
    
    After it completes, you'll have a magic binary in the magic
    sub directory and a graphics helper program in the graphics subdir.
    
    Now type "make install".
    
    This will install the appropriate files in ~cad''.
    
    Log files of the make process are found in make.log and install.log.
    
    To run magic, needs to find the X*Helper program in your path. It also
    needs to find the tech libraries. The easiest way to do this is to:
    
            setenv CAD_HOME ~cad
            set path = ( $path ~cad/bin )
    
    If you have any problems, please read a man page or two and try
    to figure it out. If you're stuck, send us (magic-hackers AT csl DOT cornell.edu)
    mail and we'll try to help.
    [root@localhost cad]#
    [root@localhost cad]# make
    --- making modules
    --- compiling calma/CalmaRead.o
    --- compiling cif/CIFgen.o
    --- compiling cmwind/CMWmain.o
    --- compiling commands/CmdINTERP.o
    --- compiling database/DBbound.o
    --- compiling dbwind/DBWdisplay.o
    --- compiling debug/debugFlags.o
    --- compiling drc/DRCarray.o
    --- compiling extflat/EFargs.o
    --- compiling extract/ExtArray.o
    --- compiling garouter/gaChannel.o
    --- compiling gcr/gcrChannel.o
    --- compiling graphics/grMain.o
    --- compiling grouter/grouteChan.o
    --- compiling irouter/irCommand.o
    --- compiling lisp/lispMain.o
    --- compiling macros/macros.o
    --- compiling main/main.o
    --- compiling misc/niceabort.o
    --- compiling mzrouter/mzBlock.o
    --- compiling netlist/netlist.o
    --- compiling netmenu/NMbutton.o
    --- compiling parser/parser.o
    --- compiling plot/plotGremln.o
    --- compiling plow/PlowJogs.o
    --- compiling resis/ResMain.o
    --- compiling router/rtrMain.o
    --- compiling select/selCreate.o
    --- compiling signals/signals.o
    --- compiling sim/SimDBstuff.o
    --- compiling textio/txCommands.o
    --- compiling tech/tech.o
    --- compiling tiles/tile.o
    --- compiling undo/undo.o
    --- compiling utils/args.o
    --- compiling windows/windClient.o
    --- compiling wiring/wireOps.o
    --- building GNU readline
    checking host system type... configure: error: can not guess host type; you
    must specify one
    --- compiling ext2spice/ext2spice.o
    --- compiling magic/magicTop.o
    --- compiling magicusage/magicusage.o
    --- compiling net2ir/net2ir.o
    --- compiling extcheck/extcheck.o
    --- compiling mpack/mpackMain.o
    --- compiling graphics/grMain.o
    [root@localhost cad]# make install
    --- installing to ~cad
    cp: cannot create regular file `~cad/lib/magic/sys': ±×·± ÆÄÀÏÀ̳ª µð·ºÅ丮
    °¡ ¾øÀ½
    make[2]: *** [~cad/lib/magic/sys/windows7.glyphs] ¿À·ù 1
    cp: cannot create regular file `~cad/lib/magic/scm/default.scm': ±×·± ÆÄÀÏ
    À̳ª  µð·ºÅ丮°¡
    make[2]: *** [~cad/lib/magic/scm/default.scm] ¿À·ù 1
    make[2]: *** No rule to make target `/usr/include/math.h', needed by
    `ext2sim.o'.  ¸ØÃã.
    make[2]: gcc: ¸í·ÉÀ» ãÁö ¸øÇß
    make[2]: *** [ext2spice.o] ¿À·ù 127
    /bin/sh: line 1: gcc: command not found
    make[2]: *** [magicTop.o] ¿À·ù 127
    make[2]: gcc: ¸í·ÉÀ» ãÁö ¸øÇß
    make[2]: *** [magicusage.o] ¿À·ù 127
    make[2]: gcc: ¸í·ÉÀ» ãÁö ¸øÇß
    make[2]: *** [net2ir.o] ¿À·ù 127
    make[2]: gcc: ¸í·ÉÀ» ãÁö ¸øÇß
    make[2]: *** [extcheck.o] ¿À·ù 127
    make[2]: gcc: ¸í·ÉÀ» ãÁö ¸øÇß
    make[2]: *** [mpackMain.o] ¿À·ù 127
    make[2]: gcc: ¸í·ÉÀ» ãÁö ¸øÇß
    make[2]: *** [X11Helper] ¿À·ù 127
    cp: cannot create regular file `~cad/lib/magic/sys/scmos.tech': ±×·± ÆÄÀÏÀÌ
    ³ª µð·ºÅ丮°¡
    make[2]: *** [~cad/lib/magic/sys/scmos.tech] ¿À·ù 1
    make[1]: *** [install-real] ¿À·ù 2
    make: *** [install] ¿À·ù 2
    

    Get your own 30MB free email at http://www.empal.com


  •  
     
    Questions? Contact Rajit Manohar
    cornell logo