INSTALL 3.3 KB

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