Hi Johannes,

Le mercredi 03 août 2016 à 12:14 +0200, Johannes Pfeifer a écrit :
Hi,

I tried to follow the instructions on https://github.com/DynareTeam/dynare/ to build Dynare using the new Linux for Windows subsystem. But when running

apt-get build-dep dynare

I get the error message

E: You must put some 'source' URIs in your sources.list
Currently my sources.list has

 

deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse

 

Does anyone know what else I need?

If the Windows Linux subsystem behaves like a Debian/Ubuntu system, you must add a corresponding "deb-src" entry for each "deb" entry.

That is, you must add the following lines to your /etc/apt/sources.list:

deb-src http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
Best,

--
Sébastien Villemot
Économiste
OFCE – Sciences Po