fenrock

Chicken 5.3.0rc3 MingW64 build and install of an egg

Sep 20th, 2021
701
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #############################################################################
  2. $ echo $PATH
  3. /mingw64/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
  4.  
  5. #############################################################################
  6. $ make PREFIX=C:/msys64/usr/local
  7. echo '#define C_CHICKEN_PROGRAM "chicken.exe"' >> chicken-defaults.h
  8. echo '#ifndef C_INSTALL_CC' >> chicken-defaults.h
  9. echo '# define C_INSTALL_CC "gcc"' >> chicken-defaults.h
  10. ...
  11. gcc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H -DC_ENABLE_PTABLES -Os chicken-do.c -o chicken-do.exe
  12. cat feathers.in >feathers; echo 'exec "$wish" "C:/msys64/usr/local/share/chicken/feathers.tcl" -- "$@"' >>feathers
  13. windres chicken.rc chicken.rc.o
  14.  
  15. #############################################################################
  16. $ make install
  17. mkdir -p "/usr/local/lib"
  18. cp -r libchicken.dll.a "/usr/local/lib"
  19. mkdir -p "/usr/local/bin"
  20. cp -r libchicken.dll "/usr/local/bin"
  21. mkdir -p "/usr/local/lib"
  22. ...
  23. cp -r chicken.tcp.import.so "/usr/local/lib/chicken/11"
  24. cp -r chicken.compiler.user-pass.import.so "/usr/local/lib/chicken/11"
  25. /usr/local/bin/chicken-install -defaults ./setup.defaults -update-db
  26. loading import libraries ...
  27. generating database ...
  28. mkdir -p "/usr/local/share/man/man1"
  29. mkdir -p "/usr/local/share/chicken/doc"
  30. ...
  31. cp -r ./setup.defaults "/usr/local/share/chicken"
  32. cp -r ./feathers.tcl "/usr/local/share/chicken"
  33.  
  34. #############################################################################
  35. $ chicken-install.exe -repository
  36. C:/msys64/usr/local/lib/chicken/11
  37.  
  38. #############################################################################
  39. $ chicken-install srfi-1
  40. fetching srfi-1
  41. 'xcopy' is not recognized as an internal or external command,
  42. operable program or batch file.
  43.  
  44. Error: (open-input-file) cannot open file - No such file or directory: "C:\\Users\\markj\\AppData\\Local\\chicken-install\\srfi-1\\srfi-1.egg"
  45.  
RAW Paste Data