pkgsrc-Bugs archive

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

pkg/50043: textproc/groff does not compile on Solaris 11.2



>Number:         50043
>Category:       pkg
>Synopsis:       textproc/groff does not compile on Solaris 11.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 10 09:45:00 +0000 2015
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
Solaris 11.2/i86, GCC 4.8.2 (Oracle IPS)
>Description:
This is a followup to pkg/50040. At the moment it is purely informational, I don't need this package, for now.

Configuring textproc/groff on Solaris 11.2/i86 with GCC 4.8.2 installed from Oracle IPS fails with:

checking that header files support C++... no
configure: error: header files do not support C++
                   (if you are using a version of gcc/g++ earlier than 2.5,
                   you should install libg++)
*** Error code 1

config.log contains these details:

configure:4589: checking that header files support C++
configure:4612: g++ -o conftest -O2 -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I/opt/pkg-hrz/20150706/include -I/opt/pkg-hrz/20150706/include -L/opt/pkg-hrz/20150706/lib -Wl,-R/opt/pkg-hrz/20150706/lib conftest.cpp  >&5
cc1plus: warning: command line option '-std=c99' is valid for C/ObjC but not for C++ [enabled by default]
<command-line>:0:0: warning: "_XOPEN_SOURCE" redefined [enabled by default]
conftest.cpp:1:0: note: this is the location of the previous definition
 /* confdefs.h */
 ^
In file included from /usr/include/stdio.h:15:0,
                 from conftest.cpp:27:
/usr/include/sys/feature_tests.h:358:2: error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications       require the use of c99"
 #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications \
  ^

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index