Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > 7470e5ba72ba56f1e2ffc81f92c36e65 > files > 66

geda-docs-1.8.2-7.mga7.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <title></title>
  <link rel="stylesheet" media="screen" type="text/css" href="./style.css" />
  <link rel="stylesheet" media="screen" type="text/css" href="./design.css" />
  <link rel="stylesheet" media="print" type="text/css" href="./print.css" />

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>


<h1 class="sectionedit1305"><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>
<div class="level1">

<p>
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:
</p>
<ul>
<li class="level1"><div class="li"> gtk-devel</div>
</li>
<li class="level1"><div class="li"> gnome-devel</div>
</li>
<li class="level1"><div class="li"> guile-devel</div>
</li>
<li class="level1"><div class="li"> tcl-devel</div>
</li>
<li class="level1"><div class="li"> tk-devel</div>
</li>
</ul>

<p>
If you are missing most of these -devel packages, the installer will do the right thing, but it&#039;s better to pre-install them so the installer doesn&#039;t have to become root to do it.
</p>

</div>
<!-- EDIT1305 SECTION "Installer 20060825 on Fedora Core 4 install notes" [1-650] -->
<h1 class="sectionedit1306"><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>
<div class="level1">

</div>
<!-- EDIT1306 SECTION "Installer 2005080X on Fedora Core 4 install notes" [651-714] -->
<h2 class="sectionedit1307"><a name="prerequisites" id="prerequisites">Prerequisites:</a></h2>
<div class="level2">

<p>
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.
</p>

<p>
Also, the following additional RPMs are required:
</p>
<ul>
<li class="level1"><div class="li"> guile-1.6.7-devel</div>
</li>
<li class="level1"><div class="li"> gettext-XX-devel.</div>
</li>
<li class="level1"><div class="li"> compat-gcc-3.2.3-47.fc4.i386.rpm</div>
</li>
<li class="level1"><div class="li"> compat-gcc-32-c++-3.2.3-47.fc4.i386.rpm</div>
</li>
<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>
</li>
</ul>

<p>
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.
</p>

<p>
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.
</p>

</div>
<!-- EDIT1307 SECTION "Prerequisites:" [715-1851] -->
<h2 class="sectionedit1308"><a name="problems" id="problems">Problems:</a></h2>
<div class="level2">

<p>
The 200508XX installer will fail on FC4 systems. There seem to be several independent problems:
</p>
<ol>
<li class="level1"><div class="li"> The installer doesn’t find guile, even though it comes pre-installed on the platform.<br/>
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>
</li>
<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/>
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>
</li>
<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>
</li>
</ol>

<p>
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.
</p>

<p>
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.
</p>

<p>
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.
</p>

<p>
Once they are installed, set the gcc environment variables as follows:
</p>

<p>
for bash:
</p>
<pre class="code">export CC=gcc32
export CXX=g++32</pre>

<p>
for csh:
</p>
<pre class="code">setenv CC gcc32
setenv CXX g++32</pre>

<p>
and then run the installer. Make sure you run the installer from the same window as where you set the CC environment variable!
</p>

</div>
<!-- EDIT1308 SECTION "Problems:" [1852-] --></body>
</html>