LinuxQuestions.org
Help answer threads with 0 replies.
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 09-04-2011, 10:28 AM   #1
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Rep: Reputation: 21
VLC on ARMEDSlack compile fails


Compiling VLC using Bob's build script (which is a work of art BTW) on ARMEDSlack errors looking for a52 libs. the error is as follows:
Code:
checking for a52.h in /tmp/build/tmp-vlc/a52dec-0.7.4/include... yes
checking for a52_free in -la52... no
configure: error: the specified tree hasn't been compiled
grep: vlc-config: No such file or directory
sed: can't read vlc-config: No such file or directory
I've googled 'til I'm blue and tried all that I can think of. I just don't understand compiling well enough to solve this one.

If this thread is better placed on another board, let me know. This has always been the best place to go for anything Slackware but this is my first Arm installation.

Thanks,
Bert

Last edited by ryerke; 09-04-2011 at 08:43 PM.
 
Old 09-04-2011, 02:48 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Please dp not call my vlc.SlackBuild a "slacky VLC". I was drawn to this thread for the wrong reasons. The "slacky build" is at http://repository.slacky.eu/slackwar...ultimedia/vlc/ and it is not at all the same thing.

Eric
 
Old 09-04-2011, 08:43 PM   #3
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Original Poster
Rep: Reputation: 21
My sincere apologies. I don't know what possessed me to use that nomenclature. I have been fiddling with options so far to no avail and was hoping that someone could help. Once again, sorry for the confusion.
 
Old 09-05-2011, 12:19 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Well, the error you see looks to be caused by an earlier compilation error. The vlc.SlackBuild looks for a52dec support in a directory where the SlackBuild script compiled liba52 statically.
If you captured all the compilation console output you should look for the line that has "** a52 ...", the lines that follow are the process of compiling liba52. Look for issues there.

I never compiled on ARM so I have no idea what goes wrong there.

Eric
 
Old 09-06-2011, 02:08 AM   #5
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Original Poster
Rep: Reputation: 21
The problems seem to go deeper than only one dependency not compiling. I get a52 to compile and still have errors as well as trying to build without a52 support. I have looked into the building of ARMEDSlack and the build scripts used by Mr. Winter and it looks as if there is more to building on arm that is not covered with config options. I anticipate having a lot of research to do before I can accomplish vlc but if I want to move into arm using Slackware it will be well worth understanding it. Thanks again for looking into this.
BTW, I ran this same build script on my Slackware64 in VirtualBox and it ran flawlessly. On behalf of those of us in userland that benefit, thanks. We do appreciate your contributions to the Slackware experience.
 
Old 09-22-2011, 08:57 AM   #6
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,539

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by ryerke View Post
The problems seem to go deeper than only one dependency not compiling. I get a52 to compile and still have errors as well as trying to build without a52 support. I have looked into the building of ARMEDSlack and the build scripts used by Mr. Winter and it looks as if there is more to building on arm that is not covered with config options. I anticipate having a lot of research to do before I can accomplish vlc but if I want to move into arm using Slackware it will be well worth understanding it. Thanks again for looking into this.
BTW, I ran this same build script on my Slackware64 in VirtualBox and it ran flawlessly. On behalf of those of us in userland that benefit, thanks. We do appreciate your contributions to the Slackware experience.
There really isn't more to building Slackware on ARM - my build environment is just geared to automation and is different than x86.
The README file in the 'source' directory explains how to use the build scripts in the armedslack tree.

Anyway, all you really do is set the CFLAGS to -march=armv5t (forget armv4 - there's no point running VLC on a machine with such a CPU (although you can still have low speed ARMv5 CPUs also)). Debian have the package, so it's definitley possible to build it.
 
Old 10-14-2011, 11:24 AM   #7
ryerke
Member
 
Registered: Dec 2006
Location: Fresno CA
Distribution: Slackware 13 Slackware 13.37 ARMEDSlack 13.37
Posts: 89

Original Poster
Rep: Reputation: 21
Sorry for the delay in replying. I found that VLC builds nicely on ARMEDSlack with minimal options. This, of course, rules out the possibility of using Alien's build script, even with modifications for the arch. Since I am using a headless device, I don't need several of the options dealing with graphics. Many of those were the principal culprets breaking the build. My purpose for wanting VLC on this machine was mainly to live transcode for MediaTomb. It is yet to be determined if the processer is powerful enough to handle the load anyway.

Thanks so much for the help. I did indeed wonder about the build scripts and failed to understand the readme at first. This will help me greatly in the future building on ARM.
Bert

PS The initial install of ARMEDSlack on the GURUplug went flawlessly. Thank you for the work you have done to put this together.
 
  


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
armedslack 13.37 tmfizzle Slackware 3 05-17-2011 09:56 AM
[SOLVED] Alien Bob's VLC fails to compile on newest current Daedra Slackware 3 03-06-2010 04:23 PM
mms:// internetradio fails in Rythmbox but not VLC Harju Linux - Desktop 2 12-21-2009 02:42 AM
[SOLVED] Compiling VLC 1.0.1 for 13.0 fails dwabot Slackware 5 09-05-2009 03:32 PM
VLC Fails To Play DVD - Freezes ! taurusx5 Linux - Software 2 09-22-2008 04:23 PM

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

All times are GMT -5. The time now is 02:38 PM.

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