Newbie Install Question

James Gray james at grayonline.id.au
Fri Mar 18 09:31:01 UTC 2005


On Fri, 18 Mar 2005 04:00 pm, Tab Gilbert wrote:
> Is this only going back to you and not posting to the list cause
> hitting reply only brings ups your address
> -----Guess I will just send and check----

Yep only went to me.  Changed the reply-to address for this one so if you 
reply to this it will go to the group.

> ---
> tab at ubuntutab:~ $ cd parano-0.2.0
> tab at ubuntutab:~/parano-0.2.0 $ ls
> aclocal.m4    COPYING              intltool-update.in  mkinstalldirs  
> src AUTHORS       INSTALL              Makefile.am         NEWS          
>  TODO ChangeLog     install-sh           Makefile.in        
> parano.desktop configure     intltool-extract.in  mime                po
> configure.in  intltool-merge.in    missing             README
> tab at ubuntutab:~/parano-0.2.0 $ sudo sh INSTALL
> Password:
> INSTALL: line 1: syntax error near unexpected token `C'
> INSTALL: line 1: `Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001,
> 2002 Free Software'
> tab at ubuntutab:~/parano-0.2.0 $ sudo sh install-sh
> install-sh: no input file specified
> tab at ubuntutab:~/parano-0.2.0 $
> ----
> Please ignore the INSTALL mistake.  Does that "missing" means what it
> usually means or has the Mac world ruined me and I missed something
> else small and obvious.  I guess the default me-think is s p a c e is
> bad.

install-sh is normally used later in the install process by a script - I 
don't normally run this manually.

To compile from source on Linux (and most other *nix platforms) it is a 
three step process.  Steps 1 and 2 can usually be accomplished as a normal 
user, the third step needs to be done as root (or sudo) if you want to make 
the installation system-wide (for everyone).  Here's the run down:

1. ./configure --with-any-options
   Look in any "README" or "INSTALL" files for what configuration options
   are applicable - normally you shouldn't need anything.  Defaults are OK.

2. make
   This is what actually compiles the source code into binary.  (There's
   more to it that that, but I'm trying to keep this simple).

3. make install *or* sudo make install
   This installs the binaries into your normal system tree, eg /usr/bin or
   /usr/local/bin etc.

BTW - these instructions (worded slightly differently) are in the 
".../parano-0.2.0/INSTALL" file.  To view it type "less INSTALL".  While 
we're in an RTFM mood, "less README" while you're at it :P

Have fun.

Cheers,

James
-- 
default, n.:
	[Possibly from Black English "De fault wid dis system is you,
mon."] The vain attempt to avoid errors by inactivity.  "Nothing will
come of nothing: speak again." -- King Lear.
		-- Stan Kelly-Bootle, "The Devil's DP Dictionary"




More information about the ubuntu-users mailing list