sugarlabs / sugar

Sugar GTK shell
GNU General Public License v3.0
252 stars 240 forks source link

configure: error: empy not detected despite being installed #896

Closed kushagra414 closed 4 years ago

kushagra414 commented 4 years ago

empy is required

Although I have installed empy pip install empy and pip3 install empy. When I tried running autogen.sh, empy is required error keeps on showing.

checking for empy... no
checking for empy3... no
configure: error: empy is required
aperezbios commented 4 years ago

The empy check is deficient, this is a known problem, as there is an incorrect assumption that a empy binary exists, in the existing check, which is distribution-centric. You don't specifiy whether you're compiling from HEAD or a released version of Sugar. Do you know which version you're trying to compile?

aperezbios commented 4 years ago

Try this patch/diff https://pastebin.com/raw/9JEa6tic

quozl commented 4 years ago

Duplicate of https://github.com/sugarlabs/sugar/issues/882.

I've asked for testing on that issue, and I'm waiting for a response. Please get involved.

aperezbios commented 4 years ago

The response you asked for is right under your nose.

kushagra414 commented 4 years ago

Try this patch/diff https://pastebin.com/raw/9JEa6tic

The Path was bit different, However, it worked. :+1: Shouldn't this be the default configuration?

quozl commented 4 years ago

That's great, thanks. Yes, the default will change, but question is what to change. See discussion in https://github.com/sugarlabs/sugar/issues/882 and contribute if you are able.