Closed wrljet closed 6 months ago
Which branch are you using? Can you test using the 'macos' branch?
Thank for your reply.
I was using the default master branch.
Just tried with the 'macos' branch.
Now make all
seems to work. But bundle
fails.
bill@Bills-Mac pw3270 % cd macos
bill@Bills-Mac macos % ./bundle
Creating temporary directory
Bundling GLib schemas
cp: /usr/local/usr/local/Cellar/gtk+3/3.24.39/share/glib-2.0/schemas/pw3270*.gschema.xml: No such file or directory
Removing temporary directory "/var/folders/vk/y13h2zy92mxdvrt06rk9n4f00000gn/T/tmp.zf9U6j9e"
bill@Bills-Mac macos %
That path /usr/local/usr/local...
doesn't look kosher.
Bill
I think it's fixed now but I'm no sure if the bundle is still working. Maybee it will need some work due to code changes.
OK, that fix helped.
Now I get:
bill@Bills-Mac macos % ./bundle
Creating temporary directory
Bundling GLib schemas
cp: /usr/local/Cellar/gtk+3/3.24.39/share/glib-2.0/schemas/pw3270*.gschema.xml: No such file or directory
Removing temporary directory "/var/folders/vk/y13h2zy92mxdvrt06rk9n4f00000gn/T/tmp.UKAiWFJo"
There's no pw3270*.gschema.xml
file(s) in the /usr/local/Cellar/gtk+3/3.24.39/share/glib-2.0/schemas
directory.
Any place I should look for where/how those file(s) are created?
Bill
From the bundle's 'point of view' they're in ../schemas/*.gschema.xml already changed the script.
I found the source of the next couple of errors to be caused by quotes around strings causing the glob expansion to not be performed.
-cp "../schemas/*.gschema.xml" "${tmp}/schemas"
-cp "$(pkg-config gtk+-3.0 --variable=prefix)/share/glib-2.0/schemas/org.gtk.Settings."*".gschema.xml" "${tmp}/schemas"
Getting past that, I ran into lots of errors along the lines of: Lib /usr/lib/libSystem.B.dylib not found
.
I found this thread on the Interwebs Based on that, I tried it with a much older Mojave, and that failed for a bunch of other reasons.
MacOS is just too confusing, and I'm just not very familiar with all this.
Bill
@wrljet I made some updates to the bundle script in my fork, see if it works for you:
That worked!
Also confirmed works on a Mac M1. (with some cussing) Resulting Bundle has been tested on a second machine, and worked there also.
@PerryWerneck I tried to open a pull request from my fork but it failed in the "WinPKG / Publish for Windows 64" verification. I didn't change any windows source file, only the build script.
Something is problaby old on your branch. Did you send the pull request for which branch? Try to send it to macos or develop.
I worked on the main branch from a fresh fork. It's only one commit ahead.
I'll try another branch.
The action failed due to security reasons. I aproved the pull request bypassing the rules.
As committed, the bundle
in the macos
branch isn't marked executable.
I still have the error:
Fails to build on macOS -- missing pw3270_build_data_path()
Monterey on Macbook Air 2017.
Describe the Bug
Fails to build on macOS (13, Ventura) with linker error:
Reference is made to a function that exists in the
linux
andwindows
specifictools.c
but it is missing for macOS.Expected Behavior
Expected to compile and link properly. :-)
System
Please complete the following information: