Open Rspoon3 opened 1 year ago
Hi @Rspoon3, were you able to build libetpan on mac M1 ? if so, can you please provide a detailed description of how? I have problem to get it working.
Thanks
You have to run the bash scripts in the build-mac folder
@Rspoon3 I tried to execute command but execution failed. Here are logs. Were you able to build some binary?
running prepare-cyrus-sasl.sh prepare sources building tools generated makemd5arm64 properly building for iPhoneOS - armv7 log to /libetpan/build-mac/dependencies/build/libsasl/workdir/20230516192856/src/cyrus-sasl-2.1.28-iPhoneOS-armv7/build.log Command ExternalBuildToolExecution failed with a nonzero exit code
and here is a error from log file mentioned above:
building for iPhoneOS - armv7 configure: WARNING: you should use --build, --host, --target configure: creating cache ./config.cache checking build system type... Invalid configuration 16.4armv7': machine 16.4armv7' not recognized configure: error: /bin/sh config/config.sub 16.4armv7 failed
I was able to get it to build but at this point I don't remember exactly how. You'll have to mess around with the build script and possibly comment out some of the code.
In the end, I gave up on using this library. It's no-longer supported and clearly has issues related to Apple Silicon.
I would like to request that the README be updated to be a bit friendlier. I have a background as an iOS developer and came across an old library named Postal that includes this sdk. I'm having issues with arm64 on Apple Silicon Macs and see that libetpan has been updated to support them. I'm looking to update that package to include the newer version of libetspan, but am unsure of how to start.
Initially I looked at the README for libetpan but didn't find it to helpful. I'm able to build the project, but nothing happens. Is there an expected output? What do I do if there is? I'm also having an issue using libetpan when directly added to a iOS project.
Can someone add a bit of clarity to the README with what building the library is suppose to do?