Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

Unable to install, gcc missing. #54

Open
nzjustin opened this issue Jan 21, 2021 · 2 comments
Open

Unable to install, gcc missing. #54

nzjustin opened this issue Jan 21, 2021 · 2 comments

Comments

@nzjustin
Copy link

I am unable to install in onpremise-21.1.0 due to missing gcc.

The pip install process fails after sentry-ldap-auth, when building python-ldap:

Successfully built sentry-ldap-auth
Failed to build python-ldap

The container being used does not contain gcc in container:

...
building '_ldap' extension
  creating build/temp.linux-x86_64-3.6
  creating build/temp.linux-x86_64-3.6/Modules
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DHAVE_SASL -DHAVE_TLS -DHAVE_LIBLDAP_R -DHAVE_LIBLDAP_R -DLDAPMODULE_VERSION=3.3.1 -DLDAPMODULE_AUTHOR=python-ldap project -DLDAPMODULE_LICENSE=Python style -IModules -I/usr/local/include/python3.6m -c Modules/LDAPObject.c -o build/temp.linux-x86_64-3.6/Modules/LDAPObject.o
  unable to execute 'gcc': No such file or directory
  error: command 'gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for python-ldap
...

If this version of sentry is not supported, does anyone know if it is safe to rollback the version by running an older version of install.sh ?

@nzjustin
Copy link
Author

I guess I assumed that

Versions 2.0 and newer require Sentry 8

Meant "Sentry at least 8". I'm new to sentry and didn't realize that there would be such a big difference. I am trying to install on CentOS 8, and am unable to find the documentation for installation. When I go back in the commit history to ~sentry 8, the README points to https://docs.sentry.io/ for the docs, which is obviously for sentry 21 now......

I have been trying to get it installed but I think the package versions available on my system e.g. the PostgreSQL ones are too new for sentry 8 to build properly.

Does anyone know of some specific install instruction for Sentry 8 that I can follow?

@rrauenza
Copy link

rrauenza commented Dec 2, 2021

See #55

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

No branches or pull requests

2 participants