Coder Social home page Coder Social logo

LIBTOOL undefined about osxcross HOT 17 CLOSED

tpoechtrager avatar tpoechtrager commented on July 22, 2024
LIBTOOL undefined

from osxcross.

Comments (17)

tpoechtrager avatar tpoechtrager commented on July 22, 2024

Hi, I think there is something wrong with your automake installation.

Re-installing automake, autogen, ... may be worth a try:

sudo apt-get remove --purge automake* autoconf* autogen* libtool*
sudo apt-get install automake autoconf autogen libtool

from osxcross.

parnic avatar parnic commented on July 22, 2024

Unfortunately I'm seeing the same problems after running those commands.

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

What's your automake version?

from osxcross.

parnic avatar parnic commented on July 22, 2024

automake (GNU automake) 1.14.1

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

Weird, automake 1.14.1 works for me on Ubuntu 14.04.

Are you sure no local installed automake / autogen / autoconf/ libtool is overriding your system installed one?

from osxcross.

parnic avatar parnic commented on July 22, 2024

I don't think so. I've never used automake/autogen/autoconf/libtool in my projects so I didn't replace them intentionally. I'll dig around and see what I can find. In case it helps:
libtool (GNU libtool) 2.4.2
autogen (GNU AutoGen) 5.18
autoconf (GNU Autoconf) 2.69

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024
cd build/cctools-855-ld64-236.3_fe05cf1

then run the following step by step:

aclocal
autoconf
libtoolize -c -i
automake -a -c

what's causing the error?

from osxcross.

parnic avatar parnic commented on July 22, 2024

parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1$ aclocal
aclocal: error: 'configure.ac' is required

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

Sorry my fault, it's cd build/cctools-855-ld64-236.3_fe05cf1/cctools.

from osxcross.

parnic avatar parnic commented on July 22, 2024

There are two cctools files in tarballs, cctools-855-ld64-134.9_941a3df.tar.xz and cctools-855-ld64-236.3_fe05cf1.tar.xz. I've extracted both and neither have a configure.ac in them. The cctools sub-directory does, however, have a configure.ac. Running the 4 above commands in that subdir results in no output/errors. After running those commands, I can ./configure and make successfully, though I'm not sure what to do with the resulting output :).

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

Weird... and it doesn't work in build/cctools-855-ld64-236.3_fe05cf1/cctools ?

from osxcross.

parnic avatar parnic commented on July 22, 2024

Yeah, it appears to work in that child directory, insofar as there are no errors.

parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1/cctools$ aclocal
parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1/cctools$ autoconf
parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1/cctools$ libtoolize -c -i
parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1/cctools$ automake -a -c
parnic@orion:~/osxcross/build/cctools-855-ld64-236.3_fe05cf1/cctools$

Then ./configure and make will complete successfully. I just don't know what the next step should be :).

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024
$ md5sum build/cctools-855-ld64-236.3_fe05cf1/cctools/configure.ac
99046b161456ea620cc5065a34957d76  build/cctools-855-ld64-236.3_fe05cf1/cctools/configure.ac

Do you get the same hash sum?

from osxcross.

parnic avatar parnic commented on July 22, 2024
parnic@orion:~/osxcross$ md5sum build/cctools-855-ld64-236.3_fe05cf1/cctools/configure.ac
99046b161456ea620cc5065a34957d76  build/cctools-855-ld64-236.3_fe05cf1/cctools/configure.ac

Yes.

from osxcross.

tpoechtrager avatar tpoechtrager commented on July 22, 2024

Well, I am out of ideas then...
posting the output of OCDEBUG=1 ./build.sh may be helpful though.

BTW: Are you on an IRC network? May be easier to help you there.

from osxcross.

parnic avatar parnic commented on July 22, 2024

Posted.

Yes, I'm Parnic on Freenode and Efnet.

from osxcross.

parnic avatar parnic commented on July 22, 2024

Thanks a ton for the very fast help. I had some incorrect build of aclocal in my /usr/local/bin directory that was interfering with this build script.

from osxcross.

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.