Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

DVDstyler 2.7 Compile

Post Reply
Message
Author
l0x
Forum Novice
Forum  Novice
Posts: 19
Joined: Fri Jun 27, 2014 9:36 pm

DVDstyler 2.7 Compile

#1 Post by l0x » Tue Aug 05, 2014 11:02 pm

Greetings Reader. I would like to know whether I need the Development version of the following, OR do I need to rather set the proper Path for the libraries I already have.

configure: error: Package requirements (libavformat >= 53.20.0 libavcodec >= 53.34.0 libavutil libswscale libavfilter >= 2.15.0) were not met:

No package 'libavformat' found
No package 'libavcodec' found
No package 'libavutil' found
No package 'libswscale' found
No package 'libavfilter' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.


I DO have these packages installed. For instance $ mlocate *libav*|grep .so Turned up:
/usr/lib/i386-linux-gnu/libavformat.so.55.48.100
and
/usr/lib/i386-linux-gnu/i686/cmov/libavformat.so.55

I tried adding the paths of these to system PATH (using the export command), as well as putting them under my /etc/ld.so.conf.
None of this made a difference. So the question agian is, will getting libavfilter-dev (for example) be the solution?
Or do I need to correctly add the libaries (non Dev) that I have, in such a way that pkg-config will see them?? :blindfold:

/babypenguin

Thanks in advance
Last edited by l0x on Mon Aug 11, 2014 3:49 pm, edited 2 times in total.

User avatar
uncle mark
Forum Veteran
Forum Veteran
Posts: 4982
Joined: Sat Nov 11, 2006 10:42 pm

Re: Change/Set Shared Library PATH

#2 Post by uncle mark » Tue Aug 05, 2014 11:04 pm

What exactly are you trying to accomplish?
Desktop: Custom build Asus/AMD/nVidia -- MEPIS 11
Laptop: Acer Aspire 5250 -- MX-15
Assorted junk: assorted Linuxes

l0x
Forum Novice
Forum  Novice
Posts: 19
Joined: Fri Jun 27, 2014 9:36 pm

Re: Change/Set Shared Library PATH

#3 Post by l0x » Wed Aug 06, 2014 1:01 am

uncle mark wrote:What exactly are you trying to accomplish?
Compiling DVDstyler 2.7 Sir

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 9419
Joined: Wed Jul 12, 2006 2:26 pm

Re: Change/Set Shared Library PATH

#4 Post by kmathern » Wed Aug 06, 2014 7:12 am

l0x wrote:
uncle mark wrote:What exactly are you trying to accomplish?
Compiling DVDstyler 2.7 Sir
These (the bolded items) are the build depends Stevo has for dvdstyler 2.6.1, I think they're the same for the 2.7.2 version.
They came from the control file in this http://main.mepis-deb.org/mepiscr/testr ... ian.tar.gz
Source: dvdstyler
Section: graphics
Priority: optional
Maintainer: Steven Pusser (Stevo) <maintainer@mepiscommunity.org>
Bugs: mailto: maintainer@mepiscommunity.org
XSBC-Original-Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Original-Maintainer: Fabrice Coutadeur <coutadeurf@gmail.com>
Build-Depends: debhelper (>= 7.0.50~),
bison,
flex,
automake,
libav-tools,
libwxgtk2.8-dev (>= 2.8.12),
libwxbase2.8-dev (>= 2.8.12),
libexif-dev,
libwxsvg-dev (>= 2:1.1.17),
libavcodec-dev,
libavfilter-dev,
libavformat-dev,
libswscale-dev,
libjpeg-dev,
libudev-dev,
gettext,
xmlto,
zip

Standards-Version: 3.9.2
Homepage: http://www.dvdstyler.de/

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 17097
Joined: Fri Dec 15, 2006 8:07 pm

Re: Change/Set Shared Library PATH

#5 Post by Stevo » Wed Aug 06, 2014 3:24 pm

Yes, to compile binary programs against shared libraries, you also need the "includes" (headers) files, which are in the "-dev" versions of the packages.

I've built deb packages of the 2.7 series, but they all fail with an mplex error when actually trying to create a DVD. I tried updating and building against a newer mjpeg-tools, but that didn't help. I'll be interested to see if your version works.

For 2.7.1, the minimum version of lbwxsvg-dev is 2:1.2, which is in the community repository. You also need the custom wxgtk2.8-dev packages in the CR, too.

Here's what I have for the build-deps for 2.7.1:

Code: Select all

debhelper (>= 7.0.50~),
 bison,
 flex,
 automake,
 libav-tools,
 libwxgtk2.8-dev (>= 1:2.8.12),
 libwxbase2.8-dev (>= 1:2.8.12),
 libexif-dev,
 libfontconfig1-dev,
 libwxsvg-dev (>= 2:1.2),
 libavcodec-dev,
 libavfilter-dev,
 libavformat-dev,
 libswscale-dev,
 libjpeg-dev,
 libudev-dev,
 gettext,
 xmlto,
 zip
However, some of them are of use only to create Debian packages, such as debhelper.

l0x
Forum Novice
Forum  Novice
Posts: 19
Joined: Fri Jun 27, 2014 9:36 pm

Re: Change/Set Shared Library PATH

#6 Post by l0x » Wed Aug 06, 2014 5:24 pm

Finished ./configure sucessfully
During make I got this:
++++++++++++++++++++++++++++++++
DVD.cpp: In static member function 'static std::map<wxString, wxString>& DVD::GetLanguageMap()':
DVD.cpp:1197:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [DVD.o] Error 1
make[2]: Leaving directory `/home/l0x/software/DVDStyler-2.7.2/DVDStyler-2.7.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/l0x/software/DVDStyler-2.7.2/DVDStyler-2.7.2/src'
make: *** [all-recursive] Error 1
+++++++++++++++++++++++++++++++++++++++++++

Should I upgrade gcc?
(I unplugged one of my suspicious DVD optical drives just for safe measure (paranoia) - still get s segmentation fault although@ a different point)

Post Reply

Return to “Software / Configuration”