From: Jon Loeliger <jdl@freescale.com>
To: git@vger.kernel.org
Subject: Question Building Deb Packages
Date: Mon, 21 Nov 2005 20:53:30 -0600 [thread overview]
Message-ID: <E1EeOHi-0007Bx-HH@jdl.com> (raw)
Guys,
So, a long and twisty path (all alike) later, I have
a new desktop box with Ubuntu on it. So what.
It didn't have git on it at all, the proper git package wasn't
available directly, and I didn't know the location of an apt
source for one off the top of my head. So, first principles.
First, for the record, after you install ubuntu 5.10, you
have to install a whole bunch of normal stuff, like, a compiler.
When you get done with that, I also had to apt-get install some
form of these:
linux-kernel-headers
libc6-dev
libssl-dev
libcurl3-dev
libexpat-dev
openssl
zlib1g-dev
asciidoc
xmlto
fakeroot
The control file lists these:
Build-Depends-Indep: libz-dev, libssl-dev,
libcurl3-dev|libcurl3-gnutls-dev|libcurl3-openssl-dev,
asciidoc (>= 7), xmlto, debhelper (>= 4.0.0),
bc, libexpat-dev
So, that is in pretty-good agreement. The last 3 in my list were
for "doc" and "deb" make targets, of course.
Second, I then decided to actually make the debian package
and attempt to install it from the 99.9j tarball directly
and then add that package to my system. No dice.
It _appears_ that the "deb" make target requires it to be
done in an actual git repository. This struck me as odd,
as I _think_ I have done an obvious progression:
- I don't have git, but want it
- I want to build it from a source drop, 0.99.9j
- Grab tarball, unpack, build it
- Build debian target
- Install just-built deb package
Later, of course, I can use that 'official' installation to
actually grab new (git) repositories and all. But I have to
bootstrap the mess, and I want to do that in a "controlled"
way. Namely, through the debian package target...
Did I get confused?
Thanks,
jdl
jdl@ubuntu:/usr/src/git-0.99.9j$ make prefix=/usr
make -C templates
make[1]: Entering directory `/usr/src/git-0.99.9j/templates'
: no custom templates yet
make[1]: Leaving directory `/usr/src/git-0.99.9j/templates'
jdl@ubuntu:/usr/src/git-0.99.9j$ make prefix=/usr deb
./git-tar-tree HEAD git-0.99.9j > git-0.99.9j.tar
usage: git-tar-tree <key> [basedir]
make: *** [dist] Error 129
jdl@ubuntu:/usr/src/git-0.99.9j$ ls .git*
.gitignore
next reply other threads:[~2005-11-22 2:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-22 2:53 Jon Loeliger [this message]
2005-11-22 5:01 ` Question Building Deb Packages Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1EeOHi-0007Bx-HH@jdl.com \
--to=jdl@freescale.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).