LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-22-2012, 10:55 AM   #1
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Rep: Reputation: Disabled
Slackware64 14 gcc compile error


Ok ive got this error when i try to compile gcc.Where is the problem
Error is on attachment
Attached Files
File Type: txt gcc.error.txt (8.4 KB, 31 views)

Last edited by tuxbg; 11-22-2012 at 10:57 AM.
 
Old 11-22-2012, 11:14 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Please give us a bit of context, as:
did you do try to compile it manually (then which command exactly did you type, from where, as root or regular user?)
or did you re-use a Slackware's SlackBuild?
which version are you trying to compile?
 
Old 11-22-2012, 11:15 AM   #3
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
I use this http://slackware.osuosl.org/slackwar.../source/d/gcc/
simply sh gcc.Slackbuild
 
Old 11-22-2012, 11:29 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 3 . GCC 4.7.1 :

Please use the Slackbuild, including patches, etc.
ftp://ftp.slackware.org.uk/slackware.../source/d/gcc/

But why build 4.7.1 ? It's included : slackware/d/gcc*


.

Last edited by knudfl; 11-22-2012 at 11:31 AM.
 
Old 11-22-2012, 11:35 AM   #5
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
I'll try and report back
 
Old 11-22-2012, 11:40 AM   #6
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
Is there any way to make 'make check' on Slackbuilds to find missing packages ?
 
Old 11-22-2012, 11:44 AM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
No need for that. Provided you made a full install, you don't miss anything.
 
Old 11-22-2012, 11:51 AM   #8
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
I have a minimal installation of Slackware and when it start to build gcc i noticed that i miss a texinfo package
 
Old 11-22-2012, 12:03 PM   #9
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
The same old situation that is the new error
Attached Files
File Type: txt gcc.error.txt (9.3 KB, 22 views)
 
Old 11-22-2012, 12:19 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by tuxbg View Post
I have a minimal installation of Slackware and when it start to build gcc i noticed that i miss a texinfo package
So make a full install, not a minimal one, especially if you want to compile something.

Plus, where does gcc-51e51ef2ffb509e999889519876a0198 come from ? did you pull it from git? If yes, do not expect the Slackbuild shipped with Slackware to work "out of the box".
 
Old 11-22-2012, 12:44 PM   #11
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
This is from gcc.Slackbuild > TMP=${TMP:-"/gcc-$(mcookie)"}
Is a chroot env a option ?
 
Old 11-22-2012, 01:18 PM   #12
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
With a chroot env i've got a same error
 
Old 11-22-2012, 02:23 PM   #13
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Why do you want to recompile gcc ? ?

This is a lot easier : # installpkg gcc-4.7.1-<arch>-1.txz gcc-g++-4.7.1-<arch>-1.txz
32bits ftp://ftp.slackware.org.uk/slackware...0/slackware/d/
64bits ftp://ftp.slackware.org.uk/slackware...slackware64/d/

.. Then you will also find out what else is missing. ( gmp etc.).

.
 
Old 11-22-2012, 02:24 PM   #14
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Are you running the SlackBuild script as root?

Also, out of curiosity, why do you want to compile gcc, which is included in Slackware as knudfi already pointed out?

EDIT Too late, again...

Last edited by Didier Spaier; 11-22-2012 at 02:27 PM.
 
Old 11-22-2012, 02:49 PM   #15
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Original Poster
Rep: Reputation: Disabled
Yes i run the script as root.
I wont to compile gcc just for the test i dont know exactly why
 
  


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
Slackware64 multilib compile error Breeze Slackware 7 05-22-2011 02:56 AM
can't compile agave, gconfmm.h error on Slackware64 13.1 sycamorex Slackware 5 07-04-2010 05:43 PM
Compile error, 'H5G_obj_t' does not name a type, is gcc 4.3 incompatible with gcc 3 ? samrat_rao Linux - Software 5 03-03-2009 02:28 PM
gcc compile error? wampire Programming 3 05-06-2006 08:05 PM
gcc-2.3.2 compile error rimo Linux From Scratch 33 07-30-2003 07:55 AM

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

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