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-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