digego / extempore

A cyber-physical programming environment
1.41k stars 127 forks source link

`make install` does not install anything into /usr/local/share/extempore #238

Closed antoinevg closed 8 years ago

antoinevg commented 8 years ago

Problem

According to INSTALL.md:

make install will install extempore into /usr/local/bin and the rest of the files (the "Extempore share directory") into /usr/local/share/extempore

What actually happens is that only /usr/local/bin/extempore gets installed.

Workaround

As a workaround I'm currently building extempore as follows and everything seems to be working:

mkdir cmake-build && cd cmake-build && cmake ..
make
make aot
make aot_extended
make assets
make install
cd ..
mkdir /usr/local/share/extempore
cp -r assets runtime docs examples extras libs /usr/local/share/extempore

Environment

benswift commented 8 years ago

Ah, that's a problem with the doco - it should only move the executable, and use the rest of the files (e.g. libs, examples, etc.) from the cloned source tree. I've updated it to be a bit clearer.

If you do want to install the full libs, examples, etc. into /usr/local/bin then you can still do that with the -DIN_TREE=OFF cmake option.

Antoine van Gelder notifications@github.com writes:

Problem

According to INSTALL.md:

make install will install extempore into and the rest of the files (the "Extempore share directory") into /usr/local/share/extempore

What actually happens is that only /usr/local/bin/extempore gets installed.

Workaround

As a workaround I'm currently building extempore as follows and everything seems to be working:

mkdir cmake-build && cd cmake-build && cmake ..
make
make aot
make aot_extended
make assets
make install
cd ..
mkdir /usr/local/share/extempore
cp -r assets runtime docs examples extras libs /usr/local/share/extempore

Environment

  • OSX 10.10
  • Xcode 7.2.1
  • cmake 3.4.1

Reply to this email directly or view it on GitHub: https://github.com/digego/extempore/issues/238

antoinevg commented 8 years ago

Ah okay, that makes sense now :-) Thank you for clearing that up Ben!

benswift commented 8 years ago

No worries mate.

Antoine van Gelder notifications@github.com writes:

Ah okay, that makes sense now :-) Thank you for clearing that up Ben!


Reply to this email directly or view it on GitHub: https://github.com/digego/extempore/issues/238#issuecomment-181234181