Giter Club home page Giter Club logo

Comments (4)

sjleefg02 avatar sjleefg02 commented on June 24, 2024

Before this error I added some code in configure.ac file

configure.ac:9: error: possibly undefined macro: AC_CONFIG_MACRO_DIRS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:12: error: possibly undefined macro: AS_VAR_SET
configure.ac:18: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:19: error: possibly undefined macro: AM_MAINTAINER_MODE
configure.ac:79: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:95: error: possibly undefined macro: AC_MSG_RESULT
configure.ac:134: error: possibly undefined macro: AS_VAR_TEST_SET
configure.ac:139: error: possibly undefined macro: AM_COND_IF
configure.ac:167: error: possibly undefined macro: AC_CHECK_JAVA_HOME
configure.ac:196: error: possibly undefined macro: AC_MSG_WARN
configure.ac:652: error: possibly undefined macro: AC_SEARCH_READLINE
configure.ac:712: error: possibly undefined macro: AM_PATH_XML2
configure.ac:1049: error: possibly undefined macro: AS_ECHO

These were the error lines when I type autoconf as described in mdsplus site.

docs/config/doxygen.am:35: error: DX_COND_doc does not appear in AM_CONDITIONAL
docs/Makefile.am:3: 'docs/config/doxygen.am' included from here
docs/config/doxygen.am:41: error: DX_COND_html does not appear in AM_CONDITIONAL
docs/Makefile.am:3: 'docs/config/doxygen.am' included from here
docs/config/doxygen.am:51: error: DX_COND_man does not appear in AM_CONDITIONAL
docs/Makefile.am:3: 'docs/config/doxygen.am' included from here
docs/config/doxygen.am:62: error: DX_COND_pdf does not appear in AM_CONDITIONAL
docs/Makefile.am:3: 'docs/config/doxygen.am' included from here
docs/config/doxygen.am:91: error: DX_COND_latex does not appear in AM_CONDITIONAL
docs/Makefile.am:3: 'docs/config/doxygen.am' included from here
.
.
.
testing/selftest/Makefile.am:49: error: ENABLE_VALGRIND does not appear in AM_CONDITIONAL
treeshr/testing/../../testing/testing.am:75: error: ENABLE_SANITIZE does not appear in AM_CONDITIONAL
treeshr/testing/Makefile.am:3: 'treeshr/testing/../../testing/testing.am' included from here
treeshr/testing/../../testing/testing.am:103: error: ENABLE_SANITIZE does not appear in AM_CONDITIONAL
treeshr/testing/Makefile.am:3: 'treeshr/testing/../../testing/testing.am' included from here

And I also got this error messages when I type automake

So I just added AC_CONFIG_MACRO_DIRS([m4]) to configure.ac file and type aclocal, autoconf, automake.
I don't think this would effect the above situation but isn't configure.ac file should have this line "AC_CONFIG_MACRO_DIRS([m4])"? Or mdsplushttps://www.mdsplus.org/index.php?title=Software:BuildingFromSources&open=110662451143527432703&page=Software%2FBuilding+from+sources should add aclocal? (I didn't use homebrew to install the autoconf and automake file I just use apt install and some librearies like autoconf-archieve and some source file for automake and autoconf to get specific version.

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on June 24, 2024

Hi @sjleefg02,

Let's see if we can get your Docker build to work. (I just used Docker to build MDSplus for Ubuntu 22.04 and it worked fine.) Try the following steps.

$
$ # Make a new directory (so we don't mess up your existing work).
$ # This example uses "/tmp/new_repo", but you can use any path you wish.
$ mkdir /tmp/new_repo
$ cd /tmp/new_repo
$ git clone https://github.com/MDSplus/mdsplus.git
$
$ # Check to make sure the status command shows on the "alpha" branch 
$ cd mdsplus
$ git status
$ 
$ # Now create a build directory and build with Docker
$ cd /tmp/new_repo
$ mkdir build
$ cd build
$ ../mdsplus/deploy/build.sh --os=bootstrap
$ ../mdsplus/deploy/build.sh --os=ubuntu22 --release
$
$ # The debs will be found at this location (assuming you are building for x86_64)
$ cd /tmp/new_repo/build/build/ubuntu22/alpha/release/Ubuntu22/alpha/DEBS/amd64
$
$ # And if you want to instead create a tarball, then tar this directory
$ cd /tmp/new_repo/build/build/ubuntu22/alpha/releasebld/buildroot/usr/local/mdsplus

The above process is how I manually build the current alpha using Docker. It should work for you too.

Regardless, let us know if this solved your problem or not.

from mdsplus.

satelite2517 avatar satelite2517 commented on June 24, 2024

Hello This is just my another account with sjleefg02 and I just success with building the current alpha version! Thank you so much!! 👍👍 :)

from mdsplus.

mwinkel-dev avatar mwinkel-dev commented on June 24, 2024

Hi @sjleefg02 / @satelite2517,

You're welcome.

And congratulations! I am glad to read that you were able to get the Docker build of alpha to work for Ubuntu 22.

Because your build was successful, I am closing this issue.

-Mark

P.S. -- We are finishing some maintenance work on our build server. So in the near future, you will once again be able to download pre-built binaries (i.e., "deb" packages) from the MDSplus web site (and also from GitHub).

from mdsplus.

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.