how to get started? (not in documentation)

Hello, I downloaded boost today so regard me as a newbie. Boost seems great, but the documentation doesn't mention how I should install boost on my system (redhat 9), and how to link against the built libraries. Sure I can include it in every project (though it's huge!), and make the makefiles link into strange locations such as libs/test/build/bin/libboost_unit_test_framework.a/gcc/debug/runtime-link-static/threading-single/libboost_unit_test_framework.a Is there an easier way? Why aren't packages like boost-[devel-]VERSION.PLATFORM.rpm made? Why aren't all built libraries put in the same directory, with a simple path name? Why isn't the thread library built statically? Is putting a "lib" section with BOOST_THREAD_BUILD_STATIC=1 in the Jamfile a legal fix? (seems to work) Also... I think boost should have a network library. Can anyone recommend a platform-independent network library? I'm thankful for any answer... -- Cheers, Tom Weber http://www.dd.chalmers.se/~np98towe/

Tom Weber wrote:
Also... I think boost should have a network library. Can anyone recommend a platform-independent network library?
Hi, the only one I know is SDL_net, which in turn uses SDL (www.libsdl.org). It's mostly a game library and might give you problems with console applications, because SDL redirects STDOUT and the like unless you compile it yourself. Sebastian

Sebastian Beschke said the following on 2003.12.28 12:48:
Tom Weber wrote:
Also... I think boost should have a network library. Can anyone recommend a platform-independent network library?
Hi, the only one I know is SDL_net, which in turn uses SDL (www.libsdl.org). It's mostly a game library and might give you problems with console applications, because SDL redirects STDOUT and the like unless you compile it yourself.
Sebastian _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Hello, Try ACE: http://www.cs.wustl.edu/~schmidt/ACE.html Or Common C++ (GNU) http://cplusplus.sourceforge.net/ Best Regards, Jordanas

I've been seeing stuff about GNU CommonC++, but i haven't been able to find any documentation on it.. Since you suggested it do you maybe know where there is docs on it? Josh. On December 29, 2003 03:05 am, joskis wrote:
Sebastian Beschke said the following on 2003.12.28 12:48:
Tom Weber wrote:
Also... I think boost should have a network library. Can anyone recommend a platform-independent network library?
Hi, the only one I know is SDL_net, which in turn uses SDL (www.libsdl.org). It's mostly a game library and might give you problems with console applications, because SDL redirects STDOUT and the like unless you compile it yourself.
Sebastian _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Hello,
Try ACE: http://www.cs.wustl.edu/~schmidt/ACE.html Or Common C++ (GNU) http://cplusplus.sourceforge.net/
Best Regards, Jordanas _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

On Sun, 28 Dec 2003, Tom Weber wrote:
Hello, I downloaded boost today so regard me as a newbie. Boost seems great, but the documentation doesn't mention how I should install boost on my system (redhat 9), and how to link against the built libraries. Sure I can include it in every project (though it's huge!), and make the makefiles link into strange locations such as libs/test/build/bin/libboost_unit_test_framework.a/gcc/debug/runtime-link-static/threading-single/libboost_unit_test_framework.a
Is there an easier way?
Most Boost libraries don't even require that you build anything explicitly; all code is in the headers.
Why aren't packages like boost-[devel-]VERSION.PLATFORM.rpm made?
We don't have a maintainer interested in making these packages for each release. If such a maintainer materializes, we'd of course be glad to release RPMs as well.
Why aren't all built libraries put in the same directory, with a simple path name?
It's because Boost.Jam is intended to be able to build a project for many compilers/configurations simultaneously. In 1.31.0, we will have a much better solution for this that will put all built libraries into the same directory (and handles automatic linking on on some platforms/compilers).
Why isn't the thread library built statically? Is putting a "lib" section with BOOST_THREAD_BUILD_STATIC=1 in the Jamfile a legal fix? (seems to work)
The Thread lib must be build as a dynamic library. I don't know the specifics, but I believe is has something to do with thread-specific storage initialization or cleanup.
Also... I think boost should have a network library. Can anyone recommend a platform-independent network library?
We think so two, and there's one in the design stage: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?BoostSocket I don't know any good alternatives. Perhaps ACE? Doug

Douglas Paul Gregor
On Sun, 28 Dec 2003, Tom Weber wrote:
Hello, I downloaded boost today so regard me as a newbie. Boost seems great, but the documentation doesn't mention how I should install boost on my system (redhat 9), and how to link against the built libraries. Sure I can include it in every project (though it's huge!), and make the makefiles link into strange locations such as libs/test/build/bin/libboost_unit_test_framework.a/gcc/debug/runtime-link-static/threading-single/libboost_unit_test_framework.a
Is there an easier way?
Most Boost libraries don't even require that you build anything explicitly; all code is in the headers.
Why aren't packages like boost-[devel-]VERSION.PLATFORM.rpm made?
We don't have a maintainer interested in making these packages for each release. If such a maintainer materializes, we'd of course be glad to release RPMs as well.
Actually, Benjamin Kosnik, at RedHat, has been making Boost RPMs. Here's what I found with Google: http://rpm.pbone.net/index.php3/stat/4/idpl/842521/com/boost-devel-1.30.2-2.... -- Dave Abrahams Boost Consulting www.boost-consulting.com

On Monday 29 December 2003 03:14, David Abrahams wrote:
Actually, Benjamin Kosnik, at RedHat, has been making Boost RPMs. Here's what I found with Google:
http://rpm.pbone.net/index.php3/stat/4/idpl/842521/com/boost-devel-1.30.2-2 .i386.rpm.html
Thank you! I found this one, packages for gentoo... http://packages.gentoo.org/search/?sstring=boost -- Cheers, Tom Weber http://www.dd.chalmers.se/~np98towe/

David Abrahams
Actually, Benjamin Kosnik, at RedHat, has been making Boost RPMs. Here's what I found with Google:
http://rpm.pbone.net/index.php3/stat/4/idpl/842521/com/boost-devel-1.30.2-2....
Benjamin reports: The RHL 9 RPMs are here: http://people.redhat.com/bkoz/Red_Hat_Linux_9/ Fedora Core 1 has its own boost rpm, which are quite similar. They can be found here: http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/SRPMS/boos... http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/SRPMS/boos... The boost build situation is quite convoluted on linux, sadly. -benjamin -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (6)
-
David Abrahams
-
Douglas Paul Gregor
-
Joshua Moore-Oliva
-
joskis
-
Sebastian Beschke
-
Tom Weber