Indeed I made a symbolic link to the library and goffice did compile.
However I get another error:
[...]
bzip2 -dc /sw/src/qwt-5.2.0.tar.bz2 | /sw/bin/tar -xf - --no-same-owner
--no-same-permissions
[...]
c++ -prebind -o ../../examples/bin/cpuplot obj/cpuplot.o obj/cpustat.o
obj/cpupiemarker.o obj/moc_cpuplot.o -L/sw/lib/qt4-x11/lib -L../../lib
-lqwt -lQtGui -L/sw/lib/system-openssl/lib -L/sw/lib/freetype219/lib
-L/sw/lib/fontconfig2/lib -L/sw/lib -L/usr/X11R6/lib -L/sw/lib/qt4-x11/lib
-lpng -lfreetype -lgobject-2.0 -lSM -lICE -lXrender -L/usr/X11/lib
-lfontconfig -lXext -lX11 -lQtCore -lz -lm -lgthread-2.0 -lglib-2.0 -lintl
-liconv
Undefined symbols:
"QwtLegend::find(QwtLegendItemManager const*) const", referenced from:
CpuPlot::showCurve(QwtPlotItem*, bool) in cpuplot.o
"QwtPlot::printCanvas(QPainter*, QRect const&, QRect const&, QwtScaleMap
const*, QwtPlotPrintFilter const&) const", referenced from:
vtable for CpuPlotin moc_cpuplot.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [../../examples/bin/cpuplot] Error 1
make[1]: *** [sub-cpuplot-make_default] Error 2
make: *** [sub-examples-make_default] Error 2
### execution of /var/tmp/tmp.1.KW73Dq failed, exit code 2
Any idea where those symbols are coming from?
Thanks,
S.
On Fri, Jul 17, 2009 at 8:33 PM, Alexander Hansen <
[email protected]> wrote:
> Builds on OS X hardcode the linked library information. I'd expect that
> something else on your system hardcoded that and goffice is using that
> information.
>
> Normally what would have been hardcoded would have been
> '/usr/X11/lib/libpixman-1.dylib' , but for some reason it was decided
> not to do that in Apple's X11 at some point, which leads to the breakage
> that you're seeing.
>
> As a workaround, you could try
>
> sudo ln -s /usr/X11/lib/libpixman-1.0.11.8.dylib
> /usr/X11/lib/libpixman-1.0.10.0.dylib
>
> Stéphane Zampelli wrote:
> > Moreover:
> >
> > $ ls /usr/X11/lib/libpixman*
> > /usr/X11/lib/libpixman-1.0.11.8.dylib
> > /usr/X11/lib/libpixman-1.0.dylib /usr/X11/lib/libpixman-1.dylib
> > /usr/X11/lib/libpixman-1.la <http://libpixman-1.la>
> >
> > Does this mean that the package 'libgoffice-0.6-0.6.6-2' hardcoded the
> > library version?
> >
> > S.
> >
> >
> > On Fri, Jul 17, 2009 at 5:48 PM, monipol <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> > On 17/07/2009, at 12:41, Stéphane Zampelli wrote:
> >
> > On Fri, Jul 17, 2009 at 5:30 PM, monipol <[email protected]
> > <mailto:[email protected]>> wrote:
> > On 17/07/2009, at 11:47, Stéphane Zampelli wrote:
> >
> >
> > I would like to build kdvi or okular.
> >
> > However, fink refuses to update-all.
> > ---
> > $ time sudo fink selfupdate; time sudo fink update-all
> > [...]
> > gtk-doc: Linking scanner
> > gcc -Os -Wall -Wmissing-prototypes -Wsign-compare
> > -Wpointer-arith
> >
> > (...)
> >
> > i686-apple-darwin9-gcc-4.0.1:
> > /usr/X11/lib/libpixman-1.0.10.0.dylib: No
> > such
> > file or directory
> > Linking of scanner failed:
> >
> > Are you running Leopard (OS X 10.5)? Which X11 have you
> > installed: Apple
> > X11, Xquartz, Fink's?
> >
> >
> > OS X 10.5.5, Apple X11
> >
> >
> >
> > We usually recommend users to install Xquartz instead of Apple X11:
> >
> > http://xquartz.macosforge.org
> >
> > That said, if you want to stick with Apple X11, have you installed
> > X11SDK.pkg? It's an optional package available on the Xcode
> > installation disk image.
> >
> >
> >
> > --
> > monipol
> > http://finkers.wordpress.com
> >
> > Submitting a Fink bug report? Read this:
> > http://www.finkproject.org/doc/netiquette/index.php
> > http://finkers.wordpress.com/2009/06/03/bug-reports/
> >
> >
> \
>
> --
> Alexander Hansen
> Fink User Liaison
>
>
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners