Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8265299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:45:05+00:00 2026-06-08T04:45:05+00:00

I am trying to install Boost.Log on Fedora 17 and already did yum install

  • 0

I am trying to install Boost.Log on Fedora 17 and already did yum install boost-*. All related tutorials, and answers to similar questions involve moving lib/log into boost source directory and executing bootstrap.sh. I cannot find the boost source directory, or the bootstrap.sh file in my system (did find / -name '*bootstrap.sh' 2> /dev/null). All I can find is /usr/share/boost-build/ with lots of jam files in it. Concluding that the yum installation does not contain the source directory and bootstrap.sh, I tried to build it manually but the Boost.Log source files include windows specific headers and I got double confused. Can anyone shed a light on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T04:45:07+00:00Added an answer on June 8, 2026 at 4:45 am

    Wrote the following Makefile to compile and install, which does not include files referring to windows.h, I believe it works:

    SRCS= attribute_name.cpp attribute_set.cpp attribute_values_view.cpp \
          code_conversion.cpp core.cpp \
          default_filter_factory.cpp default_sink.cpp event.cpp \
          exceptions.cpp filter_parser.cpp \
          formatter_parser.cpp global_logger_storage.cpp init_from_settings.cpp \
          init_from_stream.cpp light_rw_mutex.cpp named_scope.cpp \
          once_block.cpp parser_utils.cpp process_id.cpp \
          record_ostream.cpp severity_level.cpp syslog_backend.cpp \
          text_file_backend.cpp text_ostream_backend.cpp thread_id.cpp \
          threadsafe_queue.cpp thread_specific.cpp timer.cpp \
          timestamp.cpp trivial.cpp
    OBJS=$(SRCS:.cpp=.o)
    CXXFLAGS=-std=c++11 -DBOOST_FILESYSTEM_VERSION=2
    libboost_log.so: $(OBJS)
      g++ -shared $^ -o $@ -lpthread -lboost_system -lboost_thread-mt -lrt -lboost_filesystem
    %.o: %.cpp
      g++ $(CXXFLAGS) -fPIC -c $^ -o $@
    install:
      cp libboost_log.so /usr/lib
    clean: 
      rm *.o
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to install Boost so I can use it along with MinGW
I am trying to install Boost on an unix cluster machine following the Boost
I'm trying to install redmine on a Centos server. I already have PHP and
I am trying to install the Boost C++ libraries using these instructions . This
I am trying to build Boost.Log ( http://boost-log.sourceforge.net/libs/log/doc/html/index.html ). I added it to my
I'm trying to build and install Boost 1.48.0 on OS X. I'd like boost
I am trying to install boost 1.5 into android according to this . When
I am trying to install Boost 1.47.0 using cmake, after many failed trials with
I was trying to install Boost on a linux machine(CentOs, Linux version 2.6.9-67.ELsmp). I
I've been trying to install Shoulda script/plugin install git://github.com/thoughtbot/shoulda.git but all I get is:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.