Subject: pkg/33430: lang/python24: "make" fails
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ykomatsu@akaumigame.org>
List: pkgsrc-bugs
Date: 05/07/2006 01:25:00
>Number: 33430
>Category: pkg
>Synopsis: lang/python24: "make" failes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 07 01:25:00 +0000 2006
>Originator: Yoshito Komatsu
>Release: NetBSD 3.99.18
>Organization:
>Environment:
System: NetBSD c8.ln.akaumigame.org 3.99.18 NetBSD 3.99.18 (XENU) #0: Sun Apr 30 20:36:24 JST 2006 root@c8.ln.akaumigame.org:/usr/obj/sys/arch/i386/compile/XENU i386
Architecture: i386
Machine: i386
>Description:
===> Configuring for python24-2.4.3nb1
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking MACHDEP... netbsd3
checking EXTRAPLATDIR...
checking for --without-gcc... no
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for --with-cxx-main=<compiler>... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
*** Error code 77
Stop.
make: stopped in /usr/pkgsrc/lang/python24
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===> * config.log
===> * /pkg_comp/obj/pkgsrc/lang/python24/c7/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/python24
>How-To-Repeat:
# cd /usr/pkgsrc/lang/python24
# make
>Fix:
lang/python24 configure script needs C++ compiler and latest
mk/compiler.mk requires setting USE_LANGUAGES properly.
# diff -uNr Makefile.orig Makefile
--- Makefile.orig 2006-05-07 09:24:53.000000000 +0900
+++ Makefile 2006-05-07 09:43:43.000000000 +0900
@@ -17,6 +17,8 @@
CONFLICTS+= python-[0-9]*
+USE_LANGUAGES= c c++
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-threads
CONFIGURE_ARGS+= --enable-shared