Re: Can I install non debian source packages?

2004-06-02 Thread Richard Cobbe
Lo, on Tuesday, June 1, Thomas Adam did write:

  --- James Sinnamon [EMAIL PROTECTED] wrote: 
 
  I am running 'testing' and am considering changing to 'unstable'.  
  
  In any case, does this site give me any clues about how to go about 
  building non-Debian applications from source archives?  
  
  ... or do I just try to run ./configure, then make etc, as normally 
  instructed within the package documentation?
 
 Why are you compiling it? Either way, you'll need to ensure that you have:
 
 build-essential
 
 installed. Then it is simply (ha!) a case of:
 
 ./configure [--options]  make  su -c 'make install'
 
 [--options] to ./configure is optional -- it depends how rich a
 feature-set you want. make install must be run as root.
  
 But unless you have a reason not to, I suggest using .deb packages
 whenever you can.

You can mitigate some of the annoyances of installing a package manually
and recover a few of the advanced features provided by dpkg (in
particular, package removal) by using stow.  Stow itself is available as
a deb; see the included docs for more details.

Brief summary: with stow, you install each source package into a
separate directory (usually under /usr/local/stow, although that's
configurable); stow then creates symlinks to make it look as though the
program is in /usr/local/bin, /usr/local/lib, /usr/local/man, etc.
Removing a package is a breeze: use stow to get rid of the symlinks,
then delete the package's directory.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can I install non debian source packages?

2004-06-01 Thread James Sinnamon
Dear Debian Users,

(I am sure that this must be a FAQ, but I couldn't spot any FAQ 
for this one.)

If I want to install a package  with a version number later than what 
exists as a Debian package (I had in mind Zope and Plone), is there 
any reason that I should not do so?  ... as long as I am prepared
to set up the environment, configure it, build it, and also install 
whatever other packages on which the package depends?

TIA.

James

-- 
James Sinnamon
jps at westnet com auStralia
ph +61 412 319669, +61 2 95692123, +61 2 95726357


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can I install non debian source packages?

2004-06-01 Thread Thomas Adam
 --- James Sinnamon [EMAIL PROTECTED] wrote: #

 If I want to install a package  with a version number later than what 
 exists as a Debian package (I had in mind Zope and Plone), is there 
 any reason that I should not do so?  ... as long as I am prepared
 to set up the environment, configure it, build it, and also install 
 whatever other packages on which the package depends?

That's fine. If you're running debian woody, see:

http://www.apt-get.org

-- Thomas Adam

=
The Linux Weekend Mechanic -- http://linuxgazette.net
TAG Editor -- http://linuxgazette.net

shrug We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)

Send instant messages to your online friends http://uk.messenger.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can I install non debian source packages?

2004-06-01 Thread James Sinnamon
Thomas,

On Tue, 1 Jun 2004 05:41 pm, Thomas Adam wrote:
  --- James Sinnamon [EMAIL PROTECTED] wrote: #

  If I want to install a package  with a version number later than what
  exists as a Debian package (I had in mind Zope and Plone), is there
  any reason that I should not do so?  ... as long as I am prepared
  to set up the environment, configure it, build it, and also install
  whatever other packages on which the package depends?

 That's fine. 

Thank you, I think that answers my question, but ...

 If you're running debian woody, see:

 http://www.apt-get.org

I am running 'testing' and am considering changing to 'unstable'.  

In any case, does this site give me any clues about how to go about 
building non-Debian applications from source archives?  

... or do I just try to run ./configure, then make etc, as normally 
instructed within the package documentation?

Thanks again,

regards,

James

-- 
James Sinnamon
jps at westnet com auStralia
ph +61 412 319669, +61 2 95692123, +61 2 95726357


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can I install non debian source packages?

2004-06-01 Thread Thomas Adam
 --- James Sinnamon [EMAIL PROTECTED] wrote: 

 I am running 'testing' and am considering changing to 'unstable'.  
 
 In any case, does this site give me any clues about how to go about 
 building non-Debian applications from source archives?  
 
 ... or do I just try to run ./configure, then make etc, as normally 
 instructed within the package documentation?

Why are you compiling it? Either way, you'll need to ensure that you have:

build-essential

installed. Then it is simply (ha!) a case of:

./configure [--options]  make  su -c 'make install'

[--options] to ./configure is optional -- it depends how rich a
feature-set you want. make install must be run as root.
 
But unless you have a reason not to, I suggest using .deb packages
whenever you can.

Does that help?

-- Thomas Adam

=
The Linux Weekend Mechanic -- http://linuxgazette.net
TAG Editor -- http://linuxgazette.net

shrug We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)






Yahoo! Messenger - Communicate instantly...Ping 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]