dinhvh / libetpan

Mail Framework for C Language
www.etpan.org
Other
612 stars 284 forks source link

Build failed with Xcode 12 #404

Closed Vincentzzg closed 3 years ago

Vincentzzg commented 3 years ago
截屏2021-04-26 下午8 00 16
haithngn commented 3 years ago

Which kind of Mac machine do you running on? Intel chip or ARM chip?

Vincentzzg commented 3 years ago

Intel chip.

截屏2021-04-27 上午9 16 22
haithngn commented 3 years ago
Screen Shot 2021-04-27 at 09 21 34

I have no idea about your case, I think that is not related to libetpan you should Google it. anw, can you try on another machine?

Vincentzzg commented 3 years ago

The cause of the problem is that the architecture of the executable file is arm_v7, but the computer is an Intel chip.

截屏2021-04-27 上午11 23 02 截屏2021-04-27 上午11 24 17
Vincentzzg commented 3 years ago

I don't know where the program went wrong.

The earliest error is here:

截屏2021-04-27 下午3 29 32

Corresponds to line 159 of the code in the prepare-cyrus-sasl.sh file.

截屏2021-04-27 下午3 33 21

Then the code came to the exit.

It should be the failure here that led to the ultimate failure.

KennethFra commented 3 years ago

Same issue here. Is there a workaround?

Vincentzzg commented 3 years ago

@KennethFra @haithngn The solution is to modify version=2.1.26 in the prepare-cyrus-sasl.sh file to version=2.1.27.