From owner-freebsd-questions@freebsd.org Mon Dec 2 10:48:55 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 44B851CD57D for ; Mon, 2 Dec 2019 10:48:55 +0000 (UTC) (envelope-from kappei84@gmail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47RMKy3WwBz3CB9 for ; Mon, 2 Dec 2019 10:48:54 +0000 (UTC) (envelope-from kappei84@gmail.com) Received: by mail-wm1-x334.google.com with SMTP id u18so21253398wmc.3 for ; Mon, 02 Dec 2019 02:48:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9f6RV9FK2b/Q55h5UXtJgID09ZnNrUsfOcvgcYaKtMw=; b=lYKGbjcWXjvVZZ16pUNyXWYhvQh9OUGqOD1rSnSFMp05gKZkr7FIUdFi9eZUrFY2FG 6NvzI+U4Y5xx+HZhB4XtkdB+No0pMqrDZakQzriYXi3s+0C6v4rbQztNP73bcIq094bm H7T9+wAFGVV46osIxr7dwElVTnfnFhXYuWfFax8dUg4ICeD6QFxvmCEXugQZ59T7+OwT CE749OgKeNZyhfSMXtEzmOrId69SQeh+XQG7KwpdKKnOlHT15zp9OG5VHz+6ORJQyN0X GxQaVGzr0YB+4cRkqEFszLSQ8KwWXZS2QurPOiqpMSx3I+tW5ljs9J8JaTT/5JvnMFPg VHww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9f6RV9FK2b/Q55h5UXtJgID09ZnNrUsfOcvgcYaKtMw=; b=pyQoNzhE/E6BJgGIIrLuAZPbj1KS7cOf6HQIr96pX0RnYvjPSq8xhm+k6TskBe8ySc ICSGh4f8Lk+zT0bT3wmvx5LPX2oIrxbzM0bMJcNp51i1Op7YrLMbvWadLH5ZZqPSNuho bx3GpCN0dc9ujjI//ghrfeVt3tM1eNQZp8gxO4R+AHP6A0zLuy/nqGuOrxMz15LMXZRv /Lx+0NxJJyGqZsr+v2Oji2ikv9J43AenoRo6VmEwHd8rDJbNncDV6hu7/79r8aHDDMOS dEfOGIIJ1l4wYxO2VT44bYH6ozi4elhWQq5lrzye+yYY96bD/xEuZhoMwF5Yx46J0NSM NV9w== X-Gm-Message-State: APjAAAWc7ZJ5KLGP+Zi4qJtE/DLW84oFi7gSMdSGJPG/EDxx3eKnC/MI XLhoItO0afQEg7eWsDyj/avlMib0bjU60WF8M7ZBVwo= X-Google-Smtp-Source: APXvYqzADAGVrmGJZjxWQiIFO0cq5DQdXVS9+K6RBgfnwVGlhAgqEb7JJujySdC9Wyl559E6a8FayCv8gQEPoWUT06g= X-Received: by 2002:a1c:2bc2:: with SMTP id r185mr26815472wmr.91.1575283732445; Mon, 02 Dec 2019 02:48:52 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Daniele Mazzotti Date: Mon, 2 Dec 2019 11:48:41 +0100 Message-ID: Subject: Re: gcc error on freebsd 12 To: deng daya Cc: freeBSD Mailing List X-Rspamd-Queue-Id: 47RMKy3WwBz3CB9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lYKGbjcW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kappei84@gmail.com designates 2a00:1450:4864:20::334 as permitted sender) smtp.mailfrom=kappei84@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; URI_COUNT_ODD(1.00)[5]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-8.80), ipnet: 2a00:1450::/32(-2.69), asn: 15169(-1.94), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Dec 2019 10:48:55 -0000 Il sab 30 nov 2019, 22:50 deng daya ha scritto: > Hi all > > I tried to install daemontools and got this error > > Linking ./src/* into ./compile... > Compiling everything in ./compile... > sh find-systype.sh > systype > rm -f compile > sh print-cc.sh > compile > chmod 555 compile > ./compile byte_chr.c > gcc: error trying to exec 'cc1': execvp: No such file or directory > *** Error code 1 > > whereis gcc > gcc: /usr/local/bin/gcc /usr/src/contrib/gcc > > gcc -v > Using built-in specs. > COLLECT_GCC=gcc > Target: x86_64-portbld-freebsd11.1 > Configured with: /wrkdirs/usr/ports/lang/gcc6/work/gcc-6.4.0/configure > --with-build-config=bootstrap-debug --disable-nls > --enable-gnu-indirect-function --libdir=/usr/local/lib/gcc6 > --libexecdir=/usr/local/libexec/gcc6 --program-suffix=6 > --with-as=/usr/local/bin/as --with-gmp=/usr/local > --with-gxx-include-dir=/usr/local/lib/gcc6/include/c++/ > --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' > --with-system-zlib --with-ecj-jar=/usr/local/share/java/ecj-4.5.jar > --enable-languages=c,c++,objc,fortran,java --prefix=/usr/local > --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/gcc6 > --build=x86_64-portbld-freebsd11.1 > Thread model: posix > gcc version 6.4.0 (FreeBSD Ports Collection) > > > how to fix this? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Hi, can you find cc1 anywhere on your path (e.g. whereis cc1) >