[MacPorts] #19787: libtool-2.2.6a glibtool does not handle -framework option

MacPorts noreply at macports.org
Thu May 28 21:06:30 PDT 2009


#19787: libtool-2.2.6a glibtool does not handle -framework option
-------------------------------+--------------------------------------------
 Reporter:  mantiuk@…          |       Owner:  boeyms@…           
     Type:  defect             |      Status:  new                
 Priority:  Normal             |   Milestone:                     
Component:  ports              |     Version:  1.7.1              
 Keywords:  framework qt3-mac  |        Port:  libtool            
-------------------------------+--------------------------------------------
Changes (by macsforever2000@…):

  * owner:  macports-tickets@… => boeyms@…


Old description:

> When linking with qt-mt (qt3-mac) using glibtool:
>
> ''glibtool --tag=CXX   --mode=link g++  -O3      -o pfsview main.o
> pfsview_widget.o luminancerange_widget.o histogram.o main.moc.o
> pfsview_widget.moc.o luminancerange_widget.moc.o -framework Carbon
> -framework QuickTime -framework OpenGL -framework AGL -L/opt/local/lib
> -lqt-mt -lmng -ljpeg -lpng -lz   ../pfs/libpfs-1.2.la
> ''
>
> glibtool fails with the following message:
>
> ''glibtool: link: cannot find the library `' or unhandled argument
> `Carbon'
> ''
>
> The same happens when all "-framework" options are removed from the
> command line, so this may be related to qt3-mac port.
>
> I attach the complete output with --debug.

New description:

 When linking with qt-mt (qt3-mac) using glibtool:

 {{{
 glibtool --tag=CXX   --mode=link g++  -O3      -o pfsview main.o
 pfsview_widget.o luminancerange_widget.o histogram.o main.moc.o
 pfsview_widget.moc.o luminancerange_widget.moc.o -framework Carbon
 -framework QuickTime -framework OpenGL -framework AGL -L/opt/local/lib
 -lqt-mt -lmng -ljpeg -lpng -lz   ../pfs/libpfs-1.2.la
 }}}

 glibtool fails with the following message:

 {{{
 glibtool: link: cannot find the library `' or unhandled argument `Carbon'
 }}}

 The same happens when all "-framework" options are removed from the
 command line, so this may be related to qt3-mac port.

 I attach the complete output with --debug.

--

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


More information about the macports-tickets mailing list