Error while run configure SCO OpenServer 6

Started by prasert, September 16, 2016, 05:14:28 AM

Previous topic - Next topic

prasert

I have problem when I run sh ./configure --with-agent on SCO OpenServer. The message shown me following

# sh ./configure --with-agent
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... no
usage: rm [-fiRr] file...
Oops!

Your 'rm' program seems unable to run without file operands specified
on the command line, even when the '-f' option is present.  This is contrary
to the behaviour of most rm programs out there, and not conforming with
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>

Please tell [email protected] about your system, including the value
of your $PATH and any error possibly output before this message.  This
can help us improve future automake versions.

Aborting the configuration process, to ensure you take notice of the issue.

You can download and install GNU coreutils to get an 'rm' implementation
that behaves properly: <http://www.gnu.org/software/coreutils/>.

If you want to complete the configuration process using your problematic
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
to "yes", and re-run configure.

configure: error: Your 'rm' program is bad, sorry.

Please to everybody who can help me on this.
Thank you in advance.

Victor Kirhenshtein

Hi,

just try to follow instruction from configure and run it as

ACCEPT_INFERIOR_RM_PROGRAM=yes ./configure --with-agent

Best regards,
Victor

prasert

Hello again,

Thank you for your suggestion and the command running as well but I facing another problem following

# ACCEPT_INFERIOR_RM_PROGRAM=yes ./configure --with-agent
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... no
usage: rm [-fiRr] file...
Oops!

Your 'rm' program seems unable to run without file operands specified
on the command line, even when the '-f' option is present.  This is contrary
to the behaviour of most rm programs out there, and not conforming with
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>

Please tell [email protected] about your system, including the value
of your $PATH and any error possibly output before this message.  This
can help us improve future automake versions.

Configuration will proceed anyway, since you have set the
ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"

checking whether make supports nested variables... (cached) no
checking for gcc... no
checking for cc... cc
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... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for g++... no
configure: error: *** FATAL: Cannot find any usable C++ compiler
#

Thank you in advance.

Victor Kirhenshtein

Hi,

you need C++ compiler to build NetXMS agent. Try to install one.

Best regards,
Victor