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

closed
2
2006-01-17
2005-12-25
J CMD
No

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.

Discussion

  • J CMD
    J CMD
    2005-12-25

    • priority: 5 --> 2
     
    • labels: --> compile problem
    • assigned_to: nobody --> waldviertler
     
  • Logged In: YES
    user_id=155293

    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
    user_id=1374990

    It does work if I use an absolute path.

    The exact error is:
    Making all in lavtools
    make[2]: Entering directory
    `/home/john/src/mjpeg_play/lavtools'
    /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
    directory
    libtool: link: cannot determine absolute directory name of
    `../jpeg-mmx'
    make[2]: *** [liblavfile.la] Error 1
    make[2]: Leaving directory
    `/home/john/src/mjpeg_play/lavtools'
    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.

     
  • Logged In: YES
    user_id=155293

    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
    user_id=1374990

    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
    /home/john/src/mjpeg_play
    From here "../jpeg-mmx/" refers to
    /home/john/src/jpeg-mmx
    which exists. However from
    /home/john/src/mjpeg_play/lavtools
    "../jpeg-mmx/" refers to
    /home/john/src/mjpeg_play/jpeg-mmx
    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
    succeed.

     
  • Logged In: YES
    user_id=155293

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

     
    • status: open --> pending
     
  • Logged In: YES
    user_id=1312539

    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).

     
    • status: pending --> closed