LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-23-2012, 04:51 PM   #1
pchristy
Member
 
Registered: Oct 2012
Location: UK
Distribution: Slackware
Posts: 102

Rep: Reputation: Disabled
Compiling mjpegtools on Slackware64 14


Having just upgraded from Slackware64-13.37 to 14.0, I've had to re-install some of my software, and one or two of them are proving problematic - specifically mjpegtools and vobcopy!

I have a standard slackbuild script for mjpegtools-2.0.0 which worked fine under 13.37. However, under 14, gcc produces an error whilst compiling: "Your gcc does not even support i386 for -march and -mtune"

This isn't surprising, as I'm building for x86_64! What is surprising is that gcc then interprets this error message as an instruction to search for a file or directory, and then crashes:

"gcc: error: Your: No such file or directory
gcc: error: gcc: No such file or directory
gcc: error: does: No such file or directory
gcc: error: not: No such file or directory"

and so on!!!

I've never seen anything like this before, and I've been a Slack user for over ten years!

Anyone got any clues as to what is going on?

--
Pete
 
Old 10-23-2012, 05:18 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,596
Blog Entries: 1

Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
Hi and welcome to LQ.

I've just tried it on my Slackware64 14. No problems here. It must be something with your environment. I don't know, did you use to run -multilib and haven't removed all the packages?
 
Old 10-24-2012, 02:25 AM   #3
pchristy
Member
 
Registered: Oct 2012
Location: UK
Distribution: Slackware
Posts: 102

Original Poster
Rep: Reputation: Disabled
Hi, and thanks for the quick response!

Its a clean install, pure 64-bit, though I am running a self-compiled kernel (3.6.3). Not sure why or if that should make any difference!

Very odd! Why would gcc complain about i386 on an x86_64 system? Still, if it works for you, it must be something I've missed here - but what?

Any clues much appreciated!

--
Pete
 
Old 10-24-2012, 02:44 AM   #4
fgcl2k
Member
 
Registered: Jan 2011
Distribution: Slackware 14.1
Posts: 108

Rep: Reputation: 29
I have also compiled mjpegtools on x86_64 without problems. What is the output of
Code:
uname -a
uname -m
Try executing the SlackBuild with the "-x" parameter and log the output. For example:
Code:
bash -x mjpegtools.SlackBuild 2>&1 | tee m.log
 
Old 10-24-2012, 02:45 AM   #5
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 526

Rep: Reputation: 140Reputation: 140
First off, you may want to revert to the stock Slackware with 3.2.29 kernel. mjpegtool then should compile. Then add one change at a time.

I run clean stock Slackware64 and Slackware64-multilib and compiling mjpegtool for x86_64 was not a problem.
 
Old 10-24-2012, 03:13 AM   #6
pchristy
Member
 
Registered: Oct 2012
Location: UK
Distribution: Slackware
Posts: 102

Original Poster
Rep: Reputation: Disabled
SOLVED!

I found a new slackbuild script on Slacky and tried that - it worked instantly!

At a quick glance, I can't see anything significantly different in the way its configured, but there's obviously some subtle change in there! I'll have to have a closer look at it later, but for the moment, problem solved!

Many thanks for your help, guys! Just knowing that you all managed to build it persuaded me that it was something unique to the way I was doing things, rather than a generic issue! And that led me to a solution, even if I'm not quite sure why, yet!!!

--
Pete
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Compiling FTLK-1.x on Slackware64-Current tpreitzel Slackware 3 08-13-2012 03:26 AM
[SOLVED] Compiling TQt3 on Slackware64 13.37 Stragonian Slackware 12 06-12-2012 01:25 PM
[SOLVED] compiling 32bit programs in slackware64 animeresistance Slackware 7 08-05-2011 06:35 PM
[SOLVED] compiling 32 bit on Slackware64 business_kid Slackware 9 05-21-2010 04:17 AM
Compiling Crafty in Slackware64 13 arubin Slackware 5 11-19-2009 04:11 AM


All times are GMT -5. The time now is 03:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration