LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-11-2023, 11:14 PM   #1
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Rep: Reputation: 1
Cannot compile DVDStyler 3.3b3 on Slackware-64 15


I've been trying to install DVDStyler on my system since I upgraded to Slackware 15.0. Nothing has worked so far.

My present state of things:
I have installed wxWidgets-3.2.2.1 to clear up errors about wxsvg versions.
I have tried DVDstyler versions from 3.0.4 to 3.3b3, and all give some kind of compile-time error.

The least error-filled version is 3.3;.b3, with this clip from the end of the compile:

Code:
g++  -g -O2   -o dvdstyler Config.o Languages.o Utils.o SysUtils.o Cache.o mediaenc.o mediaenc_ffmpeg.o mediatrc_ffmpeg.o mediactrl_ffmpeg.o Palette3D.o DVDAction.o TextSub.o Stream.o Cell.o Vob.o Pgc.o SubStream.o Titleset.o DVD.o dvdvml.o dvdvmy.o MenuObject.o MenuPalettes.o Menu.o Slideshow.o MPEG.o About.o AnimationDlg.o MessageDlg.o SettingsDlg.o NewProjectDlg.o WelcomeDlg.o DVDPropDlg.o TemplateDlg.o VideoFrameDlg.o MenuActionsDlg.o MenuCellsDlg.o MenuPropDlg.o MenuObjectPropDlg.o MenuEditor.o VobListBox.o AudioPropDlg.o VideoPropDlg.o SubtitlePropDlg.o ChaptersDlg.o SlideDlg.o TitlePropDlg.o TitlesetManager.o BurnDlg.o ProgressDlg.o MenuObjectDef.o ButtonEditDlg.o ButtonAddParamDlg.o DirCtrl.o StatusBar.o MainWin.o dvdstyler.o Process.o ProcessTranscode.o ProcessCleanTemp.o ProcessProjectInfo.o ProcessMenu.o ProcessEncode.o ProcessMenuTransitions.o ProcessSlideshow.o ProcessSubtitles.o ProcessDvdFilesystem.o ProcessPreview.o ProcessIsoImage.o ProcessEccData.o ProcessFormatDvd.o ProcessBurn.o  ../wxVillaLib/libwxvilla.a -ljpeg -L/usr/local/lib -pthread   -lwx_gtk3u_html-3.2 -lwx_gtk3u_core-3.2 -lwx_baseu_net-3.2 -lwx_gtk3u_media-3.2 -lwx_baseu-3.2   -lavformat -lavcodec -lavutil -lswscale -lavfilter -L/usr/local/lib -lwxsvg  -lexif -lfontconfig -lfreetype -ludev -ldbus-1
/usr/bin/ld: /usr/local/lib/libwx_baseu-3.2.so: undefined reference to symbol 'inflateEnd'
/usr/bin/ld: /lib64/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:596: dvdstyler] Error 1
make[2]: Leaving directory '/codgerspace/clutter/DVDStyler-3.3b3/src'
make[1]: *** [Makefile:733: all-recursive] Error 1
make[1]: Leaving directory '/codgerspace/clutter/DVDStyler-3.3b3/src'
make: *** [Makefile:469: all-recursive] Error 1
Feeding the ld errors to search engines has not produced a useful result for me.

I did try hunting for an AppImage, as I've side-stepped compile failures for some other apps that way, but I can't find an AppImage for DVDStyler.

Any ideas would be appreciated.

Thanks.
 
Old 07-13-2023, 12:49 AM   #2
jayjwa
Member
 
Registered: Jul 2003
Location: NY
Distribution: Slackware, Termux
Posts: 786

Rep: Reputation: 250Reputation: 250Reputation: 250
Maybe do like it suggests and add libz to LIBS?
https://github.com/vitalif/grive2/issues/319

"inflateEnd" sure looks like a zlib function yet I don't see any -lz.
 
Old 07-13-2023, 02:53 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
If it's any help.
This is how arch builds 3.2.1
https://gitlab.archlinux.org/archlin.../main/PKGBUILD
 
Old 07-13-2023, 04:04 PM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,240

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
Are you using this?

https://slackbuilds.org/repository/1...dia/dvdstyler/
 
Old 07-13-2023, 09:30 PM   #5
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by jayjwa View Post
Maybe do like it suggests and add libz to LIBS?
https://github.com/vitalif/grive2/issues/319

"inflateEnd" sure looks like a zlib function yet I don't see any -lz.
I had actually set the flag suggested in the linked page, and got the output I pasted in above. cmake is not used by the sources I am using, so I did 'LDFLAGS="-lz" make' and got the pasted result. I tried exporting the variable and got the same result.

I don't write software at anything like that complexity level, so I'm not sure if there is anywhere else I can specify zlib.
 
Old 07-13-2023, 09:41 PM   #6
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by dugan View Post
I always try Slackbuilds first. Even after installing the wxWidgets to get rid of the wxsvg errors for some of the other versions, I get:

Code:
checking for libwxsvg >= 1.5.19... no
configure: error: *** missing wxSVG library >= 1.5.19 ***
I have wxSVG 1.5.24 installed.
 
Old 07-13-2023, 09:45 PM   #7
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by teckk View Post
If it's any help.
This is how arch builds 3.2.1
https://gitlab.archlinux.org/archlin.../main/PKGBUILD
I've never used arch. Looking at that it looks like it is setting up functions but doesn't actually call them.
 
Old 07-19-2023, 04:42 AM   #8
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
I had issues compiling dvdstyler-3.3b3 on -current due to wxWidgets complaints.

I had wxGTK3 built from ponce's SBo script for -current installed. This build gives a package with a number of /usr/lib64/libwx_gtk3u* files, but dvdstyler expected libwx_gtk2u versions

AlienBob's buildscript for wxGTK3 provides a package containing both versions. With a package built with this script (and the wxWidgets-3.2.2.1 source) dvdstyler built just fine.

wxWidgets (and how upstream adapts to new versions) is a real PITA.

Last edited by kgha; 07-19-2023 at 04:44 AM.
 
1 members found this post helpful.
Old 07-27-2023, 11:13 PM   #9
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by kgha View Post
I had issues compiling dvdstyler-3.3b3 on -current due to wxWidgets complaints.

I had wxGTK3 built from ponce's SBo script for -current installed. This build gives a package with a number of /usr/lib64/libwx_gtk3u* files, but dvdstyler expected libwx_gtk2u versions

AlienBob's buildscript for wxGTK3 provides a package containing both versions. With a package built with this script (and the wxWidgets-3.2.2.1 source) dvdstyler built just fine.

wxWidgets (and how upstream adapts to new versions) is a real PITA.
I must be doing something wrong. Based on what you said I pulled the wxWidgets-3.2.2.1 source and edited the Slackbuild file to use it.

The result when attempting to configure DVDStyler 3.3b3:

Code:
checking for lex output file root... lex.yy
checking for lex library... none needed
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 3.0.0... yes (version 3.2.2)
checking for wxWidgets static library... no
checking for wxWidgets media... no
configure: error: 
    wxWidgets media library (libwx_gtk2u_media) is missing.
I'm getting closer.

Thanks.
 
Old 07-28-2023, 02:09 AM   #10
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
That's odd, AlienBob's buildscript (from the link I provided above) should give you a package containing both libwx_gtk2u and libwx_gtk3u files.

What if you replace (downgrade) your wxGTK3 package with AlienBob's wxGTK3-3.2.1.txz ?
 
Old 07-28-2023, 09:47 AM   #11
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by kgha View Post
That's odd, AlienBob's buildscript (from the link I provided above) should give you a package containing both libwx_gtk2u and libwx_gtk3u files.

What if you replace (downgrade) your wxGTK3 package with AlienBob's wxGTK3-3.2.1.txz ?
Installed that, same result when configuring. DVDStyler.
 
Old 07-28-2023, 10:01 AM   #12
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
Very odd.

Could you check if your /usr/lib64/ contains the file libwx_gtk2u_media-3.2.so.0.2.1 (and the symlinks libwx_gtk2u_media-3.2.so.0 and libwx_gtk2u_media-3.2.so)?

If not, could you extract the wxGTK3 package and see if the file is there? It should be, see https://slackware.uk/people/alien/sl..._64-1alien.lst

But then it's a mystery why it hasn't been installed on your system.
 
Old 07-28-2023, 04:35 PM   #13
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by kgha View Post
Very odd.

Could you check if your /usr/lib64/ contains the file libwx_gtk2u_media-3.2.so.0.2.1 (and the symlinks libwx_gtk2u_media-3.2.so.0 and libwx_gtk2u_media-3.2.so)?

If not, could you extract the wxGTK3 package and see if the file is there? It should be, see https://slackware.uk/people/alien/sl..._64-1alien.lst

But then it's a mystery why it hasn't been installed on your system.
I have the libwx_gtk2u_media-3.2.so.0.2.1 file, but the symlink chain points to libwx_gtk2u_media-3.2.so.0.1.0. Can I just change the so.0 link to point to the so.0.2.1 file and see if that works? (Being cautious here.)

Code:
lrwxrwxrwx   1 root root        26 Jul 28 10:46 libwx_gtk2u_media-3.2.so -> libwx_gtk2u_media-3.2.so.0
lrwxrwxrwx   1 root root        30 Jul 28 10:46 libwx_gtk2u_media-3.2.so.0 -> libwx_gtk2u_media-3.2.so.0.1.0
-rwxr-xr-x   1 root root     85160 Sep 20  2022 libwx_gtk2u_media-3.2.so.0.1.0
-rwxr-xr-x   1 root root     97576 Jul 27 23:59 libwx_gtk2u_media-3.2.so.0.2.1
 
Old 07-28-2023, 06:26 PM   #14
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,073

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
Seems as if you have more than one wxGTK version installed, or residual files after upgrade/downgrade Maybe this affects the build process.

libwx_gtk2u_media_so.0.1.0 is part of AlienBob's wxGTK3-3.2.1 package, and the symlinks were correctly made for that version during install. But I would expect dvdstyler to build fine against that version, so the error message you received is mysterious.

libwx_gtk2u_media.so.0.2.1 is part of wxGTK3-3.2.2.1 and ought to have been removed when you downgraded to version 3.2.1. But since it's there, it should be fine to try new symlinks that point to libwxgtk2u_media.so.0.2.1 and see if that helps.

If not, I would uninstall wxGTK3 (and also check if than one version installed. If so, they should all be uninstalled). Then I'd install either AlienBob's package or a package built with his buildscript and the 3.2.2.1 source file and keep my fingers crossed.
 
Old 07-28-2023, 09:11 PM   #15
MikeVx
Member
 
Registered: Feb 2003
Posts: 76

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by kgha View Post
Seems as if you have more than one wxGTK version installed, or residual files after upgrade/downgrade Maybe this affects the build process.

libwx_gtk2u_media_so.0.1.0 is part of AlienBob's wxGTK3-3.2.1 package, and the symlinks were correctly made for that version during install. But I would expect dvdstyler to build fine against that version, so the error message you received is mysterious.

libwx_gtk2u_media.so.0.2.1 is part of wxGTK3-3.2.2.1 and ought to have been removed when you downgraded to version 3.2.1. But since it's there, it should be fine to try new symlinks that point to libwxgtk2u_media.so.0.2.1 and see if that helps.

If not, I would uninstall wxGTK3 (and also check if than one version installed. If so, they should all be uninstalled). Then I'd install either AlienBob's package or a package built with his buildscript and the 3.2.2.1 source file and keep my fingers crossed.
Changing the links didn't help. I tried removing all of the versions of wxGTK3, then putting things back one at a time. I'm trying to figure out how I got the 3.2.2.1 set in there, because I can't seem to make it turn up again. Using either the 3.2.1 or the 3.2.2.1 alien package nets:
Code:
lrwxrwxrwx   1 root root        26 Jul 28 21:49 libwx_gtk2u_media-3.2.so -> libwx_gtk2u_media-3.2.so.0
lrwxrwxrwx   1 root root        30 Jul 28 21:49 libwx_gtk2u_media-3.2.so.0 -> libwx_gtk2u_media-3.2.so.0.2.1
-rwxr-xr-x   1 root root     97576 Jul 27 23:59 libwx_gtk2u_media-3.2.so.0.2.1
I can't configure DVDStyler.

I'll keep fiddling, but this is driving me sane...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] DVDStyler doesn't compile. TheNutCase Slackware 3 11-18-2017 12:40 AM
DVDStyler and creating a video menu Harp00 Linux - Software 5 09-21-2009 02:41 AM
mplex error with dvdstyler rino.caldelli Linux - Software 1 10-31-2005 09:55 AM
DVD Menus with QDVDAuthor/DVDStyler zba78 Linux - Software 6 10-30-2005 10:58 PM
no audio with dvdstyler z9_87 Linux - Software 1 04-02-2005 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration