LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-28-2013, 11:11 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,033

Rep: Reputation: 45
ARJ file compressor for x86_64-bit?


Hi: I looked in google and searched in LQ, but the combination ARJ - 64 bits - Linux seems to have bad luck. Although the ARJ official page offers no newer then ARJ32. Perhaps if I try to get some other software compatible with the ARJ archive format?
 
Old 01-29-2013, 03:43 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
There is an endless number of binary arj packages for x86_64.

... Debian, Fedora, CentOS, Arch, Suse, Mandriva ..
 
1 members found this post helpful.
Old 01-29-2013, 07:58 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,033

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by knudfl View Post
There is an endless number of binary arj packages for x86_64.

... Debian, Fedora, CentOS, Arch, Suse, Mandriva ..
Would you point to one in particular (tarball)?
 
Old 01-29-2013, 08:27 AM   #4
pan64
Senior Member
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,466

Rep: Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213Reputation: 1213
http://rpm.pbone.net/index.php3/stat...86_64.rpm.html ?
http://www.openmamba.org/distributio...pkg=arj.x86_64 ?
...
 
Old 01-29-2013, 09:08 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
Quote:
Would you point to one in particular (tarball) ?
Well, you will get one, if you do like mentioned in your other arj thread,
post # 4.

Comment the line BuildRequires : autoconf
in arj.spec : # BuildRequires : autoconf
( You have no autoconf rpm in your "rpm data base" )
... and automatic patching will happen by $ rpmbuild -bb arj.spec
The build result is in ~rpm*/RPMS/x86_64/
.. and the patched arj in ~rpm*/BUILD/arj-*


Also : # src2pkg arj-3.10.22.tar.gz
.. will automatically include any patches in the same directory.
I.e. src2pkg is the recommended method, if you don't want to use a Slackbuild script.

-

Last edited by knudfl; 01-30-2013 at 01:46 AM.
 
Old 01-29-2013, 09:46 AM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,033

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by knudfl View Post
Also : # src2pkg arj-3.10.22.tar.gz
.. will automatically include any patches in the same directory.

-
Oh no. I downloaded src2pkg yesterday (gnashley's signature) and then used it for the first time on arj-3.10.22.tar.gz, after reading src2pkg documentation. But it failed:
Code:
semoi@darkstar:~/src/test1$ v
total 668
-rw-r--r-- 1 semoi semoi 431467 2013-01-29 12:27 arj-3.10.22.tar.gz
-rw-r--r-- 1 semoi semoi  61440 2013-01-29 12:28 arj_3.10.22-10.debian.tar
semoi@darkstar:~/src/test1$
Here you see the tarball and the .debian.tar (the patch) in the same directory. However,
Code:
semoi@darkstar:~/src/test1$ src2pkg arj-3.10.22.tar.gz 
Found source archive: arj-3.10.22.tar.gz
Deleting old build files - Done
Creating working directories:
   PKG_DIR=/tmp/arj-3.10.22-x86_64-1
   SRC_DIR=/tmp/arj-3.10.22-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - None found
Skipping configuration: Nothing to be done
Continuing - We found at least one makefile
Compiling sources - Using: 'make'
ERROR! Compiling source code has failed.
This usually happens because of missing libraries, or
badly written Makefiles or configure scripts.
Sorry! No Dependency or Requirements information found.

semoi@darkstar:~/src/test1$
But you can read 'Checking for patches - None found' in the code block! It's only a matter of making src2pkg know the patch pathname!
 
Old 01-29-2013, 10:31 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
# 6
arj_3.10.22-10.debian.tar is not a patch.
Patches are text files, suffix .patch : name.patch

And : Do not use Debian patches.
Many of those are Debian only specific.

Please use the three mentioned Fedora 17 patches,
your other arj thread, post # 4.

-
 
Old 01-29-2013, 11:10 AM   #8
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,033

Original Poster
Rep: Reputation: 45
Those three files are components of the rpm package. You mean I must extract them from the rmp package?
 
Old 01-29-2013, 12:17 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,033

Original Poster
Rep: Reputation: 45
Alright. I done
Code:
rpm -Uvh arj-3.10.22-14.fc17.src.rpm
and got /root/rpmbuild/SPECS/arj.spec. Then I did
Code:
~/rpmbuild/SPECS/# rpmbuild -bb arj.spec
error: failed build dependencies:
     autoconf is needed by arj-3.10.22-14.x86_64
But I saw that 'Build Requires: autoconf' was NOT commented, so I left as it was!
 
Old 01-29-2013, 12:37 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
# 9 :

Either delete the line, or add a hash mark : # Build Requires: autoconf

And : It's $ rpmbuild -bb , not # rpmbuild -bb

No reason to use root for the build.

-
 
Old 01-29-2013, 02:21 PM   #11
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,033

Original Poster
Rep: Reputation: 45
Done. Now I have ~/rpmbuild/RPMS/x86_64/arj-3.1.22-14.x86_64.rpm. Next I did:
Code:
rpm --install ~/rpmbuild/RPMS/x86_64/arj-3.1.22-14.x86_64.rpm
but got
Code:
Error: Failed dependencies:
    /bin/sh is needed by arj-3.1.22-14.x86_64
As /bin/sh is linked to /bin/bash, I cannot know if I have sh. In case I have the sh command interpreter I guess it would be easy to set things right?
 
Old 01-29-2013, 02:35 PM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
# 11.

You'd still have no entries in the "rpm data base", as your OS isn't rpm based.
Hence no '/bin/sh' in the "rpm data base file list".
'rpm' will look there for installed packages, nowhere else.

Your options are : 'rpm2tgz arj-3.1.22-14.x86_64.rpm' to get a Slackware package.

Or : # rpm -Uvh --nodeps rpm2tgz arj-3.1.22-14.x86_64.rpm
.. to ignore the dependency.

-
 
1 members found this post helpful.
Old 01-29-2013, 05:06 PM   #13
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,033

Original Poster
Rep: Reputation: 45
I did rpm2tgz arj-3.1.22-14.x86_64.rpm. Thank you very much for the "tour". All's working fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you kexec at boot from a 32-bit (x86) to 64-bit (x86_64) kernel? Shingoshi Linux - Kernel 15 06-26-2009 10:08 PM
compiling 32 bit application on 64 bit linux(x86_64) uttam_h Linux - Software 16 07-19-2008 02:33 PM
x86_64 bit processor or not Kitana Linux - Newbie 5 05-21-2007 07:23 AM
32 bit mplayer on x86_64 ciopi Linux - Software 2 11-14-2005 10:10 AM
Use 32 bit and x86_64 Linux on same system? jfried Linux - Newbie 1 11-15-2004 11:05 PM


All times are GMT -5. The time now is 06:15 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration