Package Details: omnetpp 5.6.2-4

Git Clone URL: https://aur.archlinux.org/omnetpp.git (read-only, click to copy)
Package Base: omnetpp
Description: Component-based simulation package designed for modeling communication networks
Upstream URL: http://www.omnetpp.org
Licenses: Academic Public License
Submitter: yhfudev
Maintainer: ekkelett (a36233)
Last Packager: ekkelett
Votes: 2
Popularity: 0.000000
First Submitted: 2016-05-17 06:16
Last Updated: 2021-05-04 00:07

Dependencies (12)

Required by (0)

Sources (2)

Pinned Comments

ekkelett commented on 2021-04-27 08:40

I'll try to bring this package and omnetpp-preview into line with one another.

The paths issue seems to be fairly straightforward: the order of creating the prerequisite installation directories is not correct.

That being said, I'm likely to move almost all of the installation into /opt/omnetpp rather than spreading it across the FHS. I'd like to hear back from you what you'd prefer and what you think about that.

EDIT: Note that requesting an amended PKGBUILD without the defects that h3ndrk pointed out is not done through flagging the package as out of date. 5.6.2 is still current. Please leave a comment instead.

Latest Comments

1 2 Next › Last »

torokati44 commented on 2021-05-19 17:02

Hi everyone! I'm one of the OMNeT++ developers - but not an Arch user at all. We've just recently discovered that these packages here are being worked on!

First of all, we'd like to thank you all for packaging our software into AUR, making it easier to install for your fellow Archers. Especially that you got both the stable 5.x releases and the 6.0 previews covered. We appreciate it.

About this in the pinned comment:

I'm likely to move almost all of the installation into /opt/omnetpp rather than spreading it across the FHS

In the past, we have planned to support splitting a release into separate places (the usual way for most packages) during installation.

But lately, we've come to think of it as the integrated library/toolkit/framework/SDK/IDE combination it really is; and now think that it is best if all of its pieces are kept in one place, as you also suggested. Many other software of this kind are installed the same way.

This could perhaps help avoid some potential confusion and conflicts for users using different major versions for different projects they are working on. If the version number is also included in the name of the installation directory, that would also allow any number of versions to be installed independently, for example in /opt/omnetpp-5.6.2 and /opt/omnetpp-6.0pre11, and so on.

If you need help with anything regarding the build process, feel free to reach out!

h3ndrk commented on 2021-05-18 05:49

I tried this package again (5.6.2-4) and tried to compile INET framework but got the following error:

/usr/bin/opp_makemake: error: opp_configfilepath didn't return the name of an existing directory, result was "/usr/bin/../Makefile.inc"

I was unable to "Build Project" from the IDE (it warns me about a missing Makefile in src/Makefile). The error above comes from executing make makefiles within the INET working directory.

FYI: I used https://github.com/inet-framework/inet/releases/tag/v4.2.3

ekkelett commented on 2021-05-03 22:37

pkgrel 3- now 4 is up. Your mileage may indeed vary; I haven't gotten around to running the sample tictoc yet, but we'll get there (and get it automated).

(If you're considering using OMNeT++, do use omnetpp-preview if you can. It's pretty nice.)

ekkelett commented on 2021-05-03 09:23

@ChillFre4k we'll see. It should be smooth sailing, but I haven't taken a proper look yet. Patches are welcome. Please use the out-of-date flag feature for its intended purpose.

ChillFre4k commented on 2021-05-03 07:28

@ekkelett the comments are full of problems. Can you fix it?

ekkelett commented on 2021-04-27 08:40

I'll try to bring this package and omnetpp-preview into line with one another.

The paths issue seems to be fairly straightforward: the order of creating the prerequisite installation directories is not correct.

That being said, I'm likely to move almost all of the installation into /opt/omnetpp rather than spreading it across the FHS. I'd like to hear back from you what you'd prefer and what you think about that.

EDIT: Note that requesting an amended PKGBUILD without the defects that h3ndrk pointed out is not done through flagging the package as out of date. 5.6.2 is still current. Please leave a comment instead.

h3ndrk commented on 2021-04-06 09:50

This PKGBUILD has more problems:

==> Starting package()...
cp: target '/home/user/omnetpp/pkg/omnetpp/opt/omnetpp' is not a directory
==> ERROR: A failure occurred in package().
    Aborting...

The paths seem to be messed up.

h3ndrk commented on 2021-04-06 09:39

If you encounter the error configure: error: Cannot find osgEarth 2.7 or later. Set WITH_OSGEARTH=no in configure.user to disable this feature or install an up to date version of osgEarth., the problem is that /usr/lib/libosgEarthUtil.so is missing (I don't know why). A workaround is to disable OSG Earth as mentioned in the error message (by setting WITH_OSGEARTH=no in the configure.user file). Here is a patch for the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 8ca222c..2bbf006 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,6 +40,7 @@ build() {
        LD_LIBRARY_PATH=${srcdir}/${_pkgname}-${pkgver}/lib:$LD_LIBRARY_PATH

        sed -i 's!OMNETPP_ROOT/images!OMNETPP_ROOT/images;/usr/share/omnetpp/images!' configure*
+       sed -i 's!WITH_OSGEARTH=yes!WITH_OSGEARTH=no!' configure.user
     sed -i '/for arg in \$ac_configure_args/,+8 d' configure
        ./configure --prefix=/usr

Tambup commented on 2021-03-08 20:39

I encountered the error configure: error: Cannot find osgEarth 2.7 or later. Set WITH_OSGEARTH=no in configure.user to disable this feature or install an up to date version of osgEarth., searching with lddconfig i found that libosgEarth.so.3.1.0 is actually the installed one. No solution found until now.

kumosawa commented on 2020-11-21 15:00

If you encounter the error cp: target '$HOME/.cache/yay/omnetpp/pkg/omnetpp/opt/omnetpp' is not a directory, you need to change the PKGBUILD file. Move line 71 to 78.

It should be like this:

install -d ${pkgdir}/opt/omnetpp
cp -R samples/* ${pkgdir}/opt/omnetpp
cp -R ide ${pkgdir}/opt/omnetpp