Mohamed posted an update in the group Setup Support: 12 years, 11 months ago · View
please help i cant install the platform im new to linux but i do every thing like they say in the installation guides and this what i did
i installed this in the same sequence
1- linux ubuntu 10.10
2- m4-1.4.15
3- autoconf-2.68
4- automake-1.11
5- libtool-2.4.2
6- g++ frome the software center
7- xerces-c-3.0.1 from libs
8- geographiclib-1.2 from libs
and then extracted iTETRIS_Platform_0.1.0.zip and extracted every thing inside it
and did every thing was written in the guide ( not once but 5 times and its always like this please please help i want to start doing the simulation for my theses ) and this what i get :
mohamed@ubuntu:~/me/iTETRIS_Platform_0.1.0/iCS_0.1.0$ make -f Makefile.cvs
autoreconf -i
libtoolize: putting auxiliary files in `.’.
libtoolize: copying file `./ltmain.sh’
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])’ to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4’ to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB’ is rendered obsolete by `LT_INIT’
configure.ac:17: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/bin/autoconf failed with exit status: 1
make: *** [all] Error 1
mohamed@ubuntu:~/me/iTETRIS_Platform_0.1.0/iCS_0.1.0$ ./configure –enable=sumo –enable-ns3 –enable-applications -with-geographic=/usr/local -enable-log
configure: error: unrecognized option: `–enable=sumo’
Try `./configure –help’ for more information
mohamed@ubuntu:~/me/iTETRIS_Platform_0.1.0/iCS_0.1.0$ ./configure –enable-sumo –enable-ns3 –enable-applications -with-geographic=/usr/local -enable-log
configure: error: cannot find install-sh, install.sh, or shtool in ”.” ”./..” ”./../..”
mohamed@ubuntu:~/me/iTETRIS_Platform_0.1.0/iCS_0.1.0$ make -f Makefile.cvsautoreconf -i
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])’ to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4’ to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB’ is rendered obsolete by `LT_INIT’
configure.ac:4: installing `./config.guess’
configure.ac:4: installing `./config.sub’
configure.ac:10: installing `./install-sh’
configure.ac:10: installing `./missing’
src/Makefile.am: installing `./depcomp’
Makefile.am: installing `./INSTALL’
mohamed@ubuntu:~/me/iTETRIS_Platform_0.1.0/iCS_0.1.0$ ./configure –enable-sumo –enable-ns3 –enable-applications -with-geographic=/usr/local -enable-log
checking build system type… i686-pc-linux-gnu
checking host system type… i686-pc-linux-gnu
checking target system type… i686-pc-linux-gnu
checking for a BSD-compatible install… /usr/bin/install -c
checking whether build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… no
checking for mawk… mawk
checking whether make sets $(MAKE)… yes
checking how to create a ustar tar archive… gnutar
checking for gcc… gcc
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… no
checking for suffix of object files… o
checking whether we are using the GNU C compiler… yes
checking whether gcc accepts -g… yes
checking for gcc option to accept ISO C89… none needed
checking for style of include used by make… GNU
checking dependency style of gcc… gcc3
checking how to run the C preprocessor… gcc -E
checking for g++… g++
checking whether we are using the GNU C++ compiler… yes
checking whether g++ accepts -g… yes
checking dependency style of g++… gcc3
checking whether ln -s works… yes
checking whether make sets $(MAKE)… (cached) yes
checking for ranlib… ranlib
checking how to print strings… printf
checking for a sed that does not truncate output… /bin/sed
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for fgrep… /bin/grep -F
checking for ld used by gcc… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking for BSD- or MS-compatible name lister (nm)… /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface… BSD nm
checking the maximum length of command line arguments… 1572864
checking whether the shell understands some XSI constructs… yes
checking whether the shell understands ”+=”… yes
checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format… func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format… func_convert_file_noop
checking for /usr/bin/ld option to reload object files… -r
checking for objdump… objdump
checking how to recognize dependent libraries… pass_all
checking for dlltool… no
checking how to associate runtime and link libraries… printf %s\n
checking for ar… ar
checking for archiver @FILE support… @
checking for strip… strip
checking for ranlib… (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object… ok
checking for sysroot… no
checking for mt… mt
checking if mt is a manifest tool… no
checking for ANSI C header files… yes
checking for sys/types.h… yes
checking for sys/stat.h… yes
checking for stdlib.h… yes
checking for string.h… yes
checking for memory.h… yes
checking for strings.h… yes
checking for inttypes.h… yes
checking for stdint.h… yes
checking for unistd.h… yes
checking for dlfcn.h… yes
checking for objdir… .libs
checking if gcc supports -fno-rtti -fno-exceptions… no
checking for gcc option to produce PIC… -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works… yes
checking if gcc static flag -static works… yes
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.o… (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries… yes
checking whether -lc should be explicitly linked in… no
checking dynamic linker characteristics… GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
checking whether stripping libraries is possible… yes
checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking how to run the C++ preprocessor… g++ -E
checking for ld used by g++… /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld… yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
checking for g++ option to produce PIC… -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works… yes
checking if g++ static flag -static works… yes
checking if g++ supports -c -o file.o… yes
checking if g++ supports -c -o file.o… (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries… yes
checking dynamic linker characteristics… (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs… immediate
./configure: line 15414: syntax error near unexpected token `XERCES,’
./configure: line 15414: `PKG_CHECK_MODULES(XERCES, xerces-c >= 3.0,’
mohamed@ubuntu:~/me/iTETRIS_Platform_0.1.0/iCS_0.1.0$ sudo make install
make: *** No rule to make target `install’. Stop.
mohamed@ubuntu:~/me/iTETRIS_Platform_0.1.0/iCS_0.1.0$
use
sudo ./configure –enable-sumo –enable-ns3 –enable-applications -with-geographic=/usr/local -enable-log
to configure and see if that makes any difference.
I found the guide from the site gave me errors
So I used the guide posted by Hanno-Spijker
http://hannos.nl/download/get/itetris-installation-guide/21.html
and it worked fine
Thank you, Thank you, really thank at last i did as the pdf u sent to me and it worked without error this time and tomorrow i will try the demo hoping no problem occurs
thank you again