Re: 2.0.3rc1

2008-12-17 Thread Kenton Varda
I think the problem may be that the script was written on unix, so it does
not expect protoc to have the .exe extension.  That's a bug that should be
fixed.  I'm surprised it hasn't been reported before.  Does it work if you
put protoc.exe somewhere in your PATH?

On Wed, Dec 17, 2008 at 4:04 AM, 王鹏生 pengshengw...@gmail.com wrote:

 Hi,

 I download protoc-2.0.3-win32.zip and protobuf-2.0.3.zip
 from http://code.google.com/p/protobuf/downloads/list

 Unzip protobuf-2.0.3.zip to C:\Python25\protobuf-2.0.3 and
 put protoc.exe to C:\Python25\protobuf-2.0.3\src\

 Then, I run the command:
 C:\Python25\protobuf-2.0.3\pythonsetup.py install
 But it told me that protoc is not installed nor found in ../src.

 Why?  How?
 Thanks!

 I test the other version like protobuf-2.0.2 and protobuf-2.0.1
 but it had the same problem...

 The detail message as below:

 C:\Python25\protobuf-2.0.3\pythonsetup.py install
 ---
 This script requires setuptools version 0.6c8 to run (even to display
 help).  I will attempt to download it for you (from
 http://pypi.python.org/packages/2.5/s/setuptools/), but
 you may need to enable firewall access for this script first.
 I will start the download in 15 seconds.

 (Note: if this machine does not have network access, please obtain the file


 http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py2.5.egg

 and place it in this directory before rerunning this script.)
 ---
 Downloading
 http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py
 2.5.egg
 Generating google/protobuf/descriptor_pb2.py...
 protoc is not installed nor found in ../src.  Please compile it or install
 the b
 inary package.


 2008/12/3 Kenton Varda ken...@google.com:
  You need to run setup.py from the directory where it resides.
 
  On Tue, Dec 2, 2008 at 11:51 PM, EYN pengshengw...@gmail.com wrote:
 
  I can not install it:
 
  C:\Python25python C:\Python25\protobuf-2.0.3rc1\python\setup.py
  install
  Can't find required file: ../src/google/protobuf/descriptor.proto
 
  On 11月26日, 上午10时32分, Kenton Varda ken...@google.com wrote:
   I just put a release candidate
   here:http://groups.google.com/group/protobuf/files
  
   Test and tell me what's broken.
   
 
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---



Re: 2.0.3rc1

2008-12-17 Thread 王鹏生
Hi,

I download protoc-2.0.3-win32.zip and protobuf-2.0.3.zip
from http://code.google.com/p/protobuf/downloads/list

Unzip protobuf-2.0.3.zip to C:\Python25\protobuf-2.0.3 and
put protoc.exe to C:\Python25\protobuf-2.0.3\src\

Then, I run the command:
C:\Python25\protobuf-2.0.3\pythonsetup.py install
But it told me that protoc is not installed nor found in ../src.

Why?  How?
Thanks!

I test the other version like protobuf-2.0.2 and protobuf-2.0.1
but it had the same problem...

The detail message as below:

C:\Python25\protobuf-2.0.3\pythonsetup.py install
---
This script requires setuptools version 0.6c8 to run (even to display
help).  I will attempt to download it for you (from
http://pypi.python.org/packages/2.5/s/setuptools/), but
you may need to enable firewall access for this script first.
I will start the download in 15 seconds.

(Note: if this machine does not have network access, please obtain the file

   http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py2.5.egg

and place it in this directory before rerunning this script.)
---
Downloading http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py
2.5.egg
Generating google/protobuf/descriptor_pb2.py...
protoc is not installed nor found in ../src.  Please compile it or install the b
inary package.


2008/12/3 Kenton Varda ken...@google.com:
 You need to run setup.py from the directory where it resides.

 On Tue, Dec 2, 2008 at 11:51 PM, EYN pengshengw...@gmail.com wrote:

 I can not install it:

 C:\Python25python C:\Python25\protobuf-2.0.3rc1\python\setup.py
 install
 Can't find required file: ../src/google/protobuf/descriptor.proto

 On 11月26日, 上午10时32分, Kenton Varda ken...@google.com wrote:
  I just put a release candidate
  here:http://groups.google.com/group/protobuf/files
 
  Test and tell me what's broken.
 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---



Re: 2.0.3rc1

2008-12-17 Thread Pengsheng Wang
Yes, protoc.exe can work when I ask it to create the example file
addressbook.proto.

2008/12/18 Kenton Varda ken...@google.com:
 I think the problem may be that the script was written on unix, so it does
 not expect protoc to have the .exe extension.  That's a bug that should be
 fixed.  I'm surprised it hasn't been reported before.  Does it work if you
 put protoc.exe somewhere in your PATH?

 On Wed, Dec 17, 2008 at 4:04 AM, 王鹏生 pengshengw...@gmail.com wrote:

 Hi,

 I download protoc-2.0.3-win32.zip and protobuf-2.0.3.zip
 from http://code.google.com/p/protobuf/downloads/list

 Unzip protobuf-2.0.3.zip to C:\Python25\protobuf-2.0.3 and
 put protoc.exe to C:\Python25\protobuf-2.0.3\src\

 Then, I run the command:
 C:\Python25\protobuf-2.0.3\pythonsetup.py install
 But it told me that protoc is not installed nor found in ../src.

 Why?  How?
 Thanks!

 I test the other version like protobuf-2.0.2 and protobuf-2.0.1
 but it had the same problem...

 The detail message as below:

 C:\Python25\protobuf-2.0.3\pythonsetup.py install

 ---
 This script requires setuptools version 0.6c8 to run (even to display
 help).  I will attempt to download it for you (from
 http://pypi.python.org/packages/2.5/s/setuptools/), but
 you may need to enable firewall access for this script first.
 I will start the download in 15 seconds.

 (Note: if this machine does not have network access, please obtain the
 file


 http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py2.5.egg

 and place it in this directory before rerunning this script.)

 ---
 Downloading
 http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c8-py
 2.5.egg
 Generating google/protobuf/descriptor_pb2.py...
 protoc is not installed nor found in ../src.  Please compile it or install
 the b
 inary package.


 2008/12/3 Kenton Varda ken...@google.com:
  You need to run setup.py from the directory where it resides.
 
  On Tue, Dec 2, 2008 at 11:51 PM, EYN pengshengw...@gmail.com wrote:
 
  I can not install it:
 
  C:\Python25python C:\Python25\protobuf-2.0.3rc1\python\setup.py
  install
  Can't find required file: ../src/google/protobuf/descriptor.proto
 
  On 11月26日, 上午10时32分, Kenton Varda ken...@google.com wrote:
   I just put a release candidate
   here:http://groups.google.com/group/protobuf/files
  
   Test and tell me what's broken.
   
 
 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---



2.0.3rc1

2008-11-25 Thread Kenton Varda
I just put a release candidate here:
http://groups.google.com/group/protobuf/files

Test and tell me what's broken.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~--~~~~--~~--~--~---