doc troubles.

Started by Darren Kingabout 28 years ago13 messageshackers
Jump to latest
#1Darren King
darrenk@insightdist.com

What version of tar understands how to ungzip a .gz file?

Is this what the 'z' flag is for?

Untar'd and installed them manually...look good, Thomas. Nice work.

darrenk

#2Bruce Momjian
bruce@momjian.us
In reply to: Darren King (#1)
Re: [HACKERS] doc troubles.

What version of tar understands how to ungzip a .gz file?

Is this what the 'z' flag is for?

Untar'd and installed them manually...look good, Thomas. Nice work.

gunzip.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)
#3The Hermit Hacker
scrappy@hub.org
In reply to: Darren King (#1)
Re: [HACKERS] doc troubles.

On Mon, 2 Mar 1998, Darren King wrote:

What version of tar understands how to ungzip a .gz file?

Is this what the 'z' flag is for?

gnu tar supports the 'z' flag to uncompress and untar at the same
time...

Untar'd and installed them manually...look good, Thomas. Nice work.

Ya, I've built the Solaris packages with PGDOC set to
$POSTGRESDIR/doc, so that the docs are part of the one package...:)

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org

#4Darren King
darrenk@insightdist.com
In reply to: The Hermit Hacker (#3)
Re: [HACKERS] doc troubles.

What version of tar understands how to ungzip a .gz file?

Is this what the 'z' flag is for?

gnu tar supports the 'z' flag to uncompress and untar at the same
time...

This sucks. As a group that seems to not like GNU (or at least their
license), we require enough of their tools to compile/install postgres.

Off to see the wizard at the gnu ftp site...

Untar'd and installed them manually...look good, Thomas. Nice work.

Ya, I've built the Solaris packages with PGDOC set to
$POSTGRESDIR/doc, so that the docs are part of the one package...:)

Is that what $POSTDOCDIR is for in the Makefile.global? Would this be
a candidate for "--doc-prefix=" to be added to configure? I'd like to
be able to put the html docs under my web root instead of the postgres
root dir.

darrenk

#5Thomas Lockhart
lockhart@alumni.caltech.edu
In reply to: Darren King (#4)
Re: [HACKERS] doc troubles.

What version of tar understands how to ungzip a .gz file?

Is this what the 'z' flag is for?

gnu tar supports the 'z' flag to uncompress and untar at the same
time...

This sucks. As a group that seems to not like GNU (or at least their
license), we require enough of their tools to compile/install postgres.

Off to see the wizard at the gnu ftp site...

Quit whining and send in some patches :) I hacked those makefiles at the end
of a 10 hour push to get the docs wrapped up. The best thing that could be
said for them is that they seemed to work on my machine (and I guess on
postgresql.org now that I think about it).

Could we just replace the "tar zxf" with "uncompress ... | tar xf"? Does
anyone else have a strong opinion on (or experience with) makefiles for the
postgres distribution who want to help Darren get out from under the gnu
usage??

- Tom

#6The Hermit Hacker
scrappy@hub.org
In reply to: Darren King (#4)
Re: [HACKERS] doc troubles.

On Mon, 2 Mar 1998, Darren King wrote:

What version of tar understands how to ungzip a .gz file?

Is this what the 'z' flag is for?

gnu tar supports the 'z' flag to uncompress and untar at the same
time...

This sucks. As a group that seems to not like GNU (or at least their
license), we require enough of their tools to compile/install postgres.

Actually, I have nothing against GNU...its the GPL that I don't
like :) Big big difference...

Is that what $POSTDOCDIR is for in the Makefile.global? Would this be
a candidate for "--doc-prefix=" to be added to configure? I'd like to
be able to put the html docs under my web root instead of the postgres
root dir.

Actually, I had to edit the Makefile in the doc directory directly
to get it to install where I wanted...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org

#7Thomas Lockhart
lockhart@alumni.caltech.edu
In reply to: The Hermit Hacker (#6)
Re: [HACKERS] doc troubles.

Is that what $POSTDOCDIR is for in the Makefile.global? Would this be
a candidate for "--doc-prefix=" to be added to configure? I'd like to
be able to put the html docs under my web root instead of the postgres
root dir.

Actually, I had to edit the Makefile in the doc directory directly
to get it to install where I wanted...

It looks for Makefile.global->Makefile.custom, in which you could put

PGDOCS= /your/favorite/docs/location

but I'm sure it could stand some changes. Didn't know there was a POSTDOCDIR
already defined :(

- Tom

#8Bruce Momjian
bruce@momjian.us
In reply to: Thomas Lockhart (#5)
Re: [HACKERS] doc troubles.

Could we just replace the "tar zxf" with "uncompress ... | tar xf"? Does
anyone else have a strong opinion on (or experience with) makefiles for the
postgres distribution who want to help Darren get out from under the gnu
usage??

I have gnzip, but no GNU tar, so tar zxf doesn't work. Maybe gunzip ...
| tar xf.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)
#9Darren King
darrenk@insightdist.com
In reply to: Bruce Momjian (#8)
Re: [HACKERS] doc troubles.

What version of tar understands how to ungzip a .gz file?

Is this what the 'z' flag is for?

gnu tar supports the 'z' flag to uncompress and untar at the same
time...

This sucks. As a group that seems to not like GNU (or at least their
license), we require enough of their tools to compile/install postgres.

Off to see the wizard at the gnu ftp site...

Quit whining and send in some patches :) I hacked those makefiles at the end
of a 10 hour push to get the docs wrapped up. The best thing that could be
said for them is that they seemed to work on my machine (and I guess on
postgresql.org now that I think about it).

I didn't send patches since I wasn't sure if you were still working on it.

Something like "gzip -dc file.tar.gz | tar -xvf -" uncompress' it in place.
I'll play around with -C to move it around.

Could we just replace the "tar zxf" with "uncompress ... | tar xf"? Does
anyone else have a strong opinion on (or experience with) makefiles for the
postgres distribution who want to help Darren get out from under the gnu
usage??

I don't really have a problem with gnu stuff, but the machine that I put
postgres on is a development machine here for other folks too. Also used
for the src for our product line. I can't just go drop in a new tar or
what not...

Darren

#10Andreas Zeugswetter
andreas.zeugswetter@telecom.at
In reply to: Darren King (#9)
Re: [HACKERS] doc troubles.

Could we just replace the "tar zxf" with "uncompress ... | tar xf"? Does
anyone else have a strong opinion on (or experience with) makefiles for

the

postgres distribution who want to help Darren get out from under the gnu
usage??

Best is: (believe me, really uncompress will not work nor zcat, I use it for
SAP DB backup, it works)
gzip -cd <somefile>.tar.gz | tar -xvf -

Andreas

#11Thomas Lockhart
lockhart@alumni.caltech.edu
In reply to: Darren King (#9)
Re: [HACKERS] doc troubles.

This sucks. As a group that seems to not like GNU (or at least their
license), we require enough of their tools to compile/install postgres.

Quit whining and send in some patches :) I hacked those makefiles at the end
of a 10 hour push to get the docs wrapped up. The best thing that could be
said for them is that they seemed to work on my machine (and I guess on
postgresql.org now that I think about it).

I didn't send patches since I wasn't sure if you were still working on it.

Not until I get some ideas on what would work better on more platforms...

Something like "gzip -dc file.tar.gz | tar -xvf -" uncompress' it in place.
I'll play around with -C to move it around.

Well, can't "uncompress" work with gzip'd files? I recall that it can, but that
may have been on a box (Dec Alpha?) with some upgraded "uncompress" capabilities.
If it can work, then we should do something like

uncompress -c file.tar.gz | tar xf -

to get away from any non-generic utilities. Is zcat (== uncompress -c) standard
on all machines?

btw, for generating the docs tar files I used "--exclude='*.sgml'" options on
tar. Is that gnu-specific also?

- Tom

#12Bruce Momjian
bruce@momjian.us
In reply to: Thomas Lockhart (#11)
Re: [HACKERS] doc troubles.

to get away from any non-generic utilities. Is zcat (== uncompress -c) standard
on all machines?

btw, for generating the docs tar files I used "--exclude='*.sgml'" options on
tar. Is that gnu-specific also?

Yep. Any --X option is GNU, I think.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)
#13The Hermit Hacker
scrappy@hub.org
In reply to: Thomas Lockhart (#11)
Re: [HACKERS] doc troubles.

On Tue, 3 Mar 1998, Thomas G. Lockhart wrote:

Well, can't "uncompress" work with gzip'd files? I recall that it can, but that
may have been on a box (Dec Alpha?) with some upgraded "uncompress" capabilities.
If it can work, then we should do something like

uncompress -c file.tar.gz | tar xf -

gzip -cd will uncompress 'compressed' files, but compress can't
touch 'gzip'd files...