python on cygwin

eric eric at scipy.org
Thu Apr 11 20:26:22 EDT 2002


Hello,

I'm trying to build python from scratch on cygwin and am running into "remap"
errors such as:

    C:\cygwin\tmp\scipy_test\cygwin\Python-2.2.1\python.exe: *** unable
    to remap C:\cyggdbm.dll to same address as parent -- 0x420000

I'm using the latests cygwin (1.3.10) on W2K.  When trying to build python,
THings chug along just fine, and then I get the following:

gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT -I. -I/tmp/scipy_t
/Python-2.2.1/./Include -I/usr/local/include -IInclude/ -c /tmp/scipy_test/cygwi
.2.1/Modules/gdbmmodule.c -o build/temp.cygwin-1.3.10-i686-2.2/gdbmmodule.o
gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin-1.3.10-i686-2.2/gdbmm
/usr/local/lib -L. -lgdbm -lpython2.2 -o build/lib.cygwin-1.3.10-i686-2.2/gdbm.d
Warning: resolving _gdbm_errno by linking to __imp__gdbm_errno (auto-import)
building 'termios' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT -I. -I/tmp/scipy_t
/Python-2.2.1/./Include -I/usr/local/include -IInclude/ -c /tmp/scipy_test/cygwi
.2.1/Modules/termios.c -o build/temp.cygwin-1.3.10-i686-2.2/termios.o
C:\cygwin\tmp\scipy_test\cygwin\Python-2.2.1\python.exe: *** unable to remap C:\
\cyggdbm.dll to same address as parent -- 0x420000
C:\cygwin\tmp\scipy_test\cygwin\Python-2.2.1\python.exe: *** unable to remap C:\
\cyggdbm.dll to same address as parent -- 0x420000
     25 [main] python 1684 sync_with_child: child 1908(0x144) died before initia
ith status code 0x1
   6684 [main] python 1684 sync_with_child: *** child state child loading dlls
error: Resource temporarily unavailable
make: *** [sharedmods] Error 1

I read a few mails about a rebase solution at:

    http://sources.redhat.com/ml/cygwin/2001-12/msg00894.html

However, after building and running this on the percribed files, I get:

$ rebase -d -b 0x68000000 -o 0x10000 cygXpm-X4.dll cygXpm-noX4.dll     cygbz21.
0.dll cygcrypto.dll cygform5.dll cygform6.dll     cyggdbm.dll cyghistory4.dll c
yghistory5.dll cygintl.dll     cygitcl30.dll cygitk30.dll cygjbig1.dll cygjpeg6
b.dll cygmenu5.dll     cygmenu6.dll cygncurses++5.dll cygncurses++6.dll cygncur
ses5.dll     cygncurses6.dll cygpanel5.dll cygpanel6.dll cygpcre.dll     cygpcr
eposix.dll cygpng2.dll cygreadline4.dll cygreadline5.dll     cygregex.dll cygss
l.dll cygtcl80.dll cygtclreg80.dll cygtiff3.dll     cygtk80.dll cygz.dll
cygXpm-X4.dll: new base = 67fe0000, new size = 20000
cygXpm-noX4.dll: new base = 67fc0000, new size = 20000
cygbz21.0.dll: new base = 67f90000, new size = 30000
cygcrypto.dll: new base = 67ee0000, new size = b0000
ReBaseImage() failed with last error = 2

Can anyone point out the error in my ways, or point me to a fix?

thanks,
eric


--
Eric Jones <eric at enthought.com>
Enthought, Inc. [www.enthought.com and www.scipy.org]
(512) 536-1057








More information about the Python-list mailing list