|
Home > Archive > Debian Developers > December 2004 > Article about apt-build
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Article about apt-build
|
|
|
|
| Chasecreek Systemhouse 2004-12-23, 2:47 am |
| On Wed, 22 Dec 2004 20:52:58 +0100, Julien Danjou <acid@debian.org> wrote:
> Hello,
>
> I have translated a french article about apt-build. This is a quick
> introduction about its usage.
> I hope this could help some people to use this software and to make it
> better by sending patches, for example. :-)
>
> apt-build: http://packages.debian.org/unstable/devel/apt-build
> French: http://shaddai.nerim.net/apt-build/
> English: http://julien.danjou.info/article-apt-build.html
Very nice -- however, I guess I was naive in believing/hoping that the
debian package developers (who packed their software for Architecture
X - say Ultrasparc in my case) would know and already have set the
appropriate performance/compatibility settings for the target platform
when creating the deb package.
apt-get install package
apt-get build-dep package (but only if required.)
The above are some of the reasons I use Debian -- otherwise, in my
case, I could just go to the respective software sites and download
the tar balls and build them myself; thus I would be acting like I do
whe using RH9 or FC.
And, as a small example, trying to get Apache2 compiled into this:
Apache/2.0.52 (Debian GNU/Linux) mod_perl/1.99_14 Perl/v5.8.4
mod_python/3.1.3 Python/2.3.4 PHP/4.3.10-2 mod_ssl/2.0.52
OpenSSL/0.9.7e
Isn't something I really want to keep track of any longer. Apache is
something I'm very familiar with and building all the
cross/co-dependencies can be a real pain at times.
My question to you is -- Would building all source from Debian scratch
myself using apt-build make my system more stable and faster? Or
would I be prone to sending you funny e-mails after I've destroyed my
server? =)
--
WC -Sx- Jones
http://insecurity.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| David Schmitt 2004-12-23, 2:47 am |
| On Wed, Dec 22, 2004 at 10:23:08PM -0500, Chasecreek Systemhouse wrote:
> My question to you is -- Would building all source from Debian scratch
> myself using apt-build make my system more stable and faster? Or
> would I be prone to sending you funny e-mails after I've destroyed my
> server? =)
If you build from unaltered sources you would also get the same
optimisations.
If you alter the sources to include more aggressive optimization, you
get untested binaries which may or may not work as those distributed by
Debian.
Regards, David
--
* Customer: "My palmtop won't turn on."
* Tech Support: "Did the battery run out, maybe?"
* Customer: "No, it doesn't use batteries. It's Windows powered."
-- http://www.rinkworks.com/stupid/cs_power.shtml
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Julien Danjou 2004-12-23, 7:48 am |
| On Wed, Dec 22, 2004 at 10:23:08PM -0500, Chasecreek Systemhouse wrote:
> My question to you is -- Would building all source from Debian scratch
> myself using apt-build make my system more stable and faster? Or
> would I be prone to sending you funny e-mails after I've destroyed my
> server? =)
I think it would make your system more flexible since you will be able
to upgrade more easily, and to use Debian dependancies (not possible if
you simply use tarball from upstream source).
I hope it answers to your question,
Cheers,
--
Julien Danjou
.''`. Debian developer
: :' : http://julien.danjou.info
`. `' http://people.debian.org/~acid
`- 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD
| |
| Chasecreek Systemhouse 2004-12-25, 7:25 pm |
| OK :-)
I have played with it a bit and find it will not download things like
openoffice.org or gnome-core
Maybe Im mis-understanding the configuration or the intent of apt-build?
I know openoffice.org is a source package available via apt-get
source|build-dep etc...
???
--
WC -Sx- Jones
http://insecurity.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Chasecreek Systemhouse 2004-12-25, 7:25 pm |
| =)
Well, not to follow up to my own post but ... something as simple as
apt-build install top doesnt work.
I guess I have no idea what I'm going to use apt-build for - or maybe
I'm just so accustomed to building/installing everything into
/usr/local/ (I mean I compile software for Solaris, Debian, RH9, and
FC) that I can't comprehend any other way to compile software.
/usr/local is just easy for me to keep straight in my head I guess.
BTW -
SparcV9 is really ultrasparc:
-mcpu=ultrasparc
-mtune=v9
-march isn't used -- at least not in the version of gcc (3.3.5) which
Debian ships.
Overall I like apt-build and will prolly enjoy it more as I get
more away from using /usr/local and trying to stay within Debians
main-stream system configuration...
--
WC -Sx- Jones
http://insecurity.org/
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| George Danchev 2004-12-25, 7:25 pm |
| On Saturday 25 December 2004 20:45, Chasecreek Systemhouse wrote:
--cut--
> Overall I like apt-build and will prolly enjoy it more as I get
>
> more away from using /usr/local and trying to stay within Debians
> main-stream system configuration...
You can also try sbuild, apt-src, pbuilder and apt-fu (still unofficial) from
deb & deb-src http://des.petta-tech.bogomips.org/~eric/apt-fu/ ./
It would be good if these join forces with each other, or maybe it would
not ;-)
the information found in that article along with some short examples about
apt-build is tried to be documentaed in bulgarian:
http://debian-book-bg.openfmi.net/s...lit/node89.html
(sorry, not translated in english ;-)
Happy holidays to all of you.
--
pub 4096R/0E4BD0AB 2003-03-18 <keyserver.bu.edu ; pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Chasecreek Systemhouse 2004-12-25, 8:46 pm |
| On Sat, 25 Dec 2004 21:42:14 +0200, George Danchev <danchev@spnet.net> wrote:
> You can also try sbuild, apt-src, pbuilder and apt-fu (still unofficial) from
> deb & deb-src http://des.petta-tech.bogomips.org/~eric/apt-fu/ ./
Wasn't it Larry Wall who said "Do we need 10 ways to do something?"
Almost makes me want to stick with /usr/local
:-D
--
WC -Sx- Jones
http://insecurity.org/
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Sam Watkins 2004-12-26, 2:47 am |
| On Sat, Dec 25, 2004 at 09:29:07PM -0500, Chasecreek Systemhouse wrote:
> Wasn't it Larry Wall who said "Do we need 10 ways to do something?"
I think it was Larry Wall who said "there's more than one way to do it"
and invented an insane language (perl) in which there are 15 billion
confusing ways to do anything. So Larry is not supporting your
argument! 
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Russ Allbery 2004-12-26, 2:47 am |
| In linux.debian.devel, Sam Watkins <swatkins@fastmail.fm> writes:
> On Sat, Dec 25, 2004 at 09:29:07PM -0500, Chasecreek Systemhouse wrote:
[vbcol=seagreen]
> I think it was Larry Wall who said "there's more than one way to do it"
> and invented an insane language (perl) in which there are 15 billion
> confusing ways to do anything. So Larry is not supporting your
> argument! 
I think this is the quote that the OP was thinking of:
Although the PERL Slogan is There's More Than One Way to Do It, I hesitate
to make 10 ways to do something. :-)
Larry Wall
<9695@jpl-devvax.JPL.NASA.GOV>
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Tollef Fog Heen 2004-12-26, 7:47 am |
| * Sam Watkins
| I think it was Larry Wall who said "there's more than one way to do it"
| and invented an insane language (perl) in which there are 15 billion
| confusing ways to do anything. So Larry is not supporting your
| argument! 
TIMTOWTDI is more of a warning than anything else. That you _can_ do
things in various ways doesn't mean you should.
--
Tollef Fog Heen ,''`.
UNIX is user friendly, it's just picky about who its friends are : :' :
`. `'
`-
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
|
|