Opened 15 years ago

Closed 15 years ago

#19787 closed defect (wontfix)

libtool-2.2.6a glibtool does not handle -framework option

Reported by: mantiuk@… Owned by: boeyms@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: framework qt3-mac Cc:
Port: libtool

Description (last modified by mf2k (Frank Schima))

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.

Attachments (1)

out.txt (82.5 KB) - added by mantiuk@… 15 years ago.
glibtool output with --debug option

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by mantiuk@…

Attachment: out.txt added

glibtool output with --debug option

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to boeyms@…

comment:2 Changed 15 years ago by boeyms@…

Resolution: wontfix
Status: newclosed

I'm afraid that this looks more like an issue for the upstream libtool maintainers, or, more likely, the upstream qt3-mac maintainers; either way, I don't think I have the knowledge to fix it. A Google search using the terms "libtool" and "framework" returns the following mailing list threads, which you might like to bring to the attention of whomever you write to upstream:

Sorry that this is as much as I can suggest. Good luck.

Note: See TracTickets for help on using tickets.