[ 
https://bro-tracker.atlassian.net/browse/BIT-642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeannette Dopheide updated BIT-642:
-----------------------------------
    Comment: was deleted

(was: christian louboutin outlet canada
cheap christian louboutin shoes canada 
http://christianlouboutincanadaoutlet.blogspot.com/)

> Configure only checks presence of swig and not of swig-python
> -------------------------------------------------------------
>
>                 Key: BIT-642
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-642
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>            Reporter: Johanna Amann
>             Fix For: 2.0
>
>
> On Mac OS X, macports usually installs swig without the python bindings (they 
> are in a separate package).
> When only swig and not swig-python is installed, the configure script runs 
> ok, but the build fails with
> {noformat}
> ...
> [ 78%] Building C object src/CMakeFiles/bro.dir/strsep.c.o
> [ 78%] Building C object src/CMakeFiles/bro.dir/modp_numtoa.c.o
> [ 78%] Building C object src/CMakeFiles/bro.dir/nb_dns.c.o
> Linking CXX executable bro
> [ 78%] Built target bro
> [ 78%] Swig source
> :3: Error: Unable to find 'python.swg'
> make[3]: *** [aux/broctl/aux/pysubnettree/SubnetTreePYTHON_wrap.cxx] Error 1
> make[2]: *** [aux/broctl/aux/pysubnettree/CMakeFiles/_SubnetTree.dir/all] 
> Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
> {noformat}
> the same is true for ruby:
> {noformat}
> [ 97%] Building C object 
> aux/broccoli/test/CMakeFiles/brotable.dir/brotable.c.o
> Linking C executable brotable
> [ 97%] Built target brotable
> [ 97%] Swig source
> Scanning dependencies of target _broccoli_intern
> [ 98%] Building C object 
> aux/broccoli/bindings/broccoli-python/CMakeFiles/_broccoli_intern.dir/broccoli_internPYTHON_wrap.c.o
> /Users/bernhard/bro/bro/build/aux/broccoli/bindings/broccoli-python/broccoli_internPYTHON_wrap.c:
>  In function ‘valToPyObj’:
> /Users/bernhard/bro/bro/build/aux/broccoli/bindings/broccoli-python/broccoli_internPYTHON_wrap.c:3057:
>  warning: pointer targets in passing argument 1 of 
> ‘PyString_FromStringAndSize’ differ in signedness
> /Users/bernhard/bro/bro/build/aux/broccoli/bindings/broccoli-python/broccoli_internPYTHON_wrap.c:
>  In function ‘pyObjToVal’:
> /Users/bernhard/bro/bro/build/aux/broccoli/bindings/broccoli-python/broccoli_internPYTHON_wrap.c:3154:
>  warning: pointer targets in assignment differ in signedness
> /Users/bernhard/bro/bro/build/aux/broccoli/bindings/broccoli-python/broccoli_internPYTHON_wrap.c:
>  In function ‘_wrap_bro_event_add_val’:
> /Users/bernhard/bro/bro/build/aux/broccoli/bindings/broccoli-python/broccoli_internPYTHON_wrap.c:3734:
>  warning: assignment discards qualifiers from pointer target type
> Linking C shared module _broccoli_intern.so
> [ 98%] Built target _broccoli_intern
> [100%] Swig source
> :3: Error: Unable to find 'ruby.swg'
> /Users/bernhard/bro/bro/aux/broccoli/bindings/broccoli-ruby/ext/broccoli_ext/broccoli_intern.i:4:
>  Error: Unable to find 'typemaps.i'
> make[3]: *** 
> [aux/broccoli/bindings/broccoli-ruby/ext/broccoli_ext/broccoli_internRUBY_wrap.c]
>  Error 1
> make[2]: *** 
> [aux/broccoli/bindings/broccoli-ruby/CMakeFiles/broccoli_ext.dir/all] Error 2
> make[1]: *** [all] Error 2
> make: *** [all] Error 2
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.1.0-OD-03-048#71001)

_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to