Fix Cygwin!! #43

Open
benkirk opened this Issue Feb 15, 2013 · 4 comments

Comments

Projects
None yet
1 participant
Owner

benkirk commented Feb 15, 2013

@roystgnr, does this work for you?

$ ../configure ...
$ make ... # fails linking executables
$ make LIBS="-L`pwd`/contrib/libHilbert -lopt"

Seems to for me, next I'll figure out what is special about libHilbert that could be going on...

benkirk was assigned Feb 15, 2013

Owner

benkirk commented Feb 15, 2013

Just confirmed this works too:

$ make -j4 LIBS="-L`pwd`/contrib -lcontrib_opt"

so for some reason the libtool convenience library is not getting handled properly...

Owner

benkirk commented Feb 15, 2013

...and this one works straight away

$ ../configure --prefix=`pwd`/inst --disable-mpi --disable-shared --enable-static METHODS=opt
Owner

benkirk commented Feb 15, 2013

I think finding the source of this

  CXX      src/apps/meshplot_opt-meshplot.o
  CXX      src/apps/solution_components_opt-solution_components.o
  CXXLD    libmesh_opt.la
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries
  CXXLD    getpot_parse-opt.exe
  CXXLD    meshtool-opt.exe
  ...
make[1]: Leaving directory `/home/bkirk/libmesh/build'

will be key to fixing the default configure...

Owner

benkirk commented Jan 21, 2014

with 8e2032f this works:

./configure --prefix=`pwd`/inst  METHODS=opt --disable-tecio --disable-mpi

Not sure if the MPI issue is a problem with libMesh - I think its the OpenMPI stack on my poorly maintained cygwin install.

benkirk closed this Jan 21, 2014

benkirk reopened this Jan 21, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment