[Bro-Dev] [JIRA] (BIT-1213) broccoli/bindings/broccoli-python not building correctly

Robin Sommer (JIRA) jira at bro-tracker.atlassian.net
Mon Jun 30 17:34:07 PDT 2014


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

Robin Sommer updated BIT-1213:
------------------------------
    Status: Merge Request  (was: Open)

> broccoli/bindings/broccoli-python not building correctly
> --------------------------------------------------------
>
>                 Key: BIT-1213
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1213
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: broccoli-python
>    Affects Versions: 2.3
>         Environment: OS-X 10.9.3
>            Reporter: Nicholas Weaver
>
> The setup.py routine fails due to path changes in 2.3, namely that the broccoli.h file is now in ../../build/src, as is the resulting library.  
> This patch appears to work:
> diff --git a/setup.py b/setup.py
> index 8a017f1..9cd19ae 100755
> --- a/setup.py
> +++ b/setup.py
> @@ -12,8 +12,8 @@ setup(name="broccoli-python",
>      py_modules=['broccoli'],
>      ext_modules = [ 
>          Extension("_broccoli_intern", ["broccoli_intern_wrap.c"],
> -                  include_dirs=["../../src"],
> -                  library_dirs=["../../src/.libs"],
> +                  include_dirs=["../../build/src"],
> +                  library_dirs=["../../build/src"],
>                    libraries=["broccoli"])]
>  )



--
This message was sent by Atlassian JIRA
(v6.3-OD-07-013#6327)


More information about the bro-dev mailing list