[SOLVED] make[1]: Nothing to be done for `all-am' problem while using make
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.
make[1]: Nothing to be done for `all-am' problem while using make
Hello,
I've been trying to install several different programs in time, but in some of them, while running make (or sudo make), I get errors similar to: (this one was while installing chmlib)
Code:
Making all in src
make[1]: Entering directory `/home/user/Desktop/chmlib-0.40/src'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/user/Desktop/chmlib-0.40/src'
make[1]: Entering directory `/home/user/Desktop/chmlib-0.40'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/user/Desktop/chmlib-0.40'
Could you please tell me how can I solve this, or where is the problem? Thanks.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
'chmlib-0.40' : When you run 'make', everything is compiled in two seconds.
? May be you didn't notice, what happened, and did 'make' another time.
Which is the only way, you will get the "information / message" :
"" make[1]: Nothing to be done for `all-am'.""
Please try : 'make clean', and then watch 'make' again.
In some other applications there are really nothing to do, when you run make.
They will also reply : 'Nothing to be done for all..' or similar.
Markush: I am not sure, that's the thing. It first happened to me when I was installing alsa-oss, and these audio things are kinda buggy for me, because I am using older motherboard now. So I am not sure....
Knudfl: Ok, did it. It looks like it compiler everything right, except the "default" (where is my current path) directory, which again, gives me "Nothing to do" error. I guess it's done correct then, or not?
Knudfl: I am sorry for my English, I am not nationally speaking it. So, by "default" directory or current path I mean current working (active) directory, the one, which is the result of using pwd command. hope it's better
There is no default location for building applications / libraries.
The most used is /home/<name>/tmp/<app>/ or similar.
Directories outside /home/<name> : Not meant for building.
A directory does not turn into "active" or "working", when you use it.
A directory is just a placeholder for some files.
( EDIT : The currently used directory ( $(pwd) ) is named "working directory".)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.