ygrek / mldonkey

cross-platform multi-network p2p daemon (previously at http://mldonkey.sourceforge.net/)
Other
253 stars 46 forks source link

make "no targets" when installing on ubuntu 24.04 #114

Closed Andres-Chandia closed 1 month ago

Andres-Chandia commented 2 months ago

git clone https://github.com/ygrek/mldonkey.git cd mldonkey sudo apt install zlib1g-dev sudo apt install m4 sudo apt install libgd2-dev ./configure ........... Now execute 'gmake' to start compiling. Good luck!

make make: *** No targets. Stop.

gmake gmake: *** No target was specified and no makefile was found. Stop.

carlonluca commented 2 months ago

The entire output may be useful. I currently build my docker image on noble, and it seems to work fine: https://github.com/carlonluca/docker-mldonkey.

ygrek commented 2 months ago

please wrap pasted output in ``` (triple backticks) show the generated Makefile

Andres-Chandia commented 2 months ago

Thanks for answering, I attach config output in a file and also the Makefile file... config_outup.log generated_Makefile.txt

ygrek commented 1 month ago

config output looks normal Makefile didn't upload properly apparently

<Error>
<Code>InvalidRange</Code>
<Message>The requested range is not satisfiable</Message>
<RangeRequested>bytes=0-10485759</RangeRequested>
<ActualObjectSize>0</ActualObjectSize>
<RequestId>5ZYHW1B4PPDYECS3</RequestId>
<HostId>bKfer55IahSRxp0w91JUiErngZ2EODNq88J9ITj5cMqhk1cUx66mWs/B3WPALmiakfa6fXerYEg=</HostId>
</Error>

it should be small enough you can paste it directly here

Andres-Chandia commented 1 month ago

Thanks again for answering and sorry for taking me so long to come back... 1st. the Makefile has 5445 lines, so is not that small, at least in what concerns to lines, so I upload it again but compressed. 2nd. probably by installing dependencies and other stuff my old mldonkey installation is running again, so I will keep that one... Makefile.tar.gz

ygrek commented 1 month ago

makefile looks normal, what about config/Makefile.config?

Andres-Chandia commented 1 month ago

Here it goes... MakefileConfig.tar.gz

ygrek commented 1 month ago

also looks good i re-read your original report, it says : "gmake: *** No target was specified and no makefile was found. Stop."

no makefile was found

but you do provide Makefile this is strange? do it afresh, show the output with command prompts and show output of ls -hlA and find if it fails same way

Andres-Chandia commented 1 month ago

Hi, thanks for all the attention you have put into this issue. Today, my previous installation stop working so I have gone through all the process again, and it did work... Probably recompiling with all the dependencies fulfilled made the difference, I really don't know... But thanks again, it is working as expected...