From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QmrDtnJuIEjDtmZsaW5n?= Subject: Re: path error Date: Tue, 27 Feb 2018 00:05:03 +0100 Message-ID: <20180227000503.192f7560@alma-ubu> References: <877eqza2xl.fsf@portkomputilo.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/.gGNpqONCE0I1x+fAcE8+qu"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqRpY-0003oy-Sb for help-guix@gnu.org; Mon, 26 Feb 2018 18:05:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eqRpW-0008LU-5T for help-guix@gnu.org; Mon, 26 Feb 2018 18:05:12 -0500 Received: from m4s11.vlinux.de ([83.151.27.109]:51512 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eqRpV-0008EG-Ul for help-guix@gnu.org; Mon, 26 Feb 2018 18:05:10 -0500 In-Reply-To: <877eqza2xl.fsf@portkomputilo.i-did-not-set--mail-host-address--so-tickle-me> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Quiliro Ordonez Baca Cc: help-guix@gnu.org --Sig_/.gGNpqONCE0I1x+fAcE8+qu Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Quiliro, On Mon, 26 Feb 2018 15:52:54 -0500 Quiliro Ordonez Baca wrote: > I have downloaded OpenKinect. (Disclosure: I have not checked wether > it is has non-libre software yet.) I typed: I haven't checked either. I just saw the keyword "firmwire", which smells like binaries. >=20 > git clone https://github.com/OpenKinect/libfreenect > cd libfreenect > mkdir build > cd build > cmake -L .. >=20 > But I get an error on executing that command. Here is the output: >=20 > quiliro@portkomputilo ~/libfreenect/build$ cmake -L .. [...] =20 > gcc: error trying to exec 'as': execvp: No existe el fichero o el > directorio [...] > Please suggest possible solution. Thank you very much. :-) There are problems with dependencies. I also found out it is not easy to directly set up the environment for gcc or even worse cmake. I would suggest to directly start writing a package definition (weather or not it is free), like described here: https://www.gnu.org/software/guix/manual/guix.html#Building-from-Git In your case you need the cmake-build-system. Look through the source code und gnu/packages/*.scm for examples. When you then execute ./pre-inst-env guix build libfreenect Guix will correctly prepare the cmake-environment for you. Probably it will hit errors because you missed arguments or dependencies, but at least the basic dependencies will be available. Furthermore, you can keep the build directory under failure ("-K"): ./pre-inst-env guix build -K libfreenect Then you can examine the build directory under /tmp/guix-build-... for cmake log/error files. Hope this helps, Bj=C3=B6rn --Sig_/.gGNpqONCE0I1x+fAcE8+qu Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlqUkqAACgkQvyhstlk+X/2swwCeIj7K8DikRhkbdocrMa9yeOb/ orAAnRxpIoVqthbJy9vyjA6E8rk6FTlI =ym8T -----END PGP SIGNATURE----- --Sig_/.gGNpqONCE0I1x+fAcE8+qu--