pugixml for CentOS7 32bit - centos7

sorry in advance if the question is a trivial one.
I have a 32-bit machine running CentOS7, and I would need to install the pugixml package (v >= 1.0); so far, I didn't manage to (the standard sudo yum install pugixml-devel does not work with this setup).
Could somebody please provide help? Thanks!

Related

C and C++ Cross Compiling from Arch Linux to Windows

I can't install mingw-w64-gcc in Arch linux, so i can't compile my .cpp files for Windows...
I have aldready tried wineg++, but it isn't good for me...
Anyone can help me?
Thanks
Assuming that what you want is to install mingw-w64-gcc in Arch, the steps you need to do are:
1) go to: https://aur.archlinux.org/packages/mingw-w64-gcc/ and download a snapshot (on the upper right side of the web page).
2) decompress the file with tar xzvf /your_path/mingw-w64-gcc.tar.gz.
3) install the package. cd mingw-w64-gcc/ && makepkg -si.
You may need to install other dependencies from the Arch User Repository (AUR).
Hope you find this helpful.
For future questions related with Arch Linux issues I would recommend you first to search in the Arch Wiki, and if you cannot find a solution, then use the Arch forums.
PS: Let me also suggest you to use Docker for making your code executable anywhere. It's quite simple to use when you learn it.

How to uninstall OCaml in mac?

I have the ocaml functionality in my mac (I'm using Sierra).I did not use opam or macport to install them.So how do I uninstall OCaml from my system?
I've been searching on Google but I can barely found one that discuss about how to do it in mac.I hope someone can explain this clearly..Thank you very much!!

How to install numpy on win7 64bit for python 2.7.8?

I was trying unofficial binaries here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
but I still don't know which one is good for me. Any ideas?
numpy‑MKL‑1.9.1.win‑amd64‑py2.7 should do.

problems of installing kde runtime libraries on Linux

I am trying to install kde runtime libraries for kscope on Linux (2.6.18-308.11.1.el5).
http://kscope.sourceforge.net/install.shtml
I have downloaded kde-runtime-4.9.2 from ftp://ftp.kde.org/pub/kde/stable/4.9.2/src/
But, in the downloaded files, I cannot find INSTALL or other help files about how to install it.
Any help will be appreciated.
Thanks,
This is what you can do(assuming you are not on kubuntu):
1) add kubuntu's backports to your existing ppa(to gain access to KDE libraries):
# sudo add-apt-repository ppa:kubuntu-ppa/backports
2) Update the package index:
# sudo apt-get update
3) Install kdebase-runtime deb package:
# sudo apt-get install kdebase-runtime
this should work
cheers
kscope had it's latest release in 2008 and depends on KDE 3 libraries.
kdelibs 4 are incompatible with kdelibs 3. To get it running you need a distribution that still supports kde3. (or compile kde3 all yourself)
I suggest you use an alternative application - like KDevelop (you actually tagged your question with kdevelop)

Specify which version to install with macports

I would like to install a specific version of gdb and gcc with macports on mac os x leopard, not the last one, but the 6.8 for gdb. Is it possible?
It is possible. It's just convoluted and tedious. It's listed in the documentation these days.
Steps
Go to macports trac and find the package you're looking for. This is the link for subversion, which is the package I'll be using in the example.
Click the PortFile
Click Revision Log (top right)
Pour through the revisions until you find the version you're looking for. Remember the revision number.
In this example I'm looking for version 1.7 of subversion.
With that revision number noted. You need to checkout the version of that subdirectory at that revision.
cd /tmp
svn co http://svn.macports.org/repository/macports/trunk/dports/devel/subversion --revision 106629
Then cd into the folder and run the install
cd subversion
sudo port install
Then it should become selected by default. You can check with
sudo port installed subversion
The following ports are currently installed:
subversion #1.7.10_0 (active)
subversion #1.8.8_0
subversion #1.8.10_0
As I just came across this question when trying to figure out how to download an older version of curl, I thought I'd share an update:
The currently accepted answer did not work for me any longer. This is with MacPorts 2.2.0. What I did was the following.
I started following the directions located here. I ended up using the SVN method, since the first method didn't work. What I didn't realize is that I was missing a critical step.
I found another post that suggested moving the downloaded directory to /private/tmp. After doing this, I cd into the new directory and after a sudo port install I was able to install the older version.
I am on a Mac running OS X 10.8, so your mileage may vary.
This post is old.. but specifying a version is possible. For example I want to install ZeroMQ version 3.2.2 so I use:
sudo port install zmq #3.2.2
And it always helps to goto the MacPorts website and search to see if they have what you are looking for.
As far as I know it is not possible at all to install other versions than the exact version, unless there is a specific port for a certain version.
The only thing you could do is fetch the portfile of the desired version from the Macports subversion repository.
In your case only gdb 7.2 is available on the current version, no variants and no other versions - sorry :)