DVDStyler and openSuse 13.2

DVDStyler 2.8.1 in the packman repository for 64-bit openSuse 13.2 has a library conflict and hangs while trying to generate an iso file, see http://sourceforge.net/p/dvdstyler/discussion/318795/thread/f22006f9/ . Attempting to configure and make from a newer source code fails with the message “wxWidgets static library… no” because openSuse uses shared libraries instead of static. There should be a way to compile a static version of wxWidgets and use that library solely for DVDStyler. Can anyone talk a novice through the process?

You should probably report the problem to Packman:
http://wiki.links2linux.de/packman:faq_en#what_if_i_have_troubles_with_a_package

Point them to that bugreport as well, maybe they could update the package or at least add the fix for recent ffmpeg versions.

Regarding your wxWidgets question: why would you want to statically compile in wxWidgets?
You have to install wxWidgets-devel, but I haven’t tried to build DVDStyler myself. Does it not work with the openSUSE wxWidgets?
The Packman package contains a patch related to wxWidgets, see here:
https://pmbs.links2linux.de/package/view_file/Multimedia/DVDStyler/string-conversion-fix-wxwidgets3.patch?expand=1

The author of DVDStyler released a fix in a beta version of the software. Running ./configure on the source code produces the error “wxWidgets static library… no”. To my novice eyes that is a complaint about the shared libraries openSuse uses. There should be a way to build a static version of wxWidgets in order to compile the program. Maybe that isn’t the best way around the error message but it is my best guess.

Found the patch for the dvdstyler.cpp file and was able to apply the patch. I am spoiled by the repositories and haven’t had to rebuild a program after applying a patch until now. How do I recompile the patched program?

If you have the source you should have a readme file that should tell how to build.

Again, it should be perfectly possible to build it against the shared library shipped by openSUSE, that’s what Packman does anyway.
That’s the preferred way on openSUSE, statically linking is not even supported by the distribution.

I thought you already know how to compile it.
How are you getting that “wxWidgets static library… no” error otherwise?

In a nutshell, it’s running “configure”, “make” to compile, and then “make install” to install it.

And I repeat: You should report it to Packman, so that the package might get updated. In that way all users would profit.

Working with software in an area you understand can build an appreciation of the astounding number of ways to goof-up in areas where you know far less. Like many people I use Linux at home because I detest Microsoft but that doesn’t come with any special knowledge of what I am doing. My only strengths are I am too stupid to know what I can’t do and too stubborn to stop poking around. I will poke awhile longer before reporting a problem because it looks like the patch should fix my problem if I knew more.

I had applied the patch and ran ./configure on the patched source code and still received the same error. I speculated maybe I should patch the program YaST installed from the repository and rebuild it. Only after reading your note did I run make and was surprised to see it run without errors. I get a floating point error when trying to run the program but I suspect that is operator error somehow. There was a warning message on make about one of the libraries and a potential problem I will look at.

Thank you for your time.

It’s ok that you like to play around with this for yourself.

But my point is that other users would profit as well, if this would be fixed in the Packman packages. And the maintainers might not know about the problem or a solution, so somebody should tell them.

I had applied the patch and ran ./configure on the patched source code and still received the same error. I speculated maybe I should patch the program YaST installed from the repository and rebuild it. Only after reading your note did I run make and was surprised to see it run without errors.

Well, this message only means that wxWidgets cannot be built statically. That doesn’t mean that you won’t be able to build at all.

That’s the purpose of “configure”: find out what’s available/possible on the system where the software is built, and then configure the build accordingly so that it succeeds.
It’s “make” that actually builds the software.

I get a floating point error when trying to run the program but I suspect that is operator error somehow. There was a warning message on make about one of the libraries and a potential problem I will look at.

Well, hard to say without further information.

It could just be a bug in DVDstyler as well. Especially if you are trying to build an unstable git snapshot/a beta version.

What version are you trying to build exactly? I.e what did you actually download?

I see that DVDStyler 2.8.1 has been released a few days ago, with the following changes:

Version 2.8.1 <2015-01-06>

* fixed memory leaks
  • updated some translations
  • updated ffmpeg to version 2.5

The Packman package is still at version 2.8 (not 2.8.1 like you wrote in your first post), so even more a reason to tell the Packman maintainers… :wink:

I switched from Canonical’s Kubuntu at some point this fall and one of the surprises was how fast the new repositories were updated. YaST shows version 2.8-1.10x86_64 from Pacman. Looks like it was placed in the repository on 1/9/15. That is a much faster update than I ever saw on Canonical’s Debian repositories.

I started looking at this before the most recent DVDStyler update and I now think there are two distinct problems. The first one is the library conflict and the second one involving the patch is a different issue. I am out of experiments at the moment but I still learned a few things. I will leave a note for Pacman.

Again, this is version 2.8 (package revision 1.10), not 2.8.1.

It should be fixed in 2.8.1 if I understand it correctly.