Menu

Building RPM package errors

AlexL
2019-01-29
2019-02-04
  • AlexL

    AlexL - 2019-01-29

    Mageia 6:
    error: package com.vividsolutions.jts.geom does not exist
    error: package com.vividsolutions.jts.index.strtree does not exist

    Package jts-1.13-7.mga6 installed.

    There is full log in attachment.

     
  • MarcoA

    MarcoA - 2019-01-29

    Well, no idea, I package these libraries into the jar file.
    And I do not get these errors.

    I do not use Linux (Mageia).
    And I am no expert anyway.
    I did not even implement R-Trees (Richard David Williams did), but it works without any bugs for a long time now (had to fix one) and really helps in improving the performance of the simulation.

    Does this mean, that the Color Mod doesn´t run on Linux? The same would be true for vanilla 0.9 because it also uses R-Trees now.

     
  • AlexL

    AlexL - 2019-01-29

    Your jar file runs, but needs to build from sources for repository.
    It's not only Mageia problem. Program does not build in any linux, needs to patch.
    MarcoA, do you have resources to install Virtual Box and to look at building in Linux?
    Neeeds to use packages from repository, do not use own jar files and to try to build.

     
  • MarcoA

    MarcoA - 2019-01-29

    I do not have "Virtual Box" and did not ever use Linux and do not know how repositories in Linux work. If this is common programmer knowledge... Well, I am not one, everything what I know is self taught. If something made the program compatible with Linux it is (or was partly :/) completely Joan Queralts work.

    At least the jar file runs.

    If you want, you can (try to) fix it yourself.
    If you need something, that you don´t have yet (sourcecode is uploaded), you can tell me and I upload it (or whatever the problem might be).

     
  • AlexL

    AlexL - 2019-01-31

    You need jts =< 1.14 and we have 1.15 :( not compatible.
    And 1.16.0 is in upstream: https://projects.eclipse.org/projects/locationtech.jts
    So this is problem number 1.
    Needs to be compatible with the latest version always and keep support for prev. versions.

     

    Last edit: AlexL 2019-01-31
  • AlexL

    AlexL - 2019-02-04

    You uploaded only jar files to test, but I need source code with jts-1.15.0 support.
    Nothing can be tested.

    There is updated build.xml in attachment.

     
  • MarcoA

    MarcoA - 2019-02-04

    Hi again.

    But the sourcecode is definitely included.

    "src" = sourcecode.

     
  • AlexL

    AlexL - 2019-02-04

    I did not see differences with "ColorMod 1_81 and sourcecode.zip".

     
  • MarcoA

    MarcoA - 2019-02-04

    world.java imports:

    import org.locationtech.jts.geom.Envelope;
    import org.locationtech.jts.index.strtree.STRtree;

    also in pom.xml:

    <dependency>
    <groupid>org.locationtech.jts</groupid>
    <artifactid>jts-core</artifactid>
    <version>1.15.0</version>
    </dependency>

    This is enough to build the jar file, that includes the 1.15.0 JTS-core in the biogenesis jar file.
    
     
  • MarcoA

    MarcoA - 2019-02-04

    Well ok, the pom.xml file was not included, because it was not in src...

     
  • AlexL

    AlexL - 2019-02-04

    Do you build by ant?
    error: package org.locationtech.jts.geom does not exist
    error: package org.locationtech.jts.index.strtree does not exist

     
  • MarcoA

    MarcoA - 2019-02-04

    Do not use Ant.

    Just a Maven project in Eclipse.

    Eclipse downloads these libraries, when I change the pom.xml file. But the JTS-core is also in the jar file.

     
  • AlexL

    AlexL - 2019-02-04

    We use ant to build linux package :)
    Anyway I built package without pom.xml
    I based on "ColorMod 1_81 and sourcecode.zip" with updated build.xml.

     
  • AlexL

    AlexL - 2019-02-04

    file-not-utf8 "changelog vanilla"

     
  • MarcoA

    MarcoA - 2019-02-04

    Ok, this means that it runs now with Mageia?
    I had no problems with your build.xml file myself and can use it.

     
  • AlexL

    AlexL - 2019-02-04

    There is updated launch_biogenesis in attachment.
    It builds and runs with new build.xml and new launch_biogenesis.

     

    Last edit: AlexL 2019-02-04

Log in to post a comment.

MongoDB Logo MongoDB