planify icon indicating copy to clipboard operation
planify copied to clipboard

Cannot Install dependencies libecal1.2-dev

Open goldcoders opened this issue 6 years ago • 10 comments

Hi I just need this last dependency so i can compile the code but im having trouble

â•°>>> sudo apt install libecal1.2-dev 
Reading package lists... Done 
Building dependency tree 
Reading state information... Done 
Package libecal1.2-dev is not available, but is referred to by another package. 
This may mean that the package is missing, has been obsoleted, or 
is only available from another source 
However the following packages replace it: 
  libecal2.0-dev:i386 libecal2.0-dev 
E: Package 'libecal1.2-dev' has no installation candidate 

im running Ubuntu 19.04 ,what do i need to do to use the older version thanks

goldcoders avatar Dec 14 '19 02:12 goldcoders

Should already be there. If you use the default package sources. libecal2.0-dev is only available starting with Ubuntu 19.10. https://packages.ubuntu.com/search?suite=disco&searchon=names&keywords=libecal

@alainm23 In this context perhaps also relevant for Planner? https://github.com/elementary/calendar/issues/404

4jNsY6fCVqZv avatar Dec 14 '19 10:12 4jNsY6fCVqZv

@goldcoders Sorry libecal 1.2-dev is not available in ubuntu 19.04 and I developed Planner in elementary OS Hera (ubuntu 18.04) . I could not tell you how to run it.

@4jNsY6fCVqZv I'll keep that in mind, thank you very much.

alainm23 avatar Dec 14 '19 12:12 alainm23

@alainm23 Why should libecal 1.2-dev not be available in Ubuntu 19.04? https://packages.ubuntu.com/search?suite=all&searchon=names&keywords=libecal Up to and including 19.04 the package should be available. @goldcoders Are you sure you are not already using Ubuntu 19.10? Because there libecal1.2-dev is actually no longer available.

4jNsY6fCVqZv avatar Dec 14 '19 12:12 4jNsY6fCVqZv

I could not tell you why, now I do not have ubuntu 19.04 to try it.

alainm23 avatar Dec 14 '19 13:12 alainm23

Neither do I. My hint was simply the one that you can port to libecal-2.0 in the future if this makes sense ;-)

4jNsY6fCVqZv avatar Dec 14 '19 13:12 4jNsY6fCVqZv

Hello friends, I will close this problem because Planner will be distributed in elementary OS AppCenter and for users of other distributions through Flathub so this error should not appear.

alainm23 avatar Dec 31 '19 13:12 alainm23

@goldcoders Hey friend if you are using ubuntu and want to try Planner, you can build it using flatpak https://github.com/alainm23/planner/tree/master/build-aux/flatpak

flatpak-builder --install repo com.github.alainm23.planner.json --force-clean --user
flatpak run com.github.alainm23.planner

alainm23 avatar Dec 31 '19 15:12 alainm23

@alainm23

flatpak-builder --install repo com.github.alainm23.planner.json --force-clean --user

On Ubuntu 19.10, the command above gives me:

error: org.gnome.Sdk/x86_64/3.34 not installed
Failed to init: Unable to find sdk org.gnome.Sdk version 3.34

map01ASCIIDOC10 avatar Dec 31 '19 17:12 map01ASCIIDOC10

Yes. you need to install the dependencies to be able to build flatpak install flathub org.gnome.Sdk/x86_64/3.34

Or you can build using Gnome Builder, this downloads everything automatically.

alainm23 avatar Dec 31 '19 17:12 alainm23

img0

Up and running!

sudo apt install flatpak-builder
flatpak install flathub org.gnome.Sdk/x86_64/3.34
flatpak install flathub org.gnome.Platform/x86_64/3.34
flatpak install flathub io.elementary.BaseApp/x86_64/juno-19.08

flatpak-builder --install repo com.github.alainm23.planner.json --force-clean --user

map01ASCIIDOC10 avatar Dec 31 '19 17:12 map01ASCIIDOC10