Skip to content

Error encountered in Making all in utils #11

@OrbitalMechanic

Description

@OrbitalMechanic

I'm attempting to install ester on a Mac Pro (2019) running Mac OS ver. 10.15.4 (Catalina). I'm using the Anaconda distribution for Python ver. 3.7.6, and the latest version of ester on GitHub.

The problem I'm having is with the sed command that is issued during the make operation as reported in the following.

Making all in utils
sed -e 's,[@]datadir[@],/Users/user/local/share,g' -e 's,[@]prefix[@],/Users/user/local,g' -e 's,[@]PYTHON[@],/Users/user/opt/anaconda3/bin/python,g' -e 's,star1d,star1dR,g' -e 's,star2d,star2dR,g' -e '1a#include "starR.h"' < ../../src/main/star1d.cpp > star1dR.cpp
sed: 1: "1a#include "starR.h"
": command a expects \ followed by text
make[2]: *** [star1dR.cpp] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
(base) user@Samuels-Mac-Pro BUILD %

It is not clear to me where this command is being issued, so I'm at a loss to figure out how to fix this problem.

Please advise.

Sam Dupree.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions