home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / perl560.zip / README.beos < prev    next >
Text File  |  1999-07-20  |  1KB  |  44 lines

  1. Notes on building perl under BeOS:
  2.  
  3. GENERAL ISSUES
  4. --------------
  5. how to compile perl:
  6.  
  7. To compile perl under BeOS R4 x86:
  8.  
  9. `./Configure -d` and hit ^C when it asks you if you want to make changes
  10. to config.sh;
  11.  
  12. edit config.sh and do the following:
  13. change d_socket='define' to ='undef';
  14. remove SDBM, Errno, and Socket from dynamic_ext= and nonxs_ext=;
  15.  
  16. add '#define bool short' to x2p/a2p.h;
  17.  
  18. ../Configure -S; make; make install
  19.  
  20. cd ~/config/lib; ln -s 5.00502/BeOS-BePC/CORE/libperl.so .
  21. (substitute 5.00502 with the appropriate filename)
  22.  
  23. OS RELEASE-SPECIFIC NOTES
  24. -------------------------
  25. R4 x86 - dynamic loading finally works! Yay! This means you can compile
  26. your own modules into perl. However, Sockets and Errno still don't work.
  27. (Hopefully, sockets will at least work by R5, if not sooner.)
  28.  
  29. R4 PPC - I have not tested this. I rather severely doubt that dynamic
  30. loading will work. (My BeBox is in pieces right now, following a nasty
  31. disk crash.) You may have to disable dynamic loading to get the thing
  32. to compile at all. (use `./Configure` without -d, and say 'no' to
  33. 'Build a shared libperl.so'.)
  34.  
  35. CONTACT INFORMATION
  36. -------------------
  37. If you have comments, problem reports, or even patches or bugfixes (gasp!)
  38. please email me.
  39.  
  40. 28 Jan 1999
  41. Tom Spindler
  42. dogcow@isi.net
  43.  
  44.