Skip to content

Commit 4d50477

Browse files
committedApr 2, 2012
Update build instructions to match reality: we don't need reentrant scanners
from flex anymore, so even the very old flex versions in *BSD systems are enough.
1 parent f70e52e commit 4d50477

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed
 

‎README

+2-25
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,15 @@ Building & Installing
3535

3636
First, in order to build csup, you will need a few dependencies:
3737

38-
* GNU make (anything but very old versions should do)
39-
* flex >= 2.5.19
4038
* The OpenSSL crypto lib and associated openssl/md5.h header
4139
* The zlib library and associated zlib.h header
40+
* GNU make
41+
* lex/yacc
4242

4343
As usual, to build the source code, run "make". If you're running
4444
a BSD flavoured system, you will most likely need to run "gmake"
4545
instead, to invoke the GNU make variant instead of the system one.
4646

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-
7047
Once the build is done, you can run "make install" (or alternatively,
7148
"gmake install") as root to install the csup binary, the cpasswd
7249
script and their respective manual pages.

0 commit comments

Comments
 (0)
Please sign in to comment.