Slackware64 14 gcc compile error
1 Attachment(s)
Ok ive got this error when i try to compile gcc.Where is the problem
Error is on attachment |
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? |
I use this http://slackware.osuosl.org/slackwar.../source/d/gcc/
simply sh gcc.Slackbuild |
# 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* . |
I'll try and report back
|
Is there any way to make 'make check' on Slackbuilds to find missing packages ?
|
No need for that. Provided you made a full install, you don't miss anything.
|
I have a minimal installation of Slackware and when it start to build gcc i noticed that i miss a texinfo package :)
|
1 Attachment(s)
The same old situation that is the new error
|
Quote:
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". |
This is from gcc.Slackbuild > TMP=${TMP:-"/gcc-$(mcookie)"}
Is a chroot env a option ? |
With a chroot env i've got a same error
|
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.). . |
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... |
Yes i run the script as root.
I wont to compile gcc just for the test i dont know exactly why:) |
All times are GMT -5. The time now is 11:48 AM. |