Page 1 of 1

deb2xzm: /usr/bin/ar not found

Posted: 16 Sep 2011, 06:07
by Rava
I tried to convert a deb file to xzm since I could not find any version of that program for slackware x86_64...

But deb2xzm fails with this error:

Code: Select all

/usr/bin/deb2xzm: line 16: /usr/bin/ar: Datei oder Verzeichnis nicht gefunden
Module creation failed!
"Datei oder Verzeichnis nicht gefunden" means "File or Folder not found"...

I tried to download a ar for x86_64 but to no prevail.

I looked into the modules if there is any hit towards ar and only found this

Code: Select all

004-kde.xzm/usr/share/locale/l10n/ar
Seems the locale exists but not the program itself. Also no "man ar"

Re: deb2xzm: /usr/bin/ar not found

Posted: 16 Sep 2011, 19:55
by Hamza
You tried to use a 32bit version on 64bit environment. So, it is not possible without compat32lib.

You can use the compat32_mutlilib for x86_64 environment.

The multilib is not available on Official Repository.
You can use my own version

This version is not supported by the Porteus Team.
This version of compat32libs is NOT an official module for Porteus.

Enjoy ;)

Re: deb2xzm: /usr/bin/ar not found

Posted: 16 Sep 2011, 20:30
by fanthom
@Rava
'ar' is a part of binutils package and is available in Porteus by default.
make sure that other modules (or changes) are not overwriting it.
go to /mnt/live/memory/images and run "find -name ar" - show us the result.

Cheers

Re: deb2xzm: /usr/bin/ar not found

Posted: 17 Sep 2011, 19:20
by Rava

Code: Select all

root@porteus:/mnt/live/memory/images# find -name ar ./004-kde.xzm/usr/share/locale/l10n/ar
./002-xorg.xzm/usr/share/rdesktop/keymaps/ar
Hmmm I don't find the ar executable...

Code: Select all

root@porteus:/mnt/live/memory/images# uname -a
Linux porteus 2.6.38.5-porteus #1 SMP PREEMPT Thu May 5 00:16:25 UTC 2011 x86_64 Intel(R) Pentium(R) D  CPU 2.66GHz GenuineIntel GNU/Linux
It it not the finale I use? ???

Re: deb2xzm: /usr/bin/ar not found

Posted: 18 Sep 2011, 01:08
by fanthom
@Rava
you need to have 005-devel module activated as it contains binutils package (ar utility).
It it not the finale I use? ???
looks like one of the rc's to me :)

Re: deb2xzm: /usr/bin/ar not found

Posted: 18 Sep 2011, 18:04
by Rava
fanthom wrote:@Rava
you need to have 005-devel module activated as it contains binutils package (ar utility).
Ahhhh then I will extract the ar, since it is needed once in a while, and put it into one of my own modules...

But when ar is in devel only, why are the kde files in the other modules, then?
Or was that a now fixed bug with the rc version?

....

And yes, since I heavily tweak my Porteus, the one most used is still RC2... since that's the one with everything working for me, and I ran into some issues using the finale...

*sigh* That's what you get when you want your OS do it like you say. :D

Re: deb2xzm: /usr/bin/ar not found

Posted: 18 Sep 2011, 19:48
by fanthom
But when ar is in devel only, why are the kde files in the other modules, then?
i guess it's arabic localization files and keymap.