[Python-bugs-list] [ python-Bugs-417634 ] configuring without C++ compiler name

noreply@sourceforge.net noreply@sourceforge.net
Fri, 07 Dec 2001 02:08:51 -0800


Bugs item #417634, was opened at 2001-04-20 07:20
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=417634&group_id=5470

Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Michael Hudson (mwh)
Summary: configuring without C++ compiler name

Initial Comment:
If you check out a clean copy of Python 2.1 on a 
Solaris 5.8 machine, and run:

    ./configure -with-cxx

rather than:

    ./configure -with-cxx=g++

It generates a makefile with "CXX=yes", so "make" 
produces:
 
    bash-2.03$ make
    yes -c -g -O2 -Wall -Wstrict-prototypes -I. \
        -I./Include -DHAVE_CONFIG_H \
        -o Modules/ccpython.o \
        ./Modules/ccpython.cc
    make: yes: Command not found


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

>Comment By: Michael Hudson (mwh)
Date: 2001-12-07 02:08

Message:
Logged In: YES 
user_id=6656

Oh good grief, sf is such a *pain* sometimes.

Trying again...

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-06 11:38

Message:
Logged In: YES 
user_id=6380

Where's the attached fix? Back to MWH.

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

Comment By: Michael Hudson (mwh)
Date: 2001-12-06 09:31

Message:
Logged In: YES 
user_id=6656

Two options: (1) apply the braindead fix I've just attached
(2) ignore the problem and close the report.

I don't really have an opinion on which is better.

An autoconf guru may have a better idea, but it hardly seems
worth putting too much effort into.  Assigned to Guido for a
quick decision -- please don't think too hard about it!


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

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