[MacPorts] #27858: libtorrent-rasterbar @0.15.4 configure failure

MacPorts noreply at macports.org
Sat Jun 11 06:05:34 PDT 2011


#27858: libtorrent-rasterbar @0.15.4 configure failure
--------------------------------+-------------------------------------------
 Reporter:  msm@…               |       Owner:  devans@…            
     Type:  defect              |      Status:  new                 
 Priority:  Normal              |   Milestone:                      
Component:  ports               |     Version:  1.9.2               
 Keywords:                      |        Port:  libtorrent-rasterbar
--------------------------------+-------------------------------------------

Comment(by tanks4dat@…):

 Sorry about the above mess.  I made a mistake in my ticket comment.  I
 wish there was a way to delete that.  It is really ugly.

 Regarding the above problem.  I started fresh.  I did

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

 Then I went to the configure.args section of the Portfile and substituted

 {{{
 --with-boost-libdir="/opt/local/lib"
 }}}

 with

 {{{
 --with-boost-system=lib
 }}}

 I then did

 {{{
 sudo port install libtorrent-rasterbar
 }}}

 and the results in the config.log was a WARNING

 {{{
 info:configure checking for the pthreads library -lpthreads... no
 :info:configure checking whether pthreads work without any flags... yes
 :info:configure checking for joinable pthread attribute...
 PTHREAD_CREATE_JOINABL
 E
 :info:configure checking if more special flags are required for
 pthreads... -D_TH
 READ_SAFE
 :info:configure checking whether to check for GCC pthread/shared
 inconsistencies.
 .. no
 :info:configure checking whether -pthread is sufficient with -shared... no
 :info:configure checking whether -lpthread fixes that... no
 :info:configure checking whether -lc_r fixes that... no
 :info:configure configure: WARNING: Impossible to determine how to use
 pthreads w
 ith shared libraries
 }}}

 Then, information is given about the boost libraries:

 {{{
 :info:configure Checking for boost libraries:
 :info:configure checking for boostlib >= 1.36... yes
 :info:configure checking whether the Boost::System library is available...
 yes
 :info:configure checking for exit in -llib... no
 :info:configure checking for exit in -lboost_system-lib... no
 :info:configure configure: error: Could not link against boost_system-lib
 !
 }}}

 So I think that configure is finding the libraries now, but it can't link
 to them.  Is that correct or incorrect?  I am stuck at this point.

-- 
Ticket URL: <https://trac.macports.org/ticket/27858#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list