LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 02-27-2017, 12:49 PM   #1
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,502
Blog Entries: 2

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Question aMule slackbuild falling behind


This might well be for the general Slackware, but on arm we rely solely on Slackbuilds for aMule, and for x86 Slackware, there are (working) 3rd party packages at hand:

1. aMule-2.3.1 fails to run on Slackware-arm
2. aMule-2.3.1 is obsoleted by 2.3.2
3. aMule-2.3.2 fails to build with the provided Slackbuild (for 2.3.1)

Is the maintainer aware of this?
Is there any maintainer for arm?
 
Old 02-27-2017, 02:02 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,463

Rep: Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419
hi SCerovec,

aMule 2.3.2 builds fine here on slackware current, i586 and x86_64, it has just changed its main dependency from wxPython to wxGTK3.

for personal curiosity I'm trying a build on slackwarearm-current, but it will need some time (also because I have to build wxGTK3 too).

note that SlackBuilds.org officially support only the above x86 architectures so, AFAIK, nobody is actively maintaining for the arm architecture all of the third-party scripts that SBo provides.

another couple of things not related strictly to building this app but, IMHO, to consider are:
- a gui app for the edonkey network is not the best choice for an headless solution like the arm boards: maybe something like mldonkey (AFAIK, untested too on slackwarearm) could be a better choice (lighter and usable via a remote web interface); (EDIT: nevermind this, I forgot aMule can be built with an internal webserver)
- all of the edonkey apps completely thrash your storage, so consider that too before installing them on devices with delicate ones like usually arm boards are.

Last edited by ponce; 02-27-2017 at 11:29 PM.
 
1 members found this post helpful.
Old 02-28-2017, 04:25 AM   #3
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,502

Original Poster
Blog Entries: 2

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Hello ponce,
kind thanks for the info, I happen to use some svn version on ix86 here?

Do note, while able to finish building here too, the v2.3.1 amuled just crashes, after creating all the files and configs?

I'm on my way to attempt the v2.3.2 build, but had a crash on my Orange pi PC probably due to heat (from sub zero this winter, first above 12C week ).
I siliconed an tiny "south bridge" heat-sink and will give it another try...

It goes without saying that make is -j4, or bust. (and bust it was :P )

Last edited by SCerovec; 02-28-2017 at 04:27 AM.
 
Old 02-28-2017, 09:08 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,463

Rep: Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419
while 2.3.2 builds fine on x86, on slackwarearm-current it seems to get to the end here if patched like this (latest svn snapshot)
Code:
diff -Naur aMule.orig/0001-desktop-files-GenericName.patch aMule/0001-desktop-files-GenericName.patch
--- aMule.orig/0001-desktop-files-GenericName.patch	1970-01-01 01:00:00.000000000 +0100
+++ aMule/0001-desktop-files-GenericName.patch	2017-02-26 08:15:49.000000000 +0100
@@ -0,0 +1,65 @@
+diff -Naur a/amule.desktop b/amule.desktop
+--- a/amule.desktop	2015-12-05 12:17:44.000000000 +0800
++++ b/amule.desktop	2016-01-28 17:59:27.159722045 +0800
+@@ -5,6 +5,6 @@
+ Terminal=false
+ Type=Application
+ Categories=Network;P2P;
+-Comment=A client for the eD2k network
+-Comment[fr]=Un client pour le réseau eD2k
+-Comment[tr]=eD2k ağı için istemci
++GenericName=A client for the eD2k network
++GenericName[fr]=Un client pour le réseau eD2k
++GenericName[tr]=eD2k ağı için istemci
+diff -Naur a/amulegui.desktop b/amulegui.desktop
+--- a/amulegui.desktop	2015-12-05 12:17:44.000000000 +0800
++++ b/amulegui.desktop	2016-01-28 18:00:09.484782640 +0800
+@@ -5,8 +5,8 @@
+ Terminal=false
+ Type=Application
+ Categories=Network;P2P;
+-Comment=aMule remote control
+-Comment[de]=aMule-Fernsteuerung
+-Comment[fr]=Contrôle ŕ distance d'aMule
+-Comment[hu]=aMule távoli vezérlő
+-Comment[tr]=aMule uzaktan kumandası
++GenericName=aMule remote control
++GenericName[de]=aMule-Fernsteuerung
++GenericName[fr]=Contrôle ŕ distance d'aMule
++GenericName[hu]=aMule távoli vezérlő
++GenericName[tr]=aMule uzaktan kumandası
+diff -Naur a/src/utils/aLinkCreator/alc.desktop b/src/utils/aLinkCreator/alc.desktop
+--- a/src/utils/aLinkCreator/alc.desktop	2015-12-05 12:17:44.000000000 +0800
++++ b/src/utils/aLinkCreator/alc.desktop	2016-01-28 17:56:59.532032109 +0800
+@@ -5,8 +5,8 @@
+ Terminal=false
+ Type=Application
+ Categories=Network;P2P;
+-Comment=aMule ed2k link creator
+-Comment[de]=ed2k-Linkersteller
+-Comment[fr]=Créateur de liens ed2k d'aMule
+-Comment[hu]=ed2k hivatkozás készítő
+-Comment[tr]=aMule için ed2k bağlantı yaratıcısı
++GenericName=aMule ed2k link creator
++GenericName[de]=ed2k-Linkersteller
++GenericName[fr]=Créateur de liens ed2k d'aMule
++GenericName[hu]=ed2k hivatkozás készítő
++GenericName[tr]=aMule için ed2k bağlantı yaratıcısı
+diff -Naur a/src/utils/wxCas/wxcas.desktop b/src/utils/wxCas/wxcas.desktop
+--- a/src/utils/wxCas/wxcas.desktop	2015-12-05 12:17:44.000000000 +0800
++++ b/src/utils/wxCas/wxcas.desktop	2016-01-28 17:58:46.434702658 +0800
+@@ -5,8 +5,8 @@
+ Terminal=false
+ Type=Application
+ Categories=Network;P2P;
+-Comment=aMule online statistics
+-Comment[de]=aMule-Onlinestatistik
+-Comment[fr]=Statistiques d'aMule en ligne
+-Comment[hu]=aMule online statisztikák
+-Comment[tr]=Çevrim içi aMule istatistikleri
++GenericName=aMule online statistics
++GenericName[de]=aMule-Onlinestatistik
++GenericName[fr]=Statistiques d'aMule en ligne
++GenericName[hu]=aMule online statisztikák
++GenericName[tr]=Çevrim içi aMule istatistikleri
+
diff -Naur aMule.orig/aMule.SlackBuild aMule/aMule.SlackBuild
--- aMule.orig/aMule.SlackBuild	2016-06-18 22:47:37.000000000 +0200
+++ aMule/aMule.SlackBuild	2017-02-28 07:11:06.867267962 +0100
@@ -5,7 +5,7 @@
 # Maintained by Ozan Türkyılmaz ozan.turkyilmaz@gmial.com
 
 PRGNAM=aMule
-VERSION=${VERSION:-2.3.1}
+VERSION=${VERSION:-r10983}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
@@ -31,6 +31,9 @@
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fPIC"
   LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "arm" ]; then
+  SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
+  LIBDIRSUFFIX=""
 else
   SLKCFLAGS="-O2"
   LIBDIRSUFFIX=""
@@ -122,11 +125,12 @@
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;
 
-# Fix for gcc-4.7.x
-sed -i "s|NotifyObservers|this->NotifyObservers|" src/ObservableQueue.h
+patch -p1 < $CWD/0001-desktop-files-GenericName.patch
+
+sh autogen.sh
 
 CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="-fPIC $SLKCFLAGS" \
 ./configure \
   --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
diff -Naur aMule.orig/aMule.info aMule/aMule.info
--- aMule.orig/aMule.info	2016-06-18 22:47:37.000000000 +0200
+++ aMule/aMule.info	2017-02-28 07:12:01.687267988 +0100
@@ -1,10 +1,10 @@
 PRGNAM="aMule"
-VERSION="2.3.1"
+VERSION="r10983"
 HOMEPAGE="http://www.amule.org"
-DOWNLOAD="http://downloads.sourceforge.net/amule/aMule-2.3.1.tar.xz"
-MD5SUM="5f5707ad2073d37100409870aa5d3f93"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/aMule-r10983.tar.xz"
+MD5SUM="c2aaa1321e93a582b672d75a18bbc991"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
-REQUIRES="cryptopp wxPython"
+REQUIRES="cryptopp wxGTK3"
 MAINTAINER="Ozan Türkyılmaz"
 EMAIL="ozan.turkyilmaz@gmail.com"
note that the build here (Banana Pi Pro) crashed three times before getting to the end (I had to restart it each time).

EDIT: FYI, mldonkey built fine at the first try (and has no external deps).

Last edited by ponce; 02-28-2017 at 11:19 AM.
 
Old 03-02-2017, 12:58 AM   #5
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,502

Original Poster
Blog Entries: 2

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Nicely done, but...
How come crashes tree times until it finishes?
Isn't each Slackbuild - untar and begin from scratch?

re MLdonkey - I'll give it a shot

I need some non torrent p2p on occasion...
 
Old 03-02-2017, 12:59 AM   #6
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,502

Original Poster
Blog Entries: 2

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
?Double post?

Last edited by SCerovec; 03-02-2017 at 04:03 PM.
 
Old 03-02-2017, 07:22 AM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,463

Rep: Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419Reputation: 4419
Quote:
Originally Posted by SCerovec View Post
Nicely done, but...
How come crashes tree times until it finishes?
Isn't each Slackbuild - untar and begin from scratch?
It crashed here most probably because the cpu overheats.
 
Old 03-02-2017, 04:08 PM   #8
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,502

Original Poster
Blog Entries: 2

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
@ponce:
somehow get an "south bridge" class heat-sink and glue it with some silicone adhesive (really any silicone type will do)?

south bridge heat-sink @ aliexpress

I had it (O-pi-PC) suddenly restart, and it was warm (hot?) at the touch, so I went ahead and had a heat-sink glued.

Just in case I continued compiling with -j 3...

The heat-restart shouldn't kick in at all, and if it does, do take steps to avoid it? I would hate to hear any of those failing any soon?

Last edited by SCerovec; 03-02-2017 at 04:11 PM.
 
Old 03-14-2017, 05:32 PM   #9
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
You can run a script which regularly checks /sys/class/thermal/thermal_zone*/temp (or whatever the temperature sensors path) and lower cpufreq for a period of time.
 
  


Reply

Tags
amule, arm, slackbuilds, update


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
[SOLVED] aMule 2.3.1: I keep getting "There is an instance of aMule already running". stf92 Slackware 2 12-18-2014 08:11 PM
The Falling Empire UniquelyAm General 3 07-06-2007 10:29 AM
Cron keeps falling over... Jaze Red Hat 5 02-22-2007 04:29 PM
Help me, I'm falling off the wagon... KlaymenDK Mandriva 10 06-15-2006 02:28 AM
Slack 9.1 falling behind Trio3b Slackware 4 03-24-2005 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 12:51 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration