@@ -35,38 +35,15 @@ Building & Installing
35
35
36
36
First, in order to build csup, you will need a few dependencies:
37
37
38
- * GNU make (anything but very old versions should do)
39
- * flex >= 2.5.19
40
38
* The OpenSSL crypto lib and associated openssl/md5.h header
41
39
* The zlib library and associated zlib.h header
40
+ * GNU make
41
+ * lex/yacc
42
42
43
43
As usual, to build the source code, run "make". If you're running
44
44
a BSD flavoured system, you will most likely need to run "gmake"
45
45
instead, to invoke the GNU make variant instead of the system one.
46
46
47
- If your system ships with a flex executable that is not recent
48
- enough, the build will fail with the following errors:
49
-
50
- "rcstokenizer.l", line 37: unrecognized %option: reentrant
51
- "rcstokenizer.l", line 38: unrecognized %option: header-file
52
- gmake: *** [lex.rcs.c] Error 1
53
-
54
- In that case, you need to change the FLEX make variable to point
55
- at the correct flex binary (or edit the Makefile).
56
-
57
- For example, to build csup under FreeBSD, you will need to install
58
- the textproc/flex port as well as the devel/gmake one and use this
59
- command line:
60
-
61
- gmake FLEX=/usr/local/bin/flex
62
-
63
- However, if you are running FreeBSD, remember that csup is shipped
64
- in the base system in a way that doesn't require external dependencies,
65
- so you should have no reason to build from these sources unless you
66
- intend to do some development work. You are likely to need a similar
67
- command line if you're trying to build csup from source on another
68
- BSD-like system though.
69
-
70
47
Once the build is done, you can run "make install" (or alternatively,
71
48
"gmake install") as root to install the csup binary, the cpasswd
72
49
script and their respective manual pages.
0 commit comments