[Python-bugs-list] [ python-Bugs-530163 ] fpectl build on solaris: -lsunmath

noreply@sourceforge.net noreply@sourceforge.net
Fri, 01 Nov 2002 18:42:10 -0800


Bugs item #530163, was opened at 2002-03-14 22:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=530163&group_id=5470

>Category: Build
>Group: Python 2.2.1
Status: Open
Resolution: None
Priority: 5
Submitted By: Anthony Baxter (anthonybaxter)
Assigned to: Nobody/Anonymous (nobody)
Summary: fpectl build on solaris: -lsunmath

Initial Comment:
This is on Solaris 2.7, with gcc2.95.2

Observed on both the trunk and the release22 branch.

By default, the configure/setup stuff isn't including
 -L/opt/SUNWspro/lib -R/opt/SUNWspro/lib -lsunmath
when linking fpectl.so. This means that this doesn't
produce a working module (it needs libsunmath for
ieee_handler)

My autoconf knowledge isn't excellent, but I'm going
to have a look-see, figure out the easiest way to do
this...



----------------------------------------------------------------------

Comment By: Martin v. L÷wis (loewis)
Date: 2002-03-15 04:22

Message:
Logged In: YES 
user_id=21627

I think there is absolutely no way to find SUNWspro
reliably. /opt is but one location where it might be
installed - on our infrastructure, it is not in /opt, since
that is not NFS shared.

If c89 is on the path, it could give an indication where
SUNWspro may be installed.

In any case, I recommend to perform the necessary
computation in setup.py, not in autoconf.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=530163&group_id=5470