peter-iakovlev / Telegram

Telegram Messenger for iOS
3.23k stars 858 forks source link

Not able to compile source #230

Open ketansakariya opened 6 years ago

ketansakariya commented 6 years ago

Hi, I downloaded a fresh copy of the code, but it's not compiling. Can you add readme file or help us out to compile & run project ?

yingmu52 commented 6 years ago

https://github.com/yingmu52/Telegram/tree/public

dongmai commented 6 years ago

Thank @yingmu52 , I got it complied.

leewaycn commented 6 years ago

me ,too 。how to complied

leewaycn commented 6 years ago

@ketansakariya you need to use git command ,not just to download

KorolZhu commented 6 years ago

iMac:Telegram Zz$ make love Cloning into '/Users/android-dev/Desktop/Telegram/submodules/MtProtoKit'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:iakovlev-peter/MtProtoKit.git' into submodule path '/Users/android-dev/Desktop/Telegram/submodules/MtProtoKit' failed Failed to clone 'submodules/MtProtoKit'. Retry scheduled Cloning into '/Users/android-dev/Desktop/Telegram/submodules/MtProtoKit'... git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.com:iakovlev-peter/MtProtoKit.git' into submodule path '/Users/android-dev/Desktop/Telegram/submodules/MtProtoKit' failed Failed to clone 'submodules/MtProtoKit' a second time, aborting make: *** [love] Error 1

yingmu52 commented 6 years ago

Your computer doesn't have git configured properly. My sincere advise. Learn to walk, before you want to fly

Sent from my iPhone

On May 5, 2018, at 12:07 AM, zhu zhi notifications@github.com<mailto:notifications@github.com> wrote:

zhuzhideiMac:Telegram Zz$ make love Cloning into '/Users/android-dev/Desktop/Telegram/submodules/MtProtoKit'... git@github.commailto:git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.commailto:git@github.com:iakovlev-peter/MtProtoKit.git' into submodule path '/Users/android-dev/Desktop/Telegram/submodules/MtProtoKit' failed Failed to clone 'submodules/MtProtoKit'. Retry scheduled Cloning into '/Users/android-dev/Desktop/Telegram/submodules/MtProtoKit'... git@github.commailto:git@github.com: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of 'git@github.commailto:git@github.com:iakovlev-peter/MtProtoKit.git' into submodule path '/Users/android-dev/Desktop/Telegram/submodules/MtProtoKit' failed Failed to clone 'submodules/MtProtoKit' a second time, aborting make: *** [love] Error 1

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/peter-iakovlev/Telegram/issues/230#issuecomment-386785403, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABrI9JTDeJFANDvjiQMF3-Nm4GvpSPGcks5tvU-ZgaJpZM4SU9hn.

KorolZhu commented 6 years ago

where am i wrong?

yingmu52 commented 6 years ago

You don't have proper ssh key to access github repository.

Sent from my iPhone

On May 5, 2018, at 12:31 AM, zhu zhi notifications@github.com<mailto:notifications@github.com> wrote:

where am i wrong?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/peter-iakovlev/Telegram/issues/230#issuecomment-386786688, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABrI9N-Bprk1YsbTEIJTfxGs-fUHtzXwks5tvVVNgaJpZM4SU9hn.

KorolZhu commented 6 years ago

I know that , but i can't add ssh public key to other's Repository,so can you change git submodule to use https for clone.

yingmu52 commented 6 years ago

If you pay me 100 bucks, I'll think about it lol

Please do your own research it is simple fix. Good night

Sent from my iPhone

On May 5, 2018, at 12:36 AM, zhu zhi notifications@github.com<mailto:notifications@github.com> wrote:

I know that , but i can't add ssh public key to other's Repository,so can you change git submodule to use https for clone.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/peter-iakovlev/Telegram/issues/230#issuecomment-386786973, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABrI9FPF2hdgj-Mpi1A-OQG1yLZHFf7Yks5tvVaZgaJpZM4SU9hn.

KorolZhu commented 6 years ago

thanks! Good night.