Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13595 closed defect (fixed)

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

Reported by: develop@… Owned by: macports-tickets@…
Priority: Normal Milestone:
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 (8)

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Port Bugs

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jochen@… added

Cc'ing maintainer of qt4-mac.

comment:3 Changed 17 years ago by yves@…

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

comment:4 Changed 17 years 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.

comment:5 Changed 17 years ago by jmroot (Joshua Root)

Does this still happen with poppler 0.8.0?

comment:6 Changed 17 years ago by develop@…

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

comment:7 Changed 17 years ago by rhwood@…

Resolution: fixed
Status: newclosed

OBE see #14865

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.