[MBDyn-users] Compilation error on OpenSUSE machine

MBDyn users list mbdyn-users at mbdyn.org
Fri May 19 20:30:02 CEST 2023


Dear Claudio,

Please try to run configure with --disable-octave! If the compilation 
error still appears, please check if you can find a line like 
"../../modules/module-octave/$(DEPDIR)/octave_object.Plo" in the file 
"mbdyn/base/Makefile" below your build directory!

Reinhard

On 18.05.23 15:53, MBDyn users list wrote:
>
> Hi everybody,
>
> I need to install MBDyn on a OpenSUSE 15.4 machine (I don't know if 
> and how it can be relevant) but I'm running into a compilation error. 
> I am using the same procedure that I used to adopt on a Ubuntu machine.
>
>   * checkout develop branch
>   * sh ./bootstrap.sh
>   * in mbdyn-build run:  CXX="g++ -std=c++11"
>     CPPFLAGS=-I/usr/include/suitesparse ../mbdyn/configure
>     --without-metis --without-mpi
>   * make
>
> At some point I run into this error:
>
> Makefile:738: 
> ../../../mbdyn/mbdyn/base/../../modules/module-octave/.deps/octave_object.Plo: 
> No such file or directory
> make[2]: *** No rule to make target 
> '../../../mbdyn/mbdyn/base/../../modules/module-octave/.deps/octave_object.Plo'. 
> Stop.
> make[2]: Leaving directory '/home/cfd/apps/mbdyn-build/mbdyn/base'
> make[1]: *** [Makefile:648: all-recursive] Error 1
> make[1]: Leaving directory '/home/cfd/apps/mbdyn-build/mbdyn'
> make: *** [Makefile:572: all-recursive] Error 1
>
> module-octave doesn't have a .deps subfolder. Other ways I tried:
>
>   * compile and build in the same mbdyn directory or in a separate
>     mbdyn-build directory
>   * install octave and octave-devel, so that octave.h is found
>   * configure with --enable-octave
>
> None of them worked.
>
> If I switch to the master branch everything goes fine. I am also 
> attaching the dump of the configure and of the make commands, if helpful.
>
> Any suggestion or experience is much appreciated.
>
> Thanks
>
> CLaudio
>
>
> _______________________________________________
> MBDyn-users mailing list
> MBDyn-users at mbdyn.org
> https://mail.mbdyn.org/cgi-bin/mailman/listinfo/mbdyn-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mbdyn.org/pipermail/mbdyn-users/attachments/20230519/904620b1/attachment.html>


More information about the MBDyn-users mailing list