LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-17-2009, 08:19 AM   #1
ronino
LQ Newbie
 
Registered: Mar 2009
Posts: 1

Rep: Reputation: 0
Compilation problems installing omnet++ on Ubuntu 8.10


I have tried to install correctly Omnet++ 4.2 but it is impossible.
I have a couple of questions. I'll appriciate any kind of that someone could give to me.
Firs of all, my computer:

Computer:Vaio
Cpu: Intel Core 2 Duo t5500
Ram: 1Gb
S.O.: Ubuntu 8.10

I have installed most of compulsory dependencies of omnet
swig 1.3.38
Tcl/Tk -> 8.6 --- BLT2.4 doesn't work for Tcl/Tk 8.6 any ideas?
Java
MPI Mpich
pcap++

And I have tried to install akaroa as well.
I have set up the path
Finally I have configured and when I type make the final msg is:

===== Compiling sim ====
cd /home/ronin/omnetpp-4.0/src/sim && make
make[2]: se ingresa al directorio `/home/ronin/omnetpp-4.0/src/sim'
opp_msgc -Xnc -Xns sim_std.msg
opp_msgc - part of OMNeT++. (c) 2002-2005 Andras Varga
Translates .msg files into C++

Usage: opp_msgc [-s <cc-file-suffix>] [-t <h-file-suffix>]
[-I <dir> -I ...] [-h] <nedfile>
-I <dir> add directory to include path
-s <suffix> output C++ file suffix (defaults to: _m.cc)
-t <suffix> output C++ header file suffix (defaults to: _m.h)
-P <symbol> add dllexport/dllimport symbol to class declarations
-h output in current directory
make[2]: *** [sim_std_m.cc] Error 1
make[2]: se sale del directorio `/home/ronin/omnetpp-4.0/src/sim'
make[1]: *** [sim] Error 2
make[1]: se sale del directorio `/home/ronin/omnetpp-4.0'
make: *** [allmodes] Error 2


Thank you very much for your ideas.
 
Old 03-18-2009, 08:50 PM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 2,617
Blog Entries: 3

Rep: Reputation: 219Reputation: 219Reputation: 219
well did you type ./configure first
when you configure your program to build you need to type it this way
Quote:
./configure TCL_LIBRARY=/usr/lib/tcl8.4 PATH=$PATH:/home/ronin/omnetpp-4.0
then when you do your make
Quote:
make PATH=$PATH:/home/ronin/omnetpp-4.0/bin
good luck it built first time on slackware.

Last edited by Drakeo; 03-18-2009 at 09:15 PM.
 
Old 04-07-2009, 04:49 PM   #3
CorporalDavid
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Installation Problem

Dear all,

Im am having exactly the same error after I execute the command make (all dependencies are installed, and all paths exported):

(omnetpp-3.4b2 using linux debian 2.6.18)


make[1]: Entering directory '/usr/local/omnetpp-3.4b2/src/sim'
opp_msgc -Xnc -Xns sim_std.msg
opp_msgc - part of OMNeT++. (c) 2002-2005 Andras Varga
Translates .msg files into C++

Usage: opp_msgc [-s <cc-file-suffix>] [-t <h-file-suffix>]
[-I <dir> -I ...] [-h] <nedfile>
-I <dir> add directory to include path
-s <suffix> output C++ file suffix (defaults to: _m.cc)
-t <suffix> output C++ header file suffix (defaults to: _m.h)
-P <symbol> add dllexport/dllimport symbol to class declarations
-h output in current directory
make[1]: *** [sim_std_m.cc] Error 1
make[1]: Leaving directory `/usr/local/omnetpp-3.4b2/src/sim'
make: *** [sim] Error 2



Can someone kindly help me please? I really appreciate your help.



Best Regards
David
 
Old 04-10-2009, 03:52 AM   #4
CorporalDavid
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Guys, problem solved.

Check path of opp_msgc. Problem was that I had an older version of opp_msgc installed. To verify path, type 'which opp_msgc'


Thanks a lot
David
 
  


Reply

Tags
installation, simulation


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing the Ubuntu Netbook Remix package over Ubuntu 8.10 unluckystuntman Linux - Newbie 3 12-30-2008 12:19 AM
Problems installing Ubuntu ashfaq.s Linux - Newbie 2 09-16-2006 06:42 AM
Problems while compilation of a custom program under Ubuntu 6.06 GSMD Programming 2 08-14-2006 05:32 AM


All times are GMT -5. The time now is 01:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration