Showing content from http://mail.python.org/pipermail/python-dev/attachments/20120521/0c3d346a/attachment.html below:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
 margin-bottom:.0001pt;
 font-size:11.0pt;
 font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
 text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
 text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
 color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"> </p>
<p class="MsoNormal">I am currently working on porting our Linux tool chains to SuSe Enterprise Linux 11 service pack 2 (SLES11SP2). During this process, we noticed an issue due to a change in the sys.platform string. Previously, the string was “linux2” and
it has now changed to “linux3”. This seems to be due to a change in the kernel version. This causes the ossaudiodev and linuxaudiodev modules to be omitted from the build. I found the relevant code in setup.py:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> if platform == 'linux2':</p>
<p class="MsoNormal"> # Linux-specific modules</p>
<p class="MsoNormal"> exts.append( Extension('linuxaudiodev', ['linuxaudiodev.c']) )</p>
<p class="MsoNormal"> else:</p>
<p class="MsoNormal"> missing.append('linuxaudiodev')</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> if platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6',</p>
<p class="MsoNormal"> 'freebsd7', 'freebsd8'):</p>
<p class="MsoNormal"> exts.append( Extension('ossaudiodev', ['ossaudiodev.c']) )</p>
<p class="MsoNormal"> else:</p>
<p class="MsoNormal"> missing.append('ossaudiodev')</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Since neither of these account for “linux3”, they are both omitted from the build. I can simply modify the code to include “linux3” so that these modules are built on the new platform. However, I wanted to check and see whether they are
specifically being omitted for a reason or if the setup file just wasn’t ported and tested against the new platform. Any help would be appreciated. Thanks.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> Kris</p>
<p class="MsoNormal"> </p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1"><br>
IMPORTANT: The information contained in this email and/or its attachments is confidential. If you are not the intended recipient, please notify the sender immediately by reply and immediately delete this message and all its attachments. Any review, use, reproduction,
disclosure or dissemination of this message or any attachment by an unintended recipient is strictly prohibited. Neither this message nor any attachment is intended as or should be construed as an offer, solicitation or recommendation to buy or sell any security
or other financial instrument. Neither the sender, his or her employer nor any of their respective affiliates makes any warranties as to the completeness or accuracy of any of the information contained herein or that this message or any of its attachments
is free of viruses.<br>
</font>
</body>
</html>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4