Bug 127585 - ark 2.6.2 can't open ar archives
Summary: ark 2.6.2 can't open ar archives
Status: RESOLVED DUPLICATE of bug 126051
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 15:25 UTC by Davide Madrisan
Modified: 2006-05-18 17:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
ugly patch (704 bytes, patch)
2006-05-18 15:28 UTC, Davide Madrisan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Madrisan 2006-05-18 15:25:03 UTC
Version:           2.6.2 (using KDE KDE 3.5.2)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 4.0.2 
OS:                Linux

ark 2.6.2 can't find the ar tool while opening ar files.

the call to 'newArch->unarchUtilityIsAvailable()' in arkwidget.cpp returns false even if the ar tool is installed in a directory listed the system PATH:

[davide@buddha ~]$ which ar
/usr/bin/ar
[davide@buddha ~]$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/games

After some tests I've found that the boolean variable 'm_bUnarchUtilityIsAvailable' is never set because the 'Arch::verifyUncompressUtilityIsAvailable' function (arch.cpp) is not called ('Arch::verifyCompressUtilityIsAvailable' is called instead).
And in the file ar.cpp only the variable 'm_unarchiver_program' is not set, but perhaps this is not a bug.
Comment 1 Davide Madrisan 2006-05-18 15:28:44 UTC
Created attachment 16158 [details]
ugly patch
Comment 2 Haris Kouzinopoulos 2006-05-18 17:37:40 UTC
Hi, thnx for your bug report and the patch. However i fixed it a couple of days ago (see the patch there for the correct fix)
We need more coders in ark, if you would like to help drop me or henrique an email.
Cheers!

*** This bug has been marked as a duplicate of 126051 ***