How to Build the Enhydra Source Distribution

Things You Will Need

What to Do

  1. Read through the config.mk file.
  2. Edit config.mk (or create config.local.mk if you are working with others on the same tree) to override any variables necessary, such as JDKDIR or JAVACCDIR.
  3. Type 'make' from the top of the Enhydra tree. Even better, type 'make 2>&1 |tee make.out' to save the output of the build into the file 'make.out' so you can look for any build problems later. If you didn't see any warnings at the end of the build process saying that something was missing, your build probably worked. If you see errors during the build or get a warning at the end, check that you have correctly set the necessary variables in config.mk or config.local.mk.
  4. Try it out. 'cd output' and 'bin/multiserver multiserver.conf'
  5. Build the demos in '../DemoApp' and '../GolfShop' using a similar method.