[arch-general] Building Telegram and libssl
Hello Guys I have been trying to build telegram based on this: https://github.com/telegramdesktop/tdesktop/blob/master/doc/building-cmake.m... I am in the final part and I keep getting this error: [ 0%] Built target Updater [ 1%] Built target codegen_numbers__qt_moc make[2]: *** No rule to make target '/usr/local/ssl/lib/libssl.a', needed by 'codegen_numbers'. Stop. make[1]: *** [CMakeFiles/Makefile2:457: CMakeFiles/codegen_numbers.dir/all] Error 2 make: *** [Makefile:84: all] Error 2 Now I understand that there is no libssl in arch and it's probably because of that. But how can I fix this issue? Thanks in advance. -- Best Sajjad 'MCSH' Heydari
On Fri, Sep 30, 2016 at 12:41 PM, Sajjad Heydari via arch-general <arch-general@archlinux.org> wrote:
Hello Guys
I have been trying to build telegram based on this: https://github.com/telegramdesktop/tdesktop/blob/master/doc/building-cmake.m...
I am in the final part and I keep getting this error: [ 0%] Built target Updater [ 1%] Built target codegen_numbers__qt_moc make[2]: *** No rule to make target '/usr/local/ssl/lib/libssl.a', needed by 'codegen_numbers'. Stop. make[1]: *** [CMakeFiles/Makefile2:457: CMakeFiles/codegen_numbers.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
Now I understand that there is no libssl in arch and it's probably because of that. But how can I fix this issue?
Urm, first and foremost, makepkg filters out static libraries since a couple of years. I'm not sure about the context of the error, though, and why it looks in /usr/local, which is strange. Maybe you need to run make differently with make PREFIX=/usr? How far the ssl implementation/s provided with arch can be used for the code in question is the other thing you have to look into in order to make this work. cheers! mar77i
Il 30/09/2016 12:41, Sajjad Heydari via arch-general ha scritto:
Hello Guys
I have been trying to build telegram based on this: https://github.com/telegramdesktop/tdesktop/blob/master/doc/building-cmake.m...
I am in the final part and I keep getting this error: [ 0%] Built target Updater [ 1%] Built target codegen_numbers__qt_moc make[2]: *** No rule to make target '/usr/local/ssl/lib/libssl.a', needed by 'codegen_numbers'. Stop. make[1]: *** [CMakeFiles/Makefile2:457: CMakeFiles/codegen_numbers.dir/all] Error 2 make: *** [Makefile:84: all] Error 2
Now I understand that there is no libssl in arch and it's probably because of that. But how can I fix this issue?
Thanks in advance.
I would suggest you to look at the AUR package "telegram-desktop". Actually, the developer has its own version of OpenSSL. So, I would suggest to you to follow the PKGBUILD of the above mentioned package for make it more Arch-friendly. -- Giovanni Santini My blog: http://giovannisantini.tk My code: https://github.com/ItachiSan My code, again: https://gitlab.com/u/ItachiSan My Twitter: https://twitter.com/santini__gio My Facebook: https://www.facebook.com/giovanni.santini My Google+: https://plus.google.com/+GiovanniSantini/ My GPG: 2FADEBF5
thank you. I was able to build it after looking at the pkgbuild from aur. On Fri, 30 Sep 2016 at 14:33 Giovanni 'ItachiSan' Santini via arch-general < arch-general@archlinux.org> wrote:
Il 30/09/2016 12:41, Sajjad Heydari via arch-general ha scritto:
Hello Guys
I have been trying to build telegram based on this:
https://github.com/telegramdesktop/tdesktop/blob/master/doc/building-cmake.m...
I am in the final part and I keep getting this error: [ 0%] Built target Updater [ 1%] Built target codegen_numbers__qt_moc make[2]: *** No rule to make target '/usr/local/ssl/lib/libssl.a', needed by 'codegen_numbers'. Stop. make[1]: *** [CMakeFiles/Makefile2:457:
CMakeFiles/codegen_numbers.dir/all]
Error 2 make: *** [Makefile:84: all] Error 2
Now I understand that there is no libssl in arch and it's probably because of that. But how can I fix this issue?
Thanks in advance.
I would suggest you to look at the AUR package "telegram-desktop". Actually, the developer has its own version of OpenSSL. So, I would suggest to you to follow the PKGBUILD of the above mentioned package for make it more Arch-friendly.
-- Giovanni Santini My blog: http://giovannisantini.tk My code: https://github.com/ItachiSan My code, again: https://gitlab.com/u/ItachiSan My Twitter: https://twitter.com/santini__gio My Facebook: https://www.facebook.com/giovanni.santini My Google+: https://plus.google.com/+GiovanniSantini/ My GPG: 2FADEBF5
-- Best Sajjad 'MCSH' Heydari
If there's an aur packet, there is no point in building anything yourself. Read [0]. cheers! mar77i [0] https://wiki.archlinux.org/index.php/Arch_Build_System
That's not the point. I wanted to contribute so I needed to build a modified version. On Fri, 30 Sep 2016 at 15:24 Martin Kühne via arch-general < arch-general@archlinux.org> wrote:
If there's an aur packet, there is no point in building anything yourself. Read [0].
cheers! mar77i
-- Best Sajjad 'MCSH' Heydari
participants (3)
-
Giovanni 'ItachiSan' Santini
-
Martin Kühne
-
Sajjad Heydari