Giter Site home page Giter Site logo

Comments (10)

benkirk avatar benkirk commented on May 27, 2024

Any chance you can use a recent autotools version?

I test nightly on OpenSuse 12.3 using the latest source and shared libraries. I can double check that static libs work too, but the 0.8.0 build system is deprecated at this point.

from libmesh.

ricortiz avatar ricortiz commented on May 27, 2024

What's the official autotools version supported in this libMesh build?

from libmesh.

benkirk avatar benkirk commented on May 27, 2024

Try for example the most stable release:

http://sourceforge.net/projects/libmesh/files/libmesh/libmesh-0.9.0.1

It should include everything you need in there.

from libmesh.

benkirk avatar benkirk commented on May 27, 2024

And if you need static libraries it is a double opt-in:

$ ./configure --disable-shared --enable-static ...

from libmesh.

ricortiz avatar ricortiz commented on May 27, 2024

I need to use v0.8.0 for the moment because is what the library I am building uses, at some point in the near future I expect this to change but for the moment I am stuck with v0.8.0.

from libmesh.

ricortiz avatar ricortiz commented on May 27, 2024

I am configuring with both opt-in's: --disable-shared --enable-static

from libmesh.

benkirk avatar benkirk commented on May 27, 2024

Well in that case just have a look at the top-level makefile:

#
# static library
#
ifeq ($(findstring darwin,$(hostos)),darwin)
$(mesh_library_dir)/libmesh$(static_libext): $(objects)
        @$(shell mkdir -p $(mesh_library_dir))
        @echo "Linking "$@
        @libtool -static -o $(mesh_library) $(objects)
        @$(MAKE) -C contrib

else
$(mesh_library_dir)/libmesh$(static_libext): $(objects)
        @$(shell mkdir -p $(mesh_library_dir))
        @rm -f $(mesh_library)
        @echo "Linking "$@
        @$(AR) rv $(mesh_library) $(objects)
        @$(MAKE) -C contrib
endif

So we are just using the value $(AR)

how about 'make AR=ar'?

from libmesh.

ricortiz avatar ricortiz commented on May 27, 2024

Well yes, this will make it build, but the issue still remains... :)

Thanks.

from libmesh.

benkirk avatar benkirk commented on May 27, 2024

not sure I understand - will that work for you, or just simply defining AR=ar in that file?

I agree it looks broken, but I'm not really planning to update the old build system.

from libmesh.

ricortiz avatar ricortiz commented on May 27, 2024

'make AR=path_to_ar' works for me. Didn't realize v0.9.x had a different build system...

Thanks.

from libmesh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.