[Bug 470696] Review Request: rubygem-passenger - Passenger Ruby on Rails deployment system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=470696





--- Comment #11 from Mamoru Tasaka <mtasaka@xxxxxxxxxxxxxxxxxxx>  2008-11-11 03:30:18 EDT ---
(In reply to comment #9)
> Created an attachment (id=323134)
 --> (https://bugzilla.redhat.com/attachment.cgi?id=323134) [details]
> output on a compile with attached diff (1)
> 
> Attach output from a rake -v when compiling against the system-wide provided
> boost-static libraries

You should link against libboost_thread-mt.so, not against static
archive libboost_thread-mt.a.
But anyway linkage fails by other reasons like
-----------------------------------------------------------------
ApplicationPoolServerExecutable.cpp:86: undefined reference to
`boost::this_thread::interruption_requested()'
-----------------------------------------------------------------
(and many errors). It seems that this is because Fedora ships boot 1.34
while these symbols are introduced on 1.36+.
So until Fedora upgrades boost we have to use internal boost.
In this case Fedora compilation flags must be treated correctly.
The following seems to fix this issue:
------------------------------------------------------------------
--- Rakefile.orig       2008-11-11 16:23:45.000000000 +0900
+++ Rakefile    2008-11-11 17:23:32.000000000 +0900
@@ -88,7 +88,7 @@

 subdir 'ext/boost/src' do
        file 'libboost_thread.a' => Dir['*.cpp'] + Dir['pthread/*.cpp'] do
-               flags = "#{OPTIMIZATION_FLAGS} -fPIC -I../.. #{THREADING_FLAGS}
-DNDEBUG #{MULTI_ARCH_FLAGS}"
+               flags = "#{OPTIMIZATION_FLAGS} #{APACHE2::CXXFLAGS} -fPIC
-I../.. #{THREADING_FLAGS} -DNDEBUG #{MULTI_ARCH_FLAGS}"
                compile_cxx "*.cpp", flags
                # NOTE: 'compile_cxx "pthread/*.cpp", flags' doesn't work on
some systems,
                # so we do this instead.
-------------------------------------------------------------------

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]