Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build libtorrent after commit 53596af? #225

Closed
ghost opened this issue Aug 23, 2021 · 3 comments
Closed

How to build libtorrent after commit 53596af? #225

ghost opened this issue Aug 23, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 23, 2021

Hi,

In commit 53596af, autogen.sh was removed, how to I build this?

~ $ git clone https://github.com/rakshasa/libtorrent.git
Cloning into 'libtorrent'...
remote: Enumerating objects: 20030, done.
remote: Counting objects: 100% (311/311), done.
remote: Compressing objects: 100% (228/228), done.
remote: Total 20030 (delta 154), reused 156 (delta 83), pack-reused 19719
Receiving objects: 100% (20030/20030), 10.93 MiB | 11.39 MiB/s, done.
Resolving deltas: 100% (12756/12756), done.
~ $ cd libtorrent
~/libtorrent $ ./autogen.sh
-bash: ./autogen.sh: No such file or directory
 ~/libtorrent $ ./configure
-bash: ./configure: No such file or directory
~/libtorrent $ autoconf 
configure.ac:4: error: possibly undefined macro: AC_CONFIG_MACRO_DIRS
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:5: error: possibly undefined macro: AM_INIT_AUTOMAKE
~/libtorrent $ ./configure 
./configure: line 2069: syntax error near unexpected token `scripts'
./configure: line 2069: `AC_CONFIG_MACRO_DIRS(scripts)'
@rakshasa
Copy link
Owner

autoreconf -fi

Using autogen.sh scripts is considered obsolete.

@ghost
Copy link
Author

ghost commented Aug 25, 2021

thanks! it works!

@ghost ghost closed this as completed Aug 25, 2021
@WagnerGMD
Copy link

WagnerGMD commented Mar 26, 2023

git clone https://github.com/rakshasa/libtorrent.git RakShasa-LibTorrent;\
cd RakShasa-LibTorrent;\
git checkout master;\
autoreconf -fi;\
./configure;\
make;\
make install;\
cd ../;

To resume, even today (2023/03/27) inside the branch master the file autogen.sh doesn't exist.
Then that's correct, as you can read that's work to build (install) "LibTorrent".

git clone https://github.com/rakshasa/libtorrent.git RakShasa-LibTorrent;\
cd RakShasa-LibTorrent;\
git checkout v0.13.8;\
./autogen.sh;\
./configure;\
make;\
make install;\
cd ../;

Now you can see the difference between the master and latest release (which was published the 19 July 2019) !
How many commit (difference) ? Be my guest to count them.
Because despite a huge patience, we can guess it will take a very long time for a new one (and for a reply made a wish (like this one just wait 5 months and you will see one year has past)).

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants