Login  Register

Re: Trying to build bindings

Posted by Michael Cordingley on Dec 29, 2011; 2:37pm
URL: http://quantlib.414.s1.nabble.com/Trying-to-build-bindings-tp6337p6339.html

Hey, thanks for that info Luigi.  I discovered that it works just fine
on my amd64 system, so I'm going to chalk it up to either a bug or
memory issue.  The x86 doesn't have much memory to it.  I'll try to
see if I can monitor that before the next failure to see if it's the
cause.  The only issue that appears to be remaining is that it
installs to site-packages just fine, but going into Python and typing
"import QuantLib" gives an unknown module error.  When I get a chance,
I'm going to check my path variables to make sure that it should be
loading, unless this is a common problem with a known solution.

Thanks!

On Thu, Dec 29, 2011 at 5:46 AM, Luigi Ballabio
<[hidden email]> wrote:

> Hello,
>
> On Thu, Dec 15, 2011 at 9:00 PM, Michael Cordingley
> <[hidden email]> wrote:
>> Hi, I'm trying to build the python bindings for QuantLib in Gentoo
>> Linux, but I'm running into some issue that fails the build.  I'm
>> assuming that I can ignore the warnings,
>
> That's correct.
>
>> but something seems to be
>> killing the compiler after them.  I don't know what information to
>> include along with this, so please let me know what information I'm
>> missing that would be useful to figuring this out.
>
> Hard to say... It might be memory, as the bindings are quite large;
> may you have a look at memory usage while the compiler works?  Or it
> might be something that triggers a bug in the compiler, but that's
> probably less likely.  Unfortunately there's not much to go by when
> the compiler only writes "Internal error: Killed".
>
> Luigi
>
>> Thanks!
>>
>> localhost QuantLib-SWIG-1.1 # ./configure
>> ...
>> localhost QuantLib-SWIG-1.1 # cd Python
>> localhost Python # python setup.py build
>> running build
>> running build_py
>> running build_ext
>> building 'QuantLib._QuantLib' extension
>> [...]
>> i686-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)



--
Michael Cordingley
740.707.7809

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users