[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Impossible to rebuild apt with rpm 4.0.4



Matthias Saou <matthias@rpmforge.net> writes:

> Thanks for you answer Jeff, but IANAP (I Am Not A Programmer ;-) just a
> crazy tweaker sysadmin!), so I'm not really sure what to do here. Does this
> mean that all I need it to patch the apt source file to include
> <lib/misc.h> or something?

diff -urN apt-0.3.19cnc55.org/tools/cached_md5.cc apt-0.3.19cnc55/tools/cached_md5.cc
--- apt-0.3.19cnc55.org/tools/cached_md5.cc	Sun Feb 17 01:46:11 2002
+++ apt-0.3.19cnc55/tools/cached_md5.cc	Sun Feb 17 01:46:25 2002
@@ -39,6 +39,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <rpm/rpmlib.h>
+#include <rpm/misc.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>
diff -urN apt-0.3.19cnc55.org/tools/hdlist2pkglist.cc apt-0.3.19cnc55/tools/hdlist2pkglist.cc
--- apt-0.3.19cnc55.org/tools/hdlist2pkglist.cc	Sun Feb 17 01:46:11 2002
+++ apt-0.3.19cnc55/tools/hdlist2pkglist.cc	Sun Feb 17 01:46:46 2002
@@ -37,6 +37,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <rpmlib.h>
+#include <rpm/misc.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/stat.h>

/me who compiled apt cnc55 using gcc3.1 and rpm4.0.4, db4 4.0.14.

ftp://ftp.pld.org.pl/dists/nest/PLD/SRPMS
ftp://ftp.pld.org.pl/dists/nest/PLD/ARCH/..
where ARCH is i386, i586, i686 or ppc.

> Matthias

-- 
Arkadiusz Miśkiewicz   IPv6 ready PLD Linux at http://www.pld.org.pl
misiek(at)pld.org.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PWr





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []