Indeed removing qwt-qt4-x11-shlibs did solve the problem. Everthing went ok.
Thank you. S.

$ sudo fink remove qwt-qt4-x11  qwt-qt4-x11-shlibs
Information about 9174 packages read in 1 seconds.
Reading buildlock packages...
/sw/bin/dpkg-lockwait --remove qwt-qt4-x11 qwt-qt4-x11-shlibs
(Lecture de la base de données... 138732 fichiers et répertoires déjà
installés.)
Suppression de qwt-qt4-x11 ...
Suppression de qwt-qt4-x11-shlibs ...

$ time sudo fink selfupdate; time sudo fink update-all






On Mon, Jul 20, 2009 at 11:00 AM, Martin Costabel <[email protected]>wrote:

> Stéphane Zampelli wrote:
>
>> Indeed I made a symbolic link to the library and goffice did compile.
>>
>> However I get another error:
>>
>
> While building the qwt-qt4-x11 package, I presume?
>
>  [...]
>> 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?
>>
>
> Without knowing the package, just from their name, I would assume they are
> coming from libqwt, which just has been built. Do you perhaps have a
> previous version of qwt-qt4-x11-shlibs installed? If yes, does removing it
> before rebuilding qwt-qt4-x11 change this error? This would then be a bug in
> the package, because it puts the install directory -L/sw/lib/qt4-x11/lib
> before the build directory -L../../lib on the linker line.
>
> --
> Martin
>
------------------------------------------------------------------------------
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

Reply via email to