issdr brought next idea :
> ,----[ /etc/profile ]
>> #/etc/profile: system-wide .profile file for ash.
>>
>> umask 022
>>
>> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/opt/sbin:/opt/bin
>> export PATH
> [...]
> `----
>
> :/$ source /etc/profile
> :/$ sudo -s
> Password:
> sh-4.3# ipkg install make gcc gawk pcre pcre-dev tcpwrappers
A me il prompt della shell ash-4.3#, ma per il resto ok.
configure dà WARNING per la variabile sysconfdir.
Anche il gruppo news in effetti manca in /etc/group
C'è in /etc/passwd l'utente news che avevo aggiunto con sudo adduser -D
-s /bin/true -h /var/spool/news news
ash-4.3# ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none
needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 inline... inline
checking for working volatile... yes
checking for ranlib... ranlib
checking whether make sets $(MAKE)... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... (cached) ranlib
checking for a sed that does not truncate output... /bin/sed
checking for ar... ar
checking for strip... strip
checking for rpm... no
checking for id... /usr/bin/id
checking whether AI_ADDRCONFIG is declared... yes
configure: WARNING: ***
configure: WARNING: *** overriding sysconfdir to /etc/leafnode
configure: WARNING: *** use --sysconfdir to fix
configure: WARNING: *** use --sysconfdir='$prefix/etc' to get default
autoconf behaviour
configure: WARNING: ***
checking spooldir... /var/spool/news
checking lockfile... /var/spool/news/leaf.node/lock.file
checking for mode_t... yes
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for system include files... yes
checking whether time.h and sys/time.h may both be included... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for strings.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for net/if.h... yes
checking for netinet/in.h... yes
checking for net/if_var.h... no
checking for netinet/in_var.h... no
checking for socklen_t... yes
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_gmtoff... yes
checking size of long... 4
checking size of time_t... 4
checking user... news
checking group... news
configure: WARNING: Group "news" does not exist.
checking for pcre-config... /opt/bin/pcre-config
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for pcre_compile in -lpcre... yes
checking for BSD4.2 syslog... no
checking for strftime... yes
checking for setgid... yes
checking for setuid... yes
checking for getifaddrs... yes
checking for lstat... yes
checking for getline... yes
checking for strdup... yes
checking for mkstemp... yes
checking for strlcpy... no
checking for timegm... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking if your system's snprintf works... yes
checking for library containing gethostent... none required
checking for library containing setsockopt... none required
checking for library containing syslog... none required
checking if your sockaddr has sa_len... no
checking if your system supports SIOCGIFALIAS... no
checking if gcc is really Intel C++... no
checking for some good GCC flags... -Wall -W -Wextra
-Wstrict-prototypes -Wwrite-strings -Wno-unused-result
checking rpm build dir... none
checking for tcpserver... none
checking for argv0... none
checking for tcpd... none
configure: creating ./config.status
config.status: creating subst
config.status: creating leafnode.spec
config.status: creating Makefile
config.status: creating doc_german/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
*** leafnode 1.11.12 is now configured and prepared to be compiled.
*** to compile, type 'make' (without the quotes)
*** to run some tests, type 'make check' (without the quotes)
*** to install, type 'make install' as root (without the quotes)
configure: WARNING: Review the warnings given above and check if you
need to fix
configure: WARNING: the situation that caused the warning