INSTALL 3.9 KB

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