HomerReid / scuff-em

A comprehensive and full-featured computational physics suite for boundary-element analysis of electromagnetic scattering, fluctuation-induced phenomena (Casimir forces and radiative heat transfer), nanophotonics, RF device engineering, electrostatics, and more. Includes a core library with C++ and python APIs as well as many command-line applications.
http://www.homerreid.com/scuff-em
GNU General Public License v2.0
125 stars 50 forks source link

Errors when making install #167

Open hehaodele opened 6 years ago

hehaodele commented 6 years ago

I am trying to install this package following the instructions

git clone https://github.com/HomerReid/scuff-em.git
cd scuff-em
sh autogen.sh --prefix=${HOME}/scuff-em-installation
make -j 8 install

I confront following errors when 'make install'

make[4]: Leaving directory '/home/hehaodele/repos/scuff-em/src/libs/libscuff'
make[3]: Leaving directory '/home/hehaodele/repos/scuff-em/src/libs/libscuff'
Making install in python
make[3]: Entering directory '/home/hehaodele/repos/scuff-em/src/libs/python'
make[3]: *** No rule to make target 'scuff-python.cpp', needed by 'install'.  Stop.
make[3]: Leaving directory '/home/hehaodele/repos/scuff-em/src/libs/python'
Makefile:381: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/hehaodele/repos/scuff-em/src/libs'
Makefile:376: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/hehaodele/repos/scuff-em/src'
Makefile:426: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

How can I solve it? Any help will be appreciated. Thanks.

HomerReid commented 6 years ago

Install SWIG or add --without-python to your sh autogen options.

Feel free to ask further questions, or close the issue if resolved.