You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.1 KiB

27 years ago
  1. QNX4 Installation Notes
  2. -----------------------
  3. NOTE: General installation instructions are in the INSTALL file
  4. 1. To compile and test PHP3 you have to grab, compile and install:
  5. - GNU dbm library or another db library;
  6. - GNU bison (1.25 or later; 1.25 tested);
  7. - GNU flex (any version supporting -o and -P options; 2.5.4 tested);
  8. - GNU diffutils (any version supporting -w option; 2.7 tested);
  9. 2. To use CVS version you may need also:
  10. - GNU CVS (1.9 tested);
  11. - GNU autoconf (2.12 tested);
  12. - GNU m4 (1.3 or later preferable; 1.4 tested);
  13. 3. To run configure define -lunix in command line:
  14. LDFLAGS=-lunix ./configure
  15. 4. To use Sybase SQL Anywhere define ODBC_QNX and CUSTOM_ODBC_LIBS in
  16. command line and run configure with --with-custom-odbc:
  17. CFLAGS=-DODBC_QNX LDFLAGS=-lunix CUSTOM_ODBC_LIBS="-ldblib -lodbc" ./configure --with-custom-odbc=/usr/lib/sqlany50
  18. If you have SQL Anywhere version 5.5.00, then you have to add
  19. CFLAGS=-DSQLANY_BUG
  20. to workaround its SQLFreeEnv() bug. Other versions has not been tested,
  21. so try without this flag first.
  22. 5. To build the Apache module, you may have to hardcode an include path for
  23. alloc.h in your Apache base directory:
  24. - APACHE_DIRECTORY/src/httpd.h:
  25. change #include "alloc.h"
  26. to #include "APACHE_DIRECTORY/src/alloc.h"
  27. Unless you want to use system regex library, you have to hardcode also
  28. a path to regex.h:
  29. - APACHE_DIRECTORY/src/conf.h:
  30. change #include <regex.h>
  31. to #include "APACHE_DIRECTORY/src/regex/regex.h"
  32. I don't know so far why this required for QNX, may be it is Watcom
  33. compiler problem.
  34. If you building Apache module with SQL Anywhere support, you'll get
  35. symbol conflict with BOOL. It is defined in Apache (httpd.h) and in
  36. SQL Anywhere (odbc.h). This has nothing to do with PHP, so you have to
  37. fix it yourself someway.
  38. 6. With above precautions, it should compile as is and pass regression
  39. tests completely:
  40. make
  41. make check
  42. make install
  43. Don't bother me unless you really sure you made that all but it
  44. still doesn't work.
  45. June 28, 1998
  46. Igor Kovalenko -- owl@infomarket.ru