[Python-bugs-list] [Bug #113797] Build problems on Reliant Unix
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 24 Sep 2000 05:46:35 -0700
Bug #113797, was updated on 2000-Sep-07 07:33
Here is a current snapshot of the bug.
Project: Python
Category: Build
Status: Open
Resolution: None
Bug Group: Platform-specific
Priority: 1
Summary: Build problems on Reliant Unix
Details: - the linker requires the options '-W1 -Blargedynsym', otherwise, Python's global functions and variables are not visible to external modules
- when building --with-threads, the linker requires the option -Kpthread
- mmapmodule.o requires a special library
Python version: 2.0b1
compiler version:CDR9908: cc: Fujitsu Siemens Computers GmbH: CDS++ V2.0C0003, 1.2.7.2 from 29 Jun 2000
CDR9908: cc: Fujitsu Siemens Computers GmbH: CDS++ V2.0C0003, 1.2.7.2 from 29 Jun 2000
Follow-Ups:
Date: 2000-Sep-07 15:05
By: jhylton
Comment:
Please do triage on this bug.
-------------------------------------------------------
Date: 2000-Sep-08 13:45
By: fdrake
Comment:
We need to know the output of "uname -s" and "uname -r" for this system. (If "uname -r" reports an error, please try "uname -v".)
Are you willing to test a modified configure script on this platform?
What additional library is required for the mmap module?
-------------------------------------------------------
Date: 2000-Sep-12 21:59
By: fdrake
Comment:
Received the following response from Daniel Dittmar <ddittmar@users.sourceforge.net>:
> We need to know the output of "uname -s" and "uname -r"
> for this system. (If "uname -r" reports an error, please
> try "uname -v".)
uname -s
ReliantUNIX-N
uname -r
5.45
> Are you willing to test a modified configure script on
> this platform?
sure.
> What additional library is required for the mmap module?
The man page states -lucb. This didn't work on my machine
as the BSD compatibility layer is not active. I tell you
more as soon as I know how to activate it.
***********
Another problem: to detect pthreads, the compiler must be
called with -Kpthread. Otherwise, pthread.h goes into a
branch where it tries to include a non existent header,
fails, and configure reports 'no pthreads'.
Daniel
-------------------------------------------------------
Date: 2000-Sep-15 11:57
By: fdrake
Comment:
For the mmap issue, I've added a comment to Modules/Setup.in to let installers know that -lucb may be needed. In revision 1.110.
-------------------------------------------------------
Date: 2000-Sep-15 13:37
By: fdrake
Comment:
I'm sending a modified version of the configure script to Daniel Dittmar to test for the first two points in this bug report.
-------------------------------------------------------
Date: 2000-Sep-21 08:17
By: fdrake
Comment:
Sent query to Daniel Dittmar asking if he's had a chance to test the revised configure script I sent.
-------------------------------------------------------
Date: 2000-Sep-21 08:46
By: fdrake
Comment:
Received message from Daniel indicating he should get a chace to test the changes this weekend, so it should be available for 2.0b2.
-------------------------------------------------------
Date: 2000-Sep-24 05:46
By: ddittmar
Comment:
- configure --without-threads works with the configure patch Revision 1.158
- mmapmodule would work if it includes the lines
#include <unistd.h>
static int
getpagesize (void)
{
return sysconf (_SC_PAGESIZE);
}
This would be the preferred way as using the BSD compatibility with -lucb is discouraged.
It requires chages to configure (has_pagesize, has_sysconf_sc_pagesize)
- configure --with-threads doesn't build yet, keeping contact with fdrake
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=113797&group_id=5470