LinuxQuestions.org
Visit Jeremy's Blog.
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 04-23-2004, 01:51 AM   #1
ashesh
Member
 
Registered: Feb 2003
Location: Kharagpur
Distribution: RH8, RH9, FC2
Posts: 112

Rep: Reputation: 15
difference between ./configure and ./filename


What is the difference between installing using ./configure and ./filename?

I have downloaded checkinstall-1.5.3-tar.gz

After unzipping, I tried to install saying ./configure and make etc.

But it said no duch file

But when I used ./checkinstall it installed without any probs.

What is the difference between these two installations methods.

I would like to use checkinstall for all my installation so that I can install via rpm, which make uninstalling easier in future.

But when untarred mozilla, the ,./configure file is not there and I am forced to say ./mozilla-installer
thus I am unable to install using checkinstall

Or is there something wrong in the way I am trying to use checkinstall
 
Old 04-23-2004, 01:56 AM   #2
miknight
Member
 
Registered: Oct 2002
Location: Sydney, Australia
Distribution: Gentoo, Ubuntu, Debian
Posts: 184

Rep: Reputation: 30
./configure just runs the program with the filename of "configure" in your current working directory. It just happens to come with most programs' source because it's a relatively standard way of configuring software before compilation takes place (with the 'make' command usually).

mozilla-installer is a program that installs the binary package of mozilla (binary meaning in this case that mozilla has already been compiled for you).

I'm not familiar with checkinstall.
 
Old 04-23-2004, 02:30 AM   #3
geniarse
Member
 
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
checkinstall uses ./checkinstall script to configure itself for compilation if I remember correctly. The only difference I expect is the developer decided on the different name.
 
Old 04-23-2004, 03:29 AM   #4
ashesh
Member
 
Registered: Feb 2003
Location: Kharagpur
Distribution: RH8, RH9, FC2
Posts: 112

Original Poster
Rep: Reputation: 15
Hi geniarse & miknight

How to use checkinstall to install files that have already been compiled?

Since one I install using tarballs, I will not be able to uninstall a software unless I have the uninstall script with the installation folder, I would like to use "checkinstall" a program that has been recommended in this forum.

The procedure for using checkinstall is as follows:

tar -xzvf filename-x.y.tar.gz
cd filename-x.y
./configure
make
suwd
checkinstall

This is assuming that checkinstall has already been installed. Checkinstalll has been installed as I have described previously. But now when I say checkinstall or man checkinstall, it says not found. But when I try to install using the checkinstall.rpm, it says, already installed.

Would like to install mozilla-1.6 and a number of other s/w. Hope someone can let me know where I am going wrong.
 
Old 04-23-2004, 01:25 PM   #5
geniarse
Member
 
Registered: May 2003
Location: UK
Distribution: Gentoo
Posts: 141

Rep: Reputation: 15
what distro are you using??? I know SuSE 8.2 comes with checkinstall (I use it myself, well used to. it reduses to work under mandrake 10) have u tried searching for the script/executable (I think it is a scrip) I'd guess it would be installed /usr/local. Then create a symbolic link to the file in /usr/bin using

ln -s /path/to/checkinstall /usr/bin/checkinstall

hope I helped, either dat or patronised you
 
  


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
change uploaded files from filename.avi to filename.avi.html like www.rapidshare.de latheesan Linux - Newbie 3 06-16-2005 04:33 AM
filename~ djc SUSE / openSUSE 2 02-14-2005 01:52 PM
filename- and filename~ files? slinky2004 Linux - Newbie 5 10-17-2004 10:32 PM
what is the difference between "configure" host and target? linuxlah Programming 3 09-18-2004 06:47 AM
filename? doodah Linux - General 3 04-29-2001 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:27 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration