missing NULL terminator in set_config_x
[geda-gaf.git] / docs / wiki / geda-cygwin.html
blobff5ea8a1e5d96dde06eb407e47683c3a64477775
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 <p>
14 <em>Translations of this page are also available in the following languages:</em> <a href="geda-cygwin.ru.html" class="wikilink1" title="geda-cygwin.ru.html">Русский</a>.
15 </p>
17 <h1 class="sectionedit1" id="installing_geda_gaf_on_windows_-_the_cygwin_way">Installing gEDA/gaf on Windows - the Cygwin way</h1>
18 <div class="level1">
20 <p>
21 This guide describes one way to build gEDA/gaf (gschem and friends) on
22 the Windows operating system. It uses Cygwin as the layer between
23 Windows and the *nix world (ie gcc, make, bash etc…).
24 </p>
26 </div>
27 <!-- EDIT1 SECTION "Installing gEDA/gaf on Windows - the Cygwin way" [109-366] -->
28 <h2 class="sectionedit2" id="instructions">Instructions</h2>
29 <div class="level2">
31 <p>
32 <strong>1. Download and run setup.exe from cygwin website:</strong>
33 <a href="http://www.cygwin.com" class="urlextern" title="http://www.cygwin.com" rel="nofollow">http://www.cygwin.com</a>.
34 </p>
36 <p>
37 In the package selection dialog, select the following packages:
38 </p>
40 <p>
41 (Hint: press the “view” button once to arrange the list in
42 alphabetical order)
43 </p>
44 <pre class="code">atk-devel
45 crypt
46 file
47 gcc
48 gtk2-x11-devel
49 guile-devel
50 libgmp-devel
51 libtool1.5
52 make
53 pango-devel
54 patchutils
55 pcre-devel
56 pcre-doc
57 pkg-config
58 xorg-x11-devel
59 xorg-x11-fscl
60 xterm</pre>
62 <p>
63 <strong>2. Append these lines to your .bash_profile:</strong>
64 </p>
65 <pre class="code">export LD_LIBRARY_PATH=$HOME/geda/lib:$LD_LIBRARY_PATH
66 export PATH=$HOME/geda/bin:$PATH
67 export PKG_CONFIG_PATH=$HOME/geda/lib/pkgconfig:$PKG_CONFIG_PATH</pre>
69 <p>
70 Update your environment:
71 </p>
72 <pre class="code">$ source .bash_profile</pre>
74 <p>
75 <strong>3. Go to the <a href="http://www.geda.seul.org/sources.html" class="urlextern" title="http://www.geda.seul.org/sources.html" rel="nofollow">gEDA sources download page</a>.</strong>
76 </p>
78 <p>
79 From the gEDA/gaf group, download <strong>only</strong> the packages which have a date
80 as its version. The necessary dependencies were already
81 installed in step 1. However, if you haven&#039;t installed or built the libstroke package, be sure to add
82 </p>
83 <pre class="code">--disable-stroke</pre>
85 <p>
86 to the opts= line. Add the following options to the opts= line in the Makefile
87 </p>
88 <pre class="code">--disable-update-mime-database --disable-update-desktop-database --disable-nls</pre>
90 <p>
91 <strong>4. Go to the download directory and type:</strong>
92 </p>
93 <pre class="code">$ make open
94 $ make install
95 ( ...patience... )</pre>
97 <p>
98 <strong>5. Now, to properly view the documentation from the help menu of gschem:</strong>
99 </p>
102 Locate the executables of your browser and PDF reader and create links
103 from /usr/bin. Examples:
104 </p>
105 <pre class="code">$ ln -s &quot;c:\Program Files\Internet Explorer\iexplore.exe&quot; /usr/bin/iexplore
106 $ ln -s &quot;c:\Program Files\Firefox\firefox.exe&quot; /usr/bin/firefox
107 $ ln -s &quot;c:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe&quot; /usr/bin/acroread</pre>
110 Try:
111 </p>
112 <pre class="code">$ iexplore
113 ( Microsoft Internet Explorer appears )
114 $ firefox
115 ( Firefox appears - if installed )
116 $ acroread
117 ( Adobe Acrobat Reader appears )
118 $ gschemdoc -m
119 ( gEDA documentation appears )</pre>
122 <strong>6. Finally, start the X server:</strong>
123 </p>
124 <pre class="code">$ startx</pre>
127 Have fun!
128 </p>
130 </div>
131 <!-- EDIT2 SECTION "Instructions" [367-] --></body>
132 </html>