pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 2011Q1 OpenOffice3 build problem


privately you suggested adding this line:


to gnuplot's pkgsrc Makefile, and sure enough, that fixed the
build problem for gnuplot.

However, trying to apply the same medicine to openoffice3 did
unfortunately not meet with success.  The line in work.log which
corresponds to the failed link is

<.> /usr/pkgsrc/misc/openoffice3/work/.gcc/bin/g++
    -Wl,-z -Wl,combreloc -Wl,-z -Wl,defs
    -o ../../../
    -lsalcpprt -ltlbi -lvos3gcc3 -luno_sal -lXaw -lXt -lXext
    -lX11 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0
    -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor
    -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0
    -lgio-2.0 -lXfixes -lcairo -lX11 -lpng15 -lpango-1.0 -lm
    -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0
    -lgthread-2.0 -lglib-2.0 -lintl -lm -lc -lgcc_s -lstdc++

As is evident, it is specifying /usr/X11R7/lib ahead of
/usr/pkg/lib as a run-path, and those arguments are being used
also when finding shared libraries needed by explicitly mentioned
shared libraries (as in the case of libpixman-1 which is
referenced both from pangocairo and cairo).

Now, openoffice3 is a huge beast, and my last rebuild took almost
6 hours before failing, so if I'm going to continue to try and
fail there's no telling if I'll ever have a working openoffice3
on this machine again.

So...  Hints for fixing openoffice3 would be much appreciated.


- Håvard

Home | Main Index | Thread Index | Old Index