pymp on FreeBSD

When installing pymp, you get:

% sudo make install
...
install pymp //usr/local/bin
sed -i "s|PREFIX|/usr/local|g" //usr/local/bin/pymp
sed: 1: "//usr/local/bin/pymp": invalid command code u
*** Error code 1

Stop in /usr/local/src/pymp-1.0.

Change the path manually in /usr/local/bin/pymp.

Also, FreeBSD doesn’t have bash installed by default, and when it does, it’s in /usr/local/bin/bash. So, in /usr/local/bin/pymp (or wherever you installed it) change the first line from

#!/bin/bash

to

#!/bin/sh

or

#!/usr/local/bin/bash

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: