Update cedet in emacs on Mac - macos

I installed emacs using Home Brew but later I found the cedet bundled with emacs is out dated.
But when I followed the instructions in cedet official site, downloaded the tar file, un-tar it and run make in that dir, then I got 2 errors telling me ssomething is wrong with eieio... The version I want to install is cedet1.1...
How can I solve this?

Just update emacs to the newest version using homebrew, which should be 24.5.1. The cedet bundled with it is V2.0, which is the same as sf.

Related

Installing latest version of gmsh

How can I install latest version of gmsh, which is gmsh 3.0.7 on ubuntu 16.04LTS please?
Using sudo apt install gmsh it only installs gmsh 2.10.1.
I also did update and upgrade my system but still only version 2.10.1.
Any suggestion please?
Cheers
First, I prefix this by saying I'm nothing like an expert, but this worked for me:
Uninstall the repository version:
sudo apt-get remove gmsh
Download a zipped copy of the latest stable release for linux from the gmsh website:
http://gmsh.info/#Download
Unzip gmsh:
tar -xvzf gmsh-3.0.6-Linux64.tgz (or whatever version you've downloaded)
This makes a folder gmsh-3.0.6-Linux64 containing gmsh which is portable. Put it somewhere you can find it. I put it in my home directory.
Navigate to the bin folder:
cd ~/gmsh-3.0.6-Linux64/bin
From the bin folder you can start gmsh by typing:
./gmsh
I made it generally available at the command line by editing my .bashrc, adding this line:
export PATH="$PATH:/home/bob/gmsh-3.0.6-Linux64/bin"
You will need to make the path appropriate for your location.
Hope this works.
if it can help someone here, I recently compiled GMSH from source without difficulty, simply with the typical combination of cmake and make; their GitLab repository explains these few steps to follow
https://gitlab.onelab.info/gmsh/gmsh
Although this may vary, pay attention to few libraries which weren't present on my fresh Ubuntu installation (libpng, libjpeg, and FLTK libraries), cmake properly highlighted these missing libraries. FLTK is needed for the UI.
Ubuntu 20.04 LTS has gmsh version 4.4.1 in the official repositories. So installation is again simply this:
sudo apt install gmsh

Downgrade Subversion 1.9.4 to 1.7.22 in Mac os

Anybody can help me? Step by step please. Thanks a lot.
I'm try Downgrade Subversion 1.8 working copy to 1.7 but not usefull. Please help
You can install svn version 1.7 via MacPorts.
Follow the instructions here.
Basically you'll have these steps:
Use the App Store to install Xcode.
Note — you may need to update Xcode after installing it.
Open a terminal and sudo xcode-select --install to install the the developer command line tools.
Install MacPorts for your version of OSX.
Note — you may need to source ~/.bash_profile after installation for the port command to be found.
Reinstall ports following the migration instructions.
The default install of Macports install links into /opt/local/bin and /opt/local/sbin, so add that to your path (then source ~/.bash_profile again).
Use 'which svn' and/or 'svn --version' in bash to determine which copy of subversion you are using.

installed specific version of hdf5(1.8.16) mac

I want to install hdf5 with a specific version: 1.8.16, but with the command, brew install hdf5, I got the newest version, 1.8.17, can you help me, I checked out some similar solutions, it does work.
Download your OS-specific hdf5-1.8.16.tar.gz
hdf5-1.8.16.el_capitan.bottle.tar.gz
hdf5-1.8.16.mavericks.bottle.tar.gz
hdf5-1.8.16.yosemite.bottle.tar.gz
Extract
mv hdf5 /usr/local/Cellar/
brew link hdf5

Where can I download PostgreSQL 8.2.16 installer for OSX?

I've been searching for about an hour, but could not find any installer for this version...
I have been using Homebrew for OSX, and have been really happy with it. After you install it, you can
$ brew install postgresql
and get a clean installation of postgres. However, it doesn't install any gui tools, just psql.
http://github.com/mxcl/homebrew
http://www.engineyard.com/blog/2010/homebrew-os-xs-missing-package-manager/
EDIT:
Apologies, I think the brew formula is building 8.4.3 right now, but it shouldn't be too hard to edit it to use the version you require...
EDIT #2:
You might be able to find the version you want here:
http://www.enterprisedb.com/products/postgres_plus/getinstaller.do

Where is PyGTK for Mac OS X?

Is there a binary out there for the current mac os x, python for PyGTK? I work with multiple desktop environments (mac, windows, gnome) and really consider python's lack of cross platform GUI's a problem. Does anyone know where I can find a built version of PyGTK and GTK for Mac?
I cant clone the git repository, it keeps timing out.
brew install pygtk worked for me (requires homebrew).
Confirmed to work with OS X 10.10 too, but by default it will install it into brew's Python distribution, so if you are still using the native python, it will not find it.
I don't use macports but it seems that jhbuild works for me. Below is the steps that I've done.
download gtk-osx-build-setup.sh from: https://raw.github.com/jralls/gtk-osx-build/master/gtk-osx-build-setup.sh and save it to your home directory.
fire up terminal and navigate to your home directory and run the command sh gtk-osx-build-setup.sh
the shell script will warn you that ~/.local/bin isn't added to your environment variable to do this, edit your .profile file located at your home directory and /Users/<username>/.local/bin to your environment variable. to know more on how to edit this file check out: http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/
after that, do a ~/.local/bin/jhbuild bootstrap command. it will download and install some necessary utilities.
download and install the beta version of the gtk+ osx framework at: http://ftp.imendio.com/pub/imendio/gtk-osx/Gtk-Framework-2.14-LATEST.dmg
before installing the meta-gtk-osx-python, you need to build and install some other packages that jhbuild doesn't install automatically, so what i did was i installed libpng by doing the command: ~/.local/bin/jhbuild build libpng
you also need to install libtiff so do the command: ~/.local/bin/jhbuild build libtiff
and also gtk-doc is needed so: ~/.local/bin/jhbuild build gtk-doc
and finally you can now install meta-gtk-osx-python by doing a: ~/.local/bin/jhbuild build meta-gtk-osx-python
Let me know if it works.
There is an installer for PyGTK 2.24 in test here, announced on the PyGTK list.
UPDATE project has moved on macpkg's sourceforge page.
I couldn't make it work with meld (segmentation fault), but sample PyGTK programs work OK.
UPDATE 2 since then a new package Py3GTK3 appeared on the same sourceforge page. Haven't tested though.
There is now a mac package on sourceforge
Download the latest package from http://sourceforge.net/projects/macpkg/files/PyGTK/ and install.
If you're just trying to use the system python, this is all you'll have to do.
If you're not, the following is how to install it with pyenv, which can be installed with Homebrew. With brew installed, you can install version pyenv and Python 2.7.8 with:
brew install pyenv && pyenv install 2.7.8
After you've done that, you'll then have copy the gtk package and its dependencies into your python installation:
cd /opt/gtk/lib/python2.7/site-packages/ && \
cp * ~/.pyenv/versions/2.7.8/lib/python2.7/site-packages/
That's it. You can also similarly install the Py3GTK3 package which has packages for python 2.7 and 3.2 from http://sourceforge.net/projects/macpkg/files/Py3GTK3/.
Have you tried doing it using macports? This website shows how.

Resources