Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Mar 2006
    Posts
    8

    Default autoreconf on mac os x

    hi,
    i try o install xaralx on mac os x, everything works fine, `til i do autoreconf getting following error:
    configure.in:50: error: possibly undefined macro: AC_PROG_LIBTOOL
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    autoreconf: /sw/bin/autoconf-2.59 failed with exit status: 1
    i`m just new in the mac and linux world, so i couldn`t solve the problem.
    any hint is welcome.
    thx
    linpin
    IP

  2. #2

    Default Re: autoreconf on mac os x

    Quote Originally Posted by linpin
    I am trying to build XaraLX on MacOS X, everything goes well until I get to point when I run
    autoreconf and I receive this error message:
    Code:
    configure.in:50: error: possibly undefined macro: AC_PROG_LIBTOOL
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    autoreconf: /sw/bin/autoconf-2.59 failed with exit status: 1
    Could you quote the exact command you issued to invoke autoreconf. I think that you should use ./autogen.sh
    Could you check that you have a working aclocal. Try
    Code:
    $ which aclocal
    /sw/bin/aclocal
    $ aclocal --version
    aclocal (GNU automake) 1.9.4
    Written by Tom Tromey <tromey@redhat.com>
    
    Copyright (C) 2004 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    $
    You may find that you have aclocal automake and friends in /usr/bin. If so these are the Apple ones. The XaraLX build process needs later versions. The best way of installing these is from fink. You will also need to have the PATH environment variable set correctly, videlicet:
    Code:
    $ set | grep PA
    INFOPATH=/sw/share/info:/sw/info:/usr/share/info
    MANPATH=/sw/share/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man:/sw/lib/perl5/5.8.6/man:/sw/lib/perl5-core/5.8.1/man:/sw/lib/perl5/5.8.1/man
    PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
    IP

  3. #3
    Join Date
    Mar 2006
    Posts
    8

    Unhappy Re: autoreconf on mac os x

    hi,
    i did autoreconf -f -i -s, according http://www.xaraxtreme.org/developers...tructions.html.
    i follow your hints, here`s the output:
    Mac-mini:~ berndpier$ which aclocal
    /sw/bin/aclocal
    Mac-mini:~ berndpier$ aclocal --version
    aclocal (GNU automake) 1.9.4
    Written by Tom Tromey <tromey@redhat.com>

    Copyright (C) 2004 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Mac-mini:~ berndpier$ set | grep PA
    INFOPATH=/sw/share/info:/sw/info:/usr/share/info
    MANPATH=/sw/share/man:/usr/share/man:/usr/local/share/man:/usr/local/mysql/man:/opt/local/share/man:/usr/X11R6/man:/sw/lib/perl5/5.8.6/man
    PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/mysql/bin:/opt/local/bin:/usr/X11R6/bin
    version of aclocal is ok, i think. i`ve installed everythink i need with fink so far as i can remember. the path looks ok too, didn`t it?
    so, maybe i`m blind, but i couldn`t see how to solve my prob.
    ciao
    linpin
    IP

  4. #4

    Default Re: autoreconf on mac os x

    O.K. So what happens now when you try the autoreconf step? I suggest the command ./autogen.sh .
    IP

  5. #5
    Join Date
    Mar 2006
    Posts
    8

    Red face Re: autoreconf on mac os x

    ah i forgot, here it comes:
    Mac-mini:/Applications/Bildbearbeitung/XaraLX berndpier$ ./autogen.sh
    configure.in:50: error: possibly undefined macro: AC_PROG_LIBTOOL
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    autoreconf: /sw/bin/autoconf-2.59 failed with exit status: 1
    seems to be the same error.
    cu
    linpin
    IP

  6. #6

    Default Re: autoreconf on mac os x

    Quote Originally Posted by linpin
    ah i forgot, here it comes:
    Code:
    Mac-mini:/Applications/Bildbearbeitung/XaraLX berndpier$ ./autogen.sh
    configure.in:50: error: possibly undefined macro: AC_PROG_LIBTOOL
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    autoreconf: /sw/bin/autoconf-2.59 failed with exit status: 1
    The macro ought to be present in aclocal.m4. Could you check:
    Code:
    $ grep AC_PROG_LIBTOOL aclocal.m4
    # serial 47 AC_PROG_LIBTOOL
    # AC_PROG_LIBTOOL
    AC_DEFUN([AC_PROG_LIBTOOL],
    [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
    ])])# AC_PROG_LIBTOOL
    # _AC_PROG_LIBTOOL
    AC_DEFUN([_AC_PROG_LIBTOOL],
    define([AC_PROG_LIBTOOL], [])
    ])# _AC_PROG_LIBTOOL
    # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
    AC_DEFUN([AM_PROG_LIBTOOL],   [AC_PROG_LIBTOOL])
    You might want to remove aclocal.m4 and try again. Also, autoreconf has a -v option (=verbose) which may help, but I should point out that at this stage I do not know what is wrong: This process should work if you have the right version of aclocal and it is on your path. There may be many things to try!
    IP

  7. #7
    Join Date
    Mar 2006
    Posts
    8

    Unhappy Re: autoreconf on mac os x

    hi,
    This process should work if you have the right version of aclocal and it is on your path. There may be many things to try!
    seems that this is ok, which aclocal gives me /sw/bin/aclocal and aclocal --version say version 1.9.4, the PATH is right too, i think. so i look into aclocal.m4 under my XaraLX folder, there is no macro named AC_PROG_LIBTOOL, i delete aclocal.m4 starting autoreconf with -v here is the output:
    "Mac-mini:/Applications/Bildbearbeitung/XaraLX berndpier$ autoreconf -f -i -s -v
    autoreconf: Entering directory `.'
    autoreconf: running: autopoint --force
    autoreconf: running: aclocal --force -I m4
    autoreconf: configure.in: tracing
    autoreconf: configure.in: not using Libtool
    autoreconf: running: /sw/bin/autoconf-2.59 --force
    configure.in:50: error: possibly undefined macro: AC_PROG_LIBTOOL
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    autoreconf: /sw/bin/autoconf-2.59 failed with exit status: 1 "
    as i understand aclocal creates aclocal.m4 including the macro AC_PROG_LIBTOOL, it didn`t. maybe the process will work if i use m4_pattern_allow, but i don`t now how.
    ciao
    linpin
    IP

  8. #8

    Default Re: autoreconf on mac os x

    Using m4_pattern_allow is definitely wrong.

    You are right that these scripts should produce a working a aclocal.m4, and it is essential that you find out why it is not doing in your case.

    For example, do you have all the necessary files in the share directory?
    IP

  9. #9
    Join Date
    Mar 2006
    Posts
    8

    Cool Re: autoreconf on mac os x

    Quote Originally Posted by BPFowler
    Using m4_pattern_allow is definitely wrong.

    You are right that these scripts should produce a working a aclocal.m4, and it is essential that you find out why it is not doing in your case.

    For example, do you have all the necessary files in the share directory?
    what files do i have to have in the share directory? do you mean the XaraLX directory?
    IP

  10. #10

    Default Re: autoreconf on mac os x

    No, nothing to do with XaraLX.

    I had in mind /sw/share/autoconf, but yours could be under /usr or /usr/local. I don't know for certain what should be there, I have never had this go wrong; but you could check that the directories and files actually exist and are readable by you.

    Perhaps you need to use fink to remove and then install autoconf again...
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •