LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2012, 04:46 AM   #1
Maryam Sajedi
LQ Newbie
 
Registered: Aug 2012
Posts: 3

Rep: Reputation: Disabled
make: *** No targets specified and no makefile found. Stop.


I have installed Abinit-6.12.3 successfully and then made a file named work in desktop for my inputs but when I wanted to get outputs with this command I got that error below:


linux@linux-U80V:~/Desktop$ ~/Desktop/abinit-6.12.3/tests/tutorial/Refs/t11.out | more
bash: /home/linux/Desktop/abinit-6.12.3/tests/tutorial/Refs/t11.out: Permission denied
linux@linux-U80V:~/Desktop$ sudo make
make: *** No targets specified and no makefile found. Stop.

what shall I do then?

Last edited by Maryam Sajedi; 08-07-2012 at 04:56 AM.
 
Old 08-07-2012, 04:50 AM   #2
Maryam Sajedi
LQ Newbie
 
Registered: Aug 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
I have installed Abinit6.12.3 successfully and then made a file named work in desktop for my inputs but when I wanted to get outputs with this command I got that error below:


linux@linux-U80V:~/Desktop$ ~/Desktop/abinit-6.12.3/tests/tutorial/Refs/t11.out | more
bash: /home/linux/Desktop/abinit-6.12.3/tests/tutorial/Refs/t11.out: Permission denied
linux@linux-U80V:~/Desktop$ sudo make
make: *** No targets specified and no makefile found. Stop.

what shall I do then?

Last edited by Maryam Sajedi; 08-07-2012 at 04:57 AM.
 
Old 08-07-2012, 05:00 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
I've no experience with abinit, but you should be able to find the solution here:

http://www.abinit.org/documentation/...s/install.html
 
1 members found this post helpful.
Old 08-07-2012, 05:08 AM   #4
Maryam Sajedi
LQ Newbie
 
Registered: Aug 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
make: *** No targets specified and no makefile found. Stop.

Quote:
Originally Posted by brianL View Post
I've no experience with abinit, but you should be able to find the solution here:

http://www.abinit.org/documentation/...s/install.html
Sorry can you please simply tell me what to do to remove errors like this:

make: *** No targets specified and no makefile found. Stop.
 
Old 08-07-2012, 05:34 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

? Why are you using an "abinit-6.12.3" package, when you can do :
sudo apt-get install abinit


About the source code package abinit-6.12.3.tar.gz
http://ftp.abinit.org/abinit-6.12.3.tar.gz :
... Please read the file INSTALL, which says..
cd abinit-6.12.3/ && ./configure && make (./make is a typo in "INSTALL")
.. To be done in the top directory.
And : No 'sudo make', please ! Unless you want troubles.
And : Please read './configure --help' for all options.

Prerequisites : sudo apt-get install \
g++ gfortran libatlas-dev libblas-dev liblapack-dev libopenmpi-dev

Quote:
make: *** No targets specified and no makefile found. Stop.
abinit-6.12.3/tests/tutorial/Refs/ :
There is not supposed to be a Makefile in that location. Ever.
And : The 'make' command is for Makefile's only, not for a file like "t11.out"
Using abinit : http://www.abinit.org/documentation/

.

Last edited by knudfl; 08-07-2012 at 05:42 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installing libjpeg-turbo,make: *** No targets specified and no makefile found. Stop. Lumify Linux - Software 2 02-14-2012 07:15 AM
make: *** No targets specified and no makefile found. Stop. amritpalpathak Linux - Software 5 12-21-2011 02:27 AM
make: using targets, prerequisites from another Makefile Meson Programming 2 12-02-2011 12:53 PM
Problem installing MySQL 5.1.38: No targets specified and no makefile found. l33tmaster104 Linux - Newbie 7 09-12-2009 02:04 PM
*** No targets specified and no makefile found ritam_bkp Linux - Software 16 09-27-2008 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration