• Nobody/Anonymous

    Hi while trying to install staden on my Mac (10.6)
    I encounter this error: (during make)

    gcc -L/Users/joel/StadenTest/staden-2.0.0b6-src/lib -Wl,-rpath-link,/Users/joel/StadenTest/staden-2.0.0b6-src/lib -Wl,-rpath-link,/Users/joel/StadenTest//lib -o getABISampleName  abiIO.o getABISampleName.o -L/Users/joel/StadenTest//lib -lstaden-read    -lcurl -lz  -lmisc    
    ld: unknown option: -rpath-link
    collect2: ld returned 1 exit status
    make: ***  Error 1
    make: ***  Error 2

    Anyone know what -rpath-link dose and how I can fix it?

    Best regards
    Joel D

  • James Bonfield

    James Bonfield - 2010-07-07

    I have addressed this issue for compiling on MacOS X, but unfortunately haven't yet made an official release version. The change you need is to system.mk.in, but it's only one of several MacOS related problems. See information in this SVN commit though:


    For now unfortunately you'll have to either manually apply those changes to your current release or (better) check out the source from SVN. I haven't checked whether any of my recent changes have broken the MacOS X build, but I hope not.


  • Nobody/Anonymous

    Ok will try the SVN source and see what happens

  • Nobody/Anonymous

    There is no configure file in the src files from the SVN have you started using another install method or am I doing something wrong?

  • Nobody/Anonymous

    never mind figured it out autoconf :)

  • Nobody/Anonymous

    Or maybe not as I get errors :)

    configure.in:32: error: possibly undefined macro: AC_MSG_ERROR
          If this token and others are legitimate, please use m4_pattern_allow.
          See the Autoconf documentation.
    configure.in:33: error: possibly undefined macro: AC_MSG_WARN

  • James Bonfield

    James Bonfield - 2010-07-07

    Maybe it needs a specific version - unsure.

    It's probably to do with missing m4 macros and needing ac_local.  If I change things I normally rerun the bootstrap file. Incase it didn't get checked in, it's here as it's very simple:

    set -x
    rm -rf install-sh missing mkinstalldirs depcomp aclocal.m4 acinclude.m4 config.cache config.log config.status configure autom4te.cache config.sub config.guess

    aclocal -I ac_stubs && \
    autoheader && \

  • Nobody/Anonymous

    That worked thx now to see if it will install :)


Log in to post a comment.