Package Details: omnetpp 6.0.3-1

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
Conflicts: omnetpp
Provides: omnetpp
Submitter: yhfudev
Maintainer: ekkelett (a36233)
Last Packager: a36233
Votes: 4
Popularity: 0.019998
First Submitted: 2016-05-17 06:16 (UTC)
Last Updated: 2024-03-12 11:29 (UTC)

Pinned Comments

ekkelett commented on 2021-04-27 08:40 (UTC) (edited on 2021-04-27 08:43 (UTC) by ekkelett)

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

« First ‹ Previous 1 2

h3ndrk commented on 2021-04-06 09:39 (UTC)

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 (UTC) (edited on 2021-03-08 20:40 (UTC) by Tambup)

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 (UTC) (edited on 2020-11-21 15:07 (UTC) by kumosawa)

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

cpuheater commented on 2020-01-20 09:54 (UTC)

I encountered some problems with this package. For instance several files and directories (Makefile.inc, images/, ...) were not included in the package.

Here's a version that works for me: https://gist.github.com/3d3f912558b93a78ddadaffcd52900b8

To verify the installation, this is what I do:

cd
cp -r /opt/omnetpp/samples/tictoc .
cd tictoc
make
./tictoc

blueman commented on 2020-01-07 16:15 (UTC) (edited on 2020-01-07 16:16 (UTC) by blueman)

Hi, the blt dependency is no longer needed since OMNeT++ 4.5 (June 2014). See here: https://github.com/omnetpp/omnetpp/blob/98ada60c4be2878b6db25bdf982b089b19f30c31/WHATSNEW#L1892

illogical123 commented on 2017-11-28 07:10 (UTC)

It would be great to add some more dependencies. In my case the build failes because of: configure: error: Cannot find osgEarth. At least the development version of libosgearth and the openscenegraph-plugin-osgearth package is required.

patiqueee commented on 2017-04-30 14:01 (UTC) (edited on 2017-04-30 14:05 (UTC) by patiqueee)

You need to use the correct referer to download the archive. e.g. to download omnetpp5.1: wget --referer https://omnetpp.org/ https://omnetpp.org/omnetpp/send/30-omnet-releases/2309-omnetpp-5-1-linux However i don't know how to pass this referer to yaourt edit: you can add a .curlrc file to your home folder and insert the line referer=https://omnetpp.org/ its a bit hacky, but it will work

antipattern commented on 2017-04-13 13:17 (UTC)

The validity check fails because the download aborts early. I am not sure why, downloading it in a webbrowser succeeds but I didn't manage to get the file using either wget or curl.

jsf9k666 commented on 2017-02-02 17:06 (UTC)

The downloaded file omnetpp-5.0-src.tgz fails the validity check.

a36233 commented on 2016-11-08 13:05 (UTC) (edited on 2016-11-08 13:06 (UTC) by a36233)

Download link at PKBUILD doesn't download the omnetpp source file. "qt4" needs to be added to makedeps.