Martin Costabel wrote:
[]
I for one will refrain from doing update-all and testing qt3-3.3.3 until this goes away.

Couldn't resist, so I tried anyway. Result (I didn't expect otherwise, today everything I look at in Fink is broken :-) ): It doesn't build.


I have my Fink installation in /sw_current with a symlink /sw->/sw_current. The qt3 Makefiles don't understand this and replace sometimes %p by /sw_current, so that %i becomes sometimes /sw/src/root-qt3-3.3.3-23/sw and sometimes /sw/src/root-qt3-3.3.3-23/sw_current, with disastrous consequences at the end when the splitoffs should get their share of files. Here is a part of the build log, at the beginning of the install phase:

cd qmake && make install
[ -d /sw/src/root-qt3-3.3.3-23/sw/bin ] || mkdir -p /sw/src/root-qt3-3.3.3-23/sw/bin
cp -P -f /sw_current/src/qt3-3.3.3-23/qt-x11-free-3.3.3/bin/qmake /sw/src/root-qt3-3.3.3-23/sw/bin
[ -d /sw/src/root-qt3-3.3.3-23/sw/share/qt3 ] || mkdir -p /sw/src/root-qt3-3.3.3-23/sw/share/qt3
cp -R -P -f /sw_current/src/qt3-3.3.3-23/qt-x11-free-3.3.3/mkspecs /sw/src/root-qt3-3.3.3-23/sw/share/qt3
cd src/moc && make
make[2]: Nothing to be done for `first'.
cd src/moc && make install
cp -f "../../bin/moc" "/sw/src/root-qt3-3.3.3-23/sw_current/bin/moc"
cd src && make
make[2]: Nothing to be done for `first'.
cd src && make install
cp -f "../lib/libqt-mt.prl" "/sw/src/root-qt3-3.3.3-23/sw_current/lib/libqt-mt.prl"
cp -f "../lib/libqt-mt.la" "/sw/src/root-qt3-3.3.3-23/sw_current/lib/libqt-mt.la"


One can see that qmake/Makefile is doing the right thing, whereas src/Makefile isn't. Since these Makefiles are created by configure using qmake and other black magic, I cannot identify where this comes from, most likely from some 'QTDIR=`pwd` or some such command.

The breakage at the end happens like this:

/bin/mv /sw/src/root-qt3-3.3.3-23/sw/lib/libqt-mt.*.dylib /sw/src/root-qt3-shlibs-3.3.3-23/sw/lib/
mv: rename /sw/src/root-qt3-3.3.3-23/sw/lib/libqt-mt.*.dylib to /sw/src/root-qt3-shlibs-3.3.3-23/sw/lib/libqt-mt.*.dylib: No such file or directory


This is not surprising, because the library was installed in /sw/src/root-qt3-3.3.3-23/sw_current/lib/ and there is no symlink sw->sw_current in %d.

--
Martin




------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to