Wolfgang,

> > between "-rpath" and "/opt/trilinos-10.6.4/lib". So I changed the configure
> > script, line 14481
> > 
> >  LD_PATH_OPTION="-Wl,-rpath "
> > 
> > to
> > 
> >  LD_PATH_OPTION="-Wl,-rpath,"
> > 
> > Now configure went through. Thanks to Martin for the very helpful hint.
> 
> Martin, is this something we need to change in general? In aclocal.m4, we use 
> the rpath options with a comma in that place in line 1658, but just a few 
> lines down we use it with a space (and have a comment that even says so). It 
> seems to work on linux, but that may not be the case on other systems?

It is indeed strange that we test for "-Wl,-rpath," and then use
"-Wl,-rpath " for the macro LD_PATH_OPTION. I know that it works on my
Linux machines, but I think it makes much more sense to use the option
that we test for. The comment is indeed very old:
 12683      guido      dnl Note the 'space' at the end of the string!
 12683      guido    [ AC_MSG_RESULT(yes)
 23068   bangerth      LD_PATH_OPTION="-Wl,-rpath "
 23068   bangerth      DEAL_II_LD_UNDERSTANDS_RPATH=yes
so it got there long before I started using deal.II ;-). GNU ld does not
need the comma, but I don't know how the general rule is...

Best,
Martin

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

Reply via email to