[qmtest] qmtest gui under Windows

Mark Mitchell mark at codesourcery.com
Wed Mar 3 07:11:50 UTC 2004


Andrew Funk wrote:

> Hi Mark,
> 
> I am investigating the possibility that I am not building the Windows
> installation correctly.  I have been doing that by running "python
> ./setup.py bdist_wininst" under Linux, and then running the resultant
> .exe file under Windows.  So I think the first thing I need to do is
> make sure I am building under Linux correctly.

That's how I do it when I want to test under Windows.

I don't ever build directly under Windows.

But, just for kicks, I did just now.

The following *should* work:

   c:\Python23\python setup.py build
   c:\Python23\python setup.py install --prefix ..\..\install

(Note that --prefix cannot take an absolute path on Windows.)

It turns out that there was a glitch in some of the packaging goo that 
got us in that mode, which is fixed with the attached patch, now 
committed to both the mainline and the 2.1 branch.

> Example:
> 
> ./configure --with-python=/home/afunk/Python-2.3/python
> --prefix=/home/afunk/qm
> make
> make install
> 
> The resultant qmtest script has the following first line:

That sounds like a bug in your installation of Python.  If you start 
/home/afunk/Python-2.3/python, and do:

   import sys
   print sys.executable

what does it show you?

Would you send everything that shows up in your terminal when you do the 
commands shown above?

-- 
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourcerytools.com/pipermail/qmtest/attachments/20040302/12ff5d1d/attachment.ksh>


More information about the qmtest mailing list