Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearer README #424

Open
Rspoon3 opened this issue Feb 4, 2023 · 4 comments
Open

Clearer README #424

Rspoon3 opened this issue Feb 4, 2023 · 4 comments

Comments

@Rspoon3
Copy link

Rspoon3 commented Feb 4, 2023

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?

@jannyProjects
Copy link

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

@Rspoon3
Copy link
Author

Rspoon3 commented May 17, 2023

You have to run the bash scripts in the build-mac folder

@jannyProjects
Copy link

@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

@Rspoon3
Copy link
Author

Rspoon3 commented Jun 26, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants