qmailanalog compiling problem
Ok, I thought I'd take a gander at the qmailanalog utility from DJB's website. Downloaded it and de-tar'd/gunzip'd it. Read the README and INSTALL files. Ran "make" and get the following error message. ---Error Message start--- [root@black qmailanalog-0.70]# make ./compile error.c In file included from /usr/include/errno.h:36, from error.c:1: /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory make: *** [error.o] Error 1 ---Error Message stop--- I beleive I've got all the development stuff installed but this looks like a missing library or some such type file. I have "/usr/include/errno.h" and "/usr/include/error.h" files on the system. I've looked through the files in the package and checked the mailing list archive but can't seem to locate any advice on this one on my own. Anyone know what will fix this? I've looked around and don't Stephen Berg //-USAF Instructor -/- Reluctant NT User -/- Web Designer-// //- Home = [EMAIL PROTECTED] -// //- Work = [EMAIL PROTECTED] -// //- http://iceberg.3c0x1.com/ -/- http://www.3c0x1.com -//
Re: qmailanalog compiling problem
On Thu, Sep 14, 2000 at 06:23:41PM -0500, Stephen Berg wrote: > /usr/include/bits/errno.h:25: linux/errno.h: No such file or > directory I believe errno.h is part of the kernel source tree. I'm going to guess that you are using RedHat and did not install the kernel-devel package, which includes all the kernel header files... Do that and you should be good to go. Ben -- Ben Beuchler [EMAIL PROTECTED] MAILER-DAEMON (612) 321-9290 x101 Bitstream Underground www.bitstream.net
Re: qmailanalog compiling problem
Ok, take a look here and see if I'm missing something. I'm pretty sure I got all the packages necessary to do this sort of thing. [root@black qmailanalog-0.70]# rpm -qa | grep -i kernel kernel-utils-2.2.14-5.0 kernelcfg-0.5-5 kernel-pcmcia-cs-2.2.14-5.0 kernel-ibcs-2.2.16-3 kernel-2.2.16-3 kernel-2.2.14-5.0 kernel-pcmcia-cs-2.2.16-3 kernel-headers-2.2.16-3 kernel-source-2.2.16-3 I'm running RedHat 6.2. On Thu, 14 Sep 2000 18:30:14 -0500, Ben Beuchler wrote: >I believe errno.h is part of the kernel source tree. I'm going to guess >that you are using RedHat and did not install the kernel-devel package, >which includes all the kernel header files... > >Do that and you should be good to go. Stephen Berg //-USAF Instructor -/- Reluctant NT User -/- Web Designer-// //- Home = [EMAIL PROTECTED] -// //- Work = [EMAIL PROTECTED] -// //- http://iceberg.3c0x1.com/ -/- http://www.3c0x1.com -//
Re: qmailanalog compiling problem
also sprach sberg: > Ok, take a look here and see if I'm missing something. I'm pretty > sure I got all the packages necessary to do this sort of thing. > > [root@black qmailanalog-0.70]# rpm -qa | grep -i kernel > kernel-utils-2.2.14-5.0 > kernelcfg-0.5-5 > kernel-pcmcia-cs-2.2.14-5.0 > kernel-ibcs-2.2.16-3 > kernel-2.2.16-3 > kernel-2.2.14-5.0 > kernel-pcmcia-cs-2.2.16-3 > kernel-headers-2.2.16-3 > kernel-source-2.2.16-3 If you installed kernel-headers before kernel-source (which makes sense, since kernel-headers is a prereq for kernel-source), you broke the symlinks. Do a ``rpm -Uhv --force kernel-headers-2.2.16-3.i386.rpm'' and the symlinks magically reappear. This is a (RedHat) bug, not a feature. /pg -- Peter Green : Gospel Communications Network, SysAdmin : [EMAIL PROTECTED] --- > I'm an idiot.. At least this [bug] took about 5 minutes to find.. Disquieting ... (Gonzalo Tornaria in response to Linus Torvalds's mailing about a kernel bug.)
Re: qmailanalog compiling problem
On Thu, Sep 14, 2000 at 06:42:20PM -0500, Stephen Berg wrote: > >I believe errno.h is part of the kernel source tree. I'm going to guess > >that you are using RedHat and did not install the kernel-devel package, > >which includes all the kernel header files... [foo@sol pelle]$ rpm -qf /usr/include/sys/errno.h [and other places] glibc-devel-2.1.2-11 [foo@sol pelle]$ rpm -qf /usr/lib/bcc/include/errno.h dev86-0.14.9-1 -Johan -- Johan Almqvist
Re: qmailanalog compiling problem
On Thu, 14 Sep 2000 19:47:40 -0400, Peter Green wrote: >If you installed kernel-headers before kernel-source (which makes sense, >since kernel-headers is a prereq for kernel-source), you broke the symlinks. >Do a ``rpm -Uhv --force kernel-headers-2.2.16-3.i386.rpm'' and the symlinks >magically reappear. Way cool, that did the trick. Thanks much. Problem solved. >This is a (RedHat) bug, not a feature. I was always told a feature was a bug with seniority. :-) Stephen Berg //-USAF Instructor -/- Reluctant NT User -/- Web Designer-// //- Home = [EMAIL PROTECTED] -// //- Work = [EMAIL PROTECTED] -// //- http://iceberg.3c0x1.com/ -/- http://www.3c0x1.com -//