Question in installing on win10's Ubuntu 14.04 system

Asked by cheng peng

hello:
   I tried to install ESySParticle-2.3.4 on Ubuntu 14.04 on win10 follow the instruction on https://answers.launchpad.net/esys-particle/+faq/1613
   but,when i run sh autogen.sh
   i got this on my screen:

Model/Makefile.am:26: warning: source file '$(top_srcdir)/Fields/FieldMaster.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Fields/FieldSlave.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Fields/WallFieldMaster.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Fields/WallFieldSlave.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/CheckPointable.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/Mesh2DReader.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/Mesh2DReaderImpl.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/MeshReader.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/MeshReaderImpl.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/vec3_mpi.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
bzr: ERROR: Not a branch: "/home/tkgg822/ESyS-Particle-2.3.4/".
using existing bzrversion.h
root@CP:/home/tkgg822/ESyS-Particle-2.3.4# sh autogen.sh
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Fields/FieldMaster.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Fields/FieldSlave.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Fields/WallFieldMaster.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Fields/WallFieldSlave.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/CheckPointable.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/Mesh2DReader.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/Mesh2DReaderImpl.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/MeshReader.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/MeshReaderImpl.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
Model/Makefile.am:26: warning: source file '$(top_srcdir)/Parallel/vec3_mpi.cpp' is in a subdirectory,
Model/Makefile.am:26: but option 'subdir-objects' is disabled
bzr: ERROR: Not a branch: "/home/tkgg822/ESyS-Particle-2.3.4/".
using existing bzrversion.h

help!

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Vince Boros
Solved:
Last query:
Last reply:
Revision history for this message
Dion Weatherley (d-weatherley) said :
#1

Hi Cheng,

It looks like 'sh autogen.sh' finished successfully despite the warnings and error message.

Try continuing to the next installation step: ./configure....

Cheers,

Dion

Revision history for this message
cheng peng (tkgg822) said :
#2

thank you so much! but after i run ./configure

it displayed:

checking boost/python.hpp usability... no
checking boost/python.hpp presence... no
checking for boost/python.hpp... no
configure: error: cannot find boost/python.hpp

then i run "make"and"make install"
still:

checking boost/python.hpp usability... no
checking boost/python.hpp presence... no
checking for boost/python.hpp... no
configure: error: cannot find boost/python.hpp

so .... what's the problem...

Revision history for this message
Dion Weatherley (d-weatherley) said :
#3

Hi Cheng,

Did you install all the boost libraries before configuring the esys-particle source code?

$ sudo apt-get install libboost-dev?

If so, please post the output of:

$ ls /usr/lib/libboost*

Cheers,

Dion

Revision history for this message
cheng peng (tkgg822) said :
#4

yes i did ,i followed the guide step by step .

here is the output:

tkgg822@CP:/$ ls/usr/lib/libboost*
bash: ls/usr/lib/libboost*: No such file or directory

it seems that i don't get this "libboost" file?

Revision history for this message
cheng peng (tkgg822) said :
#5

tkgg822@CP:/usr/lib$ ls
accountsservice libpq.so.5
apt libpq.so.5.6
byobu libptexenc.so.1
command-not-found libptexenc.so.1.3.1
compat-ld libruby-1.9.1.so.1.9
coreutils libruby-1.9.1.so.1.9.1
dbus-1.0 libtorque.so.2
dpkg libtorque.so.2.0.0
eject libutempter.so.0
gcc libutempter.so.1.1.5
girepository-1.0 libvmtools.a
gnupg libvmtools.so
gold-ld libvmtools.so.0
graphviz libvmtools.so.0.0.0
initramfs-tools libVPIC.so
insserv libVPIC.so.5.8
klibc libVPIC.so.5.8.0
language-selector libvtkalglib.so
ldscripts libvtkalglib.so.5.8
libbfd-2.24-system.so libvtkalglib.so.5.8.0
libbind9.so.90 libvtkCharts.so
libbind9.so.90.0.9 libvtkCharts.so.5.8
libcdt.so.5 libvtkCharts.so.5.8.0
libcdt.so.5.0.0 libvtkCommon.so
libcf.so.0 libvtkCommon.so.5.8
libcf.so.0.0.0 libvtkCommon.so.5.8.0
libcgraph.so.6 libvtkDICOMParser.so
libcgraph.so.6.0.0 libvtkDICOMParser.so.5.8
libCosmo.so libvtkDICOMParser.so.5.8.0
libCosmo.so.5.8 libvtkexoIIc.so
libCosmo.so.5.8.0 libvtkexoIIc.so.5.8
libcr_omit.so.0 libvtkexoIIc.so.5.8.0
libcr_omit.so.0.5.5 libvtkFiltering.so
libcr_run.so.0 libvtkFiltering.so.5.8
libcr_run.so.0.5.5 libvtkFiltering.so.5.8.0
libcr.so.0 libvtkftgl.so
libcr.so.0.5.5 libvtkftgl.so.5.8
libcwidget.so.3 libvtkftgl.so.5.8.0
libcwidget.so.3.0.0 libvtkGenericFiltering.so
libdns.so.100 libvtkGenericFiltering.so.5.8
libdns.so.100.2.2 libvtkGenericFiltering.so.5.8.0
libdumbnet.la libvtkGeovis.so
libdumbnet.so.1 libvtkGeovis.so.5.8
libdumbnet.so.1.0.1 libvtkGeovis.so.5.8.0
libeatmydata libvtkGraphics.so
libgirepository-1.0.so.1 libvtkGraphics.so.5.8
libgirepository-1.0.so.1.0.0 libvtkGraphics.so.5.8.0
libgl2ps.so libvtkHybrid.so
libgl2ps.so.0 libvtkHybrid.so.5.8
libgl2ps.so.0.0.0 libvtkHybrid.so.5.8.0
libgs.so.9 libvtkImaging.so
libgs.so.9.10 libvtkImaging.so.5.8
libguestlib.a libvtkImaging.so.5.8.0
libguestlib.so libvtkInfovis.so
libguestlib.so.0 libvtkInfovis.so.5.8
libguestlib.so.0.0.0 libvtkInfovis.so.5.8.0
libgvc.so.6 libvtkIO.so
libgvc.so.6.0.0 libvtkIO.so.5.8
libgvpr.so.2 libvtkIO.so.5.8.0
libgvpr.so.2.0.0 libvtkmetaio.so
libhgfs.a libvtkmetaio.so.5.8
libhgfs.so libvtkmetaio.so.5.8.0
libhgfs.so.0 libvtkParallel.so
libhgfs.so.0.0.0 libvtkParallel.so.5.8
libibverbs.a libvtkParallel.so.5.8.0
libibverbs.so libvtkproj4.so
libibverbs.so.1 libvtkproj4.so.5.8
libibverbs.so.1.0.0 libvtkproj4.so.5.8.0
libijs-0.35.so libvtkRendering.so
libisccc.so.90 libvtkRendering.so.5.8
libisccc.so.90.0.6 libvtkRendering.so.5.8.0
libisccfg.so.90 libvtksys.so
libisccfg.so.90.1.0 libvtksys.so.5.8
libisc.so.95 libvtksys.so.5.8.0
libisc.so.95.5.0 libvtkverdict.so
libjbig2dec.so.0 libvtkverdict.so.5.8
libjbig2dec.so.0.0.0 libvtkverdict.so.5.8.0
libkpathsea.so.6 libvtkViews.so
libkpathsea.so.6.1.1 libvtkViews.so.5.8
liblwres.so.90 libvtkViews.so.5.8.0
liblwres.so.90.0.7 libvtkVolumeRendering.so
libmca_common_sm.so libvtkVolumeRendering.so.5.8
libmca_common_sm.so.3 libvtkVolumeRendering.so.5.8.0
libmca_common_sm.so.3.0.1 libvtkWidgets.so
libmpi_cxx.so libvtkWidgets.so.5.8
libmpi_cxx.so.1 libvtkWidgets.so.5.8.0
libmpi_cxx.so.1.0.2 libxapian.so.22
libmpi_f77.so libxapian.so.22.6.3
libmpif77.so linux-boot-probes
libmpi_f77.so.1 locale
libmpi_f77.so.1.0.7 man-db
libmpi_f90.so mime
libmpif90.so openmpi
libmpi_f90.so.1 openssh
libmpi_f90.so.1.3.0 open-vm-tools
libmpi.so os-prober
libmpi++.so os-probes
libmpi.so.1 perl
libmpi.so.1.0.8 perl5
libnetcdf.a pkgconfig
libnetcdf_c++.a pm-utils
libnetcdf_c++.so policykit-1
libnetcdf_c++.so.4 pppd
libnetcdf_c++.so.4.1.0 python2.7
libnetcdff.a python3
libnetcdff.so python3.4
libnetcdff.so.5 rsyslog
libnetcdff.so.5.1.0 ruby
libnetcdf.so sasl2
libnetcdf.so.7 sftp-server
libnetcdf.so.7.1.1 software-properties
libompitrace.so ssl
libompitrace.so.0 sudo
libompitrace.so.0.0.0 systemd
libopcodes-2.24-system.so tar
libopen-pal.so tasksel
libopen-pal.so.4 tc
libopen-pal.so.4.0.5 tcl8.6
libopen-pal.so.5 tcltk
libopen-rte.so tk8.6
libopen-rte.so.4 tmpfiles.d
libopen-rte.so.4.0.3 ubuntu-release-upgrader
libpathplan.so.4 upstart
libpathplan.so.4.0.0 utempter
libperl.so.5.18 valgrind
libperl.so.5.18.2 vtk-5.8
libpgcommon.a w3m
libpgport.a X11
libpq.a x86_64-linux-gnu
libpq.so
tkgg822@CP:/usr/lib$ ls
accountsservice libpq.so.5
apt libpq.so.5.6
byobu libptexenc.so.1
command-not-found libptexenc.so.1.3.1
compat-ld libruby-1.9.1.so.1.9
coreutils libruby-1.9.1.so.1.9.1
dbus-1.0 libtorque.so.2
dpkg libtorque.so.2.0.0
eject libutempter.so.0
gcc libutempter.so.1.1.5
girepository-1.0 libvmtools.a
gnupg libvmtools.so
gold-ld libvmtools.so.0
graphviz libvmtools.so.0.0.0
initramfs-tools libVPIC.so
insserv libVPIC.so.5.8
klibc libVPIC.so.5.8.0
language-selector libvtkalglib.so
ldscripts libvtkalglib.so.5.8
libbfd-2.24-system.so libvtkalglib.so.5.8.0
libbind9.so.90 libvtkCharts.so
libbind9.so.90.0.9 libvtkCharts.so.5.8
libcdt.so.5 libvtkCharts.so.5.8.0
libcdt.so.5.0.0 libvtkCommon.so
libcf.so.0 libvtkCommon.so.5.8
libcf.so.0.0.0 libvtkCommon.so.5.8.0
libcgraph.so.6 libvtkDICOMParser.so
libcgraph.so.6.0.0 libvtkDICOMParser.so.5.8
libCosmo.so libvtkDICOMParser.so.5.8.0
libCosmo.so.5.8 libvtkexoIIc.so
libCosmo.so.5.8.0 libvtkexoIIc.so.5.8
libcr_omit.so.0 libvtkexoIIc.so.5.8.0
libcr_omit.so.0.5.5 libvtkFiltering.so
libcr_run.so.0 libvtkFiltering.so.5.8
libcr_run.so.0.5.5 libvtkFiltering.so.5.8.0
libcr.so.0 libvtkftgl.so
libcr.so.0.5.5 libvtkftgl.so.5.8
libcwidget.so.3 libvtkftgl.so.5.8.0
libcwidget.so.3.0.0 libvtkGenericFiltering.so
libdns.so.100 libvtkGenericFiltering.so.5.8
libdns.so.100.2.2 libvtkGenericFiltering.so.5.8.0
libdumbnet.la libvtkGeovis.so
libdumbnet.so.1 libvtkGeovis.so.5.8
libdumbnet.so.1.0.1 libvtkGeovis.so.5.8.0
libeatmydata libvtkGraphics.so
libgirepository-1.0.so.1 libvtkGraphics.so.5.8
libgirepository-1.0.so.1.0.0 libvtkGraphics.so.5.8.0
libgl2ps.so libvtkHybrid.so
libgl2ps.so.0 libvtkHybrid.so.5.8
libgl2ps.so.0.0.0 libvtkHybrid.so.5.8.0
libgs.so.9 libvtkImaging.so
libgs.so.9.10 libvtkImaging.so.5.8
libguestlib.a libvtkImaging.so.5.8.0
libguestlib.so libvtkInfovis.so
libguestlib.so.0 libvtkInfovis.so.5.8
libguestlib.so.0.0.0 libvtkInfovis.so.5.8.0
libgvc.so.6 libvtkIO.so
libgvc.so.6.0.0 libvtkIO.so.5.8
libgvpr.so.2 libvtkIO.so.5.8.0
libgvpr.so.2.0.0 libvtkmetaio.so
libhgfs.a libvtkmetaio.so.5.8
libhgfs.so libvtkmetaio.so.5.8.0
libhgfs.so.0 libvtkParallel.so
libhgfs.so.0.0.0 libvtkParallel.so.5.8
libibverbs.a libvtkParallel.so.5.8.0
libibverbs.so libvtkproj4.so
libibverbs.so.1 libvtkproj4.so.5.8
libibverbs.so.1.0.0 libvtkproj4.so.5.8.0
libijs-0.35.so libvtkRendering.so
libisccc.so.90 libvtkRendering.so.5.8
libisccc.so.90.0.6 libvtkRendering.so.5.8.0
libisccfg.so.90 libvtksys.so
libisccfg.so.90.1.0 libvtksys.so.5.8
libisc.so.95 libvtksys.so.5.8.0
libisc.so.95.5.0 libvtkverdict.so
libjbig2dec.so.0 libvtkverdict.so.5.8
libjbig2dec.so.0.0.0 libvtkverdict.so.5.8.0
libkpathsea.so.6 libvtkViews.so
libkpathsea.so.6.1.1 libvtkViews.so.5.8
liblwres.so.90 libvtkViews.so.5.8.0
liblwres.so.90.0.7 libvtkVolumeRendering.so
libmca_common_sm.so libvtkVolumeRendering.so.5.8
libmca_common_sm.so.3 libvtkVolumeRendering.so.5.8.0
libmca_common_sm.so.3.0.1 libvtkWidgets.so
libmpi_cxx.so libvtkWidgets.so.5.8
libmpi_cxx.so.1 libvtkWidgets.so.5.8.0
libmpi_cxx.so.1.0.2 libxapian.so.22
libmpi_f77.so libxapian.so.22.6.3
libmpif77.so linux-boot-probes
libmpi_f77.so.1 locale
libmpi_f77.so.1.0.7 man-db
libmpi_f90.so mime
libmpif90.so openmpi
libmpi_f90.so.1 openssh
libmpi_f90.so.1.3.0 open-vm-tools
libmpi.so os-prober
libmpi++.so os-probes
libmpi.so.1 perl
libmpi.so.1.0.8 perl5
libnetcdf.a pkgconfig
libnetcdf_c++.a pm-utils
libnetcdf_c++.so policykit-1
libnetcdf_c++.so.4 pppd
libnetcdf_c++.so.4.1.0 python2.7
libnetcdff.a python3
libnetcdff.so python3.4
libnetcdff.so.5 rsyslog
libnetcdff.so.5.1.0 ruby
libnetcdf.so sasl2
libnetcdf.so.7 sftp-server
libnetcdf.so.7.1.1 software-properties
libompitrace.so ssl
libompitrace.so.0 sudo
libompitrace.so.0.0.0 systemd
libopcodes-2.24-system.so tar
libopen-pal.so tasksel
libopen-pal.so.4 tc
libopen-pal.so.4.0.5 tcl8.6
libopen-pal.so.5 tcltk
libopen-rte.so tk8.6
libopen-rte.so.4 tmpfiles.d
libopen-rte.so.4.0.3 ubuntu-release-upgrader
libpathplan.so.4 upstart
libpathplan.so.4.0.0 utempter
libperl.so.5.18 valgrind
libperl.so.5.18.2 vtk-5.8
libpgcommon.a w3m
libpgport.a X11
libpq.a x86_64-linux-gnu

Revision history for this message
Best Vince Boros (v-boros) said :
#8

Hello Cheng Peng:

The python.hpp for the Boost libraries should be under /usr/include/boost/. It is installed only with the libboost-dev package (specifically libboost-pythonX.YZ-dev, where X.YZ is the Boost version, e.g. 1.55). If /usr/include/boost/python.hpp is missing, you can try searching with this command:

find /usr -iname python.hpp

But I doubt this is the problem. More likely the issue is a missing development package for Boost. Please check carefully in your package manager for libboost-dev. See Dion's earlier post regarding this.

Concerning the many Automake warnings about the missing subdir-objects option in your original post, unfortunately we will have to live with them for the time being. I would gladly add the option to the ESyS-Particle build system, but Automake up to the latest version 1.15 has a serious bug which causes the ESyS-Particle build to fail. A fix has been made by the Automake developer(s) but it will not appear at this stage until version 1.16. Currently these warnings issued by Automake can be safely ignored. (More information concerning the bug can be found at http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13928)

Regards,

Vince

Revision history for this message
cheng peng (tkgg822) said :
#9

Thanks Vince Boros, that solved my question.

Revision history for this message
cheng peng (tkgg822) said :
#10

Thank all of you , the problem have been solved. thank you