Guest Additions Install Fails For Fedora 17 - virtualbox

I have currently installed fedora 17 using virtual box. I need fedora 17 for one of my courses. I needed to install guest additions for mounting a cd but I get an error
I have tried updating the kernel and the kernel headers but that does not work.

This is a step-by-step guide to do what you are looking for: http://www.if-not-true-then-false.com/2010/install-virtualbox-guest-additions-on-fedora-centos-red-hat-rhel/
You said that you installed the kernel-headers, but the tool complains that they are missing. Are they present in the expected location below /usr/src/kernels/... ?

Related

Use GCC11 on (K)ubuntu 20.04

I want to use some new C ++ 20 functions that are implemented in the as-yet-unreleased GCC-11. I tried installing the package on Ubuntu 20.04 but as expected it doesn't exist yet. The web search didn't come up with anything useful either.
Is there any way to use GCC-11 on Ubuntu 20.04?
There is a solution via ppa.
You can find the instructions here:
Install g++ 11 on Ubuntu 20.04

Install older gcc

I have Fedora 31 installed which has gcc 9.3.1 installed into it.
I want to install gcc 4.8.5 on my machine.
Tried compiling the gcc by downloading tar file from gnu website, but facing lot of compilation errors.
Can anone help me with the installation.
Thanks in advance.
The compiler you are looking for was in a Fedora release many many years ago and will be hard to reasonably get going on a current Fedora Linux system.
However, it is the compiler in RHEL 7, and therefore in CentOS. Your best bet is to install one of those operating systems in a virtual machine. (You can get RHEL for individual use through the RH Developer Program.) In Fedora Workstation, the Boxes program makes it easy to set up such a VM.
You could also use a docker or podman container, but that will take a little more understanding.

Can't run uWebSockets on CentOS 7 with glibc-2.17

Error: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /root/workspace/backend/node_modules/uWebSockets.js/uws_linux_x64_72.node)
Latest glibc version for CentOS 7 is 2.17.
I know that latest version for CentOS 8 is 2.30 but I can't upgrade, because my VDS depends on host's machine kernel (which is very old).
Is there any way to run/compile it with glibc-2.17 or update glibc?
EDIT:
My kernel version is 2.6.32-042stab141.3.
I can build it and install to /opt/glibc-2.18 without errors, but when I trying to use this I see Segmentation fault error.
P.S. I builded it successfully on Fedora 23 with same OpenVZ kernel.
I have built a custom binary (and tutorial) that will solve your exact problem.
Read it here: https://github.com/dominicklee/uWebSockets.js-for-Centos7
Is there any way to run/compile it with glibc-2.17
Yes: just do it (download source, build on your target machine, profit).
or update glibc?
You didn't say what your "very old kernel" is, but if GLIBC-2.18 supports it, then yes, you can update GLIBC.
However, any mistake you make in the process may make your system un-bootable. See this answer.

Installing graph-tool - ubunutu 14.04 - anaconda - jupyter notebook - python 2.7

So I have been trying to install the graph-tool module on my Ubuntu system all day now. I just cant seem to figure it out. Basically I want to use the package in jupyter notebook (in an anaconda enviroment). I followed several installation instructions, but nothing seems to work.
This for example: https://gist.github.com/dlozeve/ed59bba8bc8cb9b21e2af36cc9766938
I get to the configuration (adjusting for the fact that I am using python2.7),
./configure --prefix=/home/timo/anaconda2/envs/graph/ --with-python-module-path=/usr/local/lib/python2.7/site-packages
yielding:
configure: error: *** A compiler with support for C++14 language features is required.
Does anyone know what I might be doing wrong? Or as a simpler way to get graph-tool to work in my jupyter notebook?
Thank you very much!
The configure script is telling you exactly what is wrong: You need a compiler with C++14 support. This just means that your GCC is too old.
(You haven't told us any pertinent detail, such as the compiler version you have, library versions, etc, so we can only guess. But luckily, the configure diagnostics is crystal clear.)
A simpler way to install graph-tool would be for you to upgrade your distro (14.04 is outdated) and use the Ubuntu packages, as described here: https://git.skewed.de/count0/graph-tool/wikis/installation-instructions#debian-ubuntu
As graph-tool does not seems to run in an anaconda environment and Ubuntu 14.04 does not have support the latest C++ compiler that is needed, I did install Ubuntu 16.04 and followed firstly [https://www.google.de/amp/s/www.rosehosting.com/blog/how-to-install-jupyter-on-an-ubuntu-16-04-vps/amp/] and then finally installed graph-tool as described on the homepage.
This way I get to use jupyter notebook and am still able to import graph-tool.

How to get libboost-thread1.46 on Ubuntu 12.10

Folks,
Our application is distributed in binary form to many of our customers. The application was compiled on Ubuntu 12.04 and is dependent on libboost-thread1.46.1, among other things.
All of our customers also have Ubuntu 12.04 on their servers and our application worked just fine.
As some customers have indicated that they might use Ubuntu 12.10 in future, we built a new box with Ubuntu 12.10 and tried to install the needed dependencies. However, libboost-thread1.46 is no longer found in Ubuntu standard repositories. The version that seems to be available is libboost-thread.49 and libboost.thread.50.
I am wondering if there is a way to install libboost.thread1.46 on Ubuntu 12.10. This would obviate the need for recompiling the application.
Thank you in advance for your help.
Regards,
Peter