File: INSTALL

package info (click to toggle)
libgeda 19991011-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,184 kB
  • ctags: 1,189
  • sloc: ansic: 12,520; sh: 7,406; makefile: 82
file content (128 lines) | stat: -rw-r--r-- 3,597 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
gEDA

GNU Electronic Design Automation
------------------------------------------------------------------------------

Installation instructions 

Please see the end of this file for platform / vendor specific hints and 
tips.

-----------------------------------------------------------------------------
Quick Ref:

% ./configure 
% make 
% make install

In order to build libgeda you must install the following packages first: 

	GLIB 1.2.x
	GTK+ 1.2.x
	LibStroke 0.3 (optional)
	libgdgeda 1.5 (optional)  (you also need zlib for libgdgeda)

-----------------------------------------------------------------------------
More detailed info:

- To compile libgeda with gtk+ installed in some system directory (/usr/local 
  for example) type:


		./configure		(This should guess everything right)
					(e-mail me if it doesn't)	
		make all

  Run: configure --help for more options (such as overriding the default
  prefix).

  You can specify the location (full path including the gtk-config) of 
  gtk-config (which is required to build gEDA) by using the
  --with-gtk-config flag.  Example:

		./configure --with-gtk-config=/home/user/bin/gtk-config

  This is handy if gtk-config isn't in your PATH or in some other system
  directory.  

- To install libgeda into the prefix dir (and subdirs) type:

		make install

  in libgeda's top level directory


gEDA uses GNU Libtool in order to build shared libraries on a
variety of systems. While this is very nice for making usable
binaries, it can be a pain when trying to debug a program. For that
reason, compilation of shared libraries can be turned off by
specifying the `--disable-shared' option to `configure'.

The configure script should figure out most system dependant things, but at
this point I'm either not taking into account what configure figures out or 
I have missed some system dependance.  So please e-mail me at: 
ahvezda@geda.seul.org


- Disabling strokes

  If configure finds libstroke installed it will automatically enable 
  stroke support.  To disable this run configure like:

	./configure --disable-strokes

  Then do:  

	make clean 
	make all


- Uninstall

  To uninstall a previous version (or the current version) of gEDA type:

	make uninstall

  in the top level gEDA source directory.  This will remove installed files 
  which belong to gEDA.


Platform / Vendor specific tips and hints
------------------------------------------

- libc5 (SuSE) 

	If you get the following error message:

	 "link: '-L' cannot specify a relative directory"

  There is a problem with readline and guile.  Please hide (rename) 
  libreadline.so.* (move it out of wherever it is installed) and rebuild
  guile again.  Then recompile gEDA and things should work right.

- Redhat 6.0

  The guile RPMs that are shipped with RedHat 6.0 has been giving some 
  people some trouble.  The solution seems to grab either the SRPMS and
  build that or get the guile-1.3.tar.gz file and build guile manually.

- libstroke 
	
	Be sure you do not compile libstroke with MOUSE_DROPPINGS defined;
	it won't work at all with gschem.  You would have had to manually
	define MOUSE_DROPPINGS, so if you just followed the build 
	instructions you should be okay.  
	

- SunOS / Solaris 

	If you have problems running the shell script wrappers (when
	running ./gschem or any of the other programs), try changing
	the shell to /bin/ksh (or where ksh is).  /bin/sh is known to
	be of lesser quality on Solaris.

	Also run ./configure --disable-shared if you have to problems
	running programs because a shared library isn't be found/loaded.