Very happy to hear that. Thank you Kevin.
Concerning the struggles I've had, perhaps I just needed to step back and think about each problem and where to find more info, rather than sitting there and trying different things without knowing if such would work.
Eventually I found a mention of the latest PyQt5 breaking compatibility with sip 4.x. Not fixed yet though it might be in the dev branch, thus it was a bit difficult to discover. Using PyQt5 5.15.5 works, and no issues with PyQtWebEngine 5.15.4.
https://groups.google.com/g/linux.de.../c/FdgUVpZ4SWE
It was a bit frustrating being unable to find different builds of sip, PyQt5, and PyQtWebEngine. I think various distros might keep archives, such as this I found from MacPorts:
https://distfiles.macports.org/py-pyqt5/
Thus, maybe the only issue, at least that I can recall at the moment, is QtWebEngine on Monterey. If the MacPorts edition will work, I'm not sure yet. Perhaps I may try to grab their patches and manually apply them if possible, depending on how I feel in the coming weeks in trying to complete the build.
So, thinking that maybe all prerequisites are satisified, I tried the Sigil build. Perhaps such is from an error on my part with building Python 3.9.9, yet I went over it again, yet possibly I still missed something. make -d returns the following error:
Quote:
Traceback (most recent call last):
File "/Users/user/dev/build/bin/osx_add_python_framework.py", line 245, in <module>
sys.exit(main())
File "/Users/user/dev/build/bin/osx_add_python_framework.py", line 198, in main
shutil.copy2(src_file, dest_file)
File "/Users/user/dev/sigildev/libraries/Frameworks/Python.framework/Versions/3.9/lib/python3.9/shutil.py", line 444, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/Users/user/dev/sigildev/libraries/Frameworks/Python.framework/Versions/3.9/lib/python3.9/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/user/dev/sigildev/libraries/Frameworks/Python.framework/bin/python3'
Reaping losing child 0x600001e24280 PID 19749
make[2]: *** [bin/Sigil.app/Contents/MacOS/Sigil] Error 1
make[2]: *** Deleting file `bin/Sigil.app/Contents/MacOS/Sigil'
Removing child 0x600001e24280 PID 19749 from chain.
Reaping losing child 0x6000023f8000 PID 18786
make[1]: *** [src/CMakeFiles/Sigil.dir/all] Error 2
Removing child 0x6000023f8000 PID 18786 from chain.
Reaping losing child 0x600002f4c050 PID 18010
make: *** [all] Error 2
Removing child 0x600002f4c050 PID 18010 from chain.
|
Seems that the bin folder is misplaced. From the Python instructions, I believe it ended up being in the same folder level as Python.framework. Moving it allowed me to skip past that error though I'm unsure if that is ok. I think it's not as Sigil crashes on start, unable to find Python:
Quote:
Referenced from: /Users/USER/*/Sigil.app/Contents/MacOS/Sigil
Reason: tried: '/Users/user/dev/build/bin/Sigil.app/Contents/MacOS/../lib/Python' (no such file), '/Users/user/dev/sigildev/libraries/Frameworks/Python.framework/Versions/3.9/lib/Python' (not a file), '/Users/user/dev/build/bin/Sigil.app/Contents/MacOS/../lib/Python' (no such file), '/Users/user/dev/sigildev/libraries/Frameworks/Python.framework/Versions/3.9/lib/Python' (not a file), '/usr/local/lib/Python' (no such file), '/usr/lib/Python' (no such file)
(terminated at launch; ignore backtrace)
Application Specific Information:
Library not loaded: @rpath/Python
Referenced from: /Users/user/dev/build/bin/Sigil.app/Contents/MacOS/Sigil
Reason: tried: '/Users/user/dev/build/bin/Sigil.app/Contents/MacOS/../lib/Python' (no such file), '/Users/user/dev/sigildev/libraries/Frameworks/Python.framework/Versions/3.9/lib/Python' (not a file), '/Users/user/dev/build/bin/Sigil.app/Contents/MacOS/../lib/Python' (no such file), '/Users/user/dev/sigildev/libraries/Frameworks/Python.framework/Versions/3.9/lib/Python' (not a file), '/usr/local/lib/Python' (no such file), '/usr/lib/Python' (no such file)
|
Of make addframeworks -d, there are various errors such as this:
Quote:
ERROR: Could not parse otool output line: "Sigil.app/Contents/Frameworks/libz.1.dylib (architecture arm64):"
|
Of that I couldn't find much info yet.
Getting close.