INET ./makemake error

179 views
Skip to first unread message

Daniel

unread,
Jun 9, 2009, 10:24:10 AM6/9/09
to omnetpp
Hi,

I have following problem with installing INET framework on my computer
when executing "./makemake" command.

administrator@ubuntu:~/sim/INET-20061020-OverSim-3$ ./makemake:
line 1: opp_makemake: command not found
opp_makemake -f -N -b /home/zywiol/sim/INET-20061020-OverSim-3 -c
/home/zywiol/sim/INET-20061020-OverSim-3/inetconfig -I. -lcmdenv
-ltkenv -n -r -X Documentation -X Etc -X Examples -X Tests -X
Experimental
-X Obsolete -X tmp
make: opp_makemake: Command not found
make: *** [inetbase] Error 127

My system is Ubunut 8.04, I had already installed OMNeT 3.4b2 but I
constantly have this error.
I found exact problem on OverSim forum
http://groups.google.com/group/oversim/browse_thread/thread/c9212b89df2d701b/ed480fe1f1c76a35?lnk=gst&q=.%2Fmakemake#ed480fe1f1c76a35

but it wasn't solved :(
If someone can help I would be appreciated.

Best Regards
Daniel

Rudolf Hornig

unread,
Jun 9, 2009, 10:41:05 AM6/9/09
to omn...@googlegroups.com
The recommendation on the mailing list was correct. Ensure that the bin directory of the OMNeT++ instllation is in your PATH, the lib directory is your LD_LIBRARY_PATH and build OMNeT++ before trying this.

Please do not copy the lines blindly. YOur OMNeT++ installation is obviusly in a different place and definietly different version...

Daniel

unread,
Jun 10, 2009, 5:13:26 AM6/10/09
to omnetpp

Here are my ./bashrc exports:

export PATH=$PATH:~/sim/omnetpp-3.4b2/bin:~/sim/INET-20061020-
OverSim-3.4b2/bin
export TCL_LIBRARY=usr/lib/tcl8.4 PATH=$PATH:/home/zywiol/
omnetpp-3.4b2
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/sim/omnetpp-3.4b2/lib

And this is my inetconfig file:

ROOT=$(HOME)/sim/INET-20061020-OverSim-3
include $(ROOT)/omnetppconfig

And I still have this error.

Rudolf if You could tell what do I need to write in inetconfig and ./
bashrc to start "./makemake" without error.
I'm really confused, I propably making some stupid mistake but I can't
see it.

Please help :)


On 9 Cze, 16:41, Rudolf Hornig <rudolf.hor...@gmail.com> wrote:
> The recommendation on the mailing list was correct. Ensure that the bin
> directory of the OMNeT++ instllation is in your PATH, the lib directory is
> your LD_LIBRARY_PATH and build OMNeT++ before trying this.
>
> Please do not copy the lines blindly. YOur OMNeT++ installation is obviusly
> in a different place and definietly different version...
>
> On Tue, Jun 9, 2009 at 4:24 PM, Daniel <kowalczyk.dan...@gmail.com> wrote:
>
> > Hi,
>
> > I have following problem with installing INET framework on my computer
> > when executing "./makemake" command.
>
> > administrator@ubuntu:~/sim/INET-20061020-OverSim-3$ ./makemake:
> > line 1: opp_makemake: command not found
> > opp_makemake -f -N -b /home/zywiol/sim/INET-20061020-OverSim-3 -c
> > /home/zywiol/sim/INET-20061020-OverSim-3/inetconfig -I. -lcmdenv
> > -ltkenv -n -r -X Documentation -X Etc -X Examples -X Tests -X
> > Experimental
> > -X Obsolete -X tmp
> > make: opp_makemake: Command not found
> > make: *** [inetbase] Error 127
>
> > My system is Ubunut 8.04, I had already installed OMNeT 3.4b2 but I
> > constantly have this error.
> > I found exact problem on OverSim forum
>
> >http://groups.google.com/group/oversim/browse_thread/thread/c9212b89d...

Rudolf Hornig

unread,
Jun 10, 2009, 9:48:02 AM6/10/09
to omn...@googlegroups.com
On Wed, Jun 10, 2009 at 11:13 AM, Daniel <kowalczy...@gmail.com> wrote:


Here are my ./bashrc exports:

export PATH=$PATH:~/sim/omnetpp-3.4b2/bin:~/sim/INET-20061020-
OverSim-3.4b2/bin
export TCL_LIBRARY=usr/lib/tcl8.4 PATH=$PATH:/home/zywiol/
omnetpp-3.4b2
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/sim/omnetpp-3.4b2/lib

Your ./bashrc seems to be ok...

Now what happens if you type "opp_makemake" on the command prompt?
If omnet is correctly installed then it should invoke the command correctly, if you get
an error the please go into ~/sim/omnetpp-3.4b2/bin and check whether the "opp_makemake"
script is there (it should, if you have installed omnetpp correctly).

Rudolf
 
Reply all
Reply to author
Forward
0 new messages