Mailing list archive (omnetpp-l at omnetpp.org)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: [omnetpp] omnetpp-3.3 opp_makedep
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Alfredo,
Alfredo Verolino wrote:
> i have installed successfully omnetpp v3.3 on linux kubunty v6.10.
> I haven't had any warning or error in configure/ make process.
> all examples run correctly. i have just a problem with opp_makemake command.
> when I create a new .cc file and try to compile it with the opp_makemake
> command, this is the output:
>
> Makefile created, adding dependencies...
> /bin/sh: can't open opp_makedep
> Error: command 'opp_makedep -Y --objdirtree -fMakefile -- *.cc' returned
> nonzero exit code
There are many possible solutions (first is preferable, you can't damage
your system by doing this and you won't need to change any files):
1) Explicitly call bash for running opp_makemake, for example: 'bash `which
opp_makemake` -f -u Tkenv'. This calls bash with full path to opp_makemake
and its arguments.
2) Change first line of opp_makemake from '#!/bin/sh' to '#!/bin/bash'.
After rebuilding OMNet++ you will have to redo this.
3) Changing the link /bin/sh. Ubuntu moved bash to dash (new since 6.10).
After pointing /bin/sh back to /bin/bash, everything works fine. But be
careful, mistakes could make your root account unusable (which can be repaired).
Regards,
- --
Thomas Freitag
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFFrBCXpS16y5lZbYsRAlBeAKDzpsWExDokqHrysfODZiM0p6OvSgCgxsme
ld7fFvA3UX8GAm3eTGscQuY=
=vMYs
-----END PGP SIGNATURE-----
_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php
Home |
Main Index |
Thread Index