Re: P4PythonInstaller issue on Ubuntu 11.10

2013-01-14 Thread yIzeki __
Hello,

I've made a change to the P4PythonInstaller's setup.py so that be able to 
install it on kernel 3.x.

Diff is as the follows:

$ diff -uNr setup.py.org setup.py
--- setup.py.org2013-01-15 16:06:53.474661991 +0900
+++ setup.py2013-01-15 16:07:30.702609614 +0900
@@ -98,7 +98,7 @@

 if osname == Linux:
 linuxver = platform.release()
-if linuxver.startswith('2.6') or linuxver.startswith('3.0'):
+if linuxver.startswith('2.6') or linuxver.startswith('3.'):
 osname = linux26
 elif linuxver.startswith(2.4):
 osname = linux24

I've checked it on my Ubuntu 12.04 (kernel 3.2), so it may work on 12.10 as 
well.

Regards,
Izeki

2012年10月24日水曜日 1時33分23秒 UTC+9 Dom Derrien:

 Christian,

 On Ubuntu 12.10, the kernel is now 3.5+ as you can see in my 'uname -a' 
 output:
  Linux * 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 
 x86_64 x86_64 x86_64 GNU/Linux

 Can you update the script accordingly?

 A+, Dom
 --

 On Wednesday, July 25, 2012 3:06:58 PM UTC-4, Christian Hammond wrote:

 Thanks. I've made the change upstream.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, Jul 25, 2012 at 3:56 AM, yIzeki __ y.i...@gmail.com wrote:

 Hi,

 Sorry for the long delay. Was quite busy..
 Anyway I've tried the modified P4PythonInstaller in my Ubuntu 11.10, and 
 it seems to be working fine for me.
 (I'm ignoring several warnings that occurred on during compilation)

 Here is diff of setup.py:
 --- ./setup.py  2009-07-30 18:02:38.0 +0900
 +++ ../setup.py 2012-07-06 13:14:44.377499927 +0900
 @@ -98,7 +98,7 @@

  if osname == Linux:
  linuxver = platform.release()
 -if linuxver.startswith(2.6):
 +if linuxver.startswith(2.6) or linuxver.startswith(3.0):
  osname = linux26
  elif linuxver.startswith(2.4):
  osname = linux24

 Thanks,
 Izeki

  -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en




-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: P4PythonInstaller issue on Ubuntu 11.10

2012-10-23 Thread Dom Derrien
Christian,

On Ubuntu 12.10, the kernel is now 3.5+ as you can see in my 'uname -a' 
output:
 Linux * 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 
x86_64 x86_64 x86_64 GNU/Linux

Can you update the script accordingly?

A+, Dom
--

On Wednesday, July 25, 2012 3:06:58 PM UTC-4, Christian Hammond wrote:

 Thanks. I've made the change upstream.

 Christian

 -- 
 Christian Hammond - chi...@chipx86.com javascript:
 Review Board - http://www.reviewboard.org
 VMware, Inc. - http://www.vmware.com


 On Wed, Jul 25, 2012 at 3:56 AM, yIzeki __ y.i...@gmail.com javascript:
  wrote:

 Hi,

 Sorry for the long delay. Was quite busy..
 Anyway I've tried the modified P4PythonInstaller in my Ubuntu 11.10, and 
 it seems to be working fine for me.
 (I'm ignoring several warnings that occurred on during compilation)

 Here is diff of setup.py:
 --- ./setup.py  2009-07-30 18:02:38.0 +0900
 +++ ../setup.py 2012-07-06 13:14:44.377499927 +0900
 @@ -98,7 +98,7 @@

  if osname == Linux:
  linuxver = platform.release()
 -if linuxver.startswith(2.6):
 +if linuxver.startswith(2.6) or linuxver.startswith(3.0):
  osname = linux26
  elif linuxver.startswith(2.4):
  osname = linux24

 Thanks,
 Izeki

  -- 
 Want to help the Review Board project? Donate today at 
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to 
 reviewboard...@googlegroups.com javascript:
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en




-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en




Re: P4PythonInstaller issue on Ubuntu 11.10

2012-07-25 Thread yIzeki __
Hi,

Sorry for the long delay. Was quite busy..
Anyway I've tried the modified P4PythonInstaller in my Ubuntu 11.10, and it 
seems to be working fine for me.
(I'm ignoring several warnings that occurred on during compilation)

Here is diff of setup.py:
--- ./setup.py  2009-07-30 18:02:38.0 +0900
+++ ../setup.py 2012-07-06 13:14:44.377499927 +0900
@@ -98,7 +98,7 @@

 if osname == Linux:
 linuxver = platform.release()
-if linuxver.startswith(2.6):
+if linuxver.startswith(2.6) or linuxver.startswith(3.0):
 osname = linux26
 elif linuxver.startswith(2.4):
 osname = linux24

Thanks,
Izeki

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: P4PythonInstaller issue on Ubuntu 11.10

2012-07-25 Thread Christian Hammond
Thanks. I've made the change upstream.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Wed, Jul 25, 2012 at 3:56 AM, yIzeki __ y.iz...@gmail.com wrote:

 Hi,

 Sorry for the long delay. Was quite busy..
 Anyway I've tried the modified P4PythonInstaller in my Ubuntu 11.10, and
 it seems to be working fine for me.
 (I'm ignoring several warnings that occurred on during compilation)

 Here is diff of setup.py:
 --- ./setup.py  2009-07-30 18:02:38.0 +0900
 +++ ../setup.py 2012-07-06 13:14:44.377499927 +0900
 @@ -98,7 +98,7 @@

  if osname == Linux:
  linuxver = platform.release()
 -if linuxver.startswith(2.6):
 +if linuxver.startswith(2.6) or linuxver.startswith(3.0):
  osname = linux26
  elif linuxver.startswith(2.4):
  osname = linux24

 Thanks,
 Izeki

  --
 Want to help the Review Board project? Donate today at
 http://www.reviewboard.org/donate/
 Happy user? Let us know at http://www.reviewboard.org/users/
 -~--~~~~--~~--~--~---
 To unsubscribe from this group, send email to
 reviewboard+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/reviewboard?hl=en


-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Re: P4PythonInstaller issue on Ubuntu 11.10

2012-07-04 Thread op_yizeki
Hello,
I'm facing same issue.
Is there any work-a-round?

Can we skip the version checking on the easy_installer?
I think we can use 2.6 p4api even if we are using kernel 3.0.x.

Regards,



2012年1月14日土曜日 3時36分35秒 UTC+9 Darryl McCutcheon:

 uname -a reports 

 Linux wlengreview2 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 
 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux 


 On Jan 13, 12:57 pm, Christian Hammond chip...@chipx86.com wrote: 
  I wasn't aware Ubuntu 11.10 was using a 3.x kernel... Can you verify 
 that? 
  
  If it's not 3.x, can you run uname -a and see what it reports? 
  
  p4api doesn't appear to have a build for Linux 3.x yet. 
  
  Christian 
  
  -- 
  Christian Hammond - chip...@chipx86.com 
  Review Board -http://www.reviewboard.org 
  VMware, Inc. -http://www.vmware.com 
  
  On Fri, Jan 13, 2012 at 7:20 AM, Darryl McCutcheon 
 dar...@themccutcheons.ca 
  
  
  
  
  
  
  
   wrote: 
   During the install of P4PythonInstaller on Ubuntu 11.10 I am getting 
   the error 
  
   Unsupported Linux version: 3.0.0-12-servererror: Setup script exited 
   with 1 
  
   I used the command line sudo easy_isntall P4PythonInstaller 
  
   which resulted in the output below: 
  
   Searching for P4PythonInstaller 
   Readinghttp://pypi.python.org/simple/P4PythonInstaller/ 
   Readinghttp://www.review-board.org/ 
   Best match: P4PythonInstaller 0.2 
   Downloading 
  http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4 
   PythonInstaller-0.2
 http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4%... 
   Doing subversion checkout from 
  http://reviewboard.googlecode.com/svn/trunk/P4Pyt 
   honInstaller to /tmp/easy_install-Bxskf8/P4PythonInstaller 
   Processing P4PythonInstaller 
   Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-Bxskf8/ 
   P4PythonInstal 
   ler/egg-dist-tmp-c8b27G 
   Unsupported Linux version: 3.0.0-12-servererror: Setup script exited 
   with 1 
  
   Any idea what is causing the issue, and is there a workaround or fix? 
  
   -- 
   Want to help the Review Board project? Donate today at 
  http://www.reviewboard.org/donate/ 
   Happy user? Let us know athttp://www.reviewboard.org/users/ 
   -~--~~~~--~~--~--~--- 
   To unsubscribe from this group, send email to 
   reviewboard+unsubscr...@googlegroups.com 
   For more options, visit this group at 
  http://groups.google.com/group/reviewboard?hl=en


2012年1月14日土曜日 3時36分35秒 UTC+9 Darryl McCutcheon:

 uname -a reports 

 Linux wlengreview2 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 
 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux 


 On Jan 13, 12:57 pm, Christian Hammond chip...@chipx86.com wrote: 
  I wasn't aware Ubuntu 11.10 was using a 3.x kernel... Can you verify 
 that? 
  
  If it's not 3.x, can you run uname -a and see what it reports? 
  
  p4api doesn't appear to have a build for Linux 3.x yet. 
  
  Christian 
  
  -- 
  Christian Hammond - chip...@chipx86.com 
  Review Board -http://www.reviewboard.org 
  VMware, Inc. -http://www.vmware.com 
  
  On Fri, Jan 13, 2012 at 7:20 AM, Darryl McCutcheon 
 dar...@themccutcheons.ca 
  
  
  
  
  
  
  
   wrote: 
   During the install of P4PythonInstaller on Ubuntu 11.10 I am getting 
   the error 
  
   Unsupported Linux version: 3.0.0-12-servererror: Setup script exited 
   with 1 
  
   I used the command line sudo easy_isntall P4PythonInstaller 
  
   which resulted in the output below: 
  
   Searching for P4PythonInstaller 
   Readinghttp://pypi.python.org/simple/P4PythonInstaller/ 
   Readinghttp://www.review-board.org/ 
   Best match: P4PythonInstaller 0.2 
   Downloading 
  http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4 
   PythonInstaller-0.2
 http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4%... 
   Doing subversion checkout from 
  http://reviewboard.googlecode.com/svn/trunk/P4Pyt 
   honInstaller to /tmp/easy_install-Bxskf8/P4PythonInstaller 
   Processing P4PythonInstaller 
   Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-Bxskf8/ 
   P4PythonInstal 
   ler/egg-dist-tmp-c8b27G 
   Unsupported Linux version: 3.0.0-12-servererror: Setup script exited 
   with 1 
  
   Any idea what is causing the issue, and is there a workaround or fix? 
  
   -- 
   Want to help the Review Board project? Donate today at 
  http://www.reviewboard.org/donate/ 
   Happy user? Let us know athttp://www.reviewboard.org/users/ 
   -~--~~~~--~~--~--~--- 
   To unsubscribe from this group, send email to 
   reviewboard+unsubscr...@googlegroups.com 
   For more options, visit this group at 
  http://groups.google.com/group/reviewboard?hl=en


2012年1月14日土曜日 3時36分35秒 UTC+9 Darryl McCutcheon:

 uname -a reports 

 Linux wlengreview2 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 
 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux 


 On Jan 13, 12:57 pm, Christian Hammond chip...@chipx86.com wrote: 
  I wasn't aware Ubuntu 11.10 was 

Re: P4PythonInstaller issue on Ubuntu 11.10

2012-07-04 Thread Christian Hammond
Hi,

Would you be able to download P4PythonInstaller and make the modifications for 
the version check and let me know if it works? (And if so, provide a diff.) We 
can then make the modification upstream.

Christian



On Jul 4, 2012, at 2:13, op_yizeki y.iz...@gmail.com wrote:

 Hello,
 I'm facing same issue.
 Is there any work-a-round?
 
 Can we skip the version checking on the easy_installer?
 I think we can use 2.6 p4api even if we are using kernel 3.0.x.
 
 Regards,
 
 
 
 2012年1月14日土曜日 3時36分35秒 UTC+9 Darryl McCutcheon:
 uname -a reports 
 
 Linux wlengreview2 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 
 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux 
 
 
 On Jan 13, 12:57 pm, Christian Hammond chip...@chipx86.com wrote: 
  I wasn't aware Ubuntu 11.10 was using a 3.x kernel... Can you verify that? 
  
  If it's not 3.x, can you run uname -a and see what it reports? 
  
  p4api doesn't appear to have a build for Linux 3.x yet. 
  
  Christian 
  
  -- 
  Christian Hammond - chip...@chipx86.com 
  Review Board -http://www.reviewboard.org 
  VMware, Inc. -http://www.vmware.com 
  
  On Fri, Jan 13, 2012 at 7:20 AM, Darryl McCutcheon 
  dar...@themccutcheons.ca 
  
  
  
  
  
  
  
   wrote: 
   During the install of P4PythonInstaller on Ubuntu 11.10 I am getting 
   the error 
  
   Unsupported Linux version: 3.0.0-12-servererror: Setup script exited 
   with 1 
  
   I used the command line sudo easy_isntall P4PythonInstaller 
  
   which resulted in the output below: 
  
   Searching for P4PythonInstaller 
   Readinghttp://pypi.python.org/simple/P4PythonInstaller/ 
   Readinghttp://www.review-board.org/ 
   Best match: P4PythonInstaller 0.2 
   Downloading 
  http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4 
   PythonInstaller-0.2http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4%...

   Doing subversion checkout from 
  http://reviewboard.googlecode.com/svn/trunk/P4Pyt 
   honInstaller to /tmp/easy_install-Bxskf8/P4PythonInstaller 
   Processing P4PythonInstaller 
   Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-Bxskf8/ 
   P4PythonInstal 
   ler/egg-dist-tmp-c8b27G 
   Unsupported Linux version: 3.0.0-12-servererror: Setup script exited 
   with 1 
  
   Any idea what is causing the issue, and is there a workaround or fix? 
  
   -- 
   Want to help the Review Board project? Donate today at 
  http://www.reviewboard.org/donate/ 
   Happy user? Let us know athttp://www.reviewboard.org/users/ 
   -~--~~~~--~~--~--~--- 
   To unsubscribe from this group, send email to 
   reviewboard+unsubscr...@googlegroups.com 
   For more options, visit this group at 
  http://groups.google.com/group/reviewboard?hl=en
 
 2012年1月14日土曜日 3時36分35秒 UTC+9 Darryl McCutcheon:
 uname -a reports 
 
 Linux wlengreview2 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 
 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux 
 
 
 On Jan 13, 12:57 pm, Christian Hammond chip...@chipx86.com wrote: 
  I wasn't aware Ubuntu 11.10 was using a 3.x kernel... Can you verify that? 
  
  If it's not 3.x, can you run uname -a and see what it reports? 
  
  p4api doesn't appear to have a build for Linux 3.x yet. 
  
  Christian 
  
  -- 
  Christian Hammond - chip...@chipx86.com 
  Review Board -http://www.reviewboard.org 
  VMware, Inc. -http://www.vmware.com 
  
  On Fri, Jan 13, 2012 at 7:20 AM, Darryl McCutcheon 
  dar...@themccutcheons.ca 
  
  
  
  
  
  
  
   wrote: 
   During the install of P4PythonInstaller on Ubuntu 11.10 I am getting 
   the error 
  
   Unsupported Linux version: 3.0.0-12-servererror: Setup script exited 
   with 1 
  
   I used the command line sudo easy_isntall P4PythonInstaller 
  
   which resulted in the output below: 
  
   Searching for P4PythonInstaller 
   Readinghttp://pypi.python.org/simple/P4PythonInstaller/ 
   Readinghttp://www.review-board.org/ 
   Best match: P4PythonInstaller 0.2 
   Downloading 
  http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4 
   PythonInstaller-0.2http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4%...

   Doing subversion checkout from 
  http://reviewboard.googlecode.com/svn/trunk/P4Pyt 
   honInstaller to /tmp/easy_install-Bxskf8/P4PythonInstaller 
   Processing P4PythonInstaller 
   Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-Bxskf8/ 
   P4PythonInstal 
   ler/egg-dist-tmp-c8b27G 
   Unsupported Linux version: 3.0.0-12-servererror: Setup script exited 
   with 1 
  
   Any idea what is causing the issue, and is there a workaround or fix? 
  
   -- 
   Want to help the Review Board project? Donate today at 
  http://www.reviewboard.org/donate/ 
   Happy user? Let us know athttp://www.reviewboard.org/users/ 
   -~--~~~~--~~--~--~--- 
   To unsubscribe from this group, send email to 
   reviewboard+unsubscr...@googlegroups.com 
   For more options, visit this group at 
  

P4PythonInstaller issue on Ubuntu 11.10

2012-01-13 Thread Darryl McCutcheon
During the install of P4PythonInstaller on Ubuntu 11.10 I am getting
the error

Unsupported Linux version: 3.0.0-12-servererror: Setup script exited
with 1

I used the command line sudo easy_isntall P4PythonInstaller

which resulted in the output below:

Searching for P4PythonInstaller
Reading http://pypi.python.org/simple/P4PythonInstaller/
Reading http://www.review-board.org/
Best match: P4PythonInstaller 0.2
Downloading http://reviewboard.googlecode.com/svn/trunk/P4PythonInstaller#egg=P4
PythonInstaller-0.2
Doing subversion checkout from http://reviewboard.googlecode.com/svn/trunk/P4Pyt
honInstaller to /tmp/easy_install-Bxskf8/P4PythonInstaller
Processing P4PythonInstaller
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-Bxskf8/
P4PythonInstal
ler/egg-dist-tmp-c8b27G
Unsupported Linux version: 3.0.0-12-servererror: Setup script exited
with 1

Any idea what is causing the issue, and is there a workaround or fix?

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en