diff --git a/docs/manual.html b/docs/manual.html index 953771694..279580472 100755 --- a/docs/manual.html +++ b/docs/manual.html @@ -401,6 +401,9 @@ you'd set them like this:

export LDFLAGS=-L/opt/local/lib export CXXFLAGS=-I/opt/local/include +

It was observed on FreeBSD (release 6.0) that one needs to add '-lpthread' to +LDFLAGS, as Boost::Thread detection will fail without it, even if +Boost::Thread is installed.

If you need to set these variables, it may be a good idea to add those lines to your ~/.profile or ~/.tcshrc depending on your shell.

You know that the boost libraries were found if you see the following output @@ -450,6 +453,21 @@ make clean make +

+

generating the build system

+

No build system is present if libtorrent is checked out from CVS - it +needs to be generated first.

+

Execute the following commands to generate the build system:

+ +

After generating the build system, run configure and build +libtorrent. This was described earlier.

+

building with other build systems

@@ -2699,7 +2717,7 @@ int main(int argc, char* argv[]) std::cout << "\n\n----- torrent file info -----\n\n"; std::cout << "trackers:\n"; for (std::vector<announce_entry>::const_iterator i - = t.trackers().begin(), end(t.trackers().end); i != end; ++i) + = t.trackers().begin(), end(t.trackers().end()); i != end; ++i) { std::cout << i->tier << ": " << i->url << "\n"; } diff --git a/docs/manual.rst b/docs/manual.rst index 44462e1a8..ca78e8bfc 100755 --- a/docs/manual.rst +++ b/docs/manual.rst @@ -2804,7 +2804,7 @@ print information about it to std out:: std::cout << "\n\n----- torrent file info -----\n\n"; std::cout << "trackers:\n"; for (std::vector::const_iterator i - = t.trackers().begin(), end(t.trackers().end); i != end; ++i) + = t.trackers().begin(), end(t.trackers().end()); i != end; ++i) { std::cout << i->tier << ": " << i->url << "\n"; }