#91 Relative path to jpeg-mmx causes "make" to fail.


If I specify a relative path to jpeg-mmx, e.g.
./configure --with-jpeg-mmx=../jpeg-mmx/
configure succeeds and "make" works for a while, but
while compiling libavtools it complains that it cannot
convert ../jpeg-mmx/ to an absolute path.


  • J CMD

    J CMD - 2005-12-25
    • priority: 5 --> 2
  • Bernhard Praschinger

    • labels: --> compile problem
    • assigned_to: nobody --> waldviertler
  • Bernhard Praschinger

    Logged In: YES

    Does it work if you use a abolute path ?
    According to the doc's you should use a absolute patch.

    What is the exact error message you get ?
    Which version of the mjpegtools and jpegmmx do you use ?

  • J CMD

    J CMD - 2005-12-25

    Logged In: YES

    It does work if I use an absolute path.

    The exact error is:
    Making all in lavtools
    make[2]: Entering directory
    /bin/sh ../libtool --tag=CC --mode=link gcc
    -march=pentium4 -mtune=pentium4 -g -O2 -pthread -Wall
    -Wunused -o liblavfile.la -rpath /usr/local/lib
    -version-info 0:0:0 -release 1.9 -L/usr/local/lib
    -lquicktime -lpthread -lm -lz -ldl -lm -L../jpeg-mmx
    -ljpeg-mmx liblavfile_la-editlist.lo
    liblavfile_la-lav_io.lo liblavfile_la-avilib.lo -lm
    ../libtool: line 1654: cd: ../jpeg-mmx: No such file or
    libtool: link: cannot determine absolute directory name of
    make[2]: *** [liblavfile.la] Error 1
    make[2]: Leaving directory
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/john/src/mjpeg_play'
    make: *** [all] Error 2

    My mjpegtools and jpegmmx are fresh from CVS.

  • Bernhard Praschinger

    Logged In: YES

    I have no exact idea why it fails. But lookes much like a
    problem of libtool.

    Do you have something symliked, or mountend to the path ?
    If yes try it using the abolute path when running configure.

  • J CMD

    J CMD - 2005-12-28

    Logged In: YES

    Yes, /home is a reiserfs partition.
    Yes, changing the relative path ../jpeg-mmx/ to the
    absolute path /home is a reiserfs partition.

    The reason it fails is because the configure file is in
    From here "../jpeg-mmx/" refers to
    which exists. However from
    "../jpeg-mmx/" refers to
    which does not exist. (If it does exist it works) , e.g. if
    I have typed:

    ln -s ~/src/jpeg-mmx/ ~/src/mjpeg_play/jpeg-mmx

    Then Make can find ../jpeg-mmx from lavtools and will

  • Bernhard Praschinger

    Logged In: YES

    Seems that you have solved the problem. So that thread will
    be closed.

  • Bernhard Praschinger

    • status: open --> pending
  • SourceForge Robot

    Logged In: YES

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

  • SourceForge Robot

    • status: pending --> closed

Log in to post a comment.