aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2] 3

Author Topic: [11788] Linux Mint 64 Cinnamon  (Read 8295 times)

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1546
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: [11788] Linux Mint 64 Cinnamon
« Reply #15 on: March 10, 2022, 08:16:53 PM »

How do you build the debs? If with a line like my one with dpkg-buildpackage the dbgsyms are always created.
Logged
Homefucking is killing prostitution

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: [11788] Linux Mint 64 Cinnamon
« Reply #16 on: March 10, 2022, 08:22:36 PM »

How do you build the debs? If with a line like my one with dpkg-buildpackage the dbgsyms are always created.

I build the .deb:

Code: [Select]

Git clone https://github.com/amule-project/amule.git
or
svn co https://github.com/amule-project/amule/trunk amule
./autogen.sh
./configure --with-boost --disable-debug --enable-optimize --disable-ccache  --disable-upnp --enable-alc --enable-alcc --disable-xas --enable-amulecmd --enable-webserver --enable-amule-daemon --enable-amule-gui --enable-fileview (or with debug on now)
sudo checkinstall --install=no


PS: I found out that the Mint/Ubuntu system have a flag in the synaptic "Feherlsuchsymbole" that activates a additional repo.
But i dont know if the dbgsym must be exactly for the file or not.
I mheard never befor of dbgsym.

Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1546
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: [11788] Linux Mint 64 Cinnamon
« Reply #17 on: March 10, 2022, 08:33:07 PM »

k, checkinstall just puts everything into one package and it seems they get stripped. You can either replace ./autogen.sh and all that follows with the dpkg-buildpackage line, or use "make install DESTDIR=/home/<user>/<some-dir> to install everything into that dir and run it from there. The Fehlersuchsymbole is a bad translation for dbgsym, but if you install a package from there, it will depends on their version and is useless for you.
Logged
Homefucking is killing prostitution

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: [11788] Linux Mint 64 Cinnamon
« Reply #18 on: March 10, 2022, 08:43:29 PM »

k, checkinstall just puts everything into one package and it seems they get stripped. You can either replace ./autogen.sh and all that follows with the dpkg-buildpackage line, or use "make install DESTDIR=/home/<user>/<some-dir> to install everything into that dir and run it from there. The Fehlersuchsymbole is a bad translation for dbgsym, but if you install a package from there, it will depends on their version and is useless for you.

replacing the /configure line too?

At the moment i use the line:
./configure --with-boost --enable-debug --disable-optimize --disable-ccache  --disable-upnp --enable-alc --enable-alcc --disable-xas --enable-amulecmd --enable-webserver --enable-amule-daemon --enable-amule-gui --enable-fileview
Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: [11788] Linux Mint 64 Cinnamon
« Reply #19 on: March 10, 2022, 08:47:24 PM »

I don't know what you're doing, but "dpkg-buildpackage -us -uc -b -rfakeroot" produces amule-dbgsym_2.3.3-1+git-20210424_amd64.deb which should just contain everything needed. You also could just build by hand and do make install DESTDIR=/home/XX/amule-test and run the executable from there, so the symbols don't get stripped and placed somewhere else.

What need the dpkg-buildpackage additional installed?

Code: [Select]
Schutti@hell-GA-A75M-D2H ~/Schreibtisch/X/aMule/amule $ sudo dpkg-buildpackage -us -uc -b -rfakeroot
dpkg-buildpackage: Warnung: Verwendung eines root-werde-Befehls, obwohl bereits root
dpkg-buildpackage: Information: Quellpaket amule
dpkg-buildpackage: Information: Quellversion 1:2.3.3-1+git-20210424
dpkg-buildpackage: Information: Quelldistribution stable
dpkg-buildpackage: Information: Quelle geändert durch Werner Mahr (Vollstrecker) <amule@vollstreckernet.de>
dpkg-buildpackage: Information: Host-Architektur amd64
 dpkg-source --before-build .
dpkg-checkbuilddeps: Fehler: Nicht erfüllte Bauabhängigkeiten: libreadline-dev libupnp-dev (>> 1.6.6) libasio-dev cmake
dpkg-buildpackage: Warnung: Bauabhängigkeiten/-konflikte nicht erfüllt; Abbruch
dpkg-buildpackage: Warnung: (Verwenden Sie -d, um sich darüber hinwegzusetzen.)
Schutti@hell-GA-A75M-D2H ~/Schreibtisch/X/aMule/amule $

with -d

Code: [Select]
dh_auto_configure: error: cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DENABLE_IP2COUNTRY=ON -DENABLE_BOOST=ON -DBUILD_AMULECMD=ON -DCMAKE_BUILD_TYPE=Debug -DBUILD_WEBSERVER=ON -DBUILD_CAS=ON -DBUILD_WXCAS=ON -DBUILD_ALC=ON -DBUILD_ALCC=ON -DBUILD_REMOTEGUI=ON -DBUILD_DAEMON=ON de_AT:de -DBUILD_XAS=ON .. failed to execute: No child processes
dh_auto_configure: error: cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_AUTOGEN_VERBOSE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DENABLE_IP2COUNTRY=ON -DENABLE_BOOST=ON -DBUILD_AMULECMD=ON -DCMAKE_BUILD_TYPE=Debug -DBUILD_WEBSERVER=ON -DBUILD_CAS=ON -DBUILD_WXCAS=ON -DBUILD_ALC=ON -DBUILD_ALCC=ON -DBUILD_REMOTEGUI=ON -DBUILD_DAEMON=ON de_AT:de -DBUILD_XAS=ON .. returned exit code 2
make: *** [debian/rules:397: build-stamp] Fehler 2
dpkg-buildpackage: Fehler: Unterprozess debian/rules build lieferte Exitstatus 2
Schutti@hell-GA-A75M-D2H ~/Schreibtisch/X/aMule/amule $

Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1546
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: [11788] Linux Mint 64 Cinnamon
« Reply #20 on: March 10, 2022, 09:25:09 PM »

dpkg-checkbuilddeps: Fehler: Nicht erfüllte Bauabhängigkeiten: libreadline-dev libupnp-dev (>> 1.6.6) libasio-dev cmake

Should be clear, this is a list of the missing packages.
Logged
Homefucking is killing prostitution

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: [11788] Linux Mint 64 Cinnamon
« Reply #21 on: March 10, 2022, 09:44:27 PM »

dpkg-checkbuilddeps: Fehler: Nicht erfüllte Bauabhängigkeiten: libreadline-dev libupnp-dev (>> 1.6.6) libasio-dev cmake

Should be clear, this is a list of the missing packages.

Ok, sorry for the silence, problems on my system here.
Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: [11788] Linux Mint 64 Cinnamon
« Reply #22 on: March 10, 2022, 09:56:03 PM »

dpkg-checkbuilddeps: Fehler: Nicht erfüllte Bauabhängigkeiten: libreadline-dev libupnp-dev (>> 1.6.6) libasio-dev cmake

Should be clear, this is a list of the missing packages.

Ok, sorry for the silence, problems on my system here.

Ok build prozess is running.
Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: [11788] Linux Mint 64 Cinnamon
« Reply #23 on: March 10, 2022, 09:58:23 PM »

Nice detail:
This process uses all of my cores, the makeinstall only used 1 core.
« Last Edit: March 10, 2022, 10:00:06 PM by Schuttwegraeumer »
Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: [11788] Linux Mint 64 Cinnamon
« Reply #24 on: March 10, 2022, 11:03:49 PM »

Ok, now the news build worls, no crash.
No ASIO?

The amuled/amuleGUI Combi works.
The old problem that the normal amule need more and more RAM and bloat until i must stop ist ist still there.
« Last Edit: March 10, 2022, 11:05:55 PM by Schuttwegraeumer »
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1546
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: [11788] Linux Mint 64 Cinnamon
« Reply #25 on: March 10, 2022, 11:25:19 PM »

You could check that if you remove libasio-dev from Build-Depends in debian/rules and remove the package you've installed before you recreate and install the packages.
Logged
Homefucking is killing prostitution

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: [11788] Linux Mint 64 Cinnamon
« Reply #26 on: March 11, 2022, 12:46:14 AM »

You could check that if you remove libasio-dev from Build-Depends in debian/rules and remove the package you've installed before you recreate and install the packages.

Ok, and what to change for a build without the debug informations?
How to set the build process to non debug?
« Last Edit: March 11, 2022, 12:50:07 AM by Schuttwegraeumer »
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1546
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: [11788] Linux Mint 64 Cinnamon
« Reply #27 on: March 11, 2022, 08:26:25 AM »

Change line 36 in debian/rules from =Debug to =Release.
Logged
Homefucking is killing prostitution

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: [11788] Linux Mint 64 Cinnamon
« Reply #28 on: March 12, 2022, 06:10:51 AM »

Change line 36 in debian/rules from =Debug to =Release.

Are you sure that is sufficient?
I got a debug message in the shell with the amuled.
Logged

Schuttwegraeumer

  • Sr. Member
  • ****
  • Karma: 2
  • Offline Offline
  • Posts: 421
Re: [11788] Linux Mint 64 Cinnamon
« Reply #29 on: March 12, 2022, 07:46:58 AM »

Change line 36 in debian/rules from =Debug to =Release.

Are you sure that is sufficient?
I got a debug message in the shell with the amuled.

I set the debug on "no" and now its better.
Logged
Pages: 1 [2] 3