- From: Sergio Monteiro Basto <sergio@sergiomb.no-ip.org>
- Date: Tue, 06 Mar 2007 02:14:28 +0000
- To: Irene.Vatton@inrialpes.fr
- Cc: Regis Boudin <regis@boudin.name>, www-amaya@w3.org
- Message-Id: <1173147268.27654.9.camel@monteirov>
On Fri, 2007-03-02 at 11:25 +0100, Irene Vatton wrote: > On Friday 02 March 2007 02:05, Sergio Monteiro Basto wrote: > > On Thu, 2007-03-01 at 09:14 +0000, Regis Boudin wrote: > > > Patch already merged in CVS. > > > > thanks, now I have this problems with --disable-annot: > > g++ -o ../bin/amaya wxdialog/AuthentDlgWX.o wxdialog/CheckedListDlgWX.o > > wxdialog/CreateTableDlgWX.o wxdialog/DocInfoDlgWX.o > > wxdialog/EnumListDlgWX.o wxdialog/HRefDlgWX.o wxdialog/ImageDlgWX.o > > wxdialog/InitConfirmDlgWX.o wxdialog/ListDlgWX.o wxdialog/ListEditDlgWX.o > > wxdialog/NewTemplateDocDlgWX.o wxdialog/MakeIdDlgWX.o wxdialog/NumDlgWX.o > > wxdialog/ObjectDlgWX.o wxdialog/OpenDocDlgWX.o wxdialog/PreferenceDlgWX.o > > wxdialog/PrintDlgWX.o wxdialog/SaveAsDlgWX.o wxdialog/SearchDlgWX.o > > wxdialog/SelectOperatorDlgWX.o wxdialog/SelectFenceAttributesDlgWX.o > > wxdialog/SelectIntegralDlgWX.o wxdialog/SpellCheckDlgWX.o > > wxdialog/StyleDlgWX.o wxdialog/TextDlgWX.o wxdialog/TitleDlgWX.o > > wxdialogapi.o EDITORAPP.o HTMLAPP.o TextFileAPP.o XLinkAPP.o XMLAPP.o > > AHTURLTools.o EDITORactions.o EDITimage.o EDITstyle.o HTMLactions.o > > HTMLbook.o HTMLedit.o HTMLform.o HTMLhistory.o HTMLimage.o > > HTMLpresentation.o HTMLsave.o HTMLtable.o html2thot.o init.o insertelem.o > > libmanag.o MENUconf.o XLinkbuilder.o XLinkedit.o mydictionary.o templates.o > > trans.o transparse.o UIcss.o Xml2thot.o Xmlbuilder.o XHTMLbuilder.o > > XPointer.o XPointerparse.o AHTBridge.o AHTFWrite.o answer.o query.o > > AHTMemConv.o AHTInit.o anim.o animbuilder..o SVGAPP.o SVGbuilder.o > > SVGedit.o TimelineAPP.o MathMLAPP.o MathMLbuilder.o Mathedit.o > > ../libwww/Library/src/HTHome.o libCSS.a ../davlib/davlib.a > > -L../thotlib -L.. -lThotEditor -ljpeg -lpng -lz > > -L../libwww/Library/src/.libs -lwwwzip -lwwwapp -lwwwhtml -lwwwhttp > > -lwwwmime -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwtrans > > -lwwwcore -lwwwutils -lwwwdav -L../libwww/modules/md5/.libs -lmd5 > > ../libwww/modules/expat/.libs/libexpat.a -ldl -L/usr/lib64 > > -L/usr/lib64 -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 > > -lm -lgdk_imlib .../libwww/Library/src/.libs/libwwwcore.a(HTWWWStr.o): In > > function `HTMessageIdStr': HTWWWStr.c:(.text+0xedd): warning: the use of > > `tmpnam' is dangerous, better use `mkstemp' > > .../libwww/Library/src/.libs/libwwwcore.a(HTInet.o): In function > > `HTGetTmpFileName': HTInet.c:(.text+0x155): warning: the use of `tempnam' > > is dangerous, better use `mkstemp' > > .../thotlib/libThotEditor.a(pnghandler.o): In function `ReadPng(_IO_FILE*, > > int*, int*, int*, int*, XColor**, int*, bool*, bool*)': > > pnghandler.c:(.text+0x799): undefined reference to `png_read_destroy' > > collect2: ld returned 1 exit status > > make[1]: *** [../bin/amaya] Error 1 > > make[1]: Leaving directory > > `/usr/src/redhat/BUILD/amaya-9.54/Amaya9.54/Amaya/gtk-build/amaya' make: > > *** [amaya_prog] Error 2 > > pnghandler.c has no relation with --enable-annot or --disable-annot > Could you try to comment the line 221 in Amaya/thotlib/image/pnghandler.c well I try give me the same error as with --enable-annot > > ppbRowPointers = NULL; > /* clean up after the read, and free any memory allocated */ > - png_read_destroy (png_ptr, info_ptr, (png_info*) NULL); > + //png_read_destroy (png_ptr, info_ptr, (png_info*) NULL); > /* Free all of the memory associated with the png_ptr and info_ptr */ > png_destroy_read_struct (&png_ptr, &info_ptr, (png_infopp)NULL); > > Normally png_destroy_read_struct should do the work > Let me know if it works. thanks , now I had compile build successfully one rpm for fedora Core 6. but has other amaya bin that I found on Internet give me one error on X amaya-gtk Gdk-ERROR **: BadMatch (invalid parameter attributes) serial 113 error_code 8 request_code 56 minor_code 0 -- Sérgio M.B.
Received on Tuesday, 6 March 2007 02:14:41 UTC