Mantis - MyDNS-NG
Viewing Issue Advanced Details
55 Global minor always 2010-05-12 17:31 2010-11-09 19:43
0000055: make blows up on building mydns info files blows up on older platforms
Historically, info files were not built as part of the mydns-1.1.0 build.
The current mydns-ng binaries seem to work fine on older platforms however by default the current source tree will not build properly because the info file is now built by default and seems to be dependant on something configure is not checking for.

The attached patch disables creation of info files and allows the build to complete properly (with only man pages) on older platforms. I'm sure there are cleaner ways of doing this but at least posting this will allow legacy builders to try current mydns-ng code.
The build process without the patch will fail as follows:

Making all in doc
make[2]: Entering directory `/home/src/foo/mydns-1.2.8/doc'
restore=: && backupdir=".am$$" && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /usr/src/foo/mydns-1.2.8/missing --run makeinfo --version) >/dev/null 2>&1; then \
  for f in[0-9][0-9][0-9] mydns.i[0-9] mydns.i[0-9][0-9]; do \
    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
if /bin/sh /usr/src/foo/mydns-1.2.8/missing --run makeinfo -I . \
 -o `test -f 'mydns.texi' || echo './'`mydns.texi; \
then \
  rc=0; \
else \
  rc=$?; \
  $restore $backupdir/* `echo "./" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
mydns.texi:11: Unknown command `copying'.
mydns.texi:24: Unmatched `@end'.
./server.texi:222: warning: `.' or `,' must follow cross reference, not @.
makeinfo: Removing output file `' due to errors; use --force to preserve.
make[2]: *** [] Error 1
make[2]: Leaving directory `/home/src/foo/mydns-1.2.8/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/src/foo/mydns-1.2.8'
make: *** [all] Error 2
? file icon mydns- [^] (411 bytes) 2010-05-12 17:31
Issue History
2010-05-12 17:31 rhardy New Issue
2010-05-12 17:31 rhardy File Added: mydns-
2010-11-09 19:43 itamarjp Note Added: 0000176

2010-11-09 19:43   
can't accept your patch, because it doesn`t fix the problem.
may be I should use ac_check_prog(makeinfo) ?