Move/Copy mails between different IMAP accounts

Posted on Sat 15 November 2014 in tech • Tagged with osx, linux, imap, gmail

I decided to switch back to Gmail/Inbox by Gmail. Copying thousands of mails in Thunderbird is a pain and after a couple of unsuccessful tries I started to search a better working alternative. mutt to the rescue!

# login to your old imap account:
mutt -f imaps://username@oldmailserver/INBOX …

Continue reading

Manually installing Boost 1.55 on OSX

Posted on Sun 19 October 2014 in tech • Tagged with osx, homebrew, boost, c++

Boost 1.56.0 which is currently installed by homebrew is broken. Just try to compile the following C++ program. It will fail.

#include <boost/graph/adjacency_matrix.hpp>

int main() {
}

Here are the steps to manually install Boost 1.55:

  • Download Boost 1.55 here
  • Extract the source and cd …

Continue reading

Enable homebrew for non admin users

Posted on Sat 18 October 2014 in tech • Tagged with osx, homebrew

Even on OSX you should not be working with an admin account. Here are the steps to make homebrew usable for non admin users.

Assumptions

I assume brew has already been installed by an administrator and it's login is admin. Change admin below to the name of your admin account …


Continue reading

OSX 10.10 (yosemite): configure: error: C compiler cannot create executables

Posted on Sat 18 October 2014 in tech • Tagged with osx, homebrew

Problem: brew fails with "configure: error: C compiler cannot create executables"

==> Upgrading 1 outdated package, with result:
python3 3.4.2_1
==> Upgrading python3
==> Downloading https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tar.xz
Already downloaded: /Library/Caches/Homebrew/python3-3.4.2.tar.xz
==> ./configure --prefix …

Continue reading