Received: (at submit) by bugs.debian.org; 13 Jul 1998 15:12:05 +0000 Received: (qmail 27922 invoked from network); 13 Jul 1998 15:12:05 -0000 Received: from pixar.pixar.com (HELO pixar.com) (138.72.10.20) by debian.novare.net with SMTP; 13 Jul 1998 15:12:05 -0000 Received: from biff.pixar.com (biff.pixar.com [206.184.78.212]) by pixar.com (8.8.6/8.8.6) with ESMTP id IAA29727 for ; Mon, 13 Jul 1998 08:17:28 -0700 (PDT) From: Pavel.Roskin@ecsoft.co.uk Received: from chopin.ecsoft.co.uk (chopin.digitus.co.uk [193.130.49.9]) by biff.pixar.com (8.8.8/8.8.8) with SMTP id IAA04887 for ; Mon, 13 Jul 1998 08:08:48 -0700 (PDT) Received: by chopin.ecsoft.co.uk(Lotus SMTP MTA SMTP MTA v1.1.04 (495.1 10-24-1997)) id 80256640.00526337 ; Mon, 13 Jul 1998 15:59:53 +0100 X-Lotus-FromDomain: ECSOFT To: debian-bugs@pixar.com Message-ID: <80256640.004DEB4B.00@chopin.ecsoft.co.uk> Date: Mon, 13 Jul 1998 15:59:34 +0100 Subject: 3 diff's to compile dpkg-1.4.0.24 on HP-UX Mime-Version: 1.0 Content-type: multipart/mixed; Boundary="0__=ZCp3HlPnJIhA5f3r9hijFxwG9eQ1N7G9gf1hLSGLRtJxEx03D86syLFY" --0__=ZCp3HlPnJIhA5f3r9hijFxwG9eQ1N7G9gf1hLSGLRtJxEx03D86syLFY Content-type: text/plain; charset=US-ASCII Package: dpkg Following patches are included below: 1) dpkg1.diff This patch suppesses error output from configure if dpkg is not present in $PATH 2) dpkg2.diff This is a workaround for old shells, such as /bin/sh from HP-UX 10.20 and ksh from the same system. Double quotes are not needed around reversed single quotes, but they can prevent $target_cpu from expansion on some old shells. 3) dpkg3.diff #include is necessary, because dpkg/enquiry.c uses ptrdiff_t which is defined there. It may be included from other files on other OS'es but not on HP-UX. Anyway, either stddef.h is included, directly or indirectly, or gcc reports an error. Unfortunately, above patches are not sufficient to compile dpkg on HP-UX. I simply don't have enough time to fix everything. By the way, it would be a good idea to provide a script which generates all necessary scripts. I mean something like following: ============================ #!/bin/sh aclocal -I automake libtoolize --automake --copy --force gettextize --copy --force autoheader automake --add-missing autoconf ============================ You could also add some checks whether required tools are present and are not too old. I don't think that dpkg is very useful on an HP-UX machine, but I need some experience with it before I install Debian Linux on my PC. Pavel Roskin ECsoft London, UK (See attached file: dpkg-diff.tgz) --0__=ZCp3HlPnJIhA5f3r9hijFxwG9eQ1N7G9gf1hLSGLRtJxEx03D86syLFY Content-type: application/octet-stream; name="dpkg-diff.tgz" Content-transfer-encoding: base64 H4sIANoVqjUAA+2Wa0+jQBSG/Sq/4iySeKlQhkur7NbUGNe9xJrUTfaDMXWEoZ2UAgvDqjH+950B qe1qNyZq3Q/zpIECcw7DObzvEKTjITICGoYrbwYyzVarBSsAgNpuuQfLqfYC10UALde1HNMx220+ CrVMcwXMt5vSA0XOcAawkmZJPqb/GkeyfBkTWi66rkPA3wEdGY5hGpbTxAVLJnhMmiwa+DhOYmPi GElGh6s/CgLH+AaQDWjHQ8hDO4B2d9tKo9F4RpLV4ySGb0VUxvNg20OOiN9Rul3QEdrdbkOj2nW7 CvROeoebCn89fJwT0HiOJGVAY3GquqYD8N4NCRv4adFRL8QUQNfTjMZMx5k/ooz4rMjIhao0njsW rL1mQH434yKKeBy/GQ2BkZyBqj1kUKEDqvoR2IiUE6qT44jivKONkvz+v7hIopwo793oBYg6WO+r f8SVP9U/alX6t2yp/2XwWP9+Eod0yJVg0LjS/Wkx1a2JPGfHs+1Fup8NntO74yHLM80HvdtIyL3c CrUD7B8Mjk+PBof9/kl/Q9evKBuVwoSM/CpoRnLAMcwpNcYTIhwipHwj5jEQl3PCOqp2K+LL4ztV qR5xwCYpVz6+GsO6hqDDFbw+I+l1FW6h9APQLLhbBy3P/IBmTZGE4cuospFpppckUmZc5VqrU5am cj3jKvcl+bnf722cFbEIBZbw540DyFPi05CSYL4m2mwduFvC9KbnolQkevK+HzrT4/vQehZlq0pn tmtj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