README.txt 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. INTRODUCTION
  2. The manual is written in Docbook XML and requires a Unix-like
  3. operating system with the standard GNU toolchain and xsltproc
  4. or a similar XSLT processor to build the source XML into the
  5. HTML that is shipped with the Zend Framework distributions.
  6. On Windows, you can compile the docbook using Cygwin. See:
  7. http://www.cygwin.com
  8. INSTALLATION FOR WINDOWS USERS
  9. Installation steps for Cygwin:
  10. 1. Choose "Install from Internet", click [Next]
  11. 2. Choose the directory where you want to install Cygwin. Leave the other
  12. options on their "RECOMMENDED" selection. Click [Next]
  13. 3. Select a directory where you want downloaded files to be stored. Click
  14. [Next]
  15. 4. Select your way of connecting to the Internet. Click [Next]
  16. 5. Choose the most suitable mirror in the mirrorlist. Click [Next]
  17. 6. Select the following packages from Devel or Libs to install:
  18. * automake1.9
  19. * libxslt
  20. * make
  21. All dependent packages will automatically be selected for you.
  22. Click [Next]
  23. 7. Sit back and relax while Cygwin and the selected packages are being
  24. downloaded and installed. This may take a while.
  25. 8. Check the option "Create icon on Desktop" and "Add icon to Start Menu" to
  26. your liking. Click [Finish].
  27. BUILDING THE DOCUMENTATION (*NIX AND CYGWIN)
  28. To build the documentation into HTML:
  29. 1. Go to a shell prompt, or Windows users will run Cygwin (you can double-click
  30. the icon on the Desktop or in the Start menu if you've chosen any of these
  31. options at install-time)
  32. 2. Navigate to the directory where the documentation files are stored using
  33. the traditional Unix commands. For Cygwin users, drives are stored under
  34. "/cygdrive". So if your documentation files are stored under
  35. "c:\ZF\documentation", you'll need to run the command "cd c:/ZF/documentation/".
  36. You're under a Unix environment, so don't forget all paths are case sensitive!
  37. 3. To compile the doc, go to the directory in which manual.xml is located and run:
  38. $ autoconf
  39. $ ./configure
  40. $ make
  41. TROUBLESHOOTING
  42. If you're encountering errors while trying the build instructions above...
  43. 1. Remove all files from the html/ subdir except dbstyle.css
  44. 2. Remove all files from the root dir except manual.xml, configure.in,
  45. Makefile.in and README. The important one here is entities.ent.
  46. 3. You can optionally remove the "/autom4te.cache" directory and the
  47. "/build/docbook-xsl" directory
  48. 4. Try to build again following the instructions given above. If it still
  49. throws errors, post a message to the fw-docs@lists.zend.com list.