Re: Re: build Phoenix from source fails

Greg Couch <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Now I'm back to my original problem with wxSVGBitmapHandler.  After 
applying my previous fix, and several others, I'm stuck on 
sip/gen/_html.sip.  The error is:

/home/gregc/src/Phoenix/bin/sip-4.14.4-linux -w -o -T -g -I 
/home/gregc/src/Phoenix/src -I /home/gregc/src/Phoenix/sip/gen -c 
/tmp/tmpVym0Bw -b sip/cpp/_html.sbf -X pycode_html:wx/html.py 
sip/gen/_html.sip
sip: HTMLCursor is undefined

HTMLCursor is defined in htmlwin and there is "%Include htmlwin.sip" in in 
sip/gen._html.sip, but it's not being found.  

    -- Greg

On Wednesday, February 11, 2015 at 11:48:14 PM UTC-8, Greg Couch wrote:
>
> I see my mistake, I had wxWidgets in a parallel directory to Phoenix, not 
> in the exts subdirectory.
>
>    -- Greg
>
> On Wednesday, February 11, 2015 at 11:42:34 PM UTC-8, Greg Couch wrote:
>>
>> "python build.py dox etg --nodoc sip build" fails with a similar error:
>>
>> python build.py dox etg --nodoc sip build
>> Build using: "/usr/bin/python"
>> 2.7.8 (default, Oct 20 2014, 15:05:19)
>> [GCC 4.9.1]
>> Python's architecture is 64bit
>> cfg.VERSION: 3.0.3
>>
>> Running command: dox
>> Checking for /home/gregc/src/Phoenix/bin/doxygen-1.8.2-linux...
>> Traceback (most recent call last):
>>   File "build.py", line 1613, in <module>
>>     main(sys.argv[1:])
>>   File "build.py", line 168, in main
>>     function(options, args)
>>   File "build.py", line 670, in cmd_dox
>>     _doDox('xml')
>>   File "build.py", line 663, in _doDox
>>     pwd = pushDir(posixjoin(wxDir(), 'docs/doxygen'))
>>   File "build.py", line 430, in __init__
>>     os.chdir(newDir)
>> OSError: [Errno 2] No such file or directory: 
>> '/home/gregc/src/Phoenix/ext/wxWidgets/docs/doxygen'
>> Finished command: dox (0.41s)
>>
>>
>> On Wednesday, February 11, 2015 at 11:21:12 PM UTC-8, Robin Dunn wrote:
>>>
>>> Greg Couch wrote: 
>>> > So what's the current way of building Phoenix from source? Here's my 
>>> script: 
>>> > 
>>> > python build.py clean 
>>> > python build.py touch etg --nodoc 
>>> > python build.py dox etg --nodoc sip build 
>>> > 
>>> > It now fails earlier in the "touch etg" stage with: 
>>> > 
>>>
>>> ... 
>>>
>>> > AssertionError: Doxygen XML folder not found: 
>>> > /home/gregc/src/Phoenix/ext/wxWidgets/docs/doxygen/out/xml 
>>>
>>> Because you are running the etg command before the dox command.  The dox 
>>> command generates the XML, and the etg command consumes it.  Remove the 
>>> "etg --nodoc" from the 2nd line above.  Or you could combine them all 
>>> into one line, just as long as dox is done before etg. 
>>>
>>>
>>> -- 
>>> Robin Dunn 
>>> Software Craftsman 
>>> http://wxPython.org 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.