Núcleo doesn't compile (Núcleo now compiled, but Metisse doesn't compile)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Do you think running a search-and-replace that changes "png_set_gray_1_2_4_to_8" to "png_set_expand_gray_1_2_4_to_8" over the Núcleo source would fix it, or at least fix part of it??
find . -type f -exec sed --in-place 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:g' {} ;
I'm not all too good with sed so...
It looks like it might work.
I don't think you can harm your system at all like that.
At worst you'd have to reinstall stuff pertaining to libpng so I think you're okay. Thing is that looks like it's supposed to work in the current directory so it wouldn't be possible to harm your system like that.
I tried running it on the Núcleo source and it just messed it up, didn't even compile a little bit.
I will try something else, though: prepend '#define png_set_gray_1_2_4_to_8 png_set_expand_gray_1_2_4_to_8\n' to every .c, .h, .cc, .cpp, and .cxx file.
I know that you can append to a file using ">>", but how do you prepend to one?
I tried running it on the Núcleo source and it just messed it up, didn't even compile a little bit.
I will try something else, though: prepend '#define png_set_gray_1_2_4_to_8 png_set_expand_gray_1_2_4_to_8\n' to every .c, .h, .cc, .cpp, and .cxx file.
I know that you can append to a file using ">>", but how do you prepend to one?
Anyway, I would like to use the AUR package instead of make install. Is there a way to have makepkg run my pipeline on the source code before compiling?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.