Sebastian Fischmeister(deleted)
|
|
Sebastian Fischmeister(deleted)
04/22/2011 1:59 PM
post85213
|
Hi,
I just compiled Python 3.2 on 6.5. Just a few tweaks such as including header files (alloca, unistd, more for open()
and -DNO_MALLINFO. Is there a chance to see it included in pkgsrc, so all the dependencies will work out? It would be an
upgraded of 3 years of development on python over the included python 2.5.2.
Sebastian
|
|
|
Sean Boudreau(deleted)
04/25/2011 1:32 PM
post85219
|
On Fri, Apr 22, 2011 at 01:59:45PM -0400, Sebastian Fischmeister wrote:
> Hi,
>
> I just compiled Python 3.2 on 6.5. Just a few tweaks such as including
> header files (alloca, unistd, more for open() and -DNO_MALLINFO. Is
> there a chance to see it included in pkgsrc, so all the dependencies
> will work out? It would be an upgraded of 3 years of development on
> python over the included python 2.5.2.
>
> Sebastian
Can you attach the diffs?
Thanks,
-seanb
|
|
|
Sebastian Fischmeister(deleted)
|
|
Sebastian Fischmeister(deleted)
04/25/2011 1:57 PM
post85220
|
I didn't really clean it up, but it gives you an idea. Add this to Include/Python.h:
#include <limits.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
Compile with
CC=qcc CFLAGS=-DNO_MALLINFO ./configure
make
Sebastian
On 2011-04-25, at 1:32 PM, Sean Boudreau wrote:
> On Fri, Apr 22, 2011 at 01:59:45PM -0400, Sebastian Fischmeister wrote:
>> Hi,
>>
>> I just compiled Python 3.2 on 6.5. Just a few tweaks such as including
>> header files (alloca, unistd, more for open() and -DNO_MALLINFO. Is
>> there a chance to see it included in pkgsrc, so all the dependencies
>> will work out? It would be an upgraded of 3 years of development on
>> python over the included python 2.5.2.
>>
>> Sebastian
>
> Can you attach the diffs?
>
> Thanks,
>
> -seanb
>
>
>
> _______________________________________________
>
> PkgInfo
> http://community.qnx.com/sf/go/post85219
>
|
|
|
Sean Boudreau(deleted)
08/17/2011 9:44 AM
post88156
|
pkgsrc has imported 3.1. Did you run into this issue when building?
Traceback (most recent call last):
File "./setup.py", line 1852, in <module>
main()
File "./setup.py", line 1847, in main
"Tools/scripts/2to3-3.1"]
File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/core.py", line
149, in setup
dist.run_commands()
File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/dist.py", line
919, in run_commands
self.run_command(cmd)
File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/dist.py", line
938, in run_command
cmd_obj.run()
File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/command/build.py"
, line 128, in run
self.run_command(cmd_name)
File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/cmd.py", line 315
, in run_command
self.distribution.run_command(command)
File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/dist.py", line
938, in run_command
cmd_obj.run()
File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/command/
build_scripts.py", line 53, in run
self.copy_scripts()
File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/command/
build_scripts.py", line 110, in copy_scripts
'surrogateescape')
TypeError: must be string, not None
-seanb
On Mon, Apr 25, 2011 at 01:57:20PM -0400, Sebastian Fischmeister wrote:
> I didn't really clean it up, but it gives you an idea. Add this to
> Include/Python.h:
>
> #include <limits.h>
> #include <sys/types.h>
> #include <sys/stat.h>
> #include <fcntl.h>
>
> Compile with
>
> CC=qcc CFLAGS=-DNO_MALLINFO ./configure
> make
>
> Sebastian
>
> On 2011-04-25, at 1:32 PM, Sean Boudreau wrote:
>
> > On Fri, Apr 22, 2011 at 01:59:45PM -0400, Sebastian Fischmeister
> wrote:
> >> Hi,
> >>
> >> I just compiled Python 3.2 on 6.5. Just a few tweaks such as
> including
> >> header files (alloca, unistd, more for open() and -DNO_MALLINFO. Is
> >> there a chance to see it included in pkgsrc, so all the dependencies
> >> will work out? It would be an upgraded of 3 years of development on
> >> python over the included python 2.5.2.
> >>
> >> Sebastian
> >
> > Can you attach the diffs?
> >
> > Thanks,
> >
> > -seanb
> >
> >
> >
> > _______________________________________________
> >
> > PkgInfo
> > http://community.qnx.com/sf/go/post85219
> >
>
>
>
>
> _______________________________________________
>
> PkgInfo
> http://community.qnx.com/sf/go/post85220
>
|
|
|
Sebastian Fischmeister(deleted)
|
|
Sebastian Fischmeister(deleted)
08/17/2011 9:49 AM
post88157
|
Not that I remember. But I was building python 3.2 and not 3.1.4.
Sebastian
On 2011-08-17, at 9:44 AM, Sean Boudreau wrote:
>
> pkgsrc has imported 3.1. Did you run into this issue when building?
>
> Traceback (most recent call last):
> File "./setup.py", line 1852, in <module>
> main()
> File "./setup.py", line 1847, in main
> "Tools/scripts/2to3-3.1"]
> File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/core.py", line
149, in setup
> dist.run_commands()
> File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/dist.py", line
919, in run_commands
> self.run_command(cmd)
> File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/dist.py", line
938, in run_command
> cmd_obj.run()
> File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/command/build.py
", line 128, in run
> self.run_command(cmd_name)
> File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/cmd.py", line
315, in run_command
> self.distribution.run_command(command)
> File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/dist.py", line
938, in run_command
> cmd_obj.run()
> File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/command/
build_scripts.py", line 53, in run
> self.copy_scripts()
> File "/home/seanb/svn/community/pkgsrc/HEAD_650/pkgsrc/lang/python31/work/Python-3.1.4/Lib/distutils/command/
build_scripts.py", line 110, in copy_scripts
> 'surrogateescape')
> TypeError: must be string, not None
>
> -seanb
>
> On Mon, Apr 25, 2011 at 01:57:20PM -0400, Sebastian Fischmeister wrote:
>> I didn't really clean it up, but it gives you an idea. Add this to
>> Include/Python.h:
>>
>> #include <limits.h>
>> #include <sys/types.h>
>> #include <sys/stat.h>
>> #include <fcntl.h>
>>
>> Compile with
>>
>> CC=qcc CFLAGS=-DNO_MALLINFO ./configure
>> make
>>
>> Sebastian
>>
>> On 2011-04-25, at 1:32 PM, Sean Boudreau wrote:
>>
>>> On Fri, Apr 22, 2011 at 01:59:45PM -0400, Sebastian Fischmeister
>> wrote:
>>>> Hi,
>>>>
>>>> I just compiled Python 3.2 on 6.5. Just a few tweaks such as
>> including
>>>> header files (alloca, unistd, more for open() and -DNO_MALLINFO. Is
>>>> there a chance to see it included in pkgsrc, so all the dependencies
>>>> will work out? It would be an upgraded of 3 years of development on
>>>> python over the included python 2.5.2.
>>>>
>>>> Sebastian
>>>
>>> Can you attach the diffs?
>>>
>>> Thanks,
>>>
>>> -seanb
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> PkgInfo
>>> http://community.qnx.com/sf/go/post85219
>>>
>>
>>
>>
>>
>> _______________________________________________
>>
>> PkgInfo
>> http://community.qnx.com/sf/go/post85220
>>
>
>
>
> _______________________________________________
>
> PkgInfo
> http://community.qnx.com/sf/go/post88156
>
|
|
|
|