[rrd-users] PHP Binding - php_rrdtool.tgz - Invalid Archive
Tobias Oetiker
tobi at oetiker.ch
Fri Aug 15 11:44:12 CEST 2008
Hi Christos,
it may be that the tgz archive gets unpacked by your browser ...
try
tar xvf php_rrdtool.tgz
whats more, is that modern version of gnu tar will add the missing z
(or j) if necessary on their own anyway ...
cheers
tobi
Today Christos Vasilakis wrote:
> Bernard Li wrote:
> > Hi Christos:
> >
> > On Sat, Aug 9, 2008 at 1:41 PM, Christos Vasilakis
> <cvasilak at gmail.com> wrote:
> >
> >> I tried to download the php_rrdtool.tgz from the contrib directory
> >> http://oss.oetiker.ch/rrdtool/pub/contrib/) but unfortunately when I try
> >> to open it I get an error of invalid archive (under Linux)
> >
> > # wget http://oss.oetiker.ch/rrdtool/pub/contrib/php_rrdtool.tgz
> > --14:18:57-- http://oss.oetiker.ch/rrdtool/pub/contrib/php_rrdtool.tgz
> > => `php_rrdtool.tgz'
> > Resolving oss.oetiker.ch... 213.144.138.195
> > Connecting to oss.oetiker.ch|213.144.138.195|:80... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 9,353 (9.1K) [text/plain]
> >
> >
> 100%[=======================================================================================>]
> > 9,353 41.76K/s
> >
> > 14:18:58 (41.69 KB/s) - `php_rrdtool.tgz' saved [9353/9353]
> >
> > # tar -zxvf php_rrdtool.tgz
> > rrdtool/
> > rrdtool/config.m4
> > rrdtool/php_rrdtool.h
> > rrdtool/rrdtool.c
> > rrdtool/rrdtool_logo.h
> >
> > Unless Tobi has already fixed this :-)
> >
> > Cheers,
> >
> > Bernard
> >
>
> Hi Bernard,
>
> I tried the same technique as yours using wget and works beautifully.
> Unfortunately though it fails miserably when you try to download it
> using a web browser(a more common thing to do I think). If you do
> through the browser, the tgz archive you download is invalid and can't
> be open. I tried the other tar.gz archives and they download and open
> fine. Only the php_rrdtool.tgz has the problem. I noticed though that
> when i click on the php_rrdtool.tgz the browser opens the contents
> inside the browser(garbage data) while with the other types of archive
> tar.gz when I click it offers me the option dialog to do a save as.
>
> The browser I use is Mozilla Firefox v.3.0.1 under Ubuntu Hardy
>
> Regards,
> Christos
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>
--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2327 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080815/b758b3d6/attachment.bin
More information about the rrd-users
mailing list