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 12-01-2011, 06:28 PM   #1
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
gcc 4.6.2


Has anybody managed to build a 'parallel' installation of gcc 4.6.2 in a similar vein to alienBob's gcc 3.4 build? I have attempted several times by modifying the slackware -current gcc slackbuild and failed pretty miserably .

The reason I am after this is a compiling demand for the latest mkvtoolnix which asks for compiler 4.6 or greater...
 
Old 12-02-2011, 05:56 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
If we answer the question you're actually asking, it's a yes/no answer. And my answer would be 'no' because I don't use Slackware. However, I have installed gcc-4.6.2 on my CLFS machines in parallel with the existing gcc. If you're problems are in the actual build of gcc (i.e., it errors during configure or make), I might be able to help you track down the problem so you can properly edit the SlackBuild. Just a thought in case that's what you're really interested in having answered.
 
1 members found this post helpful.
Old 12-05-2011, 03:03 AM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
OK. Installed gcc-4.6.2 on Slackware 13.1 in a virtual machine. No problems at all, but didn't use a SlackBuild.
 
Old 12-06-2011, 11:13 PM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Thanks for looking at this, looks like gcc 4.6.2 compiles well enough on its own, my challenge is to modify the slackbuild script. It is starting to look too much like hard work simply for one application.....
 
Old 12-08-2011, 07:53 AM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Never!!!! Maybe if I get bored, I'll look at modifying the slackbuild script. In any event, just wanted you to know 4.6.2 does build and install and work on Slackware.

BTW, awesome name....my Mom gave me the same one.
 
Old 12-12-2011, 12:05 AM   #6
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Actually it looks like I have been doubly stupid, probably not or the first time . It really does not make that much sense to do a parallel installation of a newer version of gcc, this would be better for an older version or a new unstable version. Plus when I did a simple version bump on PV's slackbuild and remembered to build as full root ( su - ) i all built fine and is happily compiling updated boost and mkvtoolnix away as I type.

Edit: Dammit, boost was a bit of a pain too but all is done now:

Code:
andrew@skamandros~$ mkvmerge --version
mkvmerge v5.1.0 ('And so it goes') built on Dec 12 2011 18:29:01
= one happy slacker!!

Last edited by andrew.46; 12-12-2011 at 01:50 AM.
 
  


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
LXer: Compiler Benchmarks Of GCC, LLVM-GCC, DragonEgg, Clang LXer Syndicated Linux News 0 11-08-2010 05:11 PM
[SOLVED] SEGMENTATION FAULT using gcc 4.4.4 -O2 , works with gcc 4.1.0 -O2 or gcc 4.4.4 -O1 amir1981 Programming 36 07-26-2010 06:07 PM
yum install gcc doesn't set the lastest gcc ver 4.3.x kim,jw Linux - Newbie 3 12-22-2008 11:51 PM
gcc wont install, 'failed dependencies: glibc-devel is needed by gcc-3.3.3-41' TdlSnare SUSE / openSUSE 3 11-29-2004 02:13 PM

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

All times are GMT -5. The time now is 03:23 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