I'm trying to build GLUT, but I fail on:
xmkmf: Command not found
Where can I find this?
It's part of the imake package, which you can install with yum via yum install imake or just download, e.g. from http://rpmfind.net/linux/rpm2html/search.php?query=imake.
if imake is not installed, install it from pkgs.org
http://pkgs.org/search/?keyword=imake
Related
I am unable to install pycodec2. I first git cloned the pycodec2 repo. Then cloned and installed codec2 repo inside it. I had to edit a few paths in pycodec2, but after so much tinkering I am unable to get the pycodec2 running. Does anybody have experience installing pycodec2 and can share the steps?
Thanks!
You will need to install either the codec2 libraries, and/or the development files, depending on whether or not it is using them to run, or to compile.
On Ubuntu you can achieve this with:
sudo apt-get install libcodec2 libcodec2-dev
i have installed the pycodec2 successfully on ubuntu 20.04!
1. sudo apt install libcodec2-dev
2. sudo apt install codec2
# or install codec2 as officer website.
3. pip install pycodec2
How to install libleveldb-dev (leveldb development libraries) on windows? I need this to be downloaded so I can install plyvel. Thank you in advance I hope someone is familiar with this process.
The way to install this on Linux is :
sudo apt-get install libleveldb-dev
But I need to install this on windows. Is there a similar easy way to do this in the windows command prompt? Related Link: https://plyvel.readthedocs.io/en/latest/installation.html#build-and-install-plyvel
Just answering for the next ones, there is a version of plyver just for windows that doesnt require all this suffering. just try: "pip install plyvel-win32" if you have the visual libraries should work.
I am trying to install jpegoptim on a CentOS 6 server. I have downloaded and unpacked the package but when I try to run ./configure from the jpegoptim-1.3.0 directory I get an error that says:
"cannot find libjpeg or you have too old version (v6 or later required)."
I have checked and I have libjpeg-turbo install, which should supercede libjpeg. I have not been able to find anything on the net about this issue. What am I doing wrong?
Thanks,
Rob
The configure script is looking for jpeglib.h which is in the libjpeg-turbo-devel package.
You may want to use yum to help you with what you are looking for. The following may get you what you need:
yum search libjpeg
yum install libjpeg*
Note I have the epel repository installed on my system too. So if the above don't give you what you want, you may need to install the epel repository first.
I tried installing libtiff 4.0.3 through using the commands:
./configure
make
make install
It installed fine. However, I recently found out that I got the versions wrong and so I need to install a new one with a different version. I'd like to how know to remove libtiff from my Ubuntu setup. Would it be the same as sudo apt-get remove [x]? And how do I know what to put on x if I didn't install it through sudo apt-get install [x] command? Would appreciate some help. Thanks. :)
You can't use apt-get to remove something that wasn't installed as a package. Try running make uninstall. – Blender
I am trying to install roccc 2.0. I have installed required packages. Now while installing it, it is giving me this error:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
I searched for gnu/stubs-32.h and came to know, for Linux 64-bit its in glibc-devel and for Linux 32-bit, its in libc6-dev-i386.
I am using Linux 32-bit: i386 GNU/Linux, but couldn't get the lib required to resolve this error.
Can somebody please help me out?
If your Linux distro is Redhat based (Fedora/CentOS/RHEL):
yum install glibc-devel.i686
References
Original post answer solved this problem RHEL x64
Header file gnu/stubs-32.h is under /usr/include/i386-linux-gnu/ but the install script tries to find it in /usr/include/, try this quick fix to complete the installation:
sudo ln -s /usr/include/i386-linux-gnu/gnu/stubs-32.h /usr/include/gnu/stubs-32.h
After installation is finished, you can delete the link.
The package name keeps on changing, just do a
yum list glibc-devel
to find out current package for 32 bit. In my case it only listed 2 packages one for 32 bit and one for 64 bit. I just installed the 32 bit using
yum install glibc-devel.i686
Install 'glibc-devel' package, or whatever it called in your distro. You may also need to install ia32-libs lib32z1-dev lib32bz2-dev (names could be different in your distro).
The script is trying to get stubs-32.h from /usr/include/ where it is not found. To solve this you have to add an "include" path (by default it is /usr/include) like this:
C_INCLUDE_PATH=/usr/include/i386-linux-gnu/
export C_INCLUDE_PATH
OR
export C_INCLUDE_PATH=/usr/include/$(gcc -print-multiarch)
You can visit Error "gnu/stubs-32.h: No such file or directory" while compiling Nachos source code for additional reference.
If on a Red Hat distro such as Fedora/CentOS/RHEL you can do the following to find out what package provides a given file:
$ repoquery -qf */stubs-32.h
glibc-devel-0:2.17-260.el7.i686
And then install it:
$ sudo yum install -y glibc-devel-0:2.17-260.el7.i686