#196 Build and install problems

trunk
closed
nobody
None
5
2014-06-30
2013-07-04
No

The configure script must be updated to check for all dependencies. Likewise, docs/install.txt needs to be updated to specify these dependencies:

  • sox
  • avdevice
  • swscale
  • jack

(...all of these in their lib form, i.e., libsox, libavdevice, etc.)

Also, a configure/make/sudo make install does not result in the new library taking effect on Debian (Ubuntu 12.whatever), as the new library is installed in /usr/local/lib, so does not supersede the old library in /usr/lib.

Finally, I had to manually remove the libmlt.so.5 link in /usr/lib and recreate it to point to the new library in order to get kdenlive to work.

History:

Downloaded and attempted to build libmlt0.9.0, and it failed because of a missing SOX macro (ST_LIB_VERSION_CODE). The compile error was something along the line of missing operand (lost it, sorry), along with the specific text of "(" at the end of the error message.

I looked at the code (src/modules/sox/filter_sox.c), and found the following at the indicated failure lines (41, etc).:

#   if (ST_LIB_VERSION_CODE >= ST_LIB_VERSION(14,2,0))

This led me back to SOX, which I then installed (libsox-dev via Synaptic).

Further attempts to compile led me to install, successively, libavdevice-dev, libswcale-dev, and libjack-dev.

Please update the configure script to include checks for these dependencies.

Thanks!

Discussion

  • Dan Dennedy

    Dan Dennedy - 2013-09-07
    • status: open --> pending
     
  • Dan Dennedy

    Dan Dennedy - 2013-09-07

    Fixed in git commits f9cbce6..70d772f.

    sudo make install is not supposed to install to /usr. The defacto default prefix for source distributions is /usr/local. configure --prefix lets you change it. That will not be changed. To make most Linux systems find a lib in /usr/local/lib, you may need to add that directory to /etc/ld.so.conf or /etc/ld.so.conf.d/. This is all standard practice, and you are expected to know it if you are building from source!

     
    Last edit: Dan Dennedy 2013-09-07
  • Dan Dennedy

    Dan Dennedy - 2014-04-13
    • status: pending --> accepted
     
  • Dan Dennedy

    Dan Dennedy - 2014-06-30
    • status: accepted --> closed
     

Log in to post a comment.