vtorri / ewpi

EFL Windows package installer
GNU General Public License v2.0
12 stars 7 forks source link

Getting errors while trying to install EFL by using ewpi #28

Open akas55 opened 1 year ago

akas55 commented 1 year ago

I am trying to install EFL in my Windows 10 system.

I am able to clone and compile ewpi successfully in MSYS2 MINGW64 terminal. Then I am running this command: ./ewpi --efl --jobs=8. Packages are downloaded fine, but while extraction of sources is going on, I am getting following error:

:: Extraction of sources... (11/88) zstd-1.5.5 [##### ] 12%tar: zstd-1.5.5/tests/cli-tests/bin/unzstd: Cannot create symlink to ‘zstd’: No such file or directory tar: Exiting with failure status due to previous errors Can not extract zstd-1.5.5.tar.gz

Some places I read that I should just execute the command again. But on trying to execute ./ewpi --efl --jobs=8 again, I am getting a new error in the terminal while downloading packages:

v2.5.0.tar.gz.1 [ <=> ] 1.78M 3.36MB/s in 0.5s fatal: destination path 'libyuv' already exists and is not an empty directory. error while downloading package libyuv (ret = 128)

vtorri commented 1 year ago

I am trying to install EFL in my Windows 10 system.

I am able to clone and compile ewpi successfully in MSYS2 MINGW64 terminal. Then I am running this command: ./ewpi --efl --jobs=8. Packages are downloaded fine, but while extraction of sources is going on, I am getting following error:

:: Extraction of sources... (11/88) zstd-1.5.5 [##### ] 12%tar: zstd-1.5.5/tests/cli-tests/bin/unzstd: Cannot create symlink to ‘zstd’: No such file or directory tar: Exiting with failure status due to previous errors Can not extract zstd-1.5.5.tar.gz

symlinks do not exist on Windows, even in MSYS2. Just relaunch ewpi with the same command and it will work. There are another couple of packages (harfbuzz and mupdf at least) which have the same problem. Just relaunch the ewpi command and it will work

don't ask me why it works the second time, i don't know

Some places I read that I should just execute the command again.

ok

But on trying to execute ./ewpi --efl --jobs=8 again, I am getting a new error in the terminal while downloading packages: v2.5.0.tar.gz.1 [ <=> ] 1.78M 3.36MB/s in 0.5s fatal: destination path 'libyuv' already exists and is not an empty directory. error while downloading package libyuv (ret = 128)

that's because I clone libyuv git repo (there is no release, as usual with google). The directory has already been created and it fails when it clone it again. If you can find a fix for this issue, I would be glad to apply it

vtorri commented 1 year ago

btw, are you aware of the releases of ewpi and EFL on Windows as NSIS installers ?

akas55 commented 1 year ago

btw, are you aware of the releases of ewpi and EFL on Windows as NSIS installers ?

I am not aware of the NSIS installers. Can I use these to install EFL as an alternative way?

vtorri commented 1 year ago

yes you can, see https://github.com/vtorri/ewpi/releases

and if you encounter a bug, please open an issue. I've tested it, but in case i miised one

you can see in the NEWS file what is in git compared to latest ewpi

akas55 commented 1 year ago

Thanks, I was able to install EFL using the .exe installer file.

vtorri commented 1 year ago

ewpi is still needed. If not installed, use the installer

akas55 commented 1 year ago

ewpi is still needed. If not installed, use the installer

Yes, installed ewpi as well.

vtorri commented 1 year ago

try elementary_test, either from msys2 or cmd.exe

akas55 commented 1 year ago

try elementary_test, either from msys2 or cmd.exe

Running elementary_test is launching a window of Elementary Tests, having different widgets.

However, I am not able compile one sample program code which I copied from enlightenment website. I think, I have to set some paths correctly and set up some pkg-config, as that seems to be required in compilation command.

vtorri commented 1 year ago

give me the link of the example, please

akas55 commented 1 year ago

I am trying to compile 2nd example.c program in this link for creating a Hello World window

vtorri commented 1 year ago

Hmm, well :

  1. Be sure to install the development files in both NSIS installers. Then you can see that PATH and PKG_CONFIG_PATH are updated in the Windows parameters
  2. Strangely, MSYS2 is replacing PKG_CONFIG_PATH and PATH, without taking into account what I did. You can update them in MSYS2, though, by prepending their values with export
akas55 commented 1 year ago

Thanks, I am now able to compile and execute the example.

After copying PKG_CONFIG_PATH in MSYS2, I was getting some include errors due to a space character in the path of the directory, where EFL and ewpi were installed. Later after installing them in a different path not having any space, it compiled without any error.

vtorri commented 1 year ago

never ever have space in paths when compiling, that was a requirement at the beginning of MSYS1 times. Since then, I have always followed this rule. You can quote paths with ", maybe