JDownloader Community - Appwork GmbH
 

Notices

Closed Thread
 
Thread Tools Display Modes
  #501  
Old 30.08.2019, 12:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

@wolverine: Ich selbst habe leider kein passendes System zum compilen, aber es ist nicht wirklich schwer sich die nötige Library selbst zu basteln, siehe
github.com/borisbrodski/sevenzipjbinding
Dort einfach der Anleitung folgen, sollte direkt 1:1 funktionieren. Bei Fragen/Probleme, einfach melden
__________________
JD-Dev & Server-Admin
  #502  
Old 30.08.2019, 13:10
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Danke für die schnelle Antwort, ich werde dann mal mein Glück versuchen. Aber cmake werde ich dann wohl auch vorher noch selbst kompilieren müssen. Mal gucken ob das auf meinem alten QNAP NAS klappt... Ich werde berichten.
  #503  
Old 30.08.2019, 14:25
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Quote:
Originally Posted by wolverine View Post
Danke für die schnelle Antwort, ich werde dann mal mein Glück versuchen. Aber cmake werde ich dann wohl auch vorher noch selbst kompilieren müssen. Mal gucken ob das auf meinem alten QNAP NAS klappt... Ich werde berichten.
Welche NAS genau ist es denn? Wundere mich das die noch 32bit sein soll?
__________________
JD-Dev & Server-Admin
  #504  
Old 30.08.2019, 16:17
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Habe ein TS-439

cmake habe ich inzwischen drauf... war schon ein Kampf, da root (/) zu klein ist, aber die Bindings bekomme ich leider nicht compiliert. Muss man zwingend ein 1.5 er JDK nehmen? mit 1.8 geht es nicht.
  #505  
Old 30.08.2019, 16:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Es geht auch mit Java1.8
Sicher wegen 32Bit? Laut Google ist das ne 64bit CPU und würde mich wundern wenn da dennoch 32Bit Kernel drauf wäre?!
__________________
JD-Dev & Server-Admin
  #506  
Old 30.08.2019, 16:44
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

# uname -a
Linux NAS 3.4.6 #1 SMP Tue Jul 30 10:57:46 CST 2019 i686 unknown

Und Screen JDownloader anbei.

# head /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Genuine Intel(R) CPU N270 @ 1.60GHz
stepping : 2
microcode : 0x204
cpu MHz : 1600.063
cache size : 512 KB
physical id : 0

Laut Intel ist das Atom CPU mit 32-Bit
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Attached Images
File Type: png 2019-08-30 15_32_38-My JDownloader.png (39.5 KB, 1 views)

Last edited by wolverine; 30.08.2019 at 16:49.
  #507  
Old 30.08.2019, 17:08
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Ah, es gibt mehrere Modelle der Reihe TS-439, Entschuldige die Verwirrung.
__________________
JD-Dev & Server-Admin
  #508  
Old 30.08.2019, 17:25
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Ja, leider.
das cmake ist noch ok, aber beim make ist dann leider Ende.
Fehler packe ich mal in den Spoiler, vielleicht kannst du damit was Anfagen?
Spoiler:
# make
Scanning dependencies of target sevenzip-jbinding-test-jar
[ 1%] test
warning: [options] bootstrap class path not set in conjunction with -source 1.5
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] target value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:13: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:14: error: cannot find symbol
import net.sf.sevenzipjbinding.ExtractAskMode;
^
symbol: class ExtractAskMode
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:15: error: cannot find symbol
import net.sf.sevenzipjbinding.ExtractOperationResult;
^
symbol: class ExtractOperationResult
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:16: error: cannot find symbol
import net.sf.sevenzipjbinding.IArchiveExtractCallback;
^
symbol: class IArchiveExtractCallback
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:17: error: cannot find symbol
import net.sf.sevenzipjbinding.IArchiveOpenCallback;
^
symbol: class IArchiveOpenCallback
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:18: error: cannot find symbol
import net.sf.sevenzipjbinding.IArchiveOpenVolumeCallback;
^
symbol: class IArchiveOpenVolumeCallback
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:19: error: cannot find symbol
import net.sf.sevenzipjbinding.ICryptoGetTextPassword;
^
symbol: class ICryptoGetTextPassword
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:20: error: cannot find symbol
import net.sf.sevenzipjbinding.IInStream;
^
symbol: class IInStream
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:21: error: cannot find symbol
import net.sf.sevenzipjbinding.ISequentialOutStream;
^
symbol: class ISequentialOutStream
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:22: error: cannot find symbol
import net.sf.sevenzipjbinding.ISevenZipInArchive;
^
symbol: class ISevenZipInArchive
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:23: error: cannot find symbol
import net.sf.sevenzipjbinding.PropID;
^
symbol: class PropID
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:24: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZip;
^
symbol: class SevenZip
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:25: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipException;
^
symbol: class SevenZipException
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:26: error: package net.sf.sevenzipjbinding.impl does not exist
import net.sf.sevenzipjbinding.impl.RandomAccessFileInStream;
^
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:27: error: package net.sf.sevenzipjbinding.impl does not exist
import net.sf.sevenzipjbinding.impl.VolumedArchiveInStream;
^
net/sf/sevenzipjbinding/junit/JUnitNativeTestBase.java:4: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZip;
^
symbol: class SevenZip
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/JUnitNativeTestBase.java:5: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipNativeInitializationException;
^
symbol: class SevenZipNativeInitializationException
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:44: error: cannot find symbol
protected final ArchiveFormat archiveFormat;
^
symbol: class ArchiveFormat
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:59: error: cannot find symbol
public ExtractFileAbstractTest(ArchiveFormat archiveFormat, String extention, int compression1, int compression2,
^
symbol: class ArchiveFormat
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:68: error: cannot find symbol
public ExtractFileAbstractTest(ArchiveFormat archiveFormat, int compression1, int compression2, int compression3) {
^
symbol: class ArchiveFormat
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/JUnitNativeTestBase.java:31: error: cannot find symbol
public static void initializeSevenZipJBinding() throws SevenZipNativeInitializationException {
^
symbol: class SevenZipNativeInitializationException
location: class JUnitNativeTestBase
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:401: error: cannot find symbol
private RandomAccessFileInStream randomAccessFileInStream;
^
symbol: class RandomAccessFileInStream
location: class ExtractFileAbstractTest.ExtractionInArchiveTestHelper
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:616: error: cannot find symbol
public static class VolumeArchiveOpenCallback implements IArchiveOpenCallback, IArchiveOpenVolumeCallback,
^
symbol: class IArchiveOpenCallback
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:616: error: cannot find symbol
public static class VolumeArchiveOpenCallback implements IArchiveOpenCallback, IArchiveOpenVolumeCallback,
^
symbol: class IArchiveOpenVolumeCallback
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:617: error: cannot find symbol
ICryptoGetTextPassword {
^
symbol: class ICryptoGetTextPassword
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:408: error: cannot find symbol
public ISevenZipInArchive openArchiveFileWithSevenZip(int fileIndex, int compressionIndex,
^
symbol: class ISevenZipInArchive
location: class ExtractFileAbstractTest.ExtractionInArchiveTestHelper
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:409: error: cannot find symbol
boolean autodetectFormat, String testFileNameWE, String testFileExt) throws SevenZipException {
^
symbol: class SevenZipException
location: class ExtractFileAbstractTest.ExtractionInArchiveTestHelper
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:630: error: cannot find symbol
public Object getProperty(PropID propID) {
^
symbol: class PropID
location: class VolumeArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:642: error: cannot find symbol
public IInStream getStream(String filename) {
^
symbol: class IInStream
location: class VolumeArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:681: error: cannot find symbol
public String cryptoGetTextPassword() throws SevenZipException {
^
symbol: class SevenZipException
location: class VolumeArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:487: error: cannot find symbol
public class CombinedArchiveOpenCallback implements IArchiveOpenCallback, ICryptoGetTextPassword,
^
symbol: class IArchiveOpenCallback
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:487: error: cannot find symbol
public class CombinedArchiveOpenCallback implements IArchiveOpenCallback, ICryptoGetTextPassword,
^
symbol: class ICryptoGetTextPassword
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:488: error: cannot find symbol
IArchiveOpenVolumeCallback {
^
symbol: class IArchiveOpenVolumeCallback
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:489: error: cannot find symbol
private final ICryptoGetTextPassword cryptoGetTextPassword;
^
symbol: class ICryptoGetTextPassword
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:490: error: cannot find symbol
private final IArchiveOpenVolumeCallback archiveOpenVolumeCallback;
^
symbol: class IArchiveOpenVolumeCallback
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:491: error: cannot find symbol
private final IArchiveOpenCallback archiveOpenCallback;
^
symbol: class IArchiveOpenCallback
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:493: error: cannot find symbol
public CombinedArchiveOpenCallback(IArchiveOpenCallback archiveOpenCallback,
^
symbol: class IArchiveOpenCallback
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:494: error: cannot find symbol
ICryptoGetTextPassword cryptoGetTextPassword, IArchiveOpenVolumeCallback archiveOpenVolumeCallback) {
^
symbol: class ICryptoGetTextPassword
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:494: error: cannot find symbol
ICryptoGetTextPassword cryptoGetTextPassword, IArchiveOpenVolumeCallback archiveOpenVolumeCallback) {
^
symbol: class IArchiveOpenVolumeCallback
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:501: error: cannot find symbol
public void setCompleted(Long files, Long bytes) throws SevenZipException {
^
symbol: class SevenZipException
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:505: error: cannot find symbol
public void setTotal(Long files, Long bytes) throws SevenZipException {
^
symbol: class SevenZipException
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:509: error: cannot find symbol
public String cryptoGetTextPassword() throws SevenZipException {
^
symbol: class SevenZipException
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:513: error: cannot find symbol
public Object getProperty(PropID propID) throws SevenZipException {
^
symbol: class PropID
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:513: error: cannot find symbol
public Object getProperty(PropID propID) throws SevenZipException {
^
symbol: class SevenZipException
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:517: error: cannot find symbol
public IInStream getStream(String filename) throws SevenZipException {
^
symbol: class IInStream
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:517: error: cannot find symbol
public IInStream getStream(String filename) throws SevenZipException {
^
symbol: class SevenZipException
location: class ExtractFileAbstractTest.CombinedArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:523: error: cannot find symbol
public class PasswordArchiveOpenCallback implements IArchiveOpenCallback, ICryptoGetTextPassword {
^
symbol: class IArchiveOpenCallback
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:523: error: cannot find symbol
public class PasswordArchiveOpenCallback implements IArchiveOpenCallback, ICryptoGetTextPassword {
^
symbol: class ICryptoGetTextPassword
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:543: error: cannot find symbol
public String cryptoGetTextPassword() throws SevenZipException {
^
symbol: class SevenZipException
location: class ExtractFileAbstractTest.PasswordArchiveOpenCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:549: error: cannot find symbol
public class PasswordArchiveExtractCallback implements IArchiveExtractCallback, ICryptoGetTextPassword {
^
symbol: class IArchiveExtractCallback
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:549: error: cannot find symbol
public class PasswordArchiveExtractCallback implements IArchiveExtractCallback, ICryptoGetTextPassword {
^
symbol: class ICryptoGetTextPassword
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:551: error: cannot find symbol
private final ISequentialOutStream outputStream;
^
symbol: class ISequentialOutStream
location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:552: error: cannot find symbol
private ExtractOperationResult extractOperationResult;
^
symbol: class ExtractOperationResult
location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:554: error: cannot find symbol
public PasswordArchiveExtractCallback(ISequentialOutStream outputStream) {
^
symbol: class ISequentialOutStream
location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:562: error: cannot find symbol
public ISequentialOutStream getStream(int index, ExtractAskMode extractAskMode) {
^
symbol: class ExtractAskMode
location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:562: error: cannot find symbol
public ISequentialOutStream getStream(int index, ExtractAskMode extractAskMode) {
^
symbol: class ISequentialOutStream
location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:570: error: cannot find symbol
public void prepareOperation(ExtractAskMode extractAskMode) {
^
symbol: class ExtractAskMode
location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:577: error: cannot find symbol
public void setOperationResult(ExtractOperationResult extractOperationResult) {
^
symbol: class ExtractOperationResult
location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:599: error: cannot find symbol
public String cryptoGetTextPassword() throws SevenZipException {
^
symbol: class SevenZipException
location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:603: error: cannot find symbol
public ExtractOperationResult getExtractOperationResult() {
^
symbol: class ExtractOperationResult
location: class ExtractFileAbstractTest.PasswordArchiveExtractCallback
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:608: error: cannot find symbol
public static class ExtractOperationResultException extends SevenZipException {
^
symbol: class SevenZipException
location: class ExtractFileAbstractTest
net/sf/sevenzipjbinding/junit/ExtractFileAbstractTest.java:611: error: cannot find symbol
public ExtractOperationResultException(ExtractOperationResult extractOperationResult) {
^
symbol: class ExtractOperationResult
location: class ExtractOperationResultException
net/sf/sevenzipjbinding/junit/JUnitInitializationTest.java:4: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZip;
^
symbol: class SevenZip
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/JUnitInitializationTest.java:5: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipNativeInitializationException;
^
symbol: class SevenZipNativeInitializationException
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/JUnitInitializationTest.java:34: error: cannot find symbol
public void doubleInitializationTest() throws SevenZipNativeInitializationException {
^
symbol: class SevenZipNativeInitializationException
location: class JUnitInitializationTest
net/sf/sevenzipjbinding/junit/badarchive/GarbageArchiveFileTest.java:7: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/badarchive/GarbageArchiveFileTest.java:8: error: cannot find symbol
import net.sf.sevenzipjbinding.IInStream;
^
symbol: class IInStream
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/badarchive/GarbageArchiveFileTest.java:9: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZip;
^
symbol: class SevenZip
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/badarchive/GarbageArchiveFileTest.java:10: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipException;
^
symbol: class SevenZipException
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/badarchive/GarbageArchiveFileTest.java:166: error: cannot find symbol
public void openBadArchive(ArchiveFormat archiveFormat) throws Throwable {
^
symbol: class ArchiveFormat
location: class GarbageArchiveFileTest
net/sf/sevenzipjbinding/junit/badarchive/GarbageArchiveFileTest.java:187: error: cannot find symbol
public void openBadArchiveMultithreaded(final ArchiveFormat archiveFormat) throws Throwable {
^
symbol: class ArchiveFormat
location: class GarbageArchiveFileTest
net/sf/sevenzipjbinding/junit/badarchive/GarbageArchiveFileTest.java:239: error: cannot find symbol
public void doOpenBadArchive(ArchiveFormat archiveFormat) throws Exception {
^
symbol: class ArchiveFormat
location: class GarbageArchiveFileTest
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractHeaderPassTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractHeaderPassTest.java:4: error: cannot find symbol
import net.sf.sevenzipjbinding.SevenZipException;
^
symbol: class SevenZipException
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractPassTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractTest.java:9: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractTest.java:10: error: cannot find symbol
import net.sf.sevenzipjbinding.ISevenZipInArchive;
^
symbol: class ISevenZipInArchive
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractHeaderPassTest.java:16: error: cannot find symbol
public ExtractMultipleFileAbstractHeaderPassTest(ArchiveFormat archiveFormat, int compression1, int compression2,
^
symbol: class ArchiveFormat
location: class ExtractMultipleFileAbstractHeaderPassTest
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractHeaderPassTest.java:22: error: cannot find symbol
public ExtractMultipleFileAbstractHeaderPassTest(ArchiveFormat archiveFormat, String extention, int compression1,
^
symbol: class ArchiveFormat
location: class ExtractMultipleFileAbstractHeaderPassTest
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractPassTest.java:9: error: cannot find symbol
public ExtractMultipleFileAbstractPassTest(ArchiveFormat archiveFormat, int compression1, int compression2,
^
symbol: class ArchiveFormat
location: class ExtractMultipleFileAbstractPassTest
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractPassTest.java:20: error: cannot find symbol
public ExtractMultipleFileAbstractPassTest(ArchiveFormat archiveFormat, String extention, int compression1,
^
symbol: class ArchiveFormat
location: class ExtractMultipleFileAbstractPassTest
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractTest.java:67: error: cannot find symbol
public ExtractMultipleFileAbstractTest(ArchiveFormat archiveFormat, int compression1, int compression2,
^
symbol: class ArchiveFormat
location: class ExtractMultipleFileAbstractTest
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileAbstractTest.java:72: error: cannot find symbol
public ExtractMultipleFileAbstractTest(ArchiveFormat archiveFormat, String extention, int compression1,
^
symbol: class ArchiveFormat
location: class ExtractMultipleFileAbstractTest
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileArjTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileCabTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileCpioTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileIsoTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileLzhTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileRarHeaderPassTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileRarPassTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileRarTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileRarVolumePassTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileRarVolumeTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileSevenZipHeaderPassTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileSevenZipPassTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileSevenZipTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileSevenZipVolumeHeaderPassTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileSevenZipVolumePassTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileSevenZipVolumeTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
net/sf/sevenzipjbinding/junit/multiplefiles/ExtractMultipleFileTarTest.java:3: error: cannot find symbol
import net.sf.sevenzipjbinding.ArchiveFormat;
^
symbol: class ArchiveFormat
location: package net.sf.sevenzipjbinding
100 errors
4 warnings
make[2]: *** [CMakeFiles/sevenzip-jbinding-test-jar.dir/build.make:142: jbinding-java/sevenzip-jbinding-tests.jar] Error 1
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/sevenzip-jbinding-test-jar.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
  #509  
Old 30.08.2019, 17:32
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Hast du Zugriff auf ein Linux? Falls ja, könntest einfach zb eine VM mit 32bit Linux nutzen und dort drin compilen. Ich könnte das auch aber momentan fehlt mir dazu leider echt die Zeit :(
__________________
JD-Dev & Server-Admin
  #510  
Old 30.08.2019, 17:43
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Ich mach mir mal eine in VirtualBox, mal gucken wie weit ich komme. Danke schon einmal. Ich werde berichten.
  #511  
Old 30.08.2019, 17:58
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Sollte relativ einfach sein. Ein 32Bit Linux iinstallieren, und dort dann die Schritte ausführen, so hab ich das damals für ARM(via qemu) gemacht
__________________
JD-Dev & Server-Admin
  #512  
Old 30.08.2019, 21:49
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

VM aufgesetzt, alles drauf und bis auf make package lief alles sauber durch.

ctest:
Spoiler:
ctest
Test project /apps/SevenZipJBinding
Start 1: JUnit-init
1/6 Test #1: JUnit-init ........................ Passed 1.37 sec
Start 2: JUnit-tools
2/6 Test #2: JUnit-tools ....................... Passed 0.57 sec
Start 3: JUnit-snippets
3/6 Test #3: JUnit-snippets .................... Passed 0.25 sec
Start 4: JUnit-single-file-extraction
4/6 Test #4: JUnit-single-file-extraction ...... Passed 162.52 sec
Start 5: JUnit-multiple-files-extraction
5/6 Test #5: JUnit-multiple-files-extraction ... Passed 233.07 sec
Start 6: JUnit-badarchive
6/6 Test #6: JUnit-badarchive .................. Passed 9.48 sec

100% tests passed, 0 tests failed out of 6

Total Test time (real) = 407.28 sec


make package:
Spoiler:
make package
[ 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
[ 98%] Built target 7-Zip-JBinding
[ 99%] Built target sevenzip-jbinding-lib-jar
[ 99%] target
[100%] Built target sevenzip-jbinding-test-jar
Run CPack packaging tool...
CPack: Create package using ZIP
CPack: Install projects
CPack: - Run preinstall target for: SevenZipJBinding
CPack: - Install project: SevenZipJBinding
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:12: error: tag not allowed here: <li>
* Get property of the volume file. An implementation must support at least following PropIDs: <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:13: error: tag not allowed here: <li>
* {@link PropID#NAME} (Type: String) <li> {@link PropID#IS_FOLDER} (Type: Boolean): <li> {@link PropID#SIZE} (Type:
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:13: error: tag not allowed here: <li>
* {@link PropID#NAME} (Type: String) <li> {@link PropID#IS_FOLDER} (Type: Boolean): <li> {@link PropID#SIZE} (Type:
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:15: error: tag not allowed here: <li>
* {@link PropID#CREATION_TIME} (Type: Date) <li> {@link PropID#LAST_WRITE_TIME} (Type: Date) <br>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:35: error: tag not allowed here: <li>
* <li> {@link #SEEK_SET} - <code>offset</code> is an absolute offset to move to,<br><li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:35: error: tag not allowed here: <li>
* <li> {@link #SEEK_SET} - <code>offset</code> is an absolute offset to move to,<br><li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:37: error: tag not allowed here: <li>
* <li> {@link #SEEK_END} - <code>offset</code> is an offset from the end of the stream
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:38: error: malformed HTML
* <code>(offset < 0)</code>.
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/ISequentialOutStream.java:11: error: bad use of '>'
* if (size > 0) this function must write at least 1 byte. This function is allowed to write less than "size". You
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/SevenZip.java:168: warning: no description for @throws
* @throws SevenZipNativeInitializationException
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/impl/RandomAccessFileInStream.java:76: warning: no description for @throws
* @throws IOException
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/impl/VolumedArchiveInStream.java:17: error: bad use of '>'
* <blockquote> <code>cat name.7z.* > name.7z</code> </blockquote>
^
13 errors
2 warnings
CPack: Create package
CPack Error: Problem while adding file< /apps/SevenZipJBinding/_CPack_Packages/Linux/ZIP/sevenzip-jbinding-4.65-1.02rc-extr-only-Linux-i686/LGPL> to archive </apps/SevenZipJBinding/_CPack_Packages/Linux/ZIP/sevenzip-jbinding-4.65-1.02rc-extr-only-Linux-i686.zip> .ERROR =archive_write_header: Filetype not supported
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: SevenZipJBinding
make: *** [package] Error 1
[root@oel6-32Bit SevenZipJBinding]# env | grep -i java
[root@oel6-32Bit SevenZipJBinding]# export JAVA_HOME=/apps/jdk1.8.0_221
[root@oel6-32Bit SevenZipJBinding]# make package
[ 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
[ 98%] Built target 7-Zip-JBinding
[ 99%] Built target sevenzip-jbinding-lib-jar
[ 99%] target
[100%] Built target sevenzip-jbinding-test-jar
Run CPack packaging tool...
CPack: Create package using ZIP
CPack: Install projects
CPack: - Run preinstall target for: SevenZipJBinding
CPack: - Install project: SevenZipJBinding
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:12: error: tag not allowed here: <li>
* Get property of the volume file. An implementation must support at least following PropIDs: <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:13: error: tag not allowed here: <li>
* {@link PropID#NAME} (Type: String) <li> {@link PropID#IS_FOLDER} (Type: Boolean): <li> {@link PropID#SIZE} (Type:
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:13: error: tag not allowed here: <li>
* {@link PropID#NAME} (Type: String) <li> {@link PropID#IS_FOLDER} (Type: Boolean): <li> {@link PropID#SIZE} (Type:
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:15: error: tag not allowed here: <li>
* {@link PropID#CREATION_TIME} (Type: Date) <li> {@link PropID#LAST_WRITE_TIME} (Type: Date) <br>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:35: error: tag not allowed here: <li>
* <li> {@link #SEEK_SET} - <code>offset</code> is an absolute offset to move to,<br><li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:35: error: tag not allowed here: <li>
* <li> {@link #SEEK_SET} - <code>offset</code> is an absolute offset to move to,<br><li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:37: error: tag not allowed here: <li>
* <li> {@link #SEEK_END} - <code>offset</code> is an offset from the end of the stream
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:38: error: malformed HTML
* <code>(offset < 0)</code>.
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/ISequentialOutStream.java:11: error: bad use of '>'
* if (size > 0) this function must write at least 1 byte. This function is allowed to write less than "size". You
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/SevenZip.java:168: warning: no description for @throws
* @throws SevenZipNativeInitializationException
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/impl/RandomAccessFileInStream.java:76: warning: no description for @throws
* @throws IOException
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/impl/VolumedArchiveInStream.java:17: error: bad use of '>'
* <blockquote> <code>cat name.7z.* > name.7z</code> </blockquote>
^
13 errors
2 warnings
CPack: Create package
CPack Error: Problem while adding file< /apps/SevenZipJBinding/_CPack_Packages/Linux/ZIP/sevenzip-jbinding-4.65-1.02rc-extr-only-Linux-i686/LGPL> to archive </apps/SevenZipJBinding/_CPack_Packages/Linux/ZIP/sevenzip-jbinding-4.65-1.02rc-extr-only-Linux-i686.zip> .ERROR =archive_write_header: Filetype not supported
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: SevenZipJBinding
make: *** [package] Error 1
  #513  
Old 31.08.2019, 08:23
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Ok, die Warning sind durch Java 8 (doclint) und wenn ich den Schritt "git checkout Release-4.65-1.02rc-extr-only" weg lasse, dann läuft auch "make package". Welche Version sollte ich den überhaupt nehmen?
Wie muss ich die beiden jar Files benamen, bevor ich sie in libs bereitstelle?

Edit:
habe mal mit dem Branch migrate-to-15.09-try2 versucht, da du ja auch 1509 verwendest, aber da ist aktuell dann bei "make" Ende.

cmake3:
Spoiler:
cmake3 --version
cmake3 version 3.6.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).


cmake3 .
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for java JNI jni.h include path
-- Looking for java JNI jni.h include path - found: /apps/jdk1.8.0_221/include
-- Looking for java JNI jni_md.h include path
-- Looking for java JNI jni_md.h include path - found: /apps/jdk1.8.0_221/include/linux
-- Looking for java compiler 'javac'
-- Looking for java compiler 'javac' - found: /apps/jdk1.8.0_221/bin/javac
-- Looking for java header compiler 'javah'
-- Looking for java header compiler 'javah' - found: /apps/jdk1.8.0_221/bin/javah
-- Looking for java API Documentation Generator 'javadoc'
-- Looking for java API Documentation Generator 'javadoc' - found: /apps/jdk1.8.0_221/bin/javadoc
-- Looking for java VM 'java'
-- Looking for java VM 'java' - found: /apps/jdk1.8.0_221/bin/java
-- Looking for java archiver 'jar'
-- Looking for java archiver 'jar' - found: /apps/jdk1.8.0_221/bin/jar
-- Checking java compile
-- Checking java compile - ok
-- Checking java system properties
-- Checking java compile - ok (arch: i386, system: Linux)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Compiling on posix system: Linux

Build type: , platform: Linux-i386

Java VM: /apps/jdk1.8.0_221/bin/java
Java compiler: /apps/jdk1.8.0_221/bin/javac
Java header compiler: /apps/jdk1.8.0_221/bin/javah
Java documentation tool: /apps/jdk1.8.0_221/bin/javadoc
Java archiver: /apps/jdk1.8.0_221/bin/jar
MinGW: No
MinGW-32: No
MinGW-64: No
APPLE:
Output package: ./sevenzipjbinding-15.09-2.01beta-Linux-i386.zip


Type 'make' to compile
Type 'ctest' to run tests (it could take up to 90 minutes on a slow CPU)
Type 'make package' to build a distribution package

-- Prepare for testing
-- Configuring done
-- Generating done
-- Build files have been written to: /apps/SevenZipJBinding1509-try2


make:
Spoiler:
make
Scanning dependencies of target sevenzipjbinding-jar
[ 0%] core
warning: [options] bootstrap class path not set in conjunction with -source 1.5
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] target value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
4 warnings
[ 1%] target
[ 1%] Built target sevenzipjbinding-jar
[ 1%] javah: generating h-files from java classes net.sf.sevenzipjbinding.SevenZip;net.sf.sevenzipjbinding.impl.InArchiveImpl;net.sf.sevenzipjbinding. impl.OutArchiveImpl
Scanning dependencies of target 7-Zip-JBinding
[ 1%] Building CXX object jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/Debug.cpp.o
[ 2%] Building CXX object jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/JNITools.cpp.o
In file included from /apps/SevenZipJBinding1509-try2/jbinding-cpp/JNITools.cpp:3:
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: ISO C++ forbids initialization of member âptrâ
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: making âptrâ static
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h: In instantiation of âWithStackBuffer<short unsigned int>â:
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:38: instantiated from here
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: invalid in-class initialization of static data member of non-integral type âshort unsigned int*â
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h: In instantiation of âWithStackBuffer<wchar_t>â:
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:98: instantiated from here
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: invalid in-class initialization of static data member of non-integral type âwchar_t*â
make[2]: *** [jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/JNITools.cpp.o] Error 1
make[1]: *** [jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/all] Error 2
make: *** [all] Error 2


Ich gucke mal ob noch Pakete fehlen...

Last edited by wolverine; 31.08.2019 at 12:50.
  #514  
Old 31.08.2019, 19:04
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Ich habe mich mal für eine andere Distribution entschieden, und da läuft es.
Aber in JD2 leider nicht.

Ich habe die Files wie du auch 1509 benannt, und habe das branch 15.09-try2 genommen.

ExtractionExtension.log
Spoiler:
------------------------Thread: 36:ExtractionExtension.log-----------------------
--ID:36TS:1567267036155-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(checkLibraries)] -> Try Lib IDs: [Linux-i386]
--ID:36TS:1567267036155-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib ID: Linux-i386
--ID:36TS:1567267036179-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip->true
--ID:36TS:1567267036325-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Could not initialize Multiunpacker:#1
--ID:36TS:1567267036327-8/31/19 3:57:16 PM - [] -> Exception thrown at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:208):
net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so'
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:652)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:456)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:398)
at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:184)
at org.jdownloader.extensions.extraction.multi.Multi.checkLibraries(Multi.java:226)
at org.jdownloader.extensions.extraction.multi.Multi.hasLibrarySupport(Multi.java:379)
at org.jdownloader.extensions.extraction.multi.Multi.isAvailable(Multi.java:402)
at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.ja va:513)
at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:393)
at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:79)
at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:319)
at org.jdownloader.extensions.LazyExtension.init(LazyExtension.java:234)
at org.jdownloader.extensions.ExtensionController.loadFromCache(ExtensionController.java:238)
at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:125)
at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:795)
Caused by: java.lang.UnsatisfiedLinkError: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so: ELF file OS ABI invalid
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:650)
... 14 more

--ID:36TS:1567267036327-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /tmp->true
--ID:36TS:1567267036447-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Could not initialize Multiunpacker:#2
--ID:36TS:1567267036449-8/31/19 3:57:16 PM - [] -> Exception thrown at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:216):
net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/tmp/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so'
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:652)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:456)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:366)
at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:213)
at org.jdownloader.extensions.extraction.multi.Multi.checkLibraries(Multi.java:226)
at org.jdownloader.extensions.extraction.multi.Multi.hasLibrarySupport(Multi.java:379)
at org.jdownloader.extensions.extraction.multi.Multi.isAvailable(Multi.java:402)
at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.ja va:513)
at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:393)
at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:79)
at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:319)
at org.jdownloader.extensions.LazyExtension.init(LazyExtension.java:234)
at org.jdownloader.extensions.ExtensionController.loadFromCache(ExtensionController.java:238)
at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:125)
at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:795)
Caused by: java.lang.UnsatisfiedLinkError: /tmp/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so: /tmp/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so: ELF file OS ABI invalid
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:650)
... 14 more

--ID:36TS:1567267036450-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(isAvailable)] -> Unsupported SevenZipJBinding|CPU_ARCH=X86|OS_FAM=LINUX|OS=LINUX|64Bit_JVM=false|64Bit_ARCH=false
--ID:36TS:1567267036450-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.ExtractionExtension(lazyInitOnceOnStart)] -> Extractor org.jdownloader.extensions.extraction.multi.Multi plugin could not be initialized
--ID:36TS:1567267036457-8/31/19 3:57:16 PM - [org.jdownloader.extensions.AbstractExtension(init)] -> Init Duration: 709
  #515  
Old 02.09.2019, 16:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

@wolverine: Welche Distro hast du denn genommen zum Compilen? Die Fehlermeldung lässt auf irgendwas beim Bauen schließen? Inkompatibelität zwischen dem Linux auf der NAS und deiner Build-Umgebung.
Zum Bauen solltest du Java8 nehmen und den Branch migrate-to-15.09-try2
__________________
JD-Dev & Server-Admin
  #516  
Old 02.09.2019, 18:13
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Schlussendlich ein Ubuntu 16(32Bit). Aber, wenn ich alles richtig mache, dann bekomme ich es jetzt auch auf dem NAS kompiliert. Mir war halt nicht klar welches Branch ich nehmen soll.

Also Java (Oracle JDK 1.8.0_221) und die Branch migrate-to-15.09-try2. Und wenn ich die jars unter dem Namen sevenzipjbinding1509.jar und sevenzipjbinding1509Linux.jar in libs bereitstelle, die ich auf dem NAS selbst kompiliert habe, bleibt es bei dem Problem.

ExtractionExtension.log (ohne die neuen jars)
Spoiler:
------------------------Thread: 36:ExtractionExtension.log-----------------------
--ID:36TS:1567288861010-8/31/19 10:01:01 PM - [org.jdownloader.extensions.extraction.multi.Multi(checkLibraries)] -> Try Lib IDs: [Linux-i386]
--ID:36TS:1567288861011-8/31/19 10:01:01 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib ID: Linux-i386
--ID:36TS:1567288861017-8/31/19 10:01:01 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip->true
--ID:36TS:1567288861129-8/31/19 10:01:01 PM - [org.jdownloader.extensions.extraction.multi.Multi(isAvailable)] -> Supported SevenZipJBinding|Version=4.65|RAR5=false|CPU_ARCH=X86|OS_FAM=LINUX|OS=LINUX|64Bit_JVM=false|64Bit_AR CH=false
--ID:36TS:1567288861134-8/31/19 10:01:01 PM - [org.jdownloader.extensions.AbstractExtension(init)] -> Init Duration: 387


ExtractionExtension.log (mit den neuen jars, die auf dem NAS kompiliert wurden)
Spoiler:
------------------------Thread: 36:ExtractionExtension.log-----------------------
--ID:36TS:1567437154378-9/2/19 3:12:34 PM - [org.jdownloader.extensions.extraction.multi.Multi(checkLibraries)] -> Try Lib IDs: [Linux-i386]
--ID:36TS:1567437154378-9/2/19 3:12:34 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib ID: Linux-i386
--ID:36TS:1567437154418-9/2/19 3:12:34 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip->true
--ID:36TS:1567437155073-9/2/19 3:12:35 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Could not initialize Multiunpacker:#1
--ID:36TS:1567437155075-9/2/19 3:12:35 PM - [] -> Exception thrown at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:208):
net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so'
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:652)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:456)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:398)
at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:184)
at org.jdownloader.extensions.extraction.multi.Multi.checkLibraries(Multi.java:226)
at org.jdownloader.extensions.extraction.multi.Multi.hasLibrarySupport(Multi.java:379)
at org.jdownloader.extensions.extraction.multi.Multi.isAvailable(Multi.java:402)
at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.ja va:513)
at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:393)
at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:79)
at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:319)
at org.jdownloader.extensions.LazyExtension.init(LazyExtension.java:234)
at org.jdownloader.extensions.ExtensionController.loadFromCache(ExtensionController.java:238)
at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:125)
at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:795)
Caused by: java.lang.UnsatisfiedLinkError: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so: ELF file OS ABI invalid
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:650)
... 14 more

--ID:36TS:1567437155075-9/2/19 3:12:35 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /tmp->true
--ID:36TS:1567437155401-9/2/19 3:12:35 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Could not initialize Multiunpacker:#2
--ID:36TS:1567437155402-9/2/19 3:12:35 PM - [] -> Exception thrown at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:216):
net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/tmp/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so'
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:652)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:456)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:366)
at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:213)
at org.jdownloader.extensions.extraction.multi.Multi.checkLibraries(Multi.java:226)
at org.jdownloader.extensions.extraction.multi.Multi.hasLibrarySupport(Multi.java:379)
at org.jdownloader.extensions.extraction.multi.Multi.isAvailable(Multi.java:402)
at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.ja va:513)
at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:393)
at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:79)
at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:319)
at org.jdownloader.extensions.LazyExtension.init(LazyExtension.java:234)
at org.jdownloader.extensions.ExtensionController.loadFromCache(ExtensionController.java:238)
at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:125)
at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:795)
Caused by: java.lang.UnsatisfiedLinkError: /tmp/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so: /tmp/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so: ELF file OS ABI invalid
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:650)
... 14 more

--ID:36TS:1567437155402-9/2/19 3:12:35 PM - [org.jdownloader.extensions.extraction.multi.Multi(isAvailable)] -> Unsupported SevenZipJBinding|CPU_ARCH=X86|OS_FAM=LINUX|OS=LINUX|64Bit_JVM=false|64Bit_ARCH=false
--ID:36TS:1567437155403-9/2/19 3:12:35 PM - [org.jdownloader.extensions.extraction.ExtractionExtension(lazyInitOnceOnStart)] -> Extractor org.jdownloader.extensions.extraction.multi.Multi plugin could not be initialized
--ID:36TS:1567437155408-9/2/19 3:12:35 PM - [org.jdownloader.extensions.AbstractExtension(init)] -> Init Duration: 1785

Last edited by wolverine; 02.09.2019 at 18:19.
  #517  
Old 02.09.2019, 18:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Also die Fehlermeldung klingt als würde die Build-Umgebung nen andres Grundsystem(Linux/ABI) bieten als die NAS es nutzt
Quote:
ELF file OS ABI invalid
Ich kann gerne mal via Teamviewer mit drauf schauen, schreib mir einfach an support@jdownloader.org
__________________
JD-Dev & Server-Admin
  #518  
Old 02.09.2019, 18:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 69,349
Default

Quote:
Also Java (Oracle JDK 1.8.0_221) und die Branch migrate-to-15.09-try2. Und wenn ich die jars unter dem Namen sevenzipjbinding1509.jar und sevenzipjbinding1509Linux.jar in libs bereitstelle
Ja, das sollte so gehen. Muss nur irgendein Unterschied sein zwischen dem NAS und Build-System
__________________
JD-Dev & Server-Admin
  #519  
Old 02.09.2019, 18:43
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

@Jiaz
Danke, Mail ist raus
  #520  
Old 07.09.2019, 20:42
jaydeeownluder jaydeeownluder is offline
JD Fan
 
Join Date: Dec 2010
Location: kölle
Posts: 71
Default

Quote:
Originally Posted by Jiaz View Post
Deutsch: Die Dateien NICHT umbennen! Bitte einfach nur entpacken![/B][/B]

1.)
Deutsch: Die Zip Datei von Mega herunterladen

2.)
Deutsch: Die zip Datei bitte in den JDownloader/libs Ordner entpacken. Der Ordner kann über den About/Über Dialog des JDownloader gefunden/geöffnet werden.
Hallo,
ich habe mal ne evtl. dumme Frage,
aber ich hatte jetzt schon desöfteren die Problematik, nach Neuinstallationen (des JD2 unter Win, Mac, oder Linux) die RAR5 Archive nicht entpackt wurden.
Natürlich habe ich nach dem jeweiligen erfolgreichen Anwenden der obigen Anleitung und vorherigen Suchen und wiederfindens im Forum es geschafft, den Kram ans laufen zu bekommen,

.... aaaber

was ist der Grund, dass der rar5 Support nicht einfach im JD2 eingebaut wird, also von Haus aus funktioniert und das man hier selbst Hand anlegen soll?
Das Updatesystem ist doch schon so geschmeidig, da könnte man dem (evtl. technisch unversierten) User dann doch auch noch die manuelle Fleißarbeit abnehmen, sprich erleichtern.

Was spricht dagegen?
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 11:51.
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 - 2021, Jelsoft Enterprises Ltd.