Re: abimathview on Fedora Core 4

From: Martin Sevior <msevior_at_physics.unimelb.edu.au>
Date: Tue Aug 02 2005 - 04:31:09 CEST

On Sat, 2005-07-30 at 15:47 +0200, J.M. Maurer wrote:
> On Thu, 2005-07-28 at 09:19 +1000, msevior@physics.unimelb.edu.au wrote:
> > Hi Everyone,
> > Since upgrading to Fedora Core 4 I have been unable to build
> > the abimathview plugin.
> >
> > GtkMathView from CVS builds, links and installs fine.
> >
> > However abimathview requires libxml2.la which is not provided by FC4.
> >
> > So I was wondering if we could somehow modify the build script to make it
> > link in libxml2.so or to find some other solution.
> >
> > Has anyone else had this trouble? Is there another solution?
>
> Works fine here... do you have libxml2-devel installed?
>

Damm it I do....

[root@seviorpc yum.repos.d]# rpm -e --nodeps libxml2-devel
[root@seviorpc yum.repos.d]# yum install libxml2-devel
Repository livna-unstable already added, not adding again
Repository livna-testing already added, not adding again
Repository livna-stable already added, not adding again
Setting up Install Process
Setting up repositories
livna-stable 100% |=========================| 951 B
00:00
livna-unstable 100% |=========================| 951 B
00:00
updates-released 100% |=========================| 951 B
00:00
livna-testing 100% |=========================| 951 B
00:00
base 100% |=========================| 1.1 kB
00:00
extras 100% |=========================| 1.1 kB
00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 290 kB
00:02
updates-re: ################################################## 825/825
Added 7 new packages, deleted 0 old in 4.14 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package libxml2-devel.i386 0:2.6.20-1.FC4 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package Arch Version Repository
Size
=============================================================================
Installing:
 libxml2-devel i386 2.6.20-1.FC4 updates-released
1.8 M

Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.8 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: libxml2-devel #########################
[1/1]

Installed: libxml2-devel.i386 0:2.6.20-1.FC4
Complete!
[root@seviorpc yum.repos.d]# rpm -ql libxml2-devel
/usr/bin/xml2-config
/usr/include/libxml2
/usr/include/libxml2/libxml
/usr/include/libxml2/libxml/DOCBparser.h
/usr/include/libxml2/libxml/HTMLparser.h
/usr/include/libxml2/libxml/HTMLtree.h
/usr/include/libxml2/libxml/SAX.h
/usr/include/libxml2/libxml/SAX2.h
/usr/include/libxml2/libxml/c14n.h
/usr/include/libxml2/libxml/catalog.h
/usr/include/libxml2/libxml/chvalid.h
/usr/include/libxml2/libxml/debugXML.h
/usr/include/libxml2/libxml/dict.h
/usr/include/libxml2/libxml/encoding.h
/usr/include/libxml2/libxml/entities.h
/usr/include/libxml2/libxml/globals.h
/usr/include/libxml2/libxml/hash.h
/usr/include/libxml2/libxml/list.h
/usr/include/libxml2/libxml/nanoftp.h
/usr/include/libxml2/libxml/nanohttp.h
/usr/include/libxml2/libxml/parser.h
/usr/include/libxml2/libxml/parserInternals.h
/usr/include/libxml2/libxml/pattern.h
/usr/include/libxml2/libxml/relaxng.h
/usr/include/libxml2/libxml/schemasInternals.h
/usr/include/libxml2/libxml/threads.h
/usr/include/libxml2/libxml/tree.h
/usr/include/libxml2/libxml/uri.h
/usr/include/libxml2/libxml/valid.h
/usr/include/libxml2/libxml/xinclude.h
/usr/include/libxml2/libxml/xlink.h
/usr/include/libxml2/libxml/xmlIO.h
/usr/include/libxml2/libxml/xmlautomata.h
/usr/include/libxml2/libxml/xmlerror.h
/usr/include/libxml2/libxml/xmlexports.h
/usr/include/libxml2/libxml/xmlmemory.h
/usr/include/libxml2/libxml/xmlmodule.h
/usr/include/libxml2/libxml/xmlreader.h
/usr/include/libxml2/libxml/xmlregexp.h
/usr/include/libxml2/libxml/xmlsave.h
/usr/include/libxml2/libxml/xmlschemas.h
/usr/include/libxml2/libxml/xmlschemastypes.h
/usr/include/libxml2/libxml/xmlstring.h
/usr/include/libxml2/libxml/xmlunicode.h
/usr/include/libxml2/libxml/xmlversion.h
/usr/include/libxml2/libxml/xmlwriter.h
/usr/include/libxml2/libxml/xpath.h
/usr/include/libxml2/libxml/xpathInternals.h
/usr/include/libxml2/libxml/xpointer.h
/usr/lib/libxml2.a
/usr/lib/libxml2.so
/usr/lib/pkgconfig/libxml-2.0.pc
/usr/lib/xml2Conf.sh
------------------------------------

No libxml2.la

So I get.....

-----------------------------------------
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -g -O2
-L/home/msevior/abidir/lib -lmathview_libxml2 -lglib-2.0 -lxml2
-lpthread -lz -lm -Wl,--export-dynamic -L/usr/X11R6/lib -lXft -lX11
-lfreetype -lXrender -lfontconfig -lfribidi -lglade-2.0 -lgtk-x11-2.0
-lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0 -o libAbiMathView.la
-rpath /home/msevior/abidir/lib/AbiWord-2.4/plugins -no-undefined
-module -avoid-version AbiMathView.lo gr_Abi_CharArea.lo
gr_Abi_ColorArea.lo gr_Abi_DefaultShaper.lo
gr_Abi_StandardSymbolsShaper.lo gr_Abi_ComputerModernShaper.lo
gr_Abi_InkArea.lo gr_Abi_MathGraphicDevice.lo gr_Abi_RenderingContext.lo
ie_imp_MathML.lo
grep: /usr/lib/libxml2.la: No such file or directory
/bin/sed: can't read /usr/lib/libxml2.la: No such file or directory

WTF?

Where did you get your libxml2-devel Marc?

Martin

> Marc
>
Received on Tue Aug 2 04:31:15 2005

This archive was generated by hypermail 2.1.8 : Tue Aug 02 2005 - 04:31:15 CEST