[SOLVED] ghc wont compile on slack64bits with 32bits compat installed...
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ghc wont compile on slack64bits with 32bits compat installed...
I have a little situation... I installed the compat32 stuff and now I have to upgrade ghc and stuff and when I try compiling ghc it says this:
checking for path to top of build tree... /tmp/SBo/ghc-7.8.4
Build platform inferred as: x86_64-unknown-linux
Host platform inferred as: x86_64-unknown-linux
Target platform inferred as: x86_64-unknown-linux
GHC build : x86_64-unknown-linux
GHC host : x86_64-unknown-linux
GHC target : x86_64-unknown-linux
checking for perl... /usr/bin/perl
checking for a BSD-compatible install... /bin/ginstall -c
checking whether ln -s works... yes
checking for gsed... sed
checking for gcc... /usr/bin/gcc
checking for ld... /usr/bin/ld
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... no
configure: error: in `/tmp/SBo/ghc-7.8.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
What can I do? It says unknown linux... dont know why... Can anyone tell me what to do? Thanks.
I have a little situation... I installed the compat32 stuff and now I have to upgrade ghc and stuff and when I try compiling ghc it says this:
checking for path to top of build tree... /tmp/SBo/ghc-7.8.4
Build platform inferred as: x86_64-unknown-linux
Host platform inferred as: x86_64-unknown-linux
Target platform inferred as: x86_64-unknown-linux
GHC build : x86_64-unknown-linux
GHC host : x86_64-unknown-linux
GHC target : x86_64-unknown-linux
checking for perl... /usr/bin/perl
checking for a BSD-compatible install... /bin/ginstall -c
checking whether ln -s works... yes
checking for gsed... sed
checking for gcc... /usr/bin/gcc
checking for ld... /usr/bin/ld
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... no
configure: error: in `/tmp/SBo/ghc-7.8.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
What can I do? It says unknown linux... dont know why... Can anyone tell me what to do? Thanks.
Cheers
(=
Dumdadum
Your issue is not the "x86_64-unknown-linux" - in fact that is pretty common when compiling software. Your real issue can be found in that file "config.log" which was created by the configure command. You will find it in the same directory as "configure".
Open "config.log" in a text editor, find the string "cannot create" and the actual issue will be found in the lines directly above.
Your issue is not the "x86_64-unknown-linux" - in fact that is pretty common when compiling software. Your real issue can be found in that file "config.log" which was created by the configure command. You will find it in the same directory as "configure".
Open "config.log" in a text editor, find the string "cannot create" and the actual issue will be found in the lines directly above.
I checked the config.log file, and yes alot of info, I dont think I'm smart enough to know what it all means, all I know is that the C compiler doesnt work, or thats what it says in the stuff I posted in the first post...
Thanx, I'll check all that and come back if any questions.
Your issue is not the "x86_64-unknown-linux" - in fact that is pretty common when compiling software. Your real issue can be found in that file "config.log" which was created by the configure command. You will find it in the same directory as "configure".
Open "config.log" in a text editor, find the string "cannot create" and the actual issue will be found in the lines directly above.
Your issue is not the "x86_64-unknown-linux" - in fact that is pretty common when compiling software. Your real issue can be found in that file "config.log" which was created by the configure command. You will find it in the same directory as "configure".
Open "config.log" in a text editor, find the string "cannot create" and the actual issue will be found in the lines directly above.
Yup says cannot create executables... And theres also a line that says the C compiler doesnt work...
Ahhh well... I guess the word "unofficial" for the multilib part means you guys are working as hard as you can to make it official. I'll just wait. I'm patient...
Still, why is it that I cannot compile 64bit packages on my multilib... its not a 32 bit package... I dont get it...
Your issue is not the "x86_64-unknown-linux" - in fact that is pretty common when compiling software. Your real issue can be found in that file "config.log" which was created by the configure command. You will find it in the same directory as "configure".
Open "config.log" in a text editor, find the string "cannot create" and the actual issue will be found in the lines directly above.
Lets say I was to compile ANY package with SBo's scripts, are you telling me its now impossible to compile after you go multilib? Thats odd... Theres really nothing I can do? I dont understand...
Anyways thats for everything. Waiting if any response...
Lets say I was to compile ANY package with SBo's scripts, are you telling me its now impossible to compile after you go multilib? Thats odd... Theres really nothing I can do? I dont understand...
What Alienbob refers to is point 18 in that FAQ. If a package doesn't compile on a multilib system in most cases you just need to add the LDFlag as explained in that specific point.
Yup says cannot create executables... And theres also a line that says the C compiler doesnt work...
If you are not able to find the actual issue in that "config.log" file, I suggest you post the contents of that file on a pastebin and I will point it out to you.
The SlackBuilds.org admins are not willing to add multilib support out of the box to the scripts they host. In most cases (but not always) adding the LDFLAGS line will be enough. The "not always" means that the admins would have to test every submission twice: on a stock Slackware64 computer and then once more on a multilib computer. That is just too much work and therefore multilib is "unsupported".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.