On Mondayen den 10 December 2001 22.32, Oden Eriksson wrote:
> Hi,
>
> I'm trying to make a new php package including "DOM", but it fails badly...
> Why could this be?
>
> ./configure --with-dom
>
> [snip]
>
> checking for DOM support... yes
> checking for DOM in default path... not found
> configure: error: Please reinstall the libxml >= 2.2.7 distribution
>
> rpm -qa|grep xml
> libxml2-devel-2.4.11-1mdk
> libxml-1.8.16-1mdk
> libxml2-2.4.11-1mdk
> libxml-devel-1.8.16-1mdk
Never mind, I think I found the error myself. The attached patch seems to
takes care of this problem, I don't know if it breaks something else though...
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Oden Eriksson, Deserve-IT Networks, Jokkmokk, Sweden.
| Mandrake Linux release 8.2 (Cooker) for i586
| Current uptime with kernel 2.4.16-6mdksmp: 19 hours 56 minutes
| cpu0 @ 814.28 bm, fan 4470 rpm, temp +29�C
| cpu1 @ 815.92 bm, fan 4411 rpm, temp +29.0�C
--- libxml2.spec Mon Nov 26 17:10:58 2001
+++ libxml2.spec.oden Mon Dec 10 23:27:06 2001
@@ -5,7 +5,7 @@
Summary: The libXML library
Name: libxml2
Version: 2.4.11
-Release: 1mdk
+Release: 2mdk
License: LGPL
Group: System/Libraries
BuildRoot: %_tmppath/%name-%version-%release-root
@@ -43,12 +43,14 @@
%make
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%makeinstall
+ln -s libxml2/libxml %{buildroot}%{_includedir}/libxml
+
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%post -p /sbin/ldconfig
@@ -73,6 +75,9 @@
%{_datadir}/aclocal/*
%changelog
+* Mon Dec 10 2001 Oden Eriksson <[EMAIL PROTECTED]> 2.4.11-2mdk
+- made a softlink in %%{_includedir}
+
* Mon Nov 26 2001 Frederic Crozat <[EMAIL PROTECTED]> 2.4.11-1mdk
- Release 2.4.11
- Move manpage to devel package