Re: [Zope] Re: Windows compile Zope 2.8?

2005-04-09 Thread Andrew Langmead
On Apr 9, 2005, at 4:04 PM, David H wrote:
 Cannot open source file:
  
'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ 
ISO_8859_1_Splitter.c':
    No such file or directory
 error: command '"C:\Program Files\Microsoft Visual  
Studio\VC98\BIN\cl.exe"' failed with exit status 2

 When I inspect  
'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src I  
find only one file and its:
 ISO_8859_64 (no extension).

 I've been reviewing distUtils but just started so I'm unlcear about  
this stuff still.
 Any ideas?
This looks similar to an error I've seen on Unix when Zope is unpacked  
with a version of tar that only supports Unix v7 tar format and not the  
later POSIX extensions.


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Windows compile Zope 2.8?

2005-04-09 Thread Tim Peters
[David H, missing ISO_8859_1_Splitter.c on Windows]

[Tim, sez worked for him using WinZip 9.0 SR-1 to unpack the tarball]

[David H]
> Wow thats great.  I'll do it all over again.  Thanks for the tip (i just
> reviewed my download using Ultimate Zip (which has been reliable in the
> past) and the key files are missing.  Odd.

I don't have experience with Ultimate Zip, but I do with other archive
programs.  ISO_8859_1_Splitter.c can be "a problem" because its full
path exceeds 100 characters, and that's longer than POSIX tar allows. 
Various archive programs kludge around that in various ways.  In
Linux-land, GNU tar has its own way of doing it, and I suppose (but
don't know that) GNU tar was used to build the Zope tarball.  Not all
archive programs understand GNU tar's hacks (or vice versa).

If you can't get around it, you can download ISO_8859_1_Splitter.c
directly by pointing your browser at svn.zope.org, then navigating to
it under Zope/trunk/lib/python/ (etc).
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Windows compile Zope 2.8?

2005-04-09 Thread David H




Tim Peters wrote:

  [David H]
  
  
Thanks for responding.  I tried the suggestion:
 C:\Zope-2.8.0a2> python.exe setup.py build_ext --inplace
 and the thing runs for a while (good sign, as visual c 6.0 is compiling
things) then I get this:

building 'Products.PluginIndexes.TextIndex.Splitter.ISO_8859_1_Splitter.ISO_8859_1_Splitter' extension
creating build\temp.win32-2.3\Release\Products\PluginIndexes\TextIndex\Splitter\ISO_8859_1_Splitter
creating build\temp.win32-2.3\Release\Products\PluginIndexes\TextIndex\Splitter\ISO_8859_1_Splitter\src
C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX /DNDEBUG -IC:\python23\include -IC:\python23\PC /TcProducts/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c /Fobuild\temp.win32-2.3\Release\Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.obj  ISO_8859_1_Splitter.c
fatal error C1083: 
Cannot open source file: 
'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c':
   No such file or directory
error: command '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe"'
failed with exit status 2

When I inspect
'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src
I find only one file and its:
ISO_8859_64 (no extension).

  
  
>From where did you obtain the Zope source code?  The file it's looking
for should be there.

For the heck of it, on WinXP I just downloaded Zope-2.8.0-a2.tgz from

http://www.zope.org/Products/Zope/2.8.0a2

then unpacked it using WinZip 9.0 SR-1.  No problems:  build_ext -i
worked fine, and:

C:\Zope-2.8.0-a2\lib\python\Products\PluginIndexes\TextIndex\Splitter\ISO_8859_1_Splitter\src>dir
 Volume in drive C has no label.
 Volume Serial Number is 5C0F-48E6

 Directory of C:\Zope-2.8.0-a2\lib\python\Products\PluginIndexes\TextIndex\Splitter\ISO_8859_1_Splitter\src

04/09/2005  06:49 PM  .
04/09/2005  06:49 PM  ..
04/02/2005  04:26 AM15,437 ISO_8859_1_Splitter.c
   1 File(s) 15,437 bytes
...

  

Tim,
Wow thats great.  I'll do it all over again.  Thanks for the tip (i
just reviewed my download using Ultimate Zip (which has been reliable
in the past) and the key files are missing.  Odd.
David



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Windows compile Zope 2.8?

2005-04-09 Thread Tim Peters
[David H]
> Thanks for responding.  I tried the suggestion:
>  C:\Zope-2.8.0a2> python.exe setup.py build_ext --inplace
>  and the thing runs for a while (good sign, as visual c 6.0 is compiling
> things) then I get this:
> 
> building 
> 'Products.PluginIndexes.TextIndex.Splitter.ISO_8859_1_Splitter.ISO_8859_1_Splitter'
>  extension
> creating 
> build\temp.win32-2.3\Release\Products\PluginIndexes\TextIndex\Splitter\ISO_8859_1_Splitter
> creating 
> build\temp.win32-2.3\Release\Products\PluginIndexes\TextIndex\Splitter\ISO_8859_1_Splitter\src
> C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD 
> /W3 /GX /DNDEBUG -IC:\python23\include -IC:\python23\PC 
> /TcProducts/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c
>  
> /Fobuild\temp.win32-2.3\Release\Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.obj
>   ISO_8859_1_Splitter.c
> fatal error C1083: 
> Cannot open source file: 
> 'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c':
>No such file or directory
> error: command '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe"'
> failed with exit status 2
>
> When I inspect
> 'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src
> I find only one file and its:
> ISO_8859_64 (no extension).

>From where did you obtain the Zope source code?  The file it's looking
for should be there.

For the heck of it, on WinXP I just downloaded Zope-2.8.0-a2.tgz from

http://www.zope.org/Products/Zope/2.8.0a2

then unpacked it using WinZip 9.0 SR-1.  No problems:  build_ext -i
worked fine, and:

C:\Zope-2.8.0-a2\lib\python\Products\PluginIndexes\TextIndex\Splitter\ISO_8859_1_Splitter\src>dir
 Volume in drive C has no label.
 Volume Serial Number is 5C0F-48E6

 Directory of 
C:\Zope-2.8.0-a2\lib\python\Products\PluginIndexes\TextIndex\Splitter\ISO_8859_1_Splitter\src

04/09/2005  06:49 PM  .
04/09/2005  06:49 PM  ..
04/02/2005  04:26 AM15,437 ISO_8859_1_Splitter.c
   1 File(s) 15,437 bytes
...
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: Windows compile Zope 2.8?

2005-04-09 Thread David H




Tres Seaver wrote:

  -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David H wrote:
  
  
Hi List,

I notice that the latest Zope does not have a Windows binary release yet
(zope 2.80 alpha 2).

I found an old Visual C 6.0 (still in the box!) and wonder if there are
instructions somewhere that I can follow to create my own binary on
Windows XP?

  
  
Assuming that VC6 is the compiler used to build Python (should be true
for Python < 2.4):

  C:\Zope-2.8.0a2> python.exe setup.py build_ext --inplace

Tres.
- --
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  "Zope Dealers"   http://www.zope.com
  

Tres,
Thanks for responding.  I tried the suggestion:
  C:\Zope-2.8.0a2> python.exe setup.py build_ext --inplace
 and the thing runs for a while (good sign, as visual c 6.0 is
compiling things) then I get this:

building
'Products.PluginIndexes.TextIndex.Splitter.ISO_8859_1_Splitter.ISO_8859_1_Splitter'
extension
creating
build\temp.win32-2.3\Release\Products\PluginIndexes\TextIndex\Splitter\ISO_8859_1_Splitter
creating
build\temp.win32-2.3\Release\Products\PluginIndexes\TextIndex\Splitter\ISO_8859_1_Splitter\src
C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox
/MD /W3
/GX /DNDEBUG -IC:\python23\include -IC:\python23\PC
/TcProducts/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c
/Fobuild\temp.win
32-2.3\Release\Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src
/ISO_8859_1_Splitter.obj
ISO_8859_1_Splitter.c
fatal error C1083: 
Cannot open source file: 
'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src/ISO_8859_1_Splitter.c':

   No such file or directory
error: command '"C:\Program Files\Microsoft Visual
Studio\VC98\BIN\cl.exe"' failed with exit status 2

When I inspect
'Products/PluginIndexes/TextIndex/Splitter/ISO_8859_1_Splitter/src I
find only one file and its:
ISO_8859_64 (no extension).

I've been reviewing distUtils but just started so I'm unlcear about
this stuff still.
Any ideas?

David




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Re: Windows compile Zope 2.8?

2005-04-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David H wrote:
> Hi List,
> 
> I notice that the latest Zope does not have a Windows binary release yet
> (zope 2.80 alpha 2).
> 
> I found an old Visual C 6.0 (still in the box!) and wonder if there are
> instructions somewhere that I can follow to create my own binary on
> Windows XP?

Assuming that VC6 is the compiler used to build Python (should be true
for Python < 2.4):

  C:\Zope-2.8.0a2> python.exe setup.py build_ext --inplace

Tres.
- --
===
Tres Seaver[EMAIL PROTECTED]
Zope Corporation  "Zope Dealers"   http://www.zope.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCVvN+GqWXf00rNCgRAvg9AJ9a1ytUMxwVSml+yHvdtjYgjqhriwCeJXzw
3P5CwSXbsx5BXgCmKcas96c=
=PVot
-END PGP SIGNATURE-

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )