Downloaded and integrated latest wiki documentation from the geda website.
[geda-gaf/whiteaudio.git] / docs / wiki / geda_cygwin.html
blobc82c2b552c66f8707cd1b844cf0e1eb42a6ee000
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
4 lang="en" dir="ltr">
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7 <title>geda:cygwin</title>
8 <meta name="generator" content="DokuWiki Release rc2007-05-24" />
9 <meta name="robots" content="index,follow" />
10 <meta name="date" content="2007-05-24T22:27:25-0400" />
11 <meta name="keywords" content="geda,cygwin" />
12 <link rel="search" type="application/opensearchdescription+xml" href="http://geda.seul.org/wiki/lib/exe/opensearch.php" title="geda Wiki" />
13 <link rel="start" href="http://geda.seul.org/wiki/" />
14 <link rel="contents" href="http://geda.seul.org/wiki/geda:cygwin?do=index" title="Index" />
15 <link rel="alternate" type="application/rss+xml" title="Recent Changes" href="http://geda.seul.org/wiki/feed.php" />
16 <link rel="alternate" type="application/rss+xml" title="Current Namespace" href="http://geda.seul.org/wiki/feed.php?mode=list&ns=geda" />
17 <link rel="alternate" type="text/html" title="Plain HTML" href="http://geda.seul.org/wiki/_export/xhtml/geda:cygwin" />
18 <link rel="alternate" type="text/plain" title="Wiki Markup" href="http://geda.seul.org/wiki/_export/raw/geda:cygwin" />
19 <link rel="stylesheet" media="all" type="text/css" href="lib/exe/css" />
20 <link rel="stylesheet" media="screen" type="text/css" href="lib/exe/001css" />
21 <link rel="stylesheet" media="print" type="text/css" href="lib/exe/002css" />
22 </head>
23 <body>
24 <div class="dokuwiki export">
28 <h1><a name="installing_geda_gaf_on_windows_-_the_cygwin_way" id="installing_geda_gaf_on_windows_-_the_cygwin_way">Installing gEDA/gaf on Windows - the Cygwin way</a></h1>
29 <div class="level1">
31 <p>
32 This guide describes one way to build gEDA/gaf (gschem and friends) on the Windows operating system. It uses Cygwin as the layer between Windows and the *nix world (ie gcc, make, bash etc&hellip;).
33 </p>
35 </div>
36 <!-- SECTION "Installing gEDA/gaf on Windows - the Cygwin way" [1-257] -->
37 <h2><a name="instructions" id="instructions">Instructions</a></h2>
38 <div class="level2">
40 <p>
41 <strong>1. Download and run setup.exe from cygwin website:</strong> <a href="http://www.cygwin.com/" class="urlextern" title="http://www.cygwin.com" rel="nofollow">http://www.cygwin.com</a>.
42 </p>
44 <p>
45 In the package selection dialog, select the following packages:
46 </p>
48 <p>
49 (Hint: press the “view” button once to arrange the list in alphabetical order)
50 </p>
51 <pre class="code">atk-devel
52 file
53 gcc
54 gtk2-x11-devel
55 guile-devel
56 make
57 pango-devel
58 patchutils
59 pcre-devel
60 pcre-doc
61 pkg-config
62 xorg-x11-devel
63 xorg-x11-fscl
64 xterm</pre>
66 <p>
67 Take care that you select guile and guile-devel version 1.6.7. Version 1.8.1 doesn’t work. (Werner)
68 </p>
70 <p>
71 <strong>2. Append these lines to your .bash_profile:</strong>
72 </p>
73 <pre class="code">export LD_LIBRARY_PATH=$HOME/geda/lib:$LD_LIBRARY_PATH
74 export PATH=$HOME/geda/bin:$PATH
75 export PKG_CONFIG_PATH=$HOME/geda/lib/pkgconfig:$PKG_CONFIG_PATH</pre>
77 <p>
78 Update your environment:
79 </p>
80 <pre class="code">$ source .bash_profile</pre>
82 <p>
83 <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>
84 </p>
86 <p>
87 From the gEDA/gaf group, download <strong>only</strong> the packages which have a date as its version. The necessary dependencies where already installed in step 1.
88 </p>
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 <acronym title="Portable Document Format">PDF</acronym> reader and create links from /usr/bin. Examples:
103 </p>
104 <pre class="code">$ ln -s &quot;c:\Program Files\Internet Explorer\iexplore.exe&quot; /usr/bin/iexplore
105 $ ln -s &quot;c:\Program Files\Firefox\firefox.exe&quot; /usr/bin/firefox
106 $ ln -s &quot;c:\Program Files\Adobe\Acrobat 7.0\Reader\AcroRd32.exe&quot; /usr/bin/acroread</pre>
109 Try:
110 </p>
111 <pre class="code">$ iexplore
112 ( Microsoft Internet Explorer appears )
113 $ firefox
114 ( Firefox appears - if installed )
115 $ acroread
116 ( Adobe Acrobat Reader appears )
117 $ gschemdoc -m
118 ( gEDA documentation appears )</pre>
121 <strong>6. Finally, start the X server:</strong>
122 </p>
123 <pre class="code">$ startx</pre>
126 Have fun!
127 </p>
129 </div>
130 <!-- SECTION "Instructions" [258-] --></div>
131 </body>
132 </html>