Everytime when I want to build application from source on linux, I have to install dependencies libraries in my operating system (ubuntu).Typical scenario:Start ./configureGot error about missing library: xyzsudo apt-get install libxyz-devGo to step 1.At the end I finish with mess in my operating system and problem with dependencies. For instance:The following packages have unmet dependencies: librsvg2-dev : Depends: libglib2.0-dev (>= 2.12.0) but it is not going to be installed                Depends: libgdk-pixbuf2.0-dev (>= 2.21.6) but it is not going to be installed                Depends: libcairo2-dev (>= 1.2.0) but it is not going to be installed                Depends: libgtk2.0-dev (>= 2.21.5) but it is not going to be  installedAlways ask myself what now ? Should I force ubuntu to install higher version of library ?Here is my question:Maybe there is another way to building software on linux(ubuntu) from source. Some isolate way. Not integrating to my OS ? I'm coming from java world and there, building a application != install every dependency in system. Any suggestion ? Best practice ?
Building from source on linux - mess in installed packages
ubuntu;compiling;source