Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2002 00:49:41 GMT
From:      Nick Hilliard <nick-lists@netability.ie>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36554: ports/lang/icc requires linux_devtools to compile c++
Message-ID:  <200203310049.g2V0nfk01441@flapjack.netability.ie>

next in thread | raw e-mail | index | archive | help

>Number:         36554
>Category:       ports
>Synopsis:       ports/lang/icc requires linux_devtools to compile c++
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 30 17:00:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hilliard
>Release:        FreeBSD 4.5-RELEASE-p1 i386
>Organization:
Network Ability Ltd
>Environment:
System: FreeBSD flapjack.netability.ie 4.5-RELEASE-p1 FreeBSD 4.5-RELEASE-p1 #0: Mon Feb 25 13:52:31 GMT 2002 nick@flapjack.netability.ie:/data/usr.obj/data/usr.src/sys/FLAPJACK i386

>Description:

The Intel C++ compiler requires the linux_devtools in order to compile c++
packages.  If this package is not present, compilation will fail with some
errors like this whenever the compiler sees a c++ file:

> foo.cc:
> "/usr/include/stdlib.h", line 57: error: invalid combination of type specifiers
>   typedef       _BSD_WCHAR_T_   wchar_t;
>                                 ^
> "/usr/local/intel/compiler50/ia32/include/cwchar", line 16: error: the global scope has no "tm"
>   using ::mbstate_t; using ::size_t; using ::tm; using ::wint_t;
 
+ lots more errors.  The compilation process then bombs out.

>How-To-Repeat:


>Fix:

Apply the following patch to /usr/ports/lang/Makefile:

--- lang/icc/Makefile.orig	Tue Mar 26 17:01:02 2002
+++ lang/icc/Makefile	Sun Mar 31 00:13:55 2002
@@ -16,7 +16,8 @@
 
 BUILD_DEPENDS=	rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
 RUN_DEPENDS=	\
-	${LINUXBASE}/lib/libc-2.2.2.so:${PORTSDIR}/emulators/linux_base-7
+	${LINUXBASE}/lib/libc-2.2.2.so:${PORTSDIR}/emulators/linux_base-7 \
+	${LINUXBASE}/usr/bin/gcc:${PORTSDIR}/devel/linux_devtools
 
 RESTRICTED=	Intel forbids any redistribution
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203310049.g2V0nfk01441>