code3212321

DSPython failed setup

Aug 30th, 2022
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. 1. Download DevKitPro installer from https://github.com/devkitPro/installer/releases
  2. 2. Run it > Next > Next > Next > Next > Finish
  3. 3. Download MingW from https://sourceforge.net/projects/mingw/files/latest/download
  4. 4. Run it > Install > Continue > Continue > Check options listed below > Installation (Top left in title bar) > Apply Changes > Apply > Close > [X]
  5. + MinGW Developer Toolkit
  6. + mingW32 gcc g++
  7. + mingW32 gcc objc
  8. + Msys base
  9. 5. Download python 2.7.3 from https://www.python.org/ftp/python/2.7.3/python-2.7.3.amd64.msihttps://www.python.org/ftp/python/2.7.3/python-2.7.3.amd64.msi
  10. 6. Run 2.7 installer, Click: Next > Next > Next > Finish
  11. 7. Download ‘Pyrex compiler and documentation’ from https://www.csse.canterbury.ac.nz/greg.ewing/python/Pyrex/
  12. 8. Extract Pyrex-0.9.9.tar.gz with 7zip
  13. 9. Open console in unzipped pyrex folder
  14. 10. Run C:/python27/python.exe setup.py bdist_wininst
  15. 11. Run dspython-master/msys_pyds.bat
  16. 12. Cannot find the file specified c:\devkitPro\msys\msys.bat
  17. 13. Edit msys_pyds.bat:
  18. + Replace: SET PATH=%MINGWDIR%/bin;%DEVKITPRO%/msys/bin;...
  19. + With: SET PATH=%MINGWDIR%/bin;%DEVKITPRO%/msys2/bin;...
  20. + Replace: c:\devkitPro\msys\msys.bat
  21. + With: c:\devkitPro\msys2\msys2.exe
  22. + Replce: set LDFLAGS=-specs=ds_arm9.specs -...
  23. + With: set LDFLAGS=-specs= FULL_PATH\dspython-master\slp-250\ds_arm9.specs
  24. 14. Run dspython-master/msys_pyds.bat
  25. 15. Switch to MSYS window that just opened
  26. 16. Cd my way to dspython-master
  27. 17. cd zlib-1.2.3
  28. 18. Make
  29. No such file or directory: arm-eabi-gcc
  30. -- Not sure what else to do here, so I gave up and moved to the next instructions --
  31. 19. Cd ../slp-250
  32. 20. Edit configure line 1137
  33. 21. Add the star so that msys2 works …-lnews* | -msys*)
  34. 22. sh configure --host=arm-eabi --config-cache
  35. checking for C compiler default output file name... configure: error: C compiler cannot create executables
  36. 23. Config.log line 123 says
  37. gcc: fatal error: cannot read spec file 'ds_arm9.specs': No such file or directory
  38. 24. Ftr, ./dspython-master/slp-250/ds_arm9.specs DOES exist.
  39. -- No idea how to solve this. I tried editing the configurations specified in msys_pyds.bat to include the full path (Then re-running it), but nothing changes, even in the logs.
  40.  
  41.  
  42.  
Advertisement
Add Comment
Please, Sign In to add comment