Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openSUSE makefile wrong path libexec -> lib64 #18

Closed
pseiler opened this issue Jan 13, 2022 · 4 comments
Closed

openSUSE makefile wrong path libexec -> lib64 #18

pseiler opened this issue Jan 13, 2022 · 4 comments

Comments

@pseiler
Copy link
Contributor

pseiler commented Jan 13, 2022

hi andwn,

I tried to install marsdev but the tools are installed into /home/philipp/mars/m68k-elf/lib64/gcc/m68k-elf/10.3.0 instead of /home/philipp/mars/m68k-elf/libexec/gcc/m68k-elf/10.3.0.

I searched a bit for answer in the makefiles etc. but didn't find the solution to fix this.
Many other dependencies have hardcoded libexec so installing to lib64 by default breaks things.

@pseiler pseiler changed the title openSUSE makefile wrong path openSUSE makefile wrong path libexec -> lib64 Jan 13, 2022
@andwn
Copy link
Owner

andwn commented Jan 13, 2022

I'm not sure what is going on with your computer or what errors you are getting, but the directory should be libexec. If you symlink libexec to lib64 there does it work? Or does it fail to install in the first place?

@pseiler
Copy link
Contributor Author

pseiler commented Jan 16, 2022

Installing is just fine. Only some paths are missing when compiling software that depends on libraries in this path.
Symlinking fixed the issue so far.

@pseiler
Copy link
Contributor Author

pseiler commented Jan 23, 2022

One thing to mention. Adding --libdir=$(MARSDEV)/$(TARGET)/lib to the configure lines in Makefile located in toolchain/ fixes many issues.
But libcc1 still installs into lib64. I cannot find something that forces the path to lib/.
I also commented the removal of the build directories to check for any hints. It seems that "../lib64" is added as $libsuffix by configure scripts. Still not sure why this is created. Something because /usr/lib64 and /lib64 are the defaults in openSUSE.

I checked my archlinux Installation and there it works flawlessly.

@pseiler
Copy link
Contributor Author

pseiler commented Jan 26, 2022

PR accepted. This can be closed.
Not sure if more build scripts depend on this directory.

@pseiler pseiler closed this as completed Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants