You are not logged in.
Pages: 1
I need an older version of gcc for a project I'm trying to compile.
I did successfully install gcc5 but then I tried to install "gcc53-alternative-multilib" but it failed because it couldn't find a particular directory.
Is this something I should report to the package maintainer or an issue on my end?
The install took a really long time. I just let it run through the night. Here is the end of the print out
cp: cannot stat '/home/jesse/yaourt/yaourt-tmp-jesse/aur-gcc53-alternative-multilib/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/doc/doxygen/man/man3': No such file or directory
make: *** [Makefile:820: doc-install-man] Error 1
make: Leaving directory '/home/jesse/yaourt/yaourt-tmp-jesse/aur-gcc53-alternative-multilib/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/doc'
==> ERROR: A failure occurred in package_gcc53-alternative-multilib().
Aborting...
==> ERROR: Makepkg was unable to build gcc53-alternative-multilib.
==> Restart building gcc53-alternative-multilib ? [y/N]
Thanks for any pointers.
Last edited by Jmillwood (2017-06-25 20:04:41)
Offline
How are you compiling it? It looks like you are having problems only with the doc files -- try changing the configuration so as not to do that.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thanks for the quick reply!
I was just using yaourt and didn't change anything
So the PKGBUILD is here: https://aur.archlinux.org/cgit/aur.git/ … e-multilib
It looks like there is two make commands dealing with documentation, line 93 and 285. Would you advise commenting those out and rerunning?
Also as I have never had two installations of gcc on my machine before. Does this PKGBUILD script look like it'll wipe out my current libraries for gcc 7? It kind of looks that way to me now. I want to keep all of my stock system stuff but just have an older gcc and libs for a different project.
Thanks
Offline
It doesn't look like it will. It doesn't say it replaces gcc. So if it conflicts, pacman will simply refuse to install it.
Also, when troubleshooting AUR packages, you should build directly with makepkg. AUR helpers like yaourt can introduce errors of their own.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Ahh thanks,
I'll look into using makepkg, thanks for the tip!
Offline
@fsckd so I git cloned the pkgbuild and am running makepkg on it. I'll check it in the morning thanks!
Offline
@fsckd I ran "makepkg --nocheck" (because it already passed the check section the other times I tried to install it) and commented out those two lines that had to do with the "make doc" and it finished!
I'll try and install it later today and make sure I can compile my project. Thanks!
Offline
Great! If it works to your satisfaction, remember to mark this thread as [SOLVED].
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Well it installed after commenting out the doc lines. Thanks!
So I'll mark it as solved.
but I am having some issues with the linker complaining about incompatible libgcc.a for -lgcc
But that might be something else.
Offline
Pages: 1