OMNeT++ is a C++-based object-oriented discrete event simulation.
Created attachment 104868 [details] omnetpp-3.3.ebuild
(this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Heuristics show that no Gentoo developer has commented on your ebuild. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Fiust off, this ebuild is now in sunrise. This ebuild has a number of problems with it (which unfortunately, I don't have time to fix all of) 1./ Like ns, this should be in net-analyzer. It is not a c++ dev tool. 2./ Required Dependencies in portage, not in the ebuild: dev-tcltk/blt 3./ Required Dependencies not in portage, not in the ebuild: giftrans ( http://www.abdn.ac.uk/tools/ibmpc/giftrans/index.hti ) 4./ Optional Dependencies not in portage, not in the ebuild: akaroa (http://www.cosc.canterbury.ac.nz/research/RG/net_sim/simulation_group/akaroa/about.chtml) 5./ Other Deps: The configure mentions MPI, but does not use sys-cluster/openmpi-1.2.9. 6./ Other problems: The ./configure looks for 'wish', and the check involves a call to $DISPLAY. Thus, for a virtual terminal owned by $USER, and su -'d to root, the build fails. It works as $USER using sudo. {not sure how to fix this without finding out more and pushing this problem upstream}
Created attachment 242355 [details] OMNet++ 4.1 ebuild
Created attachment 242357 [details, diff] OMNet++ patch
I have to use OMNeT++ for my project, so I have made this ebuild for 4.1. I make a path to the configuration stage in order to pass the sixth issue in the above commit. I hope this can help anyone who want this software on gentoo.
Created attachment 245729 [details] omnetpp 4.1 update A update version omnetpp 4.1. It works with MiXiM.
With the ebuild for 4.1 I get an error e.g. when loading the tictoc ned file: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x856745f1, pid=4798, tid=3064273776 # # JRE version: 6.0_23-b05 # Java VM: Java HotSpot(TM) Server VM (19.0-b09 mixed mode linux-x86 ) # Problematic frame: # C [libstdc++.so.6+0xb45f1] __cxa_allocate_exception+0x31 # # An error report file with more information is saved as: # /opt/omnetpp-4.1/ide/hs_err_pid4798.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
Well. I also get the error when I run the tictoc example. It looks like the upstream issue # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007fd7d28ab89b, pid=21762, tid=140564769875712 # # JRE version: 6.0_24-b07 # Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops) # Problematic frame: # j org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPSemantics.declaredBefore(Ljava/lang/Object;Lorg/eclipse/cdt/core/dom/ast/IASTNode;Z)Z+15 # # An error report file with more information is saved as: # /home/i13m/tmp/omnetpp-4.1/hs_err_pid21762.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp #
The above post is the when I manually compile the omnetpp. It also has the issue. I will try to report this issue to the upstream.
Created attachment 266433 [details] Fix omnetpp with sun-jdk-1.6.0.24 This ebuild is a workaround for the above issue. This is the upstream eclipse issue with sun-jdk-1.6.0.24. https://bugs.eclipse.org/bugs/show_bug.cgi?id=333227 Any feedbacks are welcomed.
Created attachment 293475 [details] Omnet++ 4.2 Update for Omnet++ 4.2
Created attachment 304351 [details] omnetpp 4.2.1 A rename of omnetpp 4.2
emerge: there are no ebuilds to satisfy "=dev-lang/tcl-8.4*". (dependency required by "dev-cpp/omnetpp-3.3::sunrise" [ebuild]) (dependency required by "dev-cpp/omnetpp" [argument]) So let's see if we can get something useful into sunrise at least ...
It seems that this package is no longer in Sunrise.