[MacPorts] #25716: liblastfm-0.3.0 fails to build: configure couldn't read Makefile

MacPorts noreply at macports.org
Sun Jul 18 07:20:36 PDT 2010


#25716: liblastfm-0.3.0 fails to build: configure couldn't read Makefile
---------------------------------+------------------------------------------
 Reporter:  macports@…           |       Owner:  michaelld@…           
     Type:  defect               |      Status:  new                   
 Priority:  Normal               |   Milestone:                        
Component:  ports                |     Version:  1.9.1                 
 Keywords:                       |        Port:  liblastfm             
---------------------------------+------------------------------------------

Comment(by michaelld@…):

 OK; can you do the following, and please do post it this time:
 {{{
 sudo port clean liblastfm
 sudo port sync
 sudo port -d configure liblastfm 2>&1 | tee
 ~/Desktop/liblastfm_configure.txt
 pushd `port dir liblastfm`/work/liblastfm-0.3.0
 tar cf ~/Desktop/liblastfm-debug.tar `find . -name "Makefile*"`
 ~/Desktop/liblastfm_configure.txt
 popd
 }}}
 and then post the tarball "~/Desktop/liblastfm-debug.tar".  I need to look
 at what the top-level Makefile has in it, and the debug log will also tell
 me some things.

 What you did is recreate what I've done on 10.5 i385 -- for 10.6 x86_64.
 The issue is that the src/Makefile (and the others in subdirs you mention)
 are created during 'build' dynamically, which means we'd need to correct
 the issue somehow in qmake or in the .pro files used to create the
 Makefile's.  I tried this route, but quickly got lost since there are so
 many places where the issues might be.  Hence, I moved to using a post-
 configure script that (1) goes through & tells the top-level Makefile to
 create the subdir Makefiles, and then (2) patches them (by looking for
 "-arch ${build_arch} -arch" and replacing it with "-arch ${build_arch}").
 This script works on my setup; I had hoped that the new more generic
 scripts would work on others' setups as well.

 Thank you for your continued feedback!

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


More information about the macports-tickets mailing list