Install Hack font on FreeBSD 10

FreeBSD 10 comes with a pkgng package manager which allows to install binary packages faster and easier. Unfortunately, there is no binary package available for hack-font for FreeBSD 10. What is hack-font? It’s a very good font which looks very good for source code. Here’s how to install it from source. Check /usr/ports/x11-fonts to see if there is a directory named hack-font. If not, you might need to download or update the ports first. If you don’t have ports installed at all, do this: ...

August 25, 2016 · 1 min · 147 words · kenno

FreeBSD 10: Shared object 'libstdc++.so.6' not found

Today while I was updating py27-m2crypto package on FreeBSD 10 using portmaster, the following error message was displayed: Shared object "libstdc++.so.6" not found, required by "swig" Fortunately, someone else has found the problem and solution before me. According this blog post, FreeBSD 10 includes a new C++ stack and gcc, including libstdc++, is not installed by default. Therefore, to fix the missing this libstdc++.so.6 issue, we need to install lang/gcc. If you use portmaster, the command to install lang/gcc is: ...

April 25, 2014 · 1 min · 85 words · kenno

Upgrade existing Perl 5.12 to Perl 5.18 on FreeBSD 9

Recently I’ve been trying to update the perl package on my FreeBSD box to the latest version 5.18 without any success. Here’s a snippet of the error message: Creating various symlinks in /usr/bin... Symlinking /usr/local/bin/perl5.18.1 to /usr/bin/perl Symlinking /usr/local/bin/perl5.18.1 to /usr/bin/perl5 Done. Installing perl5.18-5.18.1_2...pkg-static: perl5.18-5.18.1_2 conflicts with perl-5.12.5 (installs files into the same place). Problematic file: /usr/local/bin/a2p *** [fake-pkg] Error code 70 Stop in /usr/ports/lang/perl5.18. *** [install] Error code 1 Stop in /usr/ports/lang/perl5.18. ===>>> Installation of perl5.18-5.18.1_2 (lang/perl5.18) failed ===>>> Aborting update ===>>> Killing background jobs Terminated ===>>> You can restart from the point of failure with this command line: portmaster lang/perl5.18 ===>>> Exiting So I turned to Google to see if other people experienced the same thing as me. According to an answer to a similar question about upgrading perl on serverfault.com, one should read ...

October 30, 2013 · 2 min · 362 words · kenno