1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./style.css" />
7 <link rel=
"stylesheet" media=
"screen" type=
"text/css" href=
"./design.css" />
8 <link rel=
"stylesheet" media=
"print" type=
"text/css" href=
"./print.css" />
10 <meta http-equiv=
"Content-Type" content=
"text/html; charset=utf-8" />
15 <div class=
"tocheader toctoggle" id=
"toc__header">Table of Contents
</div>
16 <div id=
"toc__inside">
19 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#installer_20060825_on_fedora_core_4_install_notes" class=
"toc">Installer
20060825 on Fedora Core
4 install notes
</a></span></div></li>
20 <li class=
"level1"><div class=
"li"><span class=
"li"><a href=
"#installer_2005080x_on_fedora_core_4_install_notes" class=
"toc">Installer
2005080X on Fedora Core
4 install notes
</a></span></div>
22 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#prerequisites" class=
"toc">Prerequisites:
</a></span></div></li>
23 <li class=
"level2"><div class=
"li"><span class=
"li"><a href=
"#problems" class=
"toc">Problems:
</a></span></div></li></ul>
30 <h1><a name=
"installer_20060825_on_fedora_core_4_install_notes" id=
"installer_20060825_on_fedora_core_4_install_notes">Installer
20060825 on Fedora Core
4 install notes
</a></h1>
34 The latest CD installer will work fine on Fedora Core
4. All gEDA Suite programs now compile happily with gcc-
4.X. When you build your FC4 system, make sure you select “devlopement worstation” as your system type, and include as many -devel packages into the build as you can. The following packages are particularly important:
37 <li class=
"level1"><div class=
"li"> gtk-devel
</div>
39 <li class=
"level1"><div class=
"li"> gnome-devel
</div>
41 <li class=
"level1"><div class=
"li"> guile-devel
</div>
43 <li class=
"level1"><div class=
"li"> tcl-devel
</div>
45 <li class=
"level1"><div class=
"li"> tk-devel
</div>
50 If you are missing most of these -devel packages, the installer will do the right thing, but it’s better to pre-install them so the installer doesn’t have to become root to do it.
54 <!-- SECTION "Installer 20060825 on Fedora Core 4 install notes" [1-650] -->
55 <h1><a name=
"installer_2005080x_on_fedora_core_4_install_notes" id=
"installer_2005080x_on_fedora_core_4_install_notes">Installer
2005080X on Fedora Core
4 install notes
</a></h1>
59 <!-- SECTION "Installer 2005080X on Fedora Core 4 install notes" [651-714] -->
60 <h2><a name=
"prerequisites" id=
"prerequisites">Prerequisites:
</a></h2>
64 When you install FC4, make sure you install the “workstation” version, and not the “desktop” version. (You are presented with this choice when you first install the distribution off of the distribution media.) The “workstation” version includes important header files and other tools which are necessary to build many components of the gEDA Suite using the installer.
68 Also, the following additional RPMs are required:
71 <li class=
"level1"><div class=
"li"> guile-
1.6.7-devel
</div>
73 <li class=
"level1"><div class=
"li"> gettext-XX-devel.
</div>
75 <li class=
"level1"><div class=
"li"> compat-gcc-
3.2.3-
47.fc4.i386.rpm
</div>
77 <li class=
"level1"><div class=
"li"> compat-gcc-
32-c++-
3.2.3-
47.fc4.i386.rpm
</div>
79 <li class=
"level1"><div class=
"li"> compat-libstdc++-
33-
0:
3.2.3-
47.fc4.i386.rpm (installed automatically when g++ is installed by rpm)
</div>
84 These RPMs are not automatically installed by RedHat’s installer; you need to install them manually. The devel packages live on the
4th FC4 disk. The gcc compatability compiler lives on the
3rd FC4 disk. Install all these packages before trying to build the gEDA Suite.
88 Before installing the gEDA Suite on an FC4 system, you should set the CC environment variable to point to gcc32. This is explained further in the “Problems” section below.
92 <!-- SECTION "Prerequisites:" [715-1851] -->
93 <h2><a name=
"problems" id=
"problems">Problems:
</a></h2>
97 The
200508XX installer will fail on FC4 systems. There seem to be several independent problems:
100 <li class=
"level1"><div class=
"li"> The installer doesn’t find guile, even though it comes pre-installed on the platform.
<br/>
101 The problem here is that the installer tries to find guile by issuing the “guile-config” command. This command lives in the guile-devel RPM which is not installed by default (see above). To fix the problem, install the guile-devel RPM which lives on the FC4 install CD no.
4.
</div>
103 <li class=
"level1"><div class=
"li"> The installer doesn’t find gettext, even though it comes pre-installed on the platform. Gettext is used by gschem, so this error is raised during the configure stage for gschem.
<br/>
104 Again, the gettext header files live in the gettext-devel RPM which is not installed by default (see above). To fix this problem, install the gettext-devel RPM which lives on the FC4 install CD no.
4.
</div>
106 <li class=
"level1"><div class=
"li"> Many different applications (e.g. GTKWave, GSpiceUI, Icarus Verilog) fail during compilation. The error message typically says something about a problem involving a “type”.
</div>
111 This problem obtains because FC4 incorporates the new gcc-
4.0 compiler. Gcc-
4.0 incorporates much stricter type checking than the older gcc versions. This has caused many open-source applications to fail to compile.
115 Fortunately, RedHat still provides the older version of gcc on the FC4 disks. This version of gcc is called “gcc32”. It is not installed as part of the normal installation, so you must install it yourself. The RPM lives on the FC4 install media, disk
3, and is called “compat-gcc-
32-
3.2.3-
47.fc4.i386.rpm”. Allow rpm to install any dependencies it finds.
119 A similar situation holds for the C++ compiler g++. You need to install the older version too; get it on the FC4 disk
4. It is called “compat-gcc-
32-c++-
3.2.3-
47.fc4.i386.rpm”. Also install any dependencies found by rpm when you install these pacakges.
123 Once they are installed, set the gcc environment variables as follows:
129 <pre class=
"code">export CC=gcc32
130 export CXX=g++
32</pre>
135 <pre class=
"code">setenv CC gcc32
136 setenv CXX g++
32</pre>
139 and then run the installer. Make sure you run the installer from the same window as where you set the CC environment variable!
143 <!-- SECTION "Problems:" [1852-] --></body>