Forums

Can't install glibc2.26

I need glibc2.26 for a project and I got to where I need to use sudo make install to install it. I am getting permission denied and looks like I can't get sudo. Is there a workaround to be able to install this? I can't do it without atleast glib2.25 and I believe pa is on 2.23

make[4]: Entering directory '/home/samwins/glibc-2.26/time
make[4]: Leaving directory '/home/samwins/glibc-2.26/time
make[3]: Leaving directory '/home/samwins/glibc-2.26/elf
make[2]: Leaving directory '/home/samwins/glibc-2.26/elf'
./scripts/mkinstalldirs /opt/glibc-2.14/lib
mkdir -p -- /opt/glibc-2.14/lib
mkdir: cannot create directory '/opt/glibc-2.14': Permission denied
Makerules:1031: recipe for target '/opt/glibc-2.14/lib/libc.a' failed
make[1]: *** [/opt/glibc-2.14/lib/libc.a] Error 1
make[1]: Leaving directory '/home/samwins/glibc-2.26'
Makefile:12: recipe for target 'install' failed
make: *** [install] Error 2

You don't have root access in PythonAnywhere, you can however compile the package in your home directory, if you know how to do it.

The folder is in my home directory /home/samwins/glibc-2.26. How can I compile this in the home directory?

If you do not know how to do that, do not take that route as it is very complicated, and we will not be able to assist you.