pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42402: bootstrap fails when using CXX=g++44



>Number:         42402
>Category:       pkg
>Synopsis:       bootstrap fails when using CXX=g++44
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 02 22:45:00 +0000 2009
>Originator:     Mikhail T.
>Release:        
>Organization:
Virtual Estates, Inc.
>Environment:
Linux ws-testjw.MYDOMAIN.com 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 
x86_64 x86_64 x86_64 GNU/Linux
>Description:
env CC=gcc44 CXX=g++44 CFLAGS="-O2 -pipe -march=core2 -fno-strict-aliasing" 
./bootstrap --abi 64 --pkgdbdir /var/db/pkg --prefix /opt --sysconfdir /etc 
--varbase /var --workdir /tmp/bootstrap

[...]

checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... no
checking whether g++44 accepts -g... no
checking dependency style of g++44... none
checking how to run the C++ preprocessor... cpp
configure: error: C++ preprocessor "cpp" fails sanity check
See `config.log' for more details.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package 
Makefile.
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install
===> exited with status 1
aborted.

>How-To-Repeat:
Try bootstrapping on Linux as shown in the Full Description
>Fix:
Do not specify the alternative C++ compiler...



Home | Main Index | Thread Index | Old Index