WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tc 11.1 make tiny proxy error  (Read 2344 times)

Offline pxysea

  • Newbie
  • *
  • Posts: 3
tc 11.1 make tiny proxy error
« on: April 17, 2020, 12:52:24 PM »
hi:
make tiny proxy error.

make[3]: Entering directory '/home/tc/tinyproxy/docs/man5'
*** a2x (asciidoc) is required to regenerate tinyproxy.conf.5 ***

thanks!

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11624
Re: tc 11.1 make tiny proxy error
« Reply #1 on: April 17, 2020, 01:11:38 PM »
Hi pxysea
Did you first run:
Code: [Select]
./configure

Offline pxysea

  • Newbie
  • *
  • Posts: 3
Re: tc 11.1 make tiny proxy error
« Reply #2 on: April 17, 2020, 07:58:20 PM »
hi:
Run ./autogen.sh result:

Code: [Select]
tc@box:~/tinyproxy$ ./autogen.sh
+ cd .
+ aclocal -I m4macros
+ autoheader
+ automake --gnu --add-missing
+ autoconf
+ cd /home/tc/tinyproxy
+ set -
./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/local/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for socket in -lsocket... no
checking for htonl in -lsocket... no
checking for yp_get_default_domain... no
checking for gethostname in -lnsl... yes
checking for inet_aton in -lresolv... yes
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for memory.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sy.its.h usability... yes
checking sy.its.h presence... yes
checking for sy.its.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking whether lstat correctly handles trailing slash... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for inet_ntoa... yes
checking for strdup... yes
checking for strlcpy... no
checking for strlcat... no
checking for setgroups... yes
checking to see if compiler understands -fdiagnostics-show-option... yes
checking to see if compiler understands -Wall... yes
checking to see if compiler understands -Wextra... yes
checking to see if compiler understands -Wno-unused-parameter... yes
checking to see if compiler understands -Wmissing-prototypes... yes
checking to see if compiler understands -Wstrict-prototypes... yes
checking to see if compiler understands -Wmissing-declarations... yes
checking to see if compiler understands -Wfloat-equal... yes
checking to see if compiler understands -Wundef... yes
checking to see if compiler understands -Wformat=2... yes
checking to see if compiler understands -Wlogical-op... yes
checking to see if compiler understands -Wmissing-include-dirs... yes
checking to see if compiler understands -Wformat-nonliteral... yes
checking to see if compiler understands -Wold-style-definition... yes
checking to see if compiler understands -Wpointer-arith... yes
checking to see if compiler understands -Waggregate-return... yes
checking to see if compiler understands -Winit-self... yes
checking to see if compiler understands -Wpacked... yes
checking to see if compiler understands --std=c89... yes
checking to see if compiler understands -ansi... yes
checking to see if compiler understands -Wno-overlength-strings... yes
checking to see if compiler understands -Wno-long-long... yes
checking to see if compiler understands -Wno-overlength-strings... yes
checking to see if compiler understands -Wdeclaration-after-statement... yes
checking to see if compiler understands -Wredundant-decls... yes
checking to see if compiler understands -Wmissing-noreturn... yes
checking to see if compiler understands -Wshadow... yes
checking to see if compiler understands -Wendif-labels... yes
checking to see if compiler understands -Wcast-qual... yes
checking to see if compiler understands -Wcast-align... yes
checking to see if compiler understands -Wwrite-strings... yes
checking to see if compiler understands -Wp,-D_FORTIFY_SOURCE=2... yes
checking to see if compiler understands -fno-common... yes
checking to see if linker understands -z,defs... yes
checking for xsltproc... no
checking for a2x... no
checking for xmllint... /usr/local/bin/xmllint
testing xmllint... failed
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating data/templates/Makefile
config.status: creating etc/Makefile
config.status: creating docs/Makefile
config.status: creating docs/man5/Makefile
config.status: creating docs/man5/tinyproxy.conf.txt
config.status: creating docs/man8/Makefile
config.status: creating docs/man8/tinyproxy.txt
config.status: creating m4macros/Makefile
config.status: creating tests/Makefile
config.status: creating tests/scripts/Makefile
config.status: creating scripts/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Now type 'make' to compile Tinyproxy.
tc@box:~/tinyproxy$
Run make error result:
Code: [Select]
tc@box:~/tinyproxy$ make
make  all-recursive
make[1]: Entering directory '/home/tc/tinyproxy'
Making all in src
make[2]: Entering directory '/home/tc/tinyproxy/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/tc/tinyproxy/src'
Making all in data
make[2]: Entering directory '/home/tc/tinyproxy/data'
Making all in templates
make[3]: Entering directory '/home/tc/tinyproxy/data/templates'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/tc/tinyproxy/data/templates'
make[3]: Entering directory '/home/tc/tinyproxy/data'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/tc/tinyproxy/data'
make[2]: Leaving directory '/home/tc/tinyproxy/data'
Making all in etc
make[2]: Entering directory '/home/tc/tinyproxy/etc'
  GEN      tinyproxy.conf
make[2]: Leaving directory '/home/tc/tinyproxy/etc'
Making all in docs
make[2]: Entering directory '/home/tc/tinyproxy/docs'
Making all in man5
make[3]: Entering directory '/home/tc/tinyproxy/docs/man5'
*** a2x (asciidoc) is required to regenerate tinyproxy.conf.5 ***
make[3]: *** [Makefile:519: tinyproxy.conf.5] Error 1
make[3]: Leaving directory '/home/tc/tinyproxy/docs/man5'
make[2]: *** [Makefile:338: all-recursive] Error 1
make[2]: Leaving directory '/home/tc/tinyproxy/docs'
make[1]: *** [Makefile:447: all-recursive] Error 1
make[1]: Leaving directory '/home/tc/tinyproxy'
make: *** [Makefile:367: all] Error 2
tc@box:~/tinyproxy$


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11624
Re: tc 11.1 make tiny proxy error
« Reply #3 on: April 17, 2020, 09:55:09 PM »
Hi pxysea
After you run  ./configure  open the  Makefile  with an editor. Find this section:
Code: [Select]
SUBDIRS = \
src \
data \
etc \
docs \
m4macros \
tests \
scripts

Remove this line:
Code: [Select]
docs \
The  make  command should now complete without errors.

Offline pxysea

  • Newbie
  • *
  • Posts: 3
Re: tc 11.1 make tiny proxy error
« Reply #4 on: April 17, 2020, 11:44:48 PM »

Thanks, it has been successfully compiled.
 :) :)


Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11624
Re: tc 11.1 make tiny proxy error
« Reply #5 on: April 18, 2020, 12:26:12 AM »
Hi pxysea
Glad to hear it worked. Thank you for the feedback.