[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] =?utf-8?q?pyqtdeploy_-_make_-_undefined_MODULE=5FNAME?=
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2015-02-15 10:41:55
Message-ID: 48ab6382c4b9028c725eb0a24e360c2b () riverbankcomputing ! com
[Download RAW message or body]

On 14/02/2015 7:44 pm, David Cortesi wrote:
> Trying to pyqtdeploy a native Mac OS app.
> I have built static Python, Sip and PyQt as per [1],
> I think correctly, however my $SYSROOT now contains
> only include, lib, and share directories.
> 
> It does not contain a src directory, but the doc
> for setting up Locations [2] seems to assume
> that $SYSROOT/src/Python-3.4.2 will exist.
> 
> So instead I set the source directory to the original
> Python-3.4.2 folder, the one where
> I ran the pyqtdeploycli/qmake/make sequence.
> 
> When pyqtdeploy runs make, the first make of a .c file
> fails with the message
> 
> ../Downloads/Python-3.4.2/Modules/_sqlite/cache.c:261:9: error: use of
> undeclared identifier 'MODULE_NAME'
> 
> Looking at that source, many files in the Modules
> directory use that identifier, but It is not defined in any
> header file or the Makefile.
> 
> I conclude it should be defined as part of the Python
> make or make install, as part of building $SYSROOT/src,
> but that is not happening.
> 
> Probably I am doing something stupidly wrong,
> I'd appreciate any suggestion of what.

Should be fixed in hg. sqlite is pre-installed on OS X so it should just 
work once you select the module on the Standard Library page.

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic