Not signed in (Sign In)

Choose a language

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthordeech
    • CommentTimeAug 17th 2008
     # 1
    I am trying to install xkeycaps. Unfortunately "Compile" doesn't know how to unpack a tar.Z file. It should use the standard tar -zxvf command. On a more general note, is there a way of configuring this behaviour in the Compile program?

    Thanks ...
    deech
    • CommentAuthorMichael
    • CommentTimeAug 17th 2008 edited
     # 2
    .tar.Z is a compress file, and Compile does know how to extract it if you have compress installed, using the standard tar xZvf command. You probably don't have it installed though.

    However, gzip can extract compress files as well, and we ship with that by default, so we should probably switch the code to use that. Mohjive? Is there a reason things are the way they are?

    The error for diagnosing a missing compress will be "tar: compress: Cannot exec: No such file or directory".

    As a workaround, you can do this:cd /Files/Compile/Sources
    tar xzvf ../Archives/xkeycaps-2.46.tar.Z
    and then choose to [ U ]se the existing directory when you run Compile.
    • CommentAuthorMohjive
    • CommentTimeAug 17th 2008
     # 3
    Posted By: MichaelHowever, gzip can extract compress files as well, and we ship with that by default, so we should probably switch the code to use that. Mohjive? Is there a reason things are the way they are?

    The reason is because I wasn't aware that gzip could unpack compress archives. The code in Archive should be changed so that gzip handles {tar,}.Z files.