Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #13595 (closed defect: fixed)

Opened 11 months ago

Last modified 7 months ago

poppler-0.6.3 fails on OS X 10.5 Leopard (qt4 problem?)

Reported by: develop@… Owned by: macports-tickets@…
Priority: Normal Milestone: Port Bugs
Component: ports Version: 1.5.2
Keywords: Cc: jochen@…
Port:

Description

Making all in tests
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../poppler -I../.. -I../../poppler -I../../qt4/src -I../../qt -I/opt/local/include   -DQT_SHARED -I/opt/local/include/qt4 -I/opt/local/include/qt4/QtCore -I/opt/local/include/qt4/QtGui -I/opt/local/include/qt4/QtXml    -I/opt/local/include  -Wall -Wno-unused -O2 -MT test-poppler-qt4.o -MD -MP -MF ".deps/test-poppler-qt4.Tpo" -c -o test-poppler-qt4.o test-poppler-qt4.cpp; \
	then mv -f ".deps/test-poppler-qt4.Tpo" ".deps/test-poppler-qt4.Po"; else rm -f ".deps/test-poppler-qt4.Tpo"; exit 1; fi
/bin/sh ../../libtool --tag=CXX --mode=link g++  -Wall -Wno-unused -O2  -L/opt/local/lib -o test-poppler-qt4  test-poppler-qt4.o ../../poppler/libpoppler.la ../../qt4/src/libpoppler-qt4.la -L/opt/local/lib -lfontconfig -lexpat   -framework ApplicationServices -framework Carbon -framework AppKit -L/opt/local/lib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/qt-mac-opensource-src-4.3.2/lib -lQtGui -lpng -lQtXml -lQtTest -lQtCore -lz -lm   -lz 
mkdir .libs
libtool: link: cannot find the library `' or unhandled argument `Carbon'
make[3]: *** [test-poppler-qt4] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

This accutally is probably more a problem of qt4. At least with poppler-0.6.0 I had exactly the same problem and was able to workaround this, by telling the configure from poppler to skip the QT bindings at all. I guess the problem lays somewhere in the *.la files from qt4.

Change History

Changed 11 months ago by jmpp@…

  • milestone set to Port Bugs

Changed 11 months ago by ryandesign@…

  • cc jochen@… added

Cc'ing maintainer of qt4-mac.

Changed 11 months ago by yves@…

I just committed a fix - maybe temporary - in changeset:32168

Changed 11 months ago by jochen@…

Okay, we used to see this problem with Qt before, it is due to the following in libQtGui.la (and others)

-framework Carbon

I do not remember the details form my head and do not have too much time right now. Will look into it soon.

Changed 7 months ago by jmr@…

Does this still happen with poppler 0.8.0?

Changed 7 months ago by develop@…

Yes, for me the problem still persists with the latest poppler-0.8.0

Changed 7 months ago by rhwood@…

  • status changed from new to closed
  • resolution set to fixed

OBE see #14865

Note: See TracTickets for help on using tickets.