[Stackless] Stackless Digest, Vol 80, Issue 17

Charles Sibbald casibbald at gmail.com
Sat Sep 25 18:40:33 CEST 2010


Hi Richard,

Thank you so much for your response, 

Problem:
> ./Stackless/platf/switch_x86_unix.h: In function ?slp_transfer?:
> ./Stackless/platf/switch_x86_unix.h:37: error: PIC register ?ebx? clobbered

This was solved on Ubuntu 10.04 (i386 & AMD64) by installing missing headers and dependency packages:

32Bit
build-essential gcc g++ g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg libstdc++6-4.4-doc lib64stdc++6-4.4-dbg lib64mudflap0 libncurses5-dev linux-headers-$(uname -r) 

64Bit
build-essential gcc g++ g++-multilib g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg libstdc++6-4.4-doc libncurses5-dev linux-headers-$(uname -r)


Once these had been install, I was able to run a complete configure/make and install. The build works but is missing a number of necessary modules.

Missing Readline was solved by simlinking:
sudo ln -s /usr/lib/python2.6/lib-dynload/readline.so /opt/stackless/lib/python2.6/lib-dynload/readline.so
Ideally it would be good to have this build in the standard make process.

The following are the other modules that did not build, that I would need to be able to have included in order to put together Debian/Ubuntu 10.04 packages and add them to a public repository.

Failed to find the necessary bits to build these modules:
_bsddb             _hashlib           _sqlite3        
_ssl               _tkinter           bsddb185        
bz2                dbm                gdbm            
readline           sunaudiodev        zlib    

Would you be able to point me in the right direction for these?


The following is a list of items listed as "no" during configure, I understand some are specific to Windows/OSX:

charles at ubuntu:~/tmp/release26-maint$ cat configure_stackless_zlibc.log | grep " no"
checking for --enable-universalsdk... no
checking for --without-gcc... no
checking whether we are cross compiling... no
checking for gcc option to accept ISO C89... none needed
checking for --with-cxx-main=<compiler>... no
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for case-insensitive build directory... no
checking for --enable-shared... no
checking for --with-pydebug... no
checking whether gcc accepts -OPT:Olimit=0... no
checking whether gcc accepts -Olimit 1500... no
checking whether gcc supports ParseTuple __format__... no
checking whether pthreads are available without options... no
checking whether gcc accepts -Kpthread... no
checking whether gcc accepts -Kthread... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sys/bsdtty.h usability... no
checking sys/bsdtty.h presence... no
checking for sys/bsdtty.h... no
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/lock.h usability... no
checking sys/lock.h presence... no
checking for sys/lock.h... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking bluetooth.h usability... no
checking bluetooth.h presence... no
checking for bluetooth.h... no
checking bluetooth/bluetooth.h usability... no
checking bluetooth/bluetooth.h presence... no
checking for bluetooth/bluetooth.h... no
checking for library containing opendir... none required
checking Solaris LFS bug... no
checking for --enable-toolbox-glue... no
checking for --enable-framework... no
checking for dyld... no
checking for shl_load in -ldld... no
checking for textdomain in -lintl... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for --with-libs... no
checking for --with-dec-threads... no
checking for OSX 10.5 SDK or later... no
checking for --with-tsc... no
checking for --with-wctype-functions... no
checking for lchmod... no
checking for plock... no
checking for pthread_init... no
checking for _getpty... no
checking for kqueue... no
checking for ctermid_r... no
checking for chflags... no
checking for lchflags... no
checking for inflateCopy in -lz... no
checking for openpty... no
checking for fseek64... no
checking for ftell64... no
checking for struct stat.st_flags... no
checking for struct stat.st_gen... no
checking for struct stat.st_birthtime... no
checking for time.h that defines altzone... no
checking whether char is unsigned... no
checking if sockaddr has sa_len member... no
checking whether va_list is an array... no
checking for --with-fpectl... no
checking for UCS-4 tcl... no
checking whether byte ordering is bigendian... no
checking how to link readline libs... none
checking for rl_callback_handler_install in -lreadline... no
checking for rl_pre_input_hook in -lreadline... no
checking for rl_completion_display_matches_hook in -lreadline... no
checking for rl_completion_matches in -lreadline... no
checking for broken nice()... no
checking for broken poll()... no
checking for tv_nsec2 in struct stat... no
checking for /dev/ptc... no



On 25 Sep 2010, at 11:00, stackless-request at stackless.com wrote:

> Send Stackless mailing list submissions to
> 	stackless at stackless.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://www.stackless.com/mailman/listinfo/stackless
> or, via email, send a message with subject or body 'help' to
> 	stackless-request at stackless.com
> 
> You can reach the person managing the list at
> 	stackless-owner at stackless.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Stackless digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: make failure on Ubuntu 10.04 (Richard Tew)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 24 Sep 2010 20:41:07 +0800
> From: Richard Tew <richard.m.tew at gmail.com>
> To: The Stackless Python Mailing List <stackless at stackless.com>
> Subject: Re: [Stackless] make failure on Ubuntu 10.04
> Message-ID:
> 	<AANLkTikp1Qaqd7dqnPUxv_QWRgKth1m+nUL6eoBNC7Mq at mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
> 
> On Fri, Sep 24, 2010 at 6:33 PM, Charles Sibbald <casibbald at gmail.com> wrote:
>> ./Stackless/platf/switch_x86_unix.h: In function ?slp_transfer?:
>> ./Stackless/platf/switch_x86_unix.h:37: error: PIC register ?ebx? clobbered
> 
> Covered in some detail here:
> 
>  http://www.stackless.com/pipermail/stackless/2010-January/004512.html
> 
> Let us know how it goes.
> 
> Richard.
> 
> 
> 
> ------------------------------
> 
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless
> 
> End of Stackless Digest, Vol 80, Issue 17
> *****************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20100925/f52611cd/attachment.html>


More information about the Stackless mailing list