BUILD.PLAN9.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Prerequirement
  2. ==============
  3. This document describes how to compile, build and install curl and libcurl
  4. from sources using mk. To build it, you will require to install latest
  5. 9legacy patches into Plan 9. Also Plan 9 still have no configuration option so
  6. both zlib and libopenssl are required too.
  7. The zlib that is available on Plan 9 can be downloaded from:
  8. https://github.com/madler/zlib/pull/398
  9. LibreSSL Portable can be downloaded from:
  10. https://github.com/libressl-portable/portable/pull/510
  11. Instruction
  12. ===========
  13. First, you should construct namespace as like described below:
  14. % bind -ac ../lib lib
  15. % bind -ac ../src src
  16. % bind -ac ../include include
  17. % bind -ac .. .
  18. Then you will see as shown below (excerpt):
  19. curl.git/
  20. |_plan9
  21. | |_BUILD.PLAN9.txt
  22. | |_CHANGES
  23. | |_CMake
  24. | | :
  25. | |_mkfile
  26. | |_mkfile.proto
  27. | |_include
  28. | | |_Makefile.am
  29. | | | :
  30. | | |_mkfile
  31. | |_lib
  32. | | |_CMakeLists.txt
  33. | | | :
  34. | | |_mkfile
  35. | | |_mkfile.inc
  36. | |_src
  37. | | |_CMakeLists.txt
  38. | | | :
  39. | | |_mkfile
  40. | | |_mkfile.inc
  41. |_lib
  42. |_src
  43. After constructing namespace, you can run mk on plan9 directory.
  44. % mk
  45. % mk install