Mail Archives: cygwin-developers/1998/11/06/12:55:54
I have a small suggestion for Cygwin team when building binary net
distributions -- when configuring the native net distribution, please
use the "default" or recommended prefix and exec-prefix; when doing
a ``make install'', you can relocate the package somewhere else for
doing the packaging, so you lose nothing. It saves a lot of hassle
for those who install to the "default" or recommended location.
This is what I do (let's assume I'm building on native system for a
change ;-):
$ <srcdir>/configure --prefix=/Cygnus/cygwin-b20 \
--exec-prefix=/Cygnus/cygwin-b20/H-i586-cygwin32 [ ... ]
$ make
$ make prefix=/scratch/cygwin-b20 \
exec_prefix=/scratch/cygwin-b20/H-i586-cygwin32 install
Now the distribution is moved to the scratch location where you can do
your packaging, but the built-in names are correct for those who install
to the default location of /Cygnus/cygwin-b20.
Why does it help? For those packages that still use hard-code names,
bison for example, it's just easier to deal with from a user perspective.
B19 source tree still had a few quirks (such as the Tk Makefiles were
not using prefix and exec_prefix correctly), but b20 has those fixed and
it does work very well.
Regards,
Mumit
- Raw text -