[SOLVED] Cannot install VLC via sbopkg or slackpkg I Slackware 14.2
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Reading your OP I am confused. You said you are trying to install Alien Bob's VLC package using sbopkg. The package that is hosted at www.slackbuilds.org is not the same as the package provided by Alien Bob. You can't use sbopkg to install Alien Bob's vlc. Either package is fine, but if you're having trouble with the slackbuilds vlc I would try Alien Bob's. You can just install the precompiled binary or if you do want to build it from source then just do the following...
1) Download the source build directory using the below command.
I have already installed all that stuff.
I cannot use the slack-builds vlc because it asks for qt5 and i cbf waiting 3 days for it to install.
i installed alien bobs package because he assured me it runs on qt4 and it said that it installed but it wasn't anywhere to be found.
So now i am trying your method.
such crap just for a program i barely use.
Last edited by jhsdcsjdcvbdj; 06-28-2017 at 01:47 AM.
If you just want it installed, you can use one of alien's pre-built packages (32 or 64-bit for 14.2). All you need is the vlc-*alien.txz file to install. So for the 64-bit version (as root):
Code:
installpkg vlc-2.2.6-x86_64-1alien.txz
Or you can build it yourself using the various SlackBuild scripts.
Your first post shows that you were trying to build VLC using sbopkg, which is an interface for SlackBuilds from slackbuilds.org (which has nothing to do with Alien Bob's SlackBuilds). It was failing because you didn't install QT5 (it tells you in the README that it needs QT5).
Bob's site is a separate repo of SlackBuilds (they're inside slackbuilds/<program>/build), but there's also pre-built binaries (in slackbuilds/<program>/pkg for 32-bit, or slackbuilds/<program>/pkg64 for 64-bit). In your case the pre-built binary is all you need.
I have already installed all that stuff.
I cannot use the slack-builds vlc because it asks for qt5 and i cbf waiting 3 days for it to install.
i installed alien bobs package because he assured me it runs on qt4 and it said that it installed but it wasn't anywhere to be found.
So now i am trying your method.
such crap just for a program i barely use.
You're making this harder than it has to be. As my post stated and what drgibbon said, Alien Bob offers a binary package of vlc, you don't have to compile vlc if you don't want to. Here is a direct link to his slackware 14.2 package
You commandline is dodgy too. The WxWindows interface was abandoned after the 0.9 releases and Qt took its place for GUI building (that was 9 years ago). And that "livedotcom" option is long gone too (called live555 these days). Etcetera...
Why don't you share these errors you got? Crystal balls are hard to come by.
i removed wxwindows, livedotcom. I pulled this straight off the VLC website. I still get the same error:
Code:
gui/qt/components/interface_widgets.cpp:268:15: error: 'xcb_generic_event_t' does not name a type
const xcb_generic_event_t* xev = static_cast<const xcb_generic_event_t*>( message );
^
gui/qt/components/interface_widgets.cpp:270:14: error: 'xev' was not declared in this scope
if ( xev->response_type == XCB_CONFIGURE_NOTIFY )
^
gui/qt/components/interface_widgets.cpp:270:36: error: 'XCB_CONFIGURE_NOTIFY' was not declared in this scope
if ( xev->response_type == XCB_CONFIGURE_NOTIFY )
^
i removed wxwindows, livedotcom. I pulled this straight off the VLC website. I still get the same error:
Code:
gui/qt/components/interface_widgets.cpp:268:15: error: 'xcb_generic_event_t' does not name a type
const xcb_generic_event_t* xev = static_cast<const xcb_generic_event_t*>( message );
^
gui/qt/components/interface_widgets.cpp:270:14: error: 'xev' was not declared in this scope
if ( xev->response_type == XCB_CONFIGURE_NOTIFY )
^
gui/qt/components/interface_widgets.cpp:270:36: error: 'XCB_CONFIGURE_NOTIFY' was not declared in this scope
if ( xev->response_type == XCB_CONFIGURE_NOTIFY )
^
Share the whole log including the command(s) you launched. This is going nowhere.
Barely what you can call SOLVED. This is a work around.
I wish to build VLC without GTK, QT or KDE. I get this same error. This is an error against having QT not installed. I don't wish to install QT.
How is it not solved? OP had no intention on using VLC without QT (or GTK or KDE). Your post has nothing to do with the previous replies to this thread other than they both deal with VLC. It may be better to open up a new thread on trying to build VLC without QT, GTK, or KDE... (make sure you include more details like Alien Bob requested).
I stand corrected. My reply was somewhat off-topic. Regardless, I was pointing out that those errors are the result of building against QT for which QT is a dependency. I since removed the GUI toolkit entirely and those errors along went away with it.
Does anyone know if VLC can be built using vanilla X (the name escapes me at the moment)?
Does anyone know if VLC can be built using vanilla X (the name escapes me at the moment)?
You either build an X-based GUI using the Qt widgets, or a console GUI using ncurses. Plain Xlib is not supported. Perhaps you should explain (in a new thread because you are derailing this one) what you intend to achieve with this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.