Message80430
This error can be replicated on the command line with suitable quoting
of the -outdir option:
swig -c++ "-outdir ."
You need to pass the options correctly by separating them out, so use:
swig_opts=['-c++', '-I@HEPMCINCPATH@', '-outdir', '.']
I suggest distutils is fixed to show the quotes it is effectively adding
when displaying the command, so for the example Andy gave it should display:
swigging ./hepmc.i to ./hepmc_wrap.cpp
swig -python -c++ -I/home/andy/heplocal/include "-outdir ." -o
./hepmc_wrap.cpp ./hepmc.i
The quotes would need adding for display when a user has a space in any
of the options passed to SWIG (including the include_dirs etc). |
|
Date |
User |
Action |
Args |
2009-01-24 01:10:13 | postofficered | set | recipients:
+ postofficered, andybuckley |
2009-01-24 01:10:13 | postofficered | set | messageid: <1232759413.02.0.932875609132.issue4672@psf.upfronthosting.co.za> |
2009-01-24 01:10:12 | postofficered | link | issue4672 messages |
2009-01-24 01:10:10 | postofficered | create | |
|