missing NULL terminator in set_config_x
[geda-gaf.git] / docs / wiki / geda-fc4.html
blob750e3c9aed5a9bee45b636b9e177cc5cf343dddd
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html>
4 <head>
5 <link rel="stylesheet" media="screen" type="text/css" href="./style.css" />
6 <link rel="stylesheet" media="screen" type="text/css" href="./design.css" />
7 <link rel="stylesheet" media="print" type="text/css" href="./print.css" />
9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
10 </head>
11 <body>
13 <h1 class="sectionedit1" id="installer_20060825_on_fedora_core_4_install_notes">Installer 20060825 on Fedora Core 4 install notes</h1>
14 <div class="level1">
16 <p>
17 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:
18 </p>
19 <ul>
20 <li class="level1"><div class="li"> gtk-devel</div>
21 </li>
22 <li class="level1"><div class="li"> gnome-devel</div>
23 </li>
24 <li class="level1"><div class="li"> guile-devel</div>
25 </li>
26 <li class="level1"><div class="li"> tcl-devel</div>
27 </li>
28 <li class="level1"><div class="li"> tk-devel</div>
29 </li>
30 </ul>
32 <p>
33 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.
34 </p>
36 </div>
37 <!-- EDIT1 SECTION "Installer 20060825 on Fedora Core 4 install notes" [1-650] -->
38 <h1 class="sectionedit2" id="installer_2005080x_on_fedora_core_4_install_notes">Installer 2005080X on Fedora Core 4 install notes</h1>
39 <div class="level1">
41 </div>
42 <!-- EDIT2 SECTION "Installer 2005080X on Fedora Core 4 install notes" [651-714] -->
43 <h2 class="sectionedit3" id="prerequisites">Prerequisites:</h2>
44 <div class="level2">
46 <p>
47 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.
48 </p>
50 <p>
51 Also, the following additional RPMs are required:
52 </p>
53 <ul>
54 <li class="level1"><div class="li"> guile-1.6.7-devel</div>
55 </li>
56 <li class="level1"><div class="li"> gettext-XX-devel.</div>
57 </li>
58 <li class="level1"><div class="li"> compat-gcc-3.2.3-47.fc4.i386.rpm</div>
59 </li>
60 <li class="level1"><div class="li"> compat-gcc-32-c++-3.2.3-47.fc4.i386.rpm</div>
61 </li>
62 <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>
63 </li>
64 </ul>
66 <p>
67 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.
68 </p>
70 <p>
71 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.
72 </p>
74 </div>
75 <!-- EDIT3 SECTION "Prerequisites:" [715-1851] -->
76 <h2 class="sectionedit4" id="problems">Problems:</h2>
77 <div class="level2">
79 <p>
80 The 200508XX installer will fail on FC4 systems. There seem to be several independent problems:
81 </p>
82 <ol>
83 <li class="level1"><div class="li"> The installer doesn’t find guile, even though it comes pre-installed on the platform.<br/>
84 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>
85 </li>
86 <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/>
87 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>
88 </li>
89 <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>
90 </li>
91 </ol>
93 <p>
94 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.
95 </p>
97 <p>
98 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.
99 </p>
102 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.
103 </p>
106 Once they are installed, set the gcc environment variables as follows:
107 </p>
110 for bash:
111 </p>
112 <pre class="code">export CC=gcc32
113 export CXX=g++32</pre>
116 for csh:
117 </p>
118 <pre class="code">setenv CC gcc32
119 setenv CXX g++32</pre>
122 and then run the installer. Make sure you run the installer from the same window as where you set the CC environment variable!
123 </p>
125 </div>
126 <!-- EDIT4 SECTION "Problems:" [1852-] --></body>
127 </html>