Subject: tnftpd on Linux and needing a yacc
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 04/02/2004 10:59:39
Using pkgsrc/net/tnftpd under Linux failed:

gcc -I. -I./.. -I. -I..  -I./../libnetbsd -DHAVE_TNFTPD_H=1 -g -s
-D_DEFAULT_CONFDIR=\"/etc\"  -c ftpd.c
yacc -d ftpcmd.y
bmake: exec(yacc) failed (No such file or directory)
*** Error code 1

bmake: stopped in

So I added:


And then "bmake clean" followed by bmake failed again:

yacc -d ftpcmd.y
gcc -I. -I./.. -I. -I..  -I./../libnetbsd -DHAVE_TNFTPD_H=1 -g -s
-D_DEFAULT_CONFDIR=\"/etc\"  -c -o ftpcmd.o
gcc: No such file or directory
gcc: no input files
*** Error code 1

I see your todo says:

  use @YACC@ explictly in src/, instead of the host yacc?
  or just nuke the AC_PROG_YACC stuff entirely?

It appears to be using /usr/share/mk/ and probably other
/usr/share/mk/*.mk files as installed from mk-files-1.3.2 package.

I have GNU bison 1.875 at /usr/bin/bison. (I could install byacc if
needed, but this bison should be good enough.)

Any ideas?

   Jeremy C. Reed