INSTALL 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. This file describes how to install KTIGCC.
  2. A. Installing KTIGCC from RPMs
  3. ==============================
  4. The recommended installation method for Fedora is to use the provided RPMs.
  5. WARNING: This section is ONLY for Fedora Core 6 (and possibly later versions,
  6. though this is not guaranteed to work) users. If you're not running
  7. FC6 (or later), please skip to the next section.
  8. 1. Obtain the required prerequisites:
  9. 1.1. The following RPMs from Fedora Core or Extras are required:
  10. glib2 (used by libti*)
  11. qt (NOT qt4)
  12. qt-devel (for the Qt Assistant help file viewer)
  13. kdelibs (obviously), version 3.5.2 or higher
  14. kdebase (required for some features), version 3.5.2 or higher
  15. ctags (to locate C functions/prototypes)
  16. These can be installed with:
  17. yum install glib2 qt-devel kdebase ctags
  18. 1.2. The following RPMs packaged by me are required:
  19. tigcc and ktigcc-completion-data - can be obtained from
  20. http://tigcc.ticalc.org/linux/
  21. libticables2, libtifiles2, libticalcs2 and libticonv - can be obtained
  22. from http://sourceforge.net/project/showfiles.php?group_id=23169
  23. 2. Install KTIGCC:
  24. For i386 (32-bit x86) architectures:
  25. rpm -Uvh tigcc*.i386.rpm ktigcc-completion-data*.noarch.rpm libti*.i386.rpm ktigcc*.i386.rpm
  26. For x86_64 (64-bit AMD64/EM64T) architectures:
  27. rpm -Uvh tigcc*.x86_64.rpm ktigcc-completion-data*.noarch.rpm libti*.x86_64.rpm ktigcc*.x86_64.rpm
  28. (RPMs are currently available only for the i386 and x86_64 architectures.)
  29. 3. KTIGCC should now show up in the menu. If it doesn't and you're running KDE,
  30. try:
  31. dcop kded kbuildsycoca "recreate()"
  32. It can also be found in /usr/local/tigcc/bin, which should be in your $PATH,
  33. so running ktigcc from an X11 terminal will also work.
  34. B. Installing KTIGCC from source
  35. ================================
  36. 1. Obtain and install the required prerequisites:
  37. glib2 (*)
  38. Qt 3 (*) (NOT Qt 4)
  39. kdelibs from KDE 3, version 3.5.2 or higher (*) (NOT KDE 4, which is not even
  40. alpha at the time I'm
  41. writing this)
  42. kdebase from KDE 3 (should be the same version as kdelibs)
  43. Qt 3 Assistant (often included in qt or qt-devel packages)
  44. pkg-config
  45. Exuberant Ctags - can be obtained from http://ctags.sourceforge.net
  46. libticables2 (*), libtifiles2 (*), libticalcs2 (*) and libticonv (*) - can be
  47. obtained from http://sourceforge.net/project/showfiles.php?group_id=23169
  48. TIGCC/*nix and TIGCCLIB completion data for KTIGCC (ktigcc-completion-data) -
  49. can be obtained from http://tigcc.ticalc.org/linux/
  50. (*) If your distribution provides both a runtime and a -devel or -dev version
  51. of these packages, the -devel or -dev version is also needed.
  52. 1.1. Installation instructions for libti*
  53. The libti* libraries are standard autotools projects, they should build
  54. and install just fine with:
  55. ./configure
  56. make
  57. make install
  58. 1.2. Installation instructions for TIGCC/*nix
  59. Please refer to the INSTALL document coming with the TIGCC/*nix source
  60. tarball. The main stumbling blocks:
  61. * You have to fetch the GCC and GNU as sources separately and symlink
  62. the extracted versions to download/gcc.ti and download/binutils.ti
  63. respectively.
  64. * There is no configure script or makefile. Instead, do this:
  65. cd scripts
  66. ./Install
  67. and an interactive wizard will prompt you for everything else.
  68. This procedure is described in detail in the TIGCC/*nix INSTALL file.
  69. 1.3. Installation instructions for ktigcc-completion-data
  70. The tarball contains a file named "completion". This file should be
  71. extracted to `kde-config --expandvars --install data`/ktigcc/ (usually
  72. /usr/share/apps/ktigcc/).
  73. 2. qmake
  74. (You can run ./configure, but that just runs qmake.)
  75. WARNING: You need Qt 3 qmake.
  76. 3. make
  77. 4. make install
  78. 5. KTIGCC can now be found in your $TIGCC/bin directory.