[MacPorts] #13648: mjpegtools 1.6.2 build failure: unable to infer tagged configuration

MacPorts trac at macosforge.org
Mon Jan 7 10:26:16 PST 2008


#13648: mjpegtools 1.6.2 build failure: unable to infer tagged configuration
---------------------------------------+------------------------------------
  Reporter:  dougvreid at embarqmail.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                    |      Status:  new                                  
  Priority:  Normal                    |   Milestone:  Port Bugs                            
 Component:  ports                     |     Version:  1.5.2                                
Resolution:                            |    Keywords:                                       
---------------------------------------+------------------------------------
Comment (by philippe.bricout at mongueurs.net):

 ''Warning : I'm not understanding the solution I propose''

 I just read the ticket
 [http://trac.macosforge.org/projects/macports/ticket/12961 #12961] and
 search "libtool: compile: unable to infer tagged configuration" on
 google...

 So here is a "solution" which seems to work on PowerPC / MacOSX 10.4.11 /
 XCode2.5 / MacPorts 1.600. Use it at your own risk!

 {{{
 $ sudo port selfupdate
 $ sudo port clean --work mpegtools
 $ cd
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/mjpegtools
 $ sudo vi Portfile
 }}}

 then look for this line:
 {{{
 build.args      LIBTOOL=${prefix}/bin/glibtool ASFLAGS="-f macho"
 }}}

 and replace with:
 {{{
 build.args      LIBTOOL="${prefix}/bin/glibtool --tag=CC" ASFLAGS="-f
 macho"
 }}}

 Perhaps '''--tag=CXX''' would be better. I don't know :-P

 Finally:
 {{{
 $ sudo port install mjpegtools
 Portfile changed since last build; discarding previous state.
 --->  Fetching mjpegtools
 --->  Verifying checksum(s) for mjpegtools
 --->  Extracting mjpegtools
 --->  Applying patches to mjpegtools
 --->  Configuring mjpegtools
 --->  Building mjpegtools with target all
 --->  Staging mjpegtools into destroot
 --->  Packaging tgz archive for mjpegtools 1.6.2_2+darwin_8
 --->  Installing mjpegtools 1.6.2_2+darwin_8
 --->  Activating mjpegtools 1.6.2_2+darwin_8
 --->  Cleaning mjpegtools
 }}}

 I hope this will help...

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13648#comment:8>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list