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

ARM64 / Aarch64 #1483

Closed
sandip-shah opened this issue Jun 24, 2023 · 1 comment
Closed

ARM64 / Aarch64 #1483

sandip-shah opened this issue Jun 24, 2023 · 1 comment
Labels

Comments

@sandip-shah
Copy link

Version

  • Ice version 3.7.9
  • OS - macOS Ventura 13.4 on M2 processor
  • Distribution - Source code / PIP

Describe the bug

pip install zero-ice fails.

When I try to download the src code and install it from there it fails.

It fails with the error - 'readlink' is implicitly declared in the following two files:

src/ice/mcpp/system.c
src/ice/cpp/src/Slice/SliceUtil.cpp

I had to insert line 45 (shown below) for it to compile and install the egg file:

44 #include "unistd.h" /* For getcwd(), readlink() */
45 int readlink(const char *pathname, char *buf, size_t bufsiz);
46 #elif HOST_COMPILER == MSC || HOST_COMPILER == LCC

Thanks.

Expected behavior

pip install zero-ice should have worked.

Additional context

seems like for 64 bit versions implicit declarations are not allowed and one has to do an explicit declaration which the line 45 above does.

@pepone
Copy link
Member

pepone commented Jun 27, 2023

Hi @sandip-shah,

Thanks for bringing this to our attention, we have published new versions of pip, gem, and npm packages that were affected by this issue:

@pepone pepone closed this as completed Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants