[Bradford] Fun and games installing libpng14:-

David Spencer baildon.research at googlemail.com
Thu May 10 08:58:17 UTC 2018


> Fun and games installing libpng14:-
> 1 try to download the slackbuild scripts from github
> 2 copy&paste from github because there is no green download button

That's what the 'Raw' button is for -- Github's UI is not ideal until
you get the hang of it

> 3 download the main archive from the .info file and get; not an archive but an
> auto-uncompressed file tree

That's something misconfigured in whatever you were using to download
that archive
(it's an ftp:// URL, which is slightly unusual, but curl, wget,
firefox all handle it sanely)

> 4 try the ./configure and make files in said tree

don't do that

> 5 check it works - it does not!

./configure probably needed --libdir (see the SlackBuild)

> 6 try the slackbuild scripts; slackbuld complains of no archive
> 7 re-compress the tree as a tar.gz

Good, but really it should have been .xz not .gz

> 8 try the slackbuilds scripts again
> 9 this time it works - but why???

Basically it all went wrong when whatever client you used decided to
explode the archive. That was deeply wrong and broken.

Also, it worked because Matteo was smart enough to write it to accept
your .gz in addition to the original .xz ;-)

> in short I have open office again!

good, I'll pass that on :)

Cheers
-D.



More information about the Bradford mailing list