LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   "no targets specified and no makefile found" (http://www.linuxquestions.org/questions/linux-software-2/no-targets-specified-and-no-makefile-found-272200/)

liljhand 12-31-2004 01:19 AM

"no targets specified and no makefile found"
 
hi ppl

i wuz trying to install gaim( in xandros) using the console but i get the "no targets specified and no makefile found" error message after i type make. i checked the forums and found out that it is due to Makefile missing in the directory but it was there. HELP!!!

alitrix 12-31-2004 04:06 AM

First of all, if ./configure had a error then Makefile won't be created

Incase that isn't the problem , can you please give us a list of the files you have in the dir? (`ls -al` plz)

liljhand 12-31-2004 04:08 AM

well there r three make file in it:
Makefile.am
Makefile.in
Makefile.mingw

there r lots of other files too though. u need their names too?

alitrix 12-31-2004 04:16 AM

Yes, if you can do a ls -al and show me the output?
(maybe there is autogen.sh and stuff like that)

jschiwal 12-31-2004 07:38 AM

Is there a 'configure.in' or 'configure.ac'? If so, check out 'man autoconf' to produce a ./configure script.

liljhand 12-31-2004 02:08 PM

well when i try ./configure it gives an error :

configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

so what do i do now. i saw the config.log file and it too long to show here. do u want any part of it?/

teckk 12-31-2004 10:03 PM

You did not say what distro you have installed.

It looks like you do not have a compiler installed.
You need to install gcc and related files.

Install gcc from your distro's install disks. If you need help installing gcc advise which Linux distro that you are using and someone will point you in the right direction.

After you install gcc, most software can be compiled with something similar to
./configure
make
su
password
make install

If you have a .tar or .tar.gz file then extract the contents to a folder of your choosing and read the README and INSTALL files for instructions on installing the software.

liljhand 01-01-2005 02:14 AM

well i installed all of them and ./configure and make went fine. then as root when i typed make install it gave some error like there is nothing to do etc etc.

my distro is xandros

teckk 01-01-2005 07:33 AM

When you switched user to root were you still in the same folder as you did make in? Or when you switched were you then in root's home folder? If there was nothing to do, sounds like you switched folders maybe.

liljhand 01-01-2005 01:54 PM

i think that s it


All times are GMT -5. The time now is 01:32 AM.