Tina5CompilationGuide

Tina 5 Linux Distribution Compatibility List

This page lists Linux distributions (mostly Suse) on which Tina 5 has been compiled. Full compatibility is defined as

./bootstrap.sh

./configure

make

make install

in both tina-libs and tina-tools being sufficient to compile the libraries. If anything else is needed, it will be noted here for the time being as a work-around, and added to our list of bugs to fix. If you use a distro not listed here, please add your own notes: email me at paul.bromiley@manchester.ac.uk if you find any bugs.

Suse 8.0

Fully compatible

Suse 9.0

Fully compatible. I found that Yast added /opt/gnome to the path for my user account, but not for root: if the Tina5 libraries are built as root, the Gtk libraries, which reside in that location, are not found by the m4 scripts and so the Gtk widgets are not built. Therefore, either make sure you are logged on as a user, specify the Gtk library locations when you run configure (see the post in the compile flags wiki page), or use the tina5_simple_build.sh script in tina-libs.

Suse 9.1

32-bit hardware:

Fully compatible. Suse 9.0 notes apply.

64-bit hardware:

At the moment the m4 scripts do not seem to be finding any of the libraries for the widget sets. I am investigating this, and will commit updated scripts to the CVS repository as soon as possible. In the mean time, use the tina5_simple_build.sh script, which allows you to specify the library locations for Xview, Tcl, Openmotif and Gtk by hand.

Suse 9.2 Professional Evaluation Version

This distro can be downloaded from the web as an ISO image. When installed, some critical packages required to run TINA are missing. For complete access to all of the widget sets, the packages you need to install are:

For the build process:

autoconf-2.59-78.i586.rpm

automake-1.9.1-4.i586.rpm

libtool-1.5.8-3.i586.rpm

For gtk1.2 and gtk2

fontconfig-2.2.96.20040728-9.i586.rpm

fontconfig-devel-2.2.96.20040728-9.i586.rpm

pkgconfig-0.15.0-199.i586.rpm

atk-1.6.0-4.1.i586.rpm

atk-devel-1.6.0-4.1.i586.rpm

atk-doc-1.6.0-4.1.i586.rpm

pango-1.4.1-3.1.i586.rpm

pango-devel-1.4.1-3.1.i586.rpm

pango-doc-1.4.1-3.1.i586.rpm

glib-1.2.10-589.i586.rpm

glib-devel-1.2.10-589.i586.rpm

glib2-2.4.6-5.1.i586.rpm

glib2-devel-2.4.6-5.1.i586.rpm

glib2-doc-2.4.6-5.1.i586.rpm

gtk-1.2.10-882.1.i586.rpm

gtk-devel-1.2.10-882.1.i586.rpm

gtk-engines-0.12-960.1.i586.rpm

gtk2-2.4.9-10.1.i586.rpm

gtk2-devel-2.4.9-10.1.i586.rpm

gtk2-doc-2.4.9-10.1.i586.rpm

gtk2-engines-2.2.0-400.1.i586.rpm

For motif:

openmotif-2.2.3-6.1.i586.rpm

openmotif-demo-2.2.3-6.1.i586.rpm

openmotif-devel-2.2.3-6.1.i586.rpm

openmotif-libs-2.2.3-6.1.i586.rpm

openmotif21-libs-2.1.30MLI4-123.1.i586.rpm

For xview:

xorg-x11-devel-6.8.1-15.4.i586.rpm

xview-3.2p1.4-706.1.i586.rpm

xview-devel-3.2p1.4-706.1.i586.rpm

xview-devel-examples-3.2p1.4-706.1.i586.rpm

To get the textsw package:

olvwm-4.1-706.1.i586.rpm

The order in which you install them is important due to inter-dependancies: the installer will warn you if I have got the order wrong. You can download the packages from Suse's FTP server at:

Suse 9.3

Fedora Core 3

Fully compatible. This also applies to using gcc-3.4.3 under Suse. Thanks to Michal Lijowski for sending in a compilation report and some compiler error fixes.

Fedora Core 4

Fully compatible. This should apply to any distro using gcc 4.0.0 or earlier. You may find that you get a "libtool: unrecognised option '--tag=CC'" error when running make in both tina-libs and tina-tools: if this is the case, type

libtoolize --force

in both directories before running configure, then run make and make install as usual.

Thanks to Chris Walshaw for the compilation report.

Suse 10.0

32 Bit Systems

The following packages may already be installed on your system, depending on which software selections you made during installation. Any that are missing can be installed using the software manager in Yast:

For the build process:

autoconf-2.59-81.i586.rpm

automake-1.9.6-2.i586.rpm

libtool-1.5.18-2.i586.rpm

You will also need the packages for at least one of the external widget sets used by TINA (Openmotif, GTK 1.2, GTK 2, or xview)

For gtk 1.2 and gtk 2:

fontconfig-2.3.2.20050721-10.i586.rpm

fontconfig-devel-2.3.2.20050721-10.i586.rpm

pkgconfig-0.19-5.i586.rpm

atk-1.10.3-2.i586.rpm

atk-devel-1.10.3-2.i586.rpm

pango-1.10.0-3.i586.rpm

pango-devel-1.10.0-3.i586.rpm

For gtk 1.2:

glib-1.2.10-595.i586.rpm

glib-devel-1.2.10-595.i586.rpm

gtk-1.2.10-888.i586.rpm

gtk-devel-1.2.10-888.i586.rpm

gtk-engines-0.12-965.i586.rpm

For gtk 2:

glib2-2.8.1-3.i586.rpm

glib2-devel-2.8.1-3.i586.rpm

gtk2-2.8.3-4.i586.rpm

gtk2-devel-2.8.3-4.i586.rpm

gtk2-engines-2.6.5-5.i586.rpm

For motif:

openmotif-2.2.3-13.i586.rpm

openmotif21-libs-2.1.30MLI4-128.i586.rpm

openmotif-demo-2.2.3-13.i586.rpm

openmotif-devel-2.2.3-13.i586.rpm

openmotif-libs-2.2.3-13.i586.rpm

For xview, you have to obtain packages from a previous version of SUSE, since they are not included on the CD as of SUSE 10.0 (possibly 9.3 as well?). I used the following, from SUSE 9.1, which can be obtained from the Suse FTP server:

For xview:

xview-3.2p1.4-700.i586.rpm

xview-devel-3.2p1.4-700.i586.rpm

To get the textsw package (optional):

olvwm-4.1-706.1.i586.rpm

As long as the packages for one of the widget sets has been installed, simply typing ./bootstrap, ./configure, make, make install in tina-libs and tina-tools should be sufficient to build the libraries. The build can be tested by cd'ing into tina-tools/toolkits/example2 and typing make, ./tinaTool: if the program runs, then everything has worked.

The library build will compile the TINA widget wrappers for all available widget sets. The priority with which they are used by the example toolkits is, from highest to lowest: xview, GTK 2, GTK 1.2, Openmotif. If you want to swap between widget sets, the easiest way is to use the simple Makefiles. In example2, backup Makefile (if it exists) and copy Makefile.tina to Makefile. Read the comments within the Makefile to see how to use it. Then tinaTool can be built by typing make.

64 Bit Systems

Although TINA can use a number of external widget sets (xview, Motif, GTK), the xview widget set is still used in-house, and so is supported more than the others. The other widget sets work, but have a few minor issues. For example, when a new TINA tool window is opened, the current TV is supposed to be reset to the first TV associated with that tool e.g. when the Imcalc window is started, the current TV should be reset to be the Imcalc TV. This happens when the xview widget set is used, but not when the Gtk widget set is used: the current TV must always be specified manually by clicking on the appropriate button. Therefore, macros built for xview-based tinatools, and assuming this functionality, will not work with Gtk-based tinatools.

At the current time, there is no port of xview available for 64-bit systems, although one is under way (NOTE: a 64-bit version of xview was reported in 2006, but development was never completed PAB 5/3/2012). Therefore, depending on whether you want to use xview or not, there are potentially three ways to run TINA on 64-bit systems.

Install 32-bit SUSE

There are still some software compatibility issues with 64 bit linux systems e.g. binary windows codecs will not work. Therefore, it may be preferable to install 32 bit SUSE on a 64 bit system (or install both 32-bit and 64-bit versions in a multi-boot setup). During the SUSE installation, when you reach the boot splash screen, press F3 to get a list of options. The last one specifies 32 or 64 bit. Press F6 and specify 32 bit, then proceed with the installation as usual. TINA can now be installed using the 32-bit instructions above.

64 bit TINA

Install the x86_64 bit versions of the packages listed above: TINA should then build in the usual way, athough obviously the xview widgets will not be available.

32 bit TINA on 64 bit SUSE

1) Ensure that the following packages are installed, providing the necessary 32-bit functionality on the 64-bit system

autoconf-2.59-81.x86_64.rpm

automake-1.9.6-2.x86_64.rpm

libtool-32bit-1.5.18-2.x86_64.rpm

fontconfig-32bit-2.3.2.20050721-10.x86_64.rpm

fontconfig-devel-32bit-2.3.2.20050721-10.x86_64.rpm

pkgconfig-0.19-5.x86_64.rpm

atk-32bit-1.10.3-2.x86_64.rpm

atk-devel-1.10.3-2.x86_64.rpm

pango-32bit-1.10.0-3.x86_64.rpm

pango-devel-1.10.0-3.x86_64.rpm

glib-32bit-1.2.10-595.x86_64.rpm

glib-devel-1.2.10-595.x86_64.rpm

gtk-32bit-1.2.10-888.x86_64.rpm

gtk-devel-1.2.10-888.x86_64.rpm

glib2-32bit-2.8.1-3.x86_64.rpm

glib2-devel-2.8.1-3.x86_64.rpm

gtk2-32bit-2.8.3-4.x86_64.rpm

gtk2-devel-2.8.3-4.x86_64.rpm

gtk2-engines-32bit-2.6.5-5.x86_64.rpm

openmotif-2.2.3-13.x86_64.rpm

openmotif21-libs-2.1.30MLI4-128.i586.rpm

openmotif-demo-2.2.3-13.x86_64.rpm

openmotif-devel-32bit-2.2.3-13.x86_64.rpm

openmotif-libs-32bit-2.2.3-13.x86_64.rpm

2) Use ./configure cc="gcc -m32" in tina-libs

Now, for each widget set in turn:

For motif:

3) Use ./configure CC="gcc -m32" --x-libraries=/usr/X11R6/lib in tina-tools: this is enough to build with the Motif libraries.

For gtk 1.2, gtk 2:

3) I'm working on it....

For xview:

3) Obtain the following packages from the Suse 9.1 distribution, either the cd's (if you have them) or the FTP repository, and install them from the command line:

rpm -i xview-3.2p1.4-700.i586.rpm

rpm -i xview-devel-3.2p1.4-700.i586.rpm

(I had to reconfigure and recompile the libraries a bit before the following worked, and I'm not quite sure what was going on: maybe you have to work in new shells after the above installations to get an updated ld.so.conf? Anyway...)

in the tina-tools directory, then make and make install, then cd into toolkits/example2, make and ./tinaTool

Voila: TINA with xview widgets under 64 bit Suse!

Suse 10.1

Follow instructions for 10.0

General Suse Notes

Having installed Tina successfully, if, when attempting to run TINA using the Xview widget set, you get the error "Unable to find shared object file libxview.so.3: no such file or directory", the way to solve it is to delete the libxview.so* and libolvwm.so* shared object files from the openwin library directory (usually /usr/openwin/lib), although you might like to make a safe copy of the library first.

(Note: does this work by forcing the use of static libraries, and will updating /etc/ld.so.conf and rerunning ldconfig work instead?)

The Suse FTP site appears to have been removed following the acquisition of Suse by Novel. The Xview rpms can be obtained from

They are also now available from this site, under the software link on the front page. Go to the tarballs directory and look in the Xview folder.

As of 15/2/2007, I have made some major updates to the build system, courtesy of ace IT support guy Dave Love. One result is that you now need pkgconfig installed to compile TINA. If, when you run configure in the tina-tools directory, you get a syntax error from the line