tschoonj / xraylib

A library for X-ray matter interaction cross sections for X-ray fluorescence applications
https://github.com/tschoonj/xraylib/wiki
Other
120 stars 55 forks source link

Error "No rule to make target 'xraylib.mod'" when building fortran bindings with parallel make #11

Closed chatcannon closed 10 years ago

chatcannon commented 10 years ago

Dependency generation for xraylib.mod is dodgy

/bin/sh ../libtool  --tag=FC   --mode=compile gfortran -DHAVE_CONFIG_H -I. -I..     -g -O2 -c -o libxrlf03_la-xraylib_wrap.lo `test -f 'xraylib_wrap.F90' || echo './'`xraylib_wrap.F90
make: *** No rule to make target 'xraylib.mod', needed by 'all-am'.  Stop.
make: *** Waiting for unfinished jobs....
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -g -O2 -c xraylib_wrap.F90  -fPIC -o .libs/libxrlf03_la-xraylib_wrap.o
libtool: compile:  gfortran -DHAVE_CONFIG_H -I. -I.. -g -O2 -c xraylib_wrap.F90 -o libxrlf03_la-xraylib_wrap.o >/dev/null 2>&1
tschoonj commented 10 years ago

should be fixed now.

I also had to change the makefile's of the java and php bindings to allow parallel builds

Thanks for the patch