Can you please try this patch for common/Make.global_options.in,
./reconfigure (important!), make debug and link again?

You can do this simpler if you remember that
   $(shell echo $(abc))
is
   $(abc)
:-)

But I don't quite understand the patch. It changes a conditional that reads
  # First up is a twiddle for Darwin/MacOSX
  ifeq ($(findstring darwin,$(TARGET)),)
    ...
  else
Am I right that the comment doesn't make any sense? We get into the ifeq if we are *not* on darwin, right? findstring is defined as
..................................
`$(findstring FIND,IN)'
     Searches IN for an occurrence of FIND.  If it occurs, the value is
     FIND; otherwise, the value is empty.  You can use this function in
     a conditional to test for the presence of a specific substring in
     a given string.  Thus, the two examples,

          $(findstring a,a b c)
          $(findstring a,b c)

     produce the values `a' and `' (the empty string), respectively.
     *Note Testing Flags::, for a practical application of `findstring'.
.................................

So if I understand the result of your patch correctly, you bypass libpetscall.so in favor of the original libpetsc.so on non-darwin systems, right? I think that is the long-term correct fix anyway, now that PETSc links itself into a single librarary...

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth               email:            [email protected]
                                www: http://www.math.tamu.edu/~bangerth/

_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to