LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 08-11-2009, 05:33 PM   #1
mbg_gayed
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Rep: Reputation: 0
problem when dealing with tar.gz files on ubuntu


after extracting .tar.gz file and execute the following commands according to README instructions file :
./configure
make
make install

./configure command goes very fine ,but when i tried to execute both make & make install commands ,this msgs appear :
1-for make command:
make: *** No targets specified and no makefile found. Stop.
2-for make install command:
make: *** No rule to make target `install'. Stop.

what should i do ? any help !!
 
Old 08-12-2009, 09:49 AM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux
Posts: 1,062

Rep: Reputation: 101Reputation: 101
For make and make install commands, root privileges are needed. Did you run it as root (or with sudo)?
 
Old 08-12-2009, 10:03 AM   #3
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,751
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
Originally Posted by mbg_gayed View Post
1-for make command:
make: *** No targets specified and no makefile found. Stop.
Then configure didn't go well after all. Rerun the configure script and pay close attention to the output. Obviously if there is no Makefile, make install won't work either.

You do NOT have to be root to execute make or even make install. In fact, there should be no reason to execute make as root; its a bad habit to get into so I recommend you not start. You only need to be root to install system-wide. You can also install in your $HOME which would not require root privileges.
 
Old 08-12-2009, 12:43 PM   #4
mbg_gayed
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Original Poster
Rep: Reputation: 0
make file doesn't exist ,while make install file is already exist ,and I'm still can't execute make command !!
 
Old 08-12-2009, 12:46 PM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
Then configure didn't go well after all. Rerun the configure script and pay close attention to the output.
 
Old 08-12-2009, 12:53 PM   #6
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,849

Rep: Reputation: Disabled
Quote:
Originally Posted by mbg_gayed View Post
make file doesn't exist ,while make install file is already exist ,and I'm still can't execute make command !!
Sorry but what you say doesn't make any sense. Is there a file called "Makefile"? If it doesn't exist then you cannot run
Code:
make
and if you cannot run make, then you cannot run
Code:
# make install
Weibullguy is correct that you don't (need to) run make as root. Normally what you compile gets put in /usr/local (though you can specify otherwise) and so normally you do need to run make install as root.
cheers,
jdk
 
Old 08-12-2009, 01:34 PM   #7
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,751
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
What package are you trying to build? Did you check the md5sum after you downloaded the tarball?

If a Makefile doesn't exist, then configure didn't work or the file is corrupt and not working the way it should. That's, fundamentally, what the configure script is for...to create a Makefile from Makefile.in. You likely are seeing a script named install-sh. This is a script used to install the package components on systems that don't have the install command.

So, rerun the configure script and pay close attention to the output. If you don't see anything obvious, post the last 20-30 lines of output from the configure script.

Last edited by weibullguy; 08-12-2009 at 01:36 PM.
 
Old 08-12-2009, 04:29 PM   #8
mbg_gayed
LQ Newbie
 
Registered: Feb 2009
Posts: 12

Original Poster
Rep: Reputation: 0
here's the output :

Quote:
mbg@MBG:~/Desktop/liferea-1.6.0$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... ./configure: line 11237: intltool-update: command not found
found
configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
 
Old 08-12-2009, 05:26 PM   #9
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,751
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
Code:
checking for intltool >= 0.35.0... ./configure: line 11237: intltool-update: command not found
found
configure: error: Your intltool is too old. You need intltool 0.35.0 or later.
Update or install intltool, then re-execute configure. Better yet, use your package manager to install Liferea. It's a common package and I'm sure its available.
 
Old 08-15-2009, 12:13 AM   #10
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux
Posts: 1,062

Rep: Reputation: 101Reputation: 101
source with regular

Quote:
Originally Posted by weibullguy View Post
You do NOT have to be root to execute make or even make install.
I rarely install source packages, and instead rely almost exclusively on pre-compiled deb packages for my distro. When I have installed source packages in the past, I've needed to be root for the "make install" command. However, your post inspired me to look a bit further into this, and I discovered that if I added my user to the group "staff", that my user then became able to run the "make install" command when installing to the /usr/local directory.

Learn something new every day. This, in fact, will make me less hesitant in the future to install source packages. In fact, I installed my favourite file manager, emelfm, just now (emelfm was in Etch, but not Lenny, for some reason -- but it's now in my desktop thanks to your post).

Last edited by mark_alfred; 08-15-2009 at 12:18 AM.
 
Old 08-15-2009, 07:45 AM   #11
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,650

Rep: Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525Reputation: 525
Or, if you use ./configure's --prefix flag, you can install to anywhere, for example your home directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
Is it possible to install .tar.gz files on ubuntu deathalele Linux - Software 2 07-20-2008 12:23 PM
how do i install .tar.bz2 files on ubuntu? kriogenic Linux - Newbie 11 02-14-2006 11:26 AM
dealing with .rar files in linux? dr_zayus69 Linux - Software 2 12-12-2004 01:25 AM
dealing with .tgz files Kaiser Linux - Software 3 12-25-2003 07:51 AM


All times are GMT -5. The time now is 07:28 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration