[nas] Project.tmpl ???

Jon Trulson jon at radscan.com
Fri Mar 22 18:00:48 MST 2002


On Fri, 22 Mar 2002 jojo.lechelt at web.de wrote:

> Date: Fri, 22 Mar 2002 12:06:51 +0100 (CET)
> From: jojo.lechelt at web.de
> To: jon at radscan.com
> Cc: nas at radscan.com
> Subject: Re: [nas] Project.tmpl ???
> 
> > 
> > 	I have not seen this Project.tmpl on any of my machines
> > either... I don't think it is supposed to be there.  What happens if you
> > comment it out?
> > 
> If I do this, the following happens:
> 
> 1) 
>   lfs-root:/usr/src/Sound/nas-1.5# xmkmf 
>   mv -f Makefile Makefile.bak
>   imake -DUseInstalled -I/usr/X11R6/lib/X11/config
>   lfs-root:/usr/src/Sound/nas-1.5# make
>   Makefile:343: *** missing separator.  Stop.
> 
>   Makefile (line 343 is the one with InstallLinkKit...):  
> ----------------------------------------------------------------
>   install.man::
>         @for flag in ${MAKEFLAGS} ''; do \
>         case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
>         for i in $(SUBDIRS) ;\
>         do \
>         echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \
>         $(MAKE) -C $$i $(MFLAGS) $(PARALLELMFLAGS) DESTDIR=$(DESTDIR) install.man; \
>         done
> InstallLinkKitSubdirs($(SUBDIRS))

	Interesting... I think this (the 'link kit') is only useful when
building XFree servers... 

> 
> clean::
> ----------------------------------------------------------------
> 
> 2) I tried to delete this line 343 and got:
> 
> ----------------------------------------------------------------
> lfs-root:/usr/src/Sound/nas-1.5# make World
> 
> Building Network Audio System sample implementation
> 
> Fre Mär 22 12:02:58 CET 2002
> 
> make  Makefiles
> make[1]: Entering directory `/usr/src/Sound/nas-1.5'
> making Makefiles in include...
>         mv Makefile Makefile.bak
> make[2]: Entering directory `/usr/src/Sound/nas-1.5'
> Imakefile.c:32: Imake.tmpl: No such file or directory
> imake: Exit code 1.
>   Stop.
> make[2]: *** [include/Makefile] Error 1
> make[2]: Leaving directory `/usr/src/Sound/nas-1.5'
> make[1]: [Makefiles] Error 2 (ignored)
> make[1]: Leaving directory `/usr/src/Sound/nas-1.5'
> make  clean
> make[1]: Entering directory `/usr/src/Sound/nas-1.5'
> rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut  "#"*
> cleaning in ./include...
> make[2]: Entering directory `/usr/src/Sound/nas-1.5/include'
> make[2]: *** No rule to make target `clean'.  Stop.
> make[2]: Leaving directory `/usr/src/Sound/nas-1.5/include'
> make[1]: *** [clean] Error 2
> make[1]: Leaving directory `/usr/src/Sound/nas-1.5'
> make: *** [World] Error 2
> -----------------------------------------------------------------
> But the file Imake.tmpl exists. I don't know, which Imakefile.c:32: 
> can't find it, because there is no Imakefile.c in the projectdir.
> 
	Instead of the initial 'xmkmf', try:

	imake -DUseInstalled -I/usr/X11R6/lib/X11/config

	then:

	make Makefiles
	make clean
	make includes
	make depend
	make


	It really sounds like your OS vendor kind-of screwed up your X
build environment though...  The above steps may not work.  Anybody else
seen this on a linux box?  I've built NAS on several, and not seen this
before.


-- 
Jon Trulson    mailto:jon at radscan.com
ID: 1A9A2B09, FP: C23F328A721264E7 B6188192EC733962
PGP keys at http://radscan.com/~jon/PGPKeys.txt
#include <std/disclaimer.h>
Bad Color Temperature, Too much Peach.




More information about the Nas mailing list