Could not install AMC in Arch linux


#1

I’m trying to install the Aerospike Management Console CE in Arch Linux but I keep getting the error

building greenlet...
You may check greenlet compilation output in /tmp/greenlet.log and delete it if all is OK
Could not install AMC.

Arch uses python3 by default so I used

sudo python2 ./install

Is there something wrong with the package or doesn’t it support Arch ?


#2

Looks like the install scripts assume you are either using Redhat or Debian based distro: https://github.com/citrusleaf/monitoring-console/blob/master/installer/tar-ball/install#L29-L35

Also, it sets up and executes SystemV init scripts and Arch uses SystemD.


#3

So you mean to say its not possible to run it on Arch ?


#4

By inspection, the install script will not run on Arch. I will ping the team in charge of this project to see if they may be able to suggest another route.


#5

That will be great if it gets resolved.


#6

Hi,

Arch Linux is not in supported by AMC, but we would test it and update here.

Can you please provide below details to debug this issue:

  1. Arch Linux version
  2. Contents in /tmp/greenlet.log file.

Thanks.


#7

Arch follows rolling release concept. I can let you know the kernel

Name           : linux
Version        : 4.0.5-1
Description    : The Linux kernel and modules
Architecture   : x86_64
URL            : http://www.kernel.org/
Licenses       : GPL2
Groups         : base
Provides       : kernel26=4.0.5
Depends On     : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optional Deps  : crda: to set the correct wireless channels of your country
Required By    : nvidia  virtualbox-host-modules
Optional For   : None
Conflicts With : kernel26
Replaces       : kernel26
Installed Size :  73.08 MiB
Packager       : Tobias Powalowski <tpowa@archlinux.org>
Build Date     : None
Install Date   : None
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

Contents in /tmp/greenlet.log file

running install
running build
running build_ext
creating /tmp/tmpkssyajzi/tmp
creating /tmp/tmpkssyajzi/tmp/tmpkssyajzi
gcc -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -fno-tree-dominator-opts -I/usr/include/python3.4m -c /tmp/tmpkssyajzi/simple.c -o /tmp/tmpkssyajzi/tmp/tmpkssyajzi/simple.o
/tmp/tmpkssyajzi/simple.c:1:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 void foo(){}
      ^
building 'greenlet' extension
creating build
creating build/temp.linux-x86_64-3.4
gcc -pthread -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -fPIC -fno-tree-dominator-opts -I/usr/include/python3.4m -c greenlet.c -o build/temp.linux-x86_64-3.4/greenlet.o
creating build/lib.linux-x86_64-3.4
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro build/temp.linux-x86_64-3.4/greenlet.o -L/usr/lib -lpython3.4m -o build/lib.linux-x86_64-3.4/greenlet.cpython-34m.so
running install_lib
copying build/lib.linux-x86_64-3.4/greenlet.cpython-34m.so -> /opt/amc/server/site-packages
running install_headers
copying greenlet.h -> /opt/amc/server/site-packages
running install_egg_info
Writing /opt/amc/server/site-packages/greenlet-0.4.1-py3.4.egg-info
Linking /opt/amc/server/setups/greenlet/greenlet-0.4.1/build/lib.linux-x86_64-3.4/greenlet.cpython-34m.so to /opt/amc/server/setups/greenlet/greenlet-0.4.1/greenlet.cpython-34m.so