JDownloader Community - Appwork GmbH
 

Closed Thread
 
Thread Tools Display Modes
  #261  
Old 13.07.2018, 19:25
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

Wenn du Hilfe brauchst, gerne auch via Teamviewer, meld dich an support@jdownloader.org
Ab nächster Woche kann ich dann auch via Teamviewer helfen
__________________
JD-Dev & Server-Admin
  #262  
Old 14.07.2018, 16:58
omega3
Guest
 
Posts: n/a
Default

Hi all.

I run NAS4FREE (Based on Freebsd 11.1).

These are my settings:

Jdownloader Rev: #39501 (latest Revision)
System Information
Operating System
FreeBSD (BSD 64Bit) (amd64 64Bit)
Java
1.8.0_172-b11 (64Bit) (headless)
Oracle Corporation
OpenJDK 64-Bit Server VM


I did install last Jdownloader revision into a freebsd jail, and it's all working perfectly except for Archive Extracion. By default it gives "extraction error" when trying to unpack RAR5 releases. All other versions of RAR are correctly extracted.
Into the Extraction Plugin information, Last Working Lib ID is setted to FreeBSD-amd64

I tried to download the Linux archive in the first post, and copy-past into /libs directory, but when i restart Jdownloader there's no more the possibility to select "Archive Setting" by clicking with right mouse.. it's "greyed out" like the function is disabled.

Also, into the Extraction Plugin information, Last Working Lib ID is setted to: null

After removing sevenzipjbinding1509.jar and sevenzipjbinding1509Linux.jar from the /libs folder, and restarting Jdownloader, the function returns back to normality (ofc I still can't extract rar5).

I tried to install compat9x, compat10x, compat11x.. but there are no changes..

Any suggestion? Thank you in advance.
  #263  
Old 16.07.2018, 13:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

@omega3
The linux package is for linux only and not compatible with (free)bsd.
I suggest to simply compile the required library for yourself, see
github.com/borisbrodski/sevenzipjbinding/tree/migrate-to-15.09-try2
See readme file for build instructions, straightforward
In case you need help with this, I can offer help via Teamviewer. Just contact us
via support@jdownloader.org
__________________
JD-Dev & Server-Admin
  #264  
Old 16.07.2018, 14:16
omega3
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
@omega3
The linux package is for linux only and not compatible with (free)bsd.
I suggest to simply compile the required library for yourself, see
github.com/borisbrodski/sevenzipjbinding/tree/migrate-to-15.09-try2
See readme file for build instructions, straightforward
In case you need help with this, I can offer help via Teamviewer. Just contact us
via support@jdownloader.org
Ok, I followed the README build instruction:

Quote:
6.1 Compile on Linux

a) Download source package from **External links are only visible to Support Staff****External links are only visible to Support Staff**
and extract it into some <srcdir> directory. Try to avoid directory names with spaces in your path.

Optionally you can checkout a master (current development version) from GIT repository
$ git clone git://sevenzipjbind.git.sourceforge.net/gitroot/sevenzipjbind/sevenzipjbind SevenZipJBinding
or
$ git clone **External links are only visible to Support Staff****External links are only visible to Support Staff** SevenZipJBinding

$ cd SevenZipJBinding
$ git checkout Release-4.65-1.02rc-extr-only
Ok, that was easy. Next step.

Quote:
b) You will need the CMake (2.6 or higher) to configure 7-Zip-JBinding for your system.
You can check the version of your CMake by typing:
$ cmake --version

If you don't have cmake installed or cmake version isn't sufficient you can download and install CMake from official
web site: **External links are only visible to Support Staff****External links are only visible to Support Staff**

On Debian or Ubuntu Linux you can install cmake by typing
$ sudo apt-get install cmake
Easy as well, no problem.

Quote:
c) The next step is to run CMake. Both in-source and out-of-source methods are supported. Here is example of in-source build:
$ cmake .

Where <srcdir> is a directory, where you extracted or checked out the source code.
On some Linux distributions you will need to set JAVA_JDK cmake option to your Java JDK 1.5 or higher. You can use a GUI CMake
tool 'cmake-gui', edit 'CMakeCache.txt' file with your favorite text editor or just delete 'CMakeCache.txt' file
and restart CMake with a -DJAVA_JDK parameter:
$ cmake . -DJAVA_JDK=<path-to-jdk>

If everything goes right, you will get an overview of chosen tools and build options.
At first I had some problems to find out my jdk folder, but after reading some tutorials I managed to solve using the command "cmake . -DJAVA_JDK=/usr/local/openjdk8"

Quote:
d) Now type to compile 7-Zip-JBinding
$ make
I'm stucked at this point. See the following output from my terminal. I tried to search these errors on Google but I haven't found anything related to it.
Code:
root@jail1:/SevenZipJBinding # make
Scanning dependencies of target sevenzip-jbinding-jar
[  1%] target
[  1%] Built target sevenzip-jbinding-jar
[  1%] javah: generating h-files from java classes net.sf.sevenzipjbinding.SevenZip;net.sf.sevenzipjbinding.impl.InArchiveImpl
[  1%] Building CXX object jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/Debug.cpp.o
In file included from /SevenZipJBinding/jbinding-cpp/Debug.cpp:2:
/SevenZipJBinding/jbinding-cpp/./SevenZipJBinding.h:108:28: warning: comparison
      of unsigned expression < 0 is always false [-Wtautological-compare]
        if (--__m_RefCount < 0)
            ~~~~~~~~~~~~~~ ^ ~
In file included from /SevenZipJBinding/jbinding-cpp/Debug.cpp:3:
/SevenZipJBinding/jbinding-cpp/./JNICallState.h:39:10: error: cast from pointer
      to smaller type 'DWORD' (aka 'unsigned int') loses information
                return (DWORD)pthread_self();
                       ^~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /SevenZipJBinding
*** Error code 1

Stop.
make[1]: stopped in /SevenZipJBinding
*** Error code 1

Stop.
make: stopped in /SevenZipJBinding
  #265  
Old 16.07.2018, 15:00
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

It's important to checkout the correct branch
git checkout migrate-to-15.09-try2

It's long ago since I tried to compile for freebsd in a vm machine.
__________________
JD-Dev & Server-Admin
  #266  
Old 16.07.2018, 16:02
omega3
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
It's important to checkout the correct branch
git checkout migrate-to-15.09-try2

It's long ago since I tried to compile for freebsd in a vm machine.
Ok, after I did put your command, I menaged to compile the library.

Now, into the /SevenZipJBinding folder I have this file called: "sevenzipjbinding-FreeBSD-amd64.jar"

I've just copied it to /libs folder, but Extraction still doesn't work.
  #267  
Old 16.07.2018, 16:10
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

there should be two files
sevenzipjbinding.jar and the one from above
rename them to
sevenzipjbinding1509.jar
and
sevenzipjbinding1509Bsd.jar
and place into libs folder of your JDownloader
__________________
JD-Dev & Server-Admin
  #268  
Old 16.07.2018, 16:30
omega3
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
there should be two files
sevenzipjbinding.jar and the one from above
rename them to
sevenzipjbinding1509.jar
and
sevenzipjbinding1509Bsd.jar
and place into libs folder of your JDownloader
Yes, in my /libs folder I have both sevenzipjbinding.jar and sevenzipjbindingBsd.jar

But in my /SevenZipJBinding folder (where I compiled it) I only have a sevenzipjbindingBsd.jar file.

Here's the whole content of /SevenZipJBinding folder:
Code:
root@jail1:/SevenZipJBinding # ls
.git                                    javac-args-test.tmp
.gitignore                              javac-test
.project                                jbinding-cpp
.settings                               jbinding-java
7zip                                    JUnitRunner.cmake
AUTHORS                                 LGPL
ChangeLog                               LibPropertyFileCreator.cmake
cmake                                   License.txt
cmake_install.cmake                     Makefile
CMakeCache.txt                          MANIFEST.MF
CMakeFile-bin-dist.txt                  p7zip
CMakeFiles                              prepackage.tmp
CMakeLists.txt                          README
COPYING                                 ReleaseNotes.txt
CPackConfig.cmake                       scripts
CPackSourceConfig.cmake                 sevenzipjbinding-FreeBSD-amd64.jar
CTestConfig.cmake                       sevenzipjbinding-lib.properties
CTestCustom.cmake                       sevenzipjbinding-platforms.properties
CTestTestfile.cmake                     test
DartConfiguration.tcl                   Testing
doc                                     THANKS
eclipse                                 TODO
FreeBSD-amd64                           TODO-glib-dump.txt
javac-args-core.tmp                     tools
  #269  
Old 16.07.2018, 16:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

Can you upload freebsd file to mega and give me link. I will extract/split the file into requested files
__________________
JD-Dev & Server-Admin
  #270  
Old 18.07.2018, 17:20
omega3
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Jiaz View Post
Can you upload freebsd file to mega and give me link. I will extract/split the file into requested files
However, I have to tell you this:

I tried the "ctest" command, and it passes all test from 1/17 to 13/17, then it stuck at "Start 14: JUnit-single-file-extraction" and after 12,000 seconds it gives "Timeout" and goes to the next test "start 15: JUnit-multiple-file-extraction". It stucks here as well, with the same error "12,000 seconds timeout".

Last edited by Jiaz; 18.07.2018 at 18:35.
  #271  
Old 18.07.2018, 18:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

Please send me the file via support@jdownloader.org
Don't worry, the tests fail for me as well
__________________
JD-Dev & Server-Admin
  #272  
Old 23.07.2018, 11:32
Mydgard Mydgard is offline
Fibre Channel User
 
Join Date: Jan 2011
Location: Germany
Posts: 115
Default

@Jiaz:

1) Wann wird der RAR5 Support voraussichtlich ins normale JD2 integriert?
2) Ist der Beta Test eine ganz normale JD2 Version wie die die wir/ich sonst auch nutzen, oder fehlen da andere Sachen? Ich habe ne größere Menge Links im JD2 und bin da am ziehen und dauernd kann er nicht auspacken, will jetzt aber auch nicht mich selbst bremsen weil irgendwas fehlt in der Beta Version.
  #273  
Old 23.07.2018, 12:44
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

1.) Sobald ich mal Zeit finde und mich mit dem Update mehr beschäftigen kann. Da wir die Library ja nicht für alle OS/CPU Kombinationen haben, muss das Update alt/neu unterstützten und sollte natürlich zu keinen unschönen Nebeneffekten führen. Und die Zeit hab ich derzeit einfach nicht.
2.) Du musst nur die neuere Entpackerlibrary zusätzlich installieren. Am JDownloader ändert sich nichts. Es wird lediglich der Entpacker auf eine neuere Version *gehoben*
__________________
JD-Dev & Server-Admin
  #274  
Old 23.07.2018, 14:26
Mydgard Mydgard is offline
Fibre Channel User
 
Join Date: Jan 2011
Location: Germany
Posts: 115
Default

@Jiaz: Upsi, man sollte den ersten Post auf Seite 1 auch richtig lesen :D

Habe die da mal reingepackt, aber müsste man die alten Dateien überschreiben, damit JD2 automatisch die neuen Dateien nimmt? Oder "merkt" jd2 das automatisch?
  #275  
Old 23.07.2018, 14:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

Nein, JDownloader prüft auf die neuere Version. So kann man im Fall der Fälle einfach die zwei Dateien wieder löschen und JDownloader nutzt wieder die ursprüngliche/alte Version.
__________________
JD-Dev & Server-Admin
  #276  
Old 23.07.2018, 15:37
Mydgard Mydgard is offline
Fibre Channel User
 
Join Date: Jan 2011
Location: Germany
Posts: 115
Default

Okay, hatte ein Backup vorher gemacht aber war ja nicht nötig.

Funzt bisher jedenfalls einwandfrei, danke soweit
  #277  
Old 23.07.2018, 15:40
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

Nichts zu danken
__________________
JD-Dev & Server-Admin
  #278  
Old 26.07.2018, 17:46
Markus2 Markus2 is offline
Junior Loader
 
Join Date: Mar 2015
Posts: 14
Default

RAR-Archive Version 5.0 werden nicht extrahiert.
7Zip1509Windows ist installiert.
JDownloader auf dem aktuellen Stand.

18.07.18 16.39.26 <--> 18.07.18 16.39.32 jdlog://8303164433151/
Link: **External links are only visible to Support Staff****External links are only visible to Support Staff**
  #279  
Old 26.07.2018, 17:53
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,084
Default

@Markus2: Bitte neues Log. Das Log ist unvollständig
__________________
JD-Dev & Server-Admin
  #280  
Old 26.07.2018, 17:58
Markus2 Markus2 is offline
Junior Loader
 
Join Date: Mar 2015
Posts: 14
Default

@Jiaz: neuer Log 18.07.18 16.39.26 <--> 18.07.18 16.39.32 jdlog://5403164433151/
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 03:03.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.