From owner-freebsd-riscv@freebsd.org Mon Jan 21 10:06:06 2019 Return-Path: Delivered-To: freebsd-riscv@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5330014A26E7 for ; Mon, 21 Jan 2019 10:06:06 +0000 (UTC) (envelope-from dinesh.thirumurthy@gmail.com) Received: from mail-it1-x134.google.com (mail-it1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A54A81865 for ; Mon, 21 Jan 2019 10:06:05 +0000 (UTC) (envelope-from dinesh.thirumurthy@gmail.com) Received: by mail-it1-x134.google.com with SMTP id z7so15688462iti.0 for ; Mon, 21 Jan 2019 02:06:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=KZJOmctDi43weuumLAYAFP4ojTZmUcAO2Wf0FCIMUdo=; b=B7hmI46iXzFiuea4bff6eQujEyM5YzlbUcq4Dk0CH9UEzVqfm66/taV/wT3dD2rEOZ a2rk5KHK/1bKRA5N/2xoeVoZInfkkwbHskM1JP+Zwx7L8ad1rmfHOAzCeMaZuoxYiXnh wa7VtzAexxZ123Cqrb7SJDOMtAcdcL1vbPs7U2vQ6/PLnR03q+n8zjXwgngkVvg0pLr9 0T3N42cAUF5f7ngnK1GP7jDgwaq0Mk76pEwNFstwtfpwgG3j5dmaums1DqQPBlFwoM74 iRnS3vAYSSFuQ6YPlKSgcG0+ZunQuWS9rKeXNGlopViOzx1MvpovEkwYsDeF8Hlm7NPf zC/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=KZJOmctDi43weuumLAYAFP4ojTZmUcAO2Wf0FCIMUdo=; b=UJuHyDZiiQFwy+rNTCTFlxLeloe+b/IwiEePNaJ5HSWYZIFiv/Hun2OhKixm316yei cbUoEu4wPi+3MvaGXI4VtKMOscI1tzXbB/a9mKmvJq7wK1kKcgF6EJj5BPrLpF4oGvJy xKeXozRMdVcVVUk9pK+kcgTYvV740FzlHr4xyxGyTvtsxBJfNKiyBKYZrMKLPAWQCKg+ 7Jfg8AvNDkw7xVORF4wk8uHsHLAg2AjfcaUT9ZSDacUT1afPaKCtjdT4GgMjNjrrVnof oCj8sGfeJZ8q555S+l5r8Y1veJ/zvc+q8Z5GKvOLwTD/VNAQE3eLuXw6Xfbc35UkyHrN lAFw== X-Gm-Message-State: AJcUukfrWJ76q+ungSxWyVK6G7jAPO9KWZ1+E3L2S75upEfGgr3epoJf CAeXA6CPj3fLd5t1vCEixR4EzKjQHX/WuLsRHL77Fw== X-Google-Smtp-Source: ALg8bN5SFl6KFsGVfLL8rU8sIHPWpEs+mNrk6K049NbVb3yt3fX1oUaVr3qHxP5TO3dxIV8v7d3JSXH8Fly28jiTIBs= X-Received: by 2002:a24:b610:: with SMTP id g16mr15748621itf.3.1548065164242; Mon, 21 Jan 2019 02:06:04 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ac0:8ba4:0:0:0:0:0 with HTTP; Mon, 21 Jan 2019 02:06:03 -0800 (PST) From: Dinesh Thirumurthy Date: Mon, 21 Jan 2019 15:36:03 +0530 Message-ID: Subject: riscv-qemu build error To: freebsd-riscv Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 0A54A81865 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=B7hmI46i; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dineshthirumurthy@gmail.com designates 2607:f8b0:4864:20::134 as permitted sender) smtp.mailfrom=dineshthirumurthy@gmail.com X-Spamd-Result: default: False [-6.64 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; 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)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.65)[ip: (-8.93), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-1.85), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[4.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-riscv@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD on the RISC-V instruction set architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 10:06:06 -0000 Hi, Following instructions at https://wiki.freebsd.org/qemu Build QEMU emulator git clone https://github.com/riscv/riscv-qemu cd riscv-qemu mkdir build && cd build ../configure --target-list=riscv64-softmmu --prefix=$PREFIX gmake gmake install Running 13.0-CURRENT on VirtualBox [dt@freebsd ~/riscv-qemu/build]$ uname -a FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT r342707 GENERIC amd64 [dt@freebsd ~/riscv-qemu/build]$ A complaint about a missing pkg-config ... [dt@freebsd ~]$ git clone https://github.com/riscv/riscv-qemu Cloning into 'riscv-qemu'... remote: Enumerating objects: 409277, done. Receiving objects: 15% (62311/409277), 24.67 MiB | 335.00 KiB/s Receiving objects: 16% (66331/409277), 25.82 MiB | 405.00 KiB/s remote: Total 409277 (delta 0), reused 0 (delta 0), pack-reused 409277 Receiving objects: 100% (409277/409277), 160.47 MiB | 204.00 KiB/s, done. Resolving deltas: 100% (332316/332316), done. Checking out files: 100% (6481/6481), done. [dt@freebsd ~]$ cd riscv-qemu/ [dt@freebsd ~/riscv-qemu]$ mkdir build [dt@freebsd ~/riscv-qemu]$ cd build [dt@freebsd ~/riscv-qemu/build]$ ../configure --target-list=riscv64-softmmu --prefix=$HOME/bin ERROR: pkg-config binary 'pkg-config' not found [dt@freebsd ~/riscv-qemu/build]$ sudo su root@freebsd:/usr/home/dt/riscv-qemu/build # pkg install pkg-config Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'pkg-config' have been found in the repositories root@freebsd:/usr/home/dt/riscv-qemu/build # whereis pkg-config pkg-config: /usr/local/man/man8/pkg-config.8.gz root@freebsd:/usr/home/dt/riscv-qemu/build # exit [dt@freebsd ~/riscv-qemu/build]$ env | grep PATH PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/dt/bin [dt@freebsd ~/riscv-qemu/build]$ How do I resolve this? Thanks. Regards, Dinesh From owner-freebsd-riscv@freebsd.org Mon Jan 21 11:12:29 2019 Return-Path: Delivered-To: freebsd-riscv@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 178CA14A4FE1 for ; Mon, 21 Jan 2019 11:12:29 +0000 (UTC) (envelope-from rb743@hermes.cam.ac.uk) Received: from ppsw-33.csi.cam.ac.uk (ppsw-33.csi.cam.ac.uk [131.111.8.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E964C841D2 for ; Mon, 21 Jan 2019 11:12:27 +0000 (UTC) (envelope-from rb743@hermes.cam.ac.uk) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cam.ac.uk; s=20180806.ppsw; h=Sender:In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qUyMCX6LKhh2cETKPm9Lkp7KYxVreRd+/+Z9/12El0s=; b=x0GqAAzxxVBocG1o+/wewlsO3P TeJX4iqRQfm1WIuhkO7eAGgQy00j/f/Gcl/LqpHUnqP6g0/eemd8qm3e9MvUYkZvGqpJS+YHr2R7Z vtGhmQslqJ1faPKUEA3xwDsRduHjWeE3EYEvau+aj8tF3a09spvnp4boUFOwBZ98/OzU=; X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus Received: from sc1.bsdpad.com ([163.172.212.18]:16663) by ppsw-33.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:587) with esmtpsa (LOGIN:rb743) (TLSv1:ECDHE-RSA-AES256-SHA:256) id 1glXVB-000mma-ip (Exim 4.91) (return-path ); Mon, 21 Jan 2019 11:12:25 +0000 Date: Mon, 21 Jan 2019 11:09:48 +0000 From: Ruslan Bukin To: Dinesh Thirumurthy Cc: freebsd-riscv Subject: Re: riscv-qemu build error Message-ID: <20190121110948.GA11387@bsdpad.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) Sender: "R. Bukin" X-Rspamd-Queue-Id: E964C841D2 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cam.ac.uk header.s=20180806.ppsw header.b=x0GqAAzx; spf=pass (mx1.freebsd.org: domain of rb743@hermes.cam.ac.uk designates 131.111.8.133 as permitted sender) smtp.mailfrom=rb743@hermes.cam.ac.uk X-Spamd-Result: default: False [-4.11 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_COMPOSITE_RCVD_IN_DNSWL_MED_DWL_DNSWL_LOW(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:131.111.0.0/16]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cam.ac.uk:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_MED(-0.20)[133.8.111.131.list.dnswl.org : 127.0.11.2]; MX_GOOD(-0.01)[cached: mx.cam.ac.uk]; FORGED_SENDER(0.30)[ruslan.bukin@cl.cam.ac.uk,rb743@hermes.cam.ac.uk]; IP_SCORE(-0.76)[ip: (-0.86), ipnet: 131.111.0.0/16(-0.65), asn: 786(-2.21), country: GB(-0.09)]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:786, ipnet:131.111.0.0/16, country:GB]; FREEMAIL_TO(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[ruslan.bukin@cl.cam.ac.uk,rb743@hermes.cam.ac.uk]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[cam.ac.uk:s=20180806.ppsw]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.43)[-0.433,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[cam.ac.uk]; DWL_DNSWL_LOW(0.00)[cam.ac.uk.dwl.dnswl.org : 127.0.11.1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-riscv@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD on the RISC-V instruction set architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 11:12:29 -0000 1. pkg which /usr/local/bin/pkg-config /usr/local/bin/pkg-config was installed by package pkgconf-1.5.4,1 2. Avoid using 'sudo su' Ruslan On Mon, Jan 21, 2019 at 03:36:03PM +0530, Dinesh Thirumurthy wrote: > Hi, > > Following instructions at https://wiki.freebsd.org/qemu > Build QEMU emulator > git clone https://github.com/riscv/riscv-qemu > cd riscv-qemu > mkdir build && cd build > ../configure --target-list=riscv64-softmmu --prefix=$PREFIX > gmake > gmake install > > Running 13.0-CURRENT on VirtualBox > > [dt@freebsd ~/riscv-qemu/build]$ uname -a > FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT r342707 GENERIC amd64 > [dt@freebsd ~/riscv-qemu/build]$ > > A complaint about a missing pkg-config ... > > [dt@freebsd ~]$ git clone https://github.com/riscv/riscv-qemu > Cloning into 'riscv-qemu'... > remote: Enumerating objects: 409277, done. > Receiving objects: 15% (62311/409277), 24.67 MiB | 335.00 KiB/s > Receiving objects: 16% (66331/409277), 25.82 MiB | 405.00 KiB/s > remote: Total 409277 (delta 0), reused 0 (delta 0), pack-reused 409277 > Receiving objects: 100% (409277/409277), 160.47 MiB | 204.00 KiB/s, done. > Resolving deltas: 100% (332316/332316), done. > Checking out files: 100% (6481/6481), done. > [dt@freebsd ~]$ cd riscv-qemu/ > [dt@freebsd ~/riscv-qemu]$ mkdir build > [dt@freebsd ~/riscv-qemu]$ cd build > [dt@freebsd ~/riscv-qemu/build]$ ../configure > --target-list=riscv64-softmmu --prefix=$HOME/bin > > ERROR: pkg-config binary 'pkg-config' not found > > [dt@freebsd ~/riscv-qemu/build]$ sudo su > root@freebsd:/usr/home/dt/riscv-qemu/build # pkg install pkg-config > Updating FreeBSD repository catalogue... > FreeBSD repository is up to date. > All repositories are up to date. > pkg: No packages available to install matching 'pkg-config' have been > found in the repositories > root@freebsd:/usr/home/dt/riscv-qemu/build # whereis pkg-config > pkg-config: /usr/local/man/man8/pkg-config.8.gz > root@freebsd:/usr/home/dt/riscv-qemu/build # exit > [dt@freebsd ~/riscv-qemu/build]$ env | grep PATH > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/dt/bin > [dt@freebsd ~/riscv-qemu/build]$ > > How do I resolve this? > > Thanks. > Regards, > Dinesh > _______________________________________________ > freebsd-riscv@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-riscv > To unsubscribe, send any mail to "freebsd-riscv-unsubscribe@freebsd.org" From owner-freebsd-riscv@freebsd.org Mon Jan 21 13:48:35 2019 Return-Path: Delivered-To: freebsd-riscv@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F12D614AA4F1 for ; Mon, 21 Jan 2019 13:48:34 +0000 (UTC) (envelope-from dinesh.thirumurthy@gmail.com) Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B67AB8A2B1 for ; Mon, 21 Jan 2019 13:48:33 +0000 (UTC) (envelope-from dinesh.thirumurthy@gmail.com) Received: by mail-io1-xd36.google.com with SMTP id c2so16388429iom.12 for ; Mon, 21 Jan 2019 05:48:33 -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=BEJWQi8yrw5tCAvua6gtrl8XUgqFanPQbOpDvkt/EYg=; b=FSOA+AlpwcScJaaf9aUGjYCDHL+1oc5UWQ9sYNdSPP5TfbnvFonp3RSstUWY3jrDmi WA/tfMt/d9oFsK1o7eeb7Aq5pcj6DDyLPE/yu6rivDHk3QYWiCw4+0ZUJ1/LdZt5I5JM rzca/51DBvcUh9YZmux4LhpW+bxwBbsW6UpIYB7vik2kZ9UMj1gaBYIDfOm5IOjIq3nD CyQv6VP68RbHvweVqBO7qg5NQmre6FtmLONkw9OTtnGUkSUvpLLASRJpJSCKLkXzoZo2 r6VUIpecJfF3+0a+7XDrDBXmsbZmZCxy6ktk/bxdNv+cEZsGKQ2+NCvt22z6p1kbFXpu NwYA== 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=BEJWQi8yrw5tCAvua6gtrl8XUgqFanPQbOpDvkt/EYg=; b=dvG7lllxPeA35yV5qKx7FWtHDt0ONGSifjrxcL/XygZgZrw2b3I5MnefHbJ2zK28L0 uo7H1Qne7E/3BNJ1wS8Dfnkqm86Lj0jF3LYL0PKmI+GxloR2lw/ITG0IQMoisFarOI/x n4oR9/gQ9ozUOVNpI+SAjUko0JfIyT9f7ZowlG9QwZ4wqhQ2FL/oIU+UsGQl8QvCDYbu 2BW/snMfu3lvmGtgECM9E1RBeiSXWo441NqnwAYyk6G40BHeUSh4czjR9Pj+mL412X1K 9zf9zssHvX7/aMbAxZ3kGV0GUjuKStbKBVzLr0BPIsS6Y8qW/FPxKxUqlXja2UPctEpy Jv2g== X-Gm-Message-State: AJcUukfQ+9V/dcm/riNov2PK7HkMhEL5+NsbDQQcYM7qFJfoWHaMtwOX wcNXB1iCyWFwUMg65be3t3AxOSJUtoWMummd+MhHtYWL X-Google-Smtp-Source: ALg8bN7Y6Pz3vvI2RUkdJKTqO1BeALOij1L/ocvWzPRUx2gRH55UrVQ6bsnaJtPnpugQJiPO5gdzf4VXbEas++k8vws= X-Received: by 2002:a6b:38d7:: with SMTP id f206mr16021742ioa.265.1548078512953; Mon, 21 Jan 2019 05:48:32 -0800 (PST) MIME-Version: 1.0 References: <20190121110948.GA11387@bsdpad.com> In-Reply-To: <20190121110948.GA11387@bsdpad.com> From: Dinesh Thirumurthy Date: Mon, 21 Jan 2019 19:18:12 +0530 Message-ID: Subject: Re: riscv-qemu build error To: Ruslan Bukin Cc: freebsd-riscv X-Rspamd-Queue-Id: B67AB8A2B1 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=FSOA+Alp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dineshthirumurthy@gmail.com designates 2607:f8b0:4864:20::d36 as permitted sender) smtp.mailfrom=dineshthirumurthy@gmail.com X-Spamd-Result: default: False [-6.49 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; 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]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.83)[-0.833,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; 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]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[6.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.64)[ip: (-8.87), ipnet: 2607:f8b0::/32(-2.41), asn: 15169(-1.86), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-riscv@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD on the RISC-V instruction set architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2019 13:48:35 -0000 Thanks Ruslin. Able to build qemu. Regards, Dinesh On Mon, Jan 21, 2019, 16:42 Ruslan Bukin 1. pkg which /usr/local/bin/pkg-config > /usr/local/bin/pkg-config was installed by package pkgconf-1.5.4,1 > > 2. Avoid using 'sudo su' > > Ruslan > > On Mon, Jan 21, 2019 at 03:36:03PM +0530, Dinesh Thirumurthy wrote: > > Hi, > > > > Following instructions at https://wiki.freebsd.org/qemu > > Build QEMU emulator > > git clone https://github.com/riscv/riscv-qemu > > cd riscv-qemu > > mkdir build && cd build > > ../configure --target-list=riscv64-softmmu --prefix=$PREFIX > > gmake > > gmake install > > > > Running 13.0-CURRENT on VirtualBox > > > > [dt@freebsd ~/riscv-qemu/build]$ uname -a > > FreeBSD freebsd 13.0-CURRENT FreeBSD 13.0-CURRENT r342707 GENERIC amd64 > > [dt@freebsd ~/riscv-qemu/build]$ > > > > A complaint about a missing pkg-config ... > > > > [dt@freebsd ~]$ git clone https://github.com/riscv/riscv-qemu > > Cloning into 'riscv-qemu'... > > remote: Enumerating objects: 409277, done. > > Receiving objects: 15% (62311/409277), 24.67 MiB | 335.00 KiB/s > > Receiving objects: 16% (66331/409277), 25.82 MiB | 405.00 KiB/s > > remote: Total 409277 (delta 0), reused 0 (delta 0), pack-reused 409277 > > Receiving objects: 100% (409277/409277), 160.47 MiB | 204.00 KiB/s, done. > > Resolving deltas: 100% (332316/332316), done. > > Checking out files: 100% (6481/6481), done. > > [dt@freebsd ~]$ cd riscv-qemu/ > > [dt@freebsd ~/riscv-qemu]$ mkdir build > > [dt@freebsd ~/riscv-qemu]$ cd build > > [dt@freebsd ~/riscv-qemu/build]$ ../configure > > --target-list=riscv64-softmmu --prefix=$HOME/bin > > > > ERROR: pkg-config binary 'pkg-config' not found > > > > [dt@freebsd ~/riscv-qemu/build]$ sudo su > > root@freebsd:/usr/home/dt/riscv-qemu/build # pkg install pkg-config > > Updating FreeBSD repository catalogue... > > FreeBSD repository is up to date. > > All repositories are up to date. > > pkg: No packages available to install matching 'pkg-config' have been > > found in the repositories > > root@freebsd:/usr/home/dt/riscv-qemu/build # whereis pkg-config > > pkg-config: /usr/local/man/man8/pkg-config.8.gz > > root@freebsd:/usr/home/dt/riscv-qemu/build # exit > > [dt@freebsd ~/riscv-qemu/build]$ env | grep PATH > > > PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/dt/bin > > [dt@freebsd ~/riscv-qemu/build]$ > > > > How do I resolve this? > > > > Thanks. > > Regards, > > Dinesh > > _______________________________________________ > > freebsd-riscv@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-riscv > > To unsubscribe, send any mail to "freebsd-riscv-unsubscribe@freebsd.org" >