RE: 'Radiusd' executable does not 'make' in Cygnus (XP) for radius-1.3
"D Saban" <[email protected]>
| Newsgroups | gmane.comp.gnu.radius.general |
|---|---|
| Message-ID | <000001c4f26a$e0e07c80$e239a8c0@DAN> |
Hello Sergey I found a workaround - here it is. UPDATE the line (in the radiusd/Makefile) that follows: sbin_PROGRAMS = radiusd TO sbin_PROGRAMS = radiusd.exe This will cause make to include the appropriate -I flags when executing gcc. I had already figured that 'make' was not doing its thing. But I was still confused about the Makefile execution, particularly because its general structure and layout was similar to the other Makefiles in the distribution. I have not played with Makefiles for ... a very long time, so I had to remove the dust and cobwebs from my grey matter before tracking down the Makefile anomaly. I started with the assumption that the 'all:' directive was faulty (thanks to your hint about the missing -I flags). This naturally lead me to: all-am: Makefile $(PROGRAMS) $(LISP) which followed to: PROGRAMS = $(sbin_PROGRAMS) which followed to the updating of the 'sbin_PROGRAMS' label. Basically the unfolding of the all-am: directive was not similar to thoses in the other make files. This leads me to believe that some fault is at large in the configure file that produces the radiusd/Makefile. But I'm not going to track that problem down - too many cobwebs. Thanks for your help. Dan Saban -----Original Message----- From: Sergey Poznyakoff [mailto:[email protected]] Sent: 28 December 2004 06:11 PM To: D Saban Cc: [email protected] Subject: Re: [Help-gnu-radius] 'Radiusd' executable does not 'make' in Cygnus (XP) for radius-1.3 D Saban <[email protected]> wrote: > I have successfully configured radius-1.3 (using ./configure). However > when making radius-1.3 I get the following listing (below) of errors As shows the excerpt below, the gcc invocation is missing -I flags: > make[3]: Entering directory `/home/DanSaban/radius-1.3/radiusd' > gcc -g -O2 radiusd.c -o radiusd The error is critical, without proper -I settings gcc will not be able to find any of radius include files. Possible reasons for this behavior are: (i) malfunction of configure or (ii) malfunction of make under cygwin. I'm quite surprised that other utilities have succeeded to build, since this implies that other Makefiles have correct options to gcc. Try reconfiguring the package. If this does not help, try copying `INCLUDE=' line from any Makefile that has succeeded to build to radiusd/Makefile. Regards, Sergey --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.823 / Virus Database: 561 - Release Date: 2004/12/26 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.823 / Virus Database: 561 - Release Date: 2004/12/26