Git Product home page Git Product logo

Comments (5)

alexranaldi avatar alexranaldi commented on April 28, 2024 2

I also had this problem. I was able to overcome by running libtoolize.
e.g.,
libtoolize; aclocal -I .; autoheader; autoconf; automake --add-missing -c

from autofdo.

sehirst avatar sehirst commented on April 28, 2024 1

I built autofdo without issue on Ubuntu 18.04. I ran into both these issues on RHEL 7.6. I first hit

configure.ac:104: error: required file '../../ltmain.sh' not found

Comparing against my successful builds, I saw these lines missing on my RHEL machine:

libtoolize: putting auxiliary files in '../..'.
libtoolize: copying file '../../ltmain.sh'

I ran libtoolize; aclocal -I .; autoheader; autoconf; automake --add-missing -c as suggested above in the parent directory, and then hit the Makefile.in problem.

I then went into the protobuf dir and did ./autogen.sh which succeeded.

Went back to the parent dir and this time make succeeded.

from autofdo.

longdafeng avatar longdafeng commented on April 28, 2024

One work around solution is that directly download github protobuffer repo and replace the old protobuffer.

from autofdo.

lannadorai avatar lannadorai commented on April 28, 2024

I followed the steps in the README file. I didn't get this error.
Can you please provide the steps you followed to get this error?

from autofdo.

Garfield-Lewis avatar Garfield-Lewis commented on April 28, 2024

After initially hitting this problem I am now hitting a 2nd problem while trying to resolve the first:

[lzsystem@nucky protobuf] $ ./autogen.sh

autoreconf -f -i -Wall,no-obsolete
aclocal: warning: couldn't open directory 'm4': No such file or directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:104: error: required file '../../ltmain.sh' not found
autoreconf: automake failed with exit status: 1

from autofdo.

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.