File: INSTALL

package info (click to toggle)
ccbuild 1.5.7-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,208 kB
  • ctags: 441
  • sloc: cpp: 4,817; sh: 1,195; makefile: 53; ansic: 43
file content (55 lines) | stat: -rw-r--r-- 1,831 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

Shortcut: ./configure && make && sudo make install

Currently there is only one binary, so installation is easy...
1)
	Install flex: 2.5.31 works, newer might be ok.

2)
	If you have absolutly no rights on the system:
		Run "sh localinstall.sh" as the user you want to develop under.
		This will use the first writeable PATH path as binary directory
		and install the configuration files to your home directory.

		Don't forget to awnser "yes" to the final do-you-really-want-this
		question.
		
	If you have some rights on the system and have aap (www.a-a-p.org):
		cd src
		aap install
	If you are an autotools fan, try
		./configure
		make
		sudo make install

3)
	For the user of ccbuild, it might be nice to add the standard unix
	headers as empty resolutions by copying the tools/ccResolutions.d
	directory to ~/.ccbuild (this is automatically done by the install
	script but not by the aap script.

If anything (or everything) failes mail me or try the manual way:

==Manually building and installing...
1) Build ccbuild
		Using make: type 'make -f Makefile.human'

2) Install
		Copy 'ccbuild' to any direcoty given by 'echo $PATH'

3) Default configuration (optional)
		You can copy the default configuration from the tools directory
		your local .ccbuild directory:
		mkdir ~/.ccbuild
		cp -r tools/ccResolutions.d ~/.ccbuild

4) Source code documentation (optional)
    Run doxygen in the root directory of ccbuild, this will generate
		documentation in the ./doc/html directory.

The test sources, usable for examples, are now seperately packaged.
If you want to try some examples, download the example codes from the
ccbuild homepage.
Also, don't forget to place any source you can find in a directory
 and run ccbuild, you never know, it might just compile!
See also "Projects using ccbuild" on the ccbuild homepage.