|
From: Jan W. <bod...@gm...> - 2009-06-11 11:51:42
|
Hi,
I followed your instruction from the wiki. Installing gdal, proj and
fox. then used svn co to download the sumo files.
When running make -f Makefile.cvs I got the follwing result:
jan-wedels-macbook:sumo janwedel$ make -f Makefile.cvs
autoreconf -i
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
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/bin/autoconf failed with exit status: 1
make: *** [all] Error 1
Then I tried again and it seemed to work:
jan-wedels-macbook:sumo janwedel$ make -f Makefile.cvs
autoreconf -i
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
glibtoolize: `config.guess' exists: use `--force' to overwrite
glibtoolize: `config.sub' exists: use `--force' to overwrite
glibtoolize: `ltmain.sh' exists: use `--force' to overwrite
configure.ac:10: installing `./missing'
configure.ac:10: installing `./install-sh'
src/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
Then after running configure at got a xerces related error:
jan-wedels-macbook:sumo janwedel$ ./configure --with-fox=/Users/
janwedel/Development/lib/ --with-proj-gdal=/Users/janwedel/Development/
lib/ --with-xerces=/Users/janwedel/Development/xerces-c-3.0.1-x86-
macosx-gcc-4.0 --prefix=/Users/janwedel/Development/
checking build system type... i686-apple-darwin9.7.0
checking host system type... i686-apple-darwin9.7.0
...
checking dynamic linker characteristics... darwin9.7.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
./configure: line 19685: syntax error near unexpected token `XERCES,'
./configure: line 19685: `PKG_CHECK_MODULES(XERCES, xerces-c >= 3.0,'
as you can see, I specified the xerces directory. I didn't compile
xerces by myself, Id downloaded the mac version from the xerces
homepage.
I hope you can help
Am 10.06.2009 um 21:38 schrieb Michael Behrisch:
> Am Mittwoch, 10. Juni 2009 15:06:08 schrieb Jan Wedel:
>> Hi,
>>
>> I just tried to run sumo on my new mac. First I had to install gcc
>> from the Apple xcode package and the xerces libraries for mac.
>>
>> Then I ran config && make which worked and I tried to run my sumo
>> which also worked:
>>
>> jan-wedels-macbook:~ janwedel$ sumo
>> SUMO sumo Version 0.10.3
>> (c) DLR 2001-2009; http://sumo.sourceforge.net
>> Use --help to get the list of options.
>>
>>
>> Then I tried to run my simulation which fails saying:
>>
>> Error: No network file (-n) specified.
>> Quitting (on error).
>>
>> when I try to manually load the config I get the same error.
>> jan-wedels-macbook:sumo janwedel$ sumo -c
>> cologne_luxemburger.sumo.cfg
>> Loading configuration... done.
>> Error: No network file (-n) specified.
>> Quitting (on error).
>
> It looks like an XML parsing problem. Which xerces version did you
> use?
> (sumo 0.10.3 needs xerces 2.7 or 2.8. The current svn should work with
> 3.0 as well.) Please also have a look at the configure log whether
> the correct
> version was detected when using current svn.
>
> Regards,
> Michael
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> sumo-user mailing list
> sum...@li...
> https://lists.sourceforge.net/lists/listinfo/sumo-user
|