home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / XCdRoast / xcdroast-0.96d.tar.gz / xcdroast-0.96d.tar / xcdroast-0.96d / README.Compile < prev    next >
Text File  |  1998-04-19  |  6KB  |  178 lines

  1.  
  2. How to compile X-CD-Roast 0.96d
  3. -------------------------------
  4.  
  5. Compiling X-CD-Roast is very easy, when you have all the required libraries
  6. installed. On most recent distributions TCL/TK 8.0 and Tix should be 
  7. preinstalled and therefore you have no further trouble. 
  8.  
  9. -----------
  10. Note for SUSE-Linux Users: 
  11. The included tix library is not compatible! 
  12. (True until at least SUSE 5.1). You have to deinstall all tcl/tk and 
  13. tix and download recent versions and install like described in this readme!
  14.  
  15. Also be sure that the X11-Development-package is installed! Without it
  16. you will get a lot of error-messages at compile-time!
  17.  
  18. This is also true for other distributions! When you have problems
  19. compiling or running X-CD-Roast deinstall ALL!! of tcl/tk and tix on
  20. your system and build it yourself! 
  21. ----------
  22.  
  23. Run the "./configure"-script in this directory to automatically check
  24. if you have everything installed you need for compilation.
  25.  
  26. If the script fails you have to install TCL/TK and Tix yourself. Perhaps
  27. these libraries are on your Linux-distribution-CD and you never installed them.
  28. Otherwise you have to download the source-code for the libraries and install 
  29. them manually. (See later how to do that)
  30.  
  31. X-CD-Roast will be installed by default to /usr/local. If you prefer
  32. another base-directory (e.g. /usr ), then you can use the --prefixdir
  33. option of configure.
  34.  
  35.     ./configure --prefixdir /usr
  36.  
  37. This will cause that the "make install"-command will install X-CD-Roast
  38. to /usr/bin/xcdroast, and its libraries to /usr/lib/xcdroast-0.96d.
  39.  
  40. If you are not sure where to install X-CD-Roast, just keep the default
  41. value /usr/local. This means just run "./configure" without any additional
  42. options.
  43.  
  44. Hint for Redhat 5.0 users: Everything you need is included with the RedHat!
  45.           No need to download any additional package. Just be sure that you
  46.     installed the TCL, TK and Tix-RPMS and you are ready to go.    
  47.     But when you have problems with Master-Image you have to get a
  48.     newer glibc from the redhat-server. 
  49.  
  50. Overview:
  51. ---------
  52.  
  53. Step 1: Run "./configure"
  54. -------------------------
  55. If the script tells you that everything is fine, you can type
  56. "make" and afterwards "make install" to compile and install
  57. X-CD-Roast. Then you are ready to burn and you can quit reading this.
  58.  
  59. When configure fails, follow the next steps:
  60.  
  61. Step 2: Download TCL/TK/Tix Libraries:
  62. --------------------------------------
  63.  
  64. ftp://ftp.smli.com/pub/tcl/tcl8.0p2.tar.gz
  65. ftp://ftp.smli.com/pub/tcl/tk8.0p2.tar.gz
  66. ftp://ftp.xpi.com/pub/Tix4.1.0.006.tar.gz
  67.  
  68. (or get them on my webpage "http://www.fh-muenchen.de/rz/xcdroast")
  69.  
  70. Note: It is not necessary to install tcl/tk8.0p2 (patchlevel 2 of TCL/TK 8.0),
  71.       the original release 8.0 or patchlevel 1 will also work nicely.
  72.  
  73. Note 2: When you update one of these libraries you have to recompile ALL
  74.         of them in order to work together. When you update your TCL/TK
  75.         installation to patchlevel 2 without recompiling Tix, X-CD-Roast
  76.         will just create segmentation-faults from time to time.
  77.  
  78.  
  79. Step 2.1: Compile and Install Libraries (static) :
  80. ------------------------------------------------
  81.  
  82. Note: This describes how to build the static stand-alone version of
  83.       X-CD-Roast. Stand-alone means that all libraries and external
  84.       data is compiled into one big binary. This way you can transfer
  85.       the binary to another system, without installing any additional
  86.       libraries. When you have both static and shared (dynamic) 
  87.       libraries on your system, the linker will always use the shared
  88.       ones... 
  89.  
  90. Note 2: You have to compile all the libraries from the same base-directory
  91.         (e.g. unpack all the distribution-files in /home/src and compile them
  92.         there). When you have different compilation-directories then the
  93.         compilation of the libs may fail. Also don't delete the source-files
  94.         of a library after you installed it, because the next library-
  95.         compilation relies on its files. When you installed all of TCL/TK 
  96.         and Tix, then its save to delete the source-directories in order 
  97.         to free diskspace.
  98.  
  99. If you want to create a shared linked binary, skip this and 
  100. read Step 2.2.
  101.  
  102.  
  103. 1) Unpack tcl8.0.tar.gz and compile:
  104.  
  105.    cd tcl8.0/unix
  106.    ./configure
  107.    make
  108.    make install   (as root)
  109.  
  110. 2) Unpack tk8.0.tar.gz and compile:
  111.  
  112.    cd tk8.0/unix
  113.    ./configure
  114.    make
  115.    make install  (as root)
  116.  
  117. 3) Unpack Tix4.1.0.006.tar.gz and compile:
  118.  
  119.    cd Tix4.1.0/unix/tk8.0
  120.    ./configure --enable-sam
  121.    make
  122.    cd ..
  123.    ./configure
  124.    make install  (as root)
  125.  
  126.  
  127. Step 2.2: Compile and Install Libraries (shared) :
  128. ------------------------------------------------
  129.  
  130. Note: This are instruction how to compile the shared libraries
  131.       needed for X-CD-Roast. If you want X-CD-Roast statically
  132.       linked, follow the instructions in Step 2.1. 
  133.       When you compile a shared linked version of X-CD-Roast, the
  134.       resulting binary is much smaller, but needs access to all
  135.       the libraries to run.
  136.   
  137.      
  138. 1) Unpack tcl8.0.tar.gz and compile:
  139.  
  140.    cd tcl8.0/unix
  141.    ./configure --enable-shared
  142.    make
  143.    make install   (as root)
  144.  
  145. 2) Unpack tk8.0.tar.gz and compile:
  146.  
  147.    cd tk8.0/unix
  148.    ./configure --enable-shared
  149.    make
  150.    make install   (as root)
  151.  
  152. 3) Unpack Tix4.1.0.006.tar.gz and compile:
  153.  
  154.    cd Tix4.1.0/unix/tk8.0
  155.    ./configure --enable-shared
  156.    make
  157.    cd ..
  158.    ./configure
  159.    make install   (as root)
  160.  
  161. Now the user root should do a "ldconfig" to register the new shared
  162. libraries in the system.
  163.  
  164.  
  165. Step 3: Compile and Install X-CD-Roast:
  166. ---------------------------------------
  167.  
  168. Now you have everything prepared for compilation of X-CD-Roast.
  169. Go back to your xcdroast-0.96d-dir and type "./configure" to create
  170. the Makefiles. Then type "make" to compile xcdroast. 
  171.  
  172. After a "make install" you are ready to burn!
  173.  
  174.  
  175. 19.04.98 Thomas Niederreiter 
  176.  
  177.  
  178.