I am trying to install omnetpp on Windows XP. After unzipping
downloaded package I run mingwenv.cmd and start ./configure in mingw
command line. After that I get several error messages:
$ ./configure
./configure: line 51: 11692 Segmentation fault (core dumped)
( PATH="/nonexistent;."; conf$$.sh ) >/dev/null 2>&1
0 [main] sh 10304 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 10304 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
0 [main] sh 9880 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
0 [main] sh 10816 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
0 [main] sh 9520 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 9520 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
0 [main] sh 11552 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 362: 12024 Segmentation fault (core dumped)
( eval ":(as_func_return () {
And after that configure scripts hangs. What is going wrong and how to
force configure script run without errors?
Thank you,
Alexey.
Omnet++ 4.0 installation for Windows :
Install Java JDK and make sure the JAVA_HOME is set and PATH points to \bin in the Java JDK (Environment variables in windows)
Download omnetpp-4.0-src-windows.zip from the site.
Extract to C:\ so that C:\omnetpp-4.0\ is the main directory
Run the mingwenv.cmd
./configure
make clean
make
Do not close the terminal yet
Run omnetpp to launch the GUI (Eclipse)
Check if the projects build and run
Arif
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.
$ echo $PATH
.:/usr/local/bin:/c/omnetpp/mingw/bin:/bin:/c/omnetpp/bin:/c/Program
Files/Internet Explorer:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/
System32/Wbem:/c/Program Files/Intel/Wireless/Bin/:/c/Program Files/
Java/jdk1.6.0_18/bin
$ echo $JAVA_HOME
C:\Program Files\Java\jdk1.6.0_18
$ ./configure
./configure: line 51: 4872 Segmentation fault (core dumped)
( PATH="/nonexistent;."; conf$$.sh ) >/dev/null 2>&1
0 [main] sh 3452 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
0 [main] sh 2324 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 2324 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
0 [main] sh 5060 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 5060 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
0 [main] sh 1516 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 1516 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
0 [main] sh 1916 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 1916 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 362: 3884 Segmentation fault (core dumped)
( eval ":(as_func_return () {
(exit \$1)
}
as_func_success () {
as_func_return 0
}
as_func_failure () {
as_func_return 1
}
as_func_ret_success () {
return 0
}
as_func_ret_failure () {
return 1
}
exitcode=0
if as_func_success; then
:
else
exitcode=1
echo as_func_success failed.
fi
if as_func_failure; then
exitcode=1
echo as_func_failure succeeded.
fi
if as_func_ret_success; then
:
else
exitcode=1
echo as_func_ret_success failed.
fi
if as_func_ret_failure; then
exitcode=1
echo as_func_ret_failure succeeded.
fi
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
:
else
exitcode=1
echo positional parameters were not saved.
fi
test \$exitcode = 0) || { (exit 1); exit 1; }
(
as_lineno_1=\$LINENO
as_lineno_2=\$LINENO
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") ||
{ (exit 1); exit
1; }
" ) 2>/dev/null
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
configure: -----------------------------------------------
configure: reading configure.user for your custom settings
configure: -----------------------------------------------
checking for icc... no
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
Here it hangs. What is going wrong?
On 7 фев, 07:20, Arif Amin <marifa...@gmail.com> wrote:
> Hi Alexey
>
> do the following.
>
> *Omnet++ 4.0 installation for Windows :*
>
> Install Java JDK and make sure the JAVA_HOME is set and PATH points to \bin
> in the Java JDK (Environment variables in windows)
>
> Download omnetpp-4.0-src-windows.zip from the site.
>
> Extract to C:\ so that C:\omnetpp-4.0\ is the main directory
>
> Run the mingwenv.cmd
>
> ./configure
>
> make clean
>
> make
>
> Do not close the terminal yet
>
> Run omnetpp to launch the GUI (Eclipse)
>
> Check if the projects build and run
> Arif
>
> > omnetpp+u...@googlegroups.com<omnetpp%2Bunsu...@googlegroups.com>
Thank you for the advice, but it still does not work. Here is the
detailed output of configure:
$ echo $PATH
.:/usr/local/bin:/c/omnetpp/mingw/bin:/bin:/c/omnetpp/bin:/c/Program
Files/Internet Explorer:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/
System32/Wbem:/c/Program Files/Intel/Wireless/Bin/:/c/Program Files/
Java/jdk1.6.0_18/bin
$ echo $JAVA_HOME
C:\Program Files\Java\jdk1.6.0_18
$ ./configure./configure: line 51: 4872 Segmentation fault (core dumped)
( PATH="/nonexistent;."; conf$$.sh ) >/dev/null 2>&1
0 [main] sh 3452 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
0 [main] sh 2324 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 2324 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
0 [main] sh 5060 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 5060 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
0 [main] sh 1516 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 1516 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
0 [main] sh 1916 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 1916 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
./configure: line 362: 3884 Segmentation fault (core dumped)
( eval ":(as_func_return () {
> Hi Alexey
>
> do the following.
>
> *Omnet++ 4.0 installation for Windows :*
>
> Install Java JDK and make sure the JAVA_HOME is set and PATH points to \bin
> in the Java JDK (Environment variables in windows)
>
> Download omnetpp-4.0-src-windows.zip from the site.
>
> Extract to C:\ so that C:\omnetpp-4.0\ is the main directory
>
> Run the mingwenv.cmd
>
> ./configure
>
> make clean
>
> make
>
> Do not close the terminal yet
>
> Run omnetpp to launch the GUI (Eclipse)
>
> Check if the projects build and run
> Arif
>
It does not work anyway, with various combination of PATH values. I
tried to do this even with minimal PATH settings:
$ echo $PATH
.:/usr/local/bin:/c/omnetpp/mingw/bin:/bin:/c/omnetpp/bin:/c/WINDOWS/
system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem
But I found that configure output is changing from time to time:
$ ./configure
0 [main] sh 11680 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 58: 11844 Segmentation fault (core dumped)
( ( MAIL=60; unset MAIL ) || exit ) >/dev/null 2>&1
0 [main] sh 10824 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
0 [main] sh 10252 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 10252 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
0 [main] sh 10408 open_stackdumpfile: Dumping stack trace to
sh.exe.stackdump
./configure: line 103: 10408 Segmentation fault (core dumped)
( set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`" )
and so on...
I am not able to delete /bin and /usr/local/bin from the PATH because
I do not have them in Windows settings, looks like mingw adds those
values automatically.
I have experimented on my friend's computer with Windows 7 Home and
everything worked perfectly, even without JDK.
Any ideas?
On 8 фев, 06:24, Arif Amin <marifa...@gmail.com> wrote:
> HI Alexey
>
> Try cleairng the environment variables in the windows, the output you have
> shown includes path variables which OMNET generally do not display in
> windows.The default folder name should be omnetpp-4.0
>
> .:/usr/local/bin:/c/omnetpp/mingw/bin:/bin:/c/omnetpp/bin:/c/Program
> Files/Internet Explorer:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/
> System32/Wbem:/c/Program Files/Intel/Wireless/Bin/:/c/Program Files/
> Java/jdk1.6.0_18/bin
>
> Regards
>
> On Mon, Feb 8, 2010 at 1:32 AM, Ester Lopez <ester.lopezbe...@gmail.com>wrote:
>
>
>
> > Maybe the error is because you have in your PATH "/user/local/bin" and
> > "/bin" that are folders that doesnt exist on windows? You could try deleting
> > them from the PATH :)
>
> > 2010/2/8 Alexey Raevsky <alexey.hea...@gmail.com>
> >> <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>
On 8 фев, 06:24, Arif Amin <marifa...@gmail.com> wrote:
> HI Alexey
>
> Try cleairng the environment variables in the windows, the output you have
> shown includes path variables which OMNET generally do not display in
> windows.The default folder name should be omnetpp-4.0
>
> .:/usr/local/bin:/c/omnetpp/mingw/bin:/bin:/c/omnetpp/bin:/c/Program
> Files/Internet Explorer:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/
> System32/Wbem:/c/Program Files/Intel/Wireless/Bin/:/c/Program Files/
> Java/jdk1.6.0_18/bin
>
> Regards
>
> On Mon, Feb 8, 2010 at 1:32 AM, Ester Lopez <ester.lopezbe...@gmail.com>wrote:
>
>
>
> > Maybe the error is because you have in your PATH "/user/local/bin" and
> > "/bin" that are folders that doesnt exist on windows? You could try deleting
> > them from the PATH :)
>
> > 2010/2/8 Alexey Raevsky <alexey.hea...@gmail.com>
> >> <omnetpp%2Bunsu...@googlegroups.com<omnetpp%252Buns...@googlegroups.com>