[MacPorts] #49620: apbs: fatal error: 'Eigen/Core' file not found

MacPorts noreply at macports.org
Tue Nov 10 10:04:40 PST 2015


#49620: apbs: fatal error: 'Eigen/Core' file not found
------------------------+-----------------------------------
  Reporter:  summers@…  |      Owner:  howarth.at.macports@…
      Type:  update     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:  fixed      |   Keywords:
      Port:  apbs       |
------------------------+-----------------------------------

Comment (by howarth.at.macports@…):

 The build still fails here with...


 {{{
 [  1%] Building CXX object
 src/geoflow/CMakeFiles/apbs_geoflow.dir/cpbconcz2.cpp.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_apbs/apbs/work
 /apbs-pdb2pqr-d4e78c62e6a07f92c26924318d83a159fa6af063/apbs/src/geoflow &&
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -fpermissive -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_apbs/apbs/work
 /apbs-pdb2pqr-d4e78c62e6a07f92c26924318d83a159fa6af063/apbs/src
 -std=c++0x -o CMakeFiles/apbs_geoflow.dir/cpbconcz2.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_apbs/apbs/work
 /apbs-pdb2pqr-
 d4e78c62e6a07f92c26924318d83a159fa6af063/apbs/src/geoflow/cpbconcz2.cpp
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_apbs/apbs/work
 /apbs-pdb2pqr-
 d4e78c62e6a07f92c26924318d83a159fa6af063/apbs/src/geoflow/cpbconcz2.cpp:65:
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_apbs/apbs/work
 /apbs-pdb2pqr-
 d4e78c62e6a07f92c26924318d83a159fa6af063/apbs/src/geoflow/modules.h:60:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_science_apbs/apbs/work
 /apbs-pdb2pqr-
 d4e78c62e6a07f92c26924318d83a159fa6af063/apbs/src/geoflow/Mat.h:60:10:
 fatal error: 'Eigen/Core' file not found
 #include <Eigen/Core>
          ^
 1 error generated.
 make[2]: *** [src/geoflow/CMakeFiles/apbs_geoflow.dir/cpbconcz2.cpp.o]
 Error 1
 }}}

 The following change...


 {{{
 --- Portfile.orig       2015-11-10 13:00:50.000000000 -0500
 +++ Portfile    2015-11-10 13:02:17.000000000 -0500
 @@ -43,7 +43,9 @@
  #  get_filename_component called with incorrect number of arguments
  # To enable, need not only to fix that check, but also fix configure in
 tapipb directory to use chosen FC compiler.
  configure.args-append   -DENABLE_OPENMP:BOOL=OFF \
 -                        -DENABLE_BEM=OFF
 +                        -DENABLE_BEM=OFF \
 +
 -DCMAKE_C_COMPILER_ARG1:STRING="-I${worksrcpath}/include" \
 +
 -DCMAKE_CXX_COMPILER_ARG1:STRING="-I${worksrcpath}/include"

  test.run  yes
  test {
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/49620#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list