[Orca-users] Configuring and Compiling Troubles

Mark Goldenberg mgoldenb at mailhost.goldenberg-consulting.com
Wed Dec 4 09:52:01 PST 2002


I'm having problems configuring and compiling  orca-0.27b3.  I'm using  
Solaris 8, gcc 3.2 and perl 5.8.0.  The problem seems to be with  
configuring rddtool-1.0.40.

I don't seem to get any errors when I 'configure' orca-0.27b3, but I do  
get errors when I try to 'make' it.
checking for the C compiler perl wants to use to build its modules...  
./configure: test: unknown operator -B/usr/ccs/bin/
make[1]: *** [rrdtool-1.0.40/config.status] Error 1
make[1]: Leaving directory `/tmp/orca-0.27b3/packages'
make: *** [all] Error 1

Any help anyone could provide would be appreciated.

Here are the config.log files from both orca and rddtool:

orca-0.27b3/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52d.  Invocation command line was

   $ ./configure --with-html-dir=/var/apache/htdocs/orca

## --------- ##
## Platform. ##
## --------- ##

hostname = vsfsandbox
uname -m = sun4u
uname -r = 5.8
uname -s = SunOS
uname -v = Generic_108528-16

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = vsfsandbox
Release = 5.8
KernelID = Generic_108528-16
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

/bin/arch              = sun4
/usr/bin/arch -k       = sun4u
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH =  
/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin:/etc:/usr/ 
openwin/bin:/usr/5bin:/usr/ucb:/opt/VRTSvcs/bin:/usr/ccs/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:946: PATH=".;."; conftest.sh
./configure: conftest.sh: not found
configure:949: $? = 1
configure:989: checking build system type
configure:1007: result: sparc-sun-solaris2.8
configure:1014: checking host system type
configure:1028: result: sparc-sun-solaris2.8
configure:1035: checking target system type
configure:1049: result: sparc-sun-solaris2.8
configure:1296: checking for gcc
configure:1311: found /usr/local/bin/gcc
configure:1319: result: gcc
configure:1547: checking for C compiler version
configure:1550: gcc --version </dev/null >&5
gcc (GCC) 3.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is  
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR  
PURPOSE.

configure:1553: $? = 0
configure:1555: gcc -v </dev/null >&5
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as  
--with-ld=/usr/ccs/bin/ld --disable-nls
Thread model: posix
gcc version 3.2
configure:1558: $? = 0
configure:1560: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1563: $? = 1
configure:1589: checking for C compiler default output
configure:1592: gcc    conftest.c  >&5
configure:1595: $? = 0
configure:1624: result: a.out
configure:1629: checking whether the C compiler works
configure:1635: ./a.out
configure:1638: $? = 0
configure:1653: result: yes
configure:1660: checking whether we are cross compiling
configure:1662: result: no
configure:1665: checking for executable suffix
configure:1667: gcc -o conftest    conftest.c  >&5
configure:1670: $? = 0
configure:1692: result:
configure:1698: checking for object suffix
configure:1722: gcc -c   conftest.c >&5
configure:1725: $? = 0
configure:1744: result: o
configure:1748: checking whether we are using the GNU C compiler
configure:1775: gcc -c   conftest.c >&5
configure:1778: $? = 0
configure:1781: test -s conftest.o
configure:1784: $? = 0
configure:1796: result: yes
configure:1802: checking whether gcc accepts -g
configure:1826: gcc -c -g  conftest.c >&5
configure:1829: $? = 0
configure:1832: test -s conftest.o
configure:1835: $? = 0
configure:1845: result: yes
configure:1872: gcc -c -g -O2  conftest.c >&5
conftest.c:2: parse error before "me"
configure:1875: $? = 1
configure: failed program was:
#ifndef __cplusplus
   choke me
#endif
configure:1985: checking whether make sets ${MAKE}
configure:2005: result: yes
configure:2029: checking for bzip2
configure:2046: found /usr/bin/bzip2
configure:2057: result: /usr/bin/bzip2
configure:2066: checking for bunzip2
configure:2083: found /usr/bin/bunzip2
configure:2094: result: /usr/bin/bunzip2
configure:2103: checking for compress
configure:2120: found /usr/bin/compress
configure:2131: result: /usr/bin/compress
configure:2140: checking for cut
configure:2157: found /usr/bin/cut
configure:2169: result: /usr/bin/cut
configure:2178: checking for expr
configure:2195: found /usr/bin/expr
configure:2207: result: /usr/bin/expr
configure:2218: checking for gtar
configure:2249: result: no
configure:2218: checking for gnutar
configure:2249: result: no
configure:2218: checking for tar
configure:2235: found /usr/local/bin/tar
configure:2246: result: /usr/local/bin/tar
configure:2258: checking for gzip
configure:2275: found /usr/bin/gzip
configure:2286: result: /usr/bin/gzip
configure:2295: checking for gunzip
configure:2312: found /usr/bin/gunzip
configure:2323: result: /usr/bin/gunzip
configure:2334: checking for mawk
configure:2365: result: no
configure:2334: checking for gawk
configure:2365: result: no
configure:2334: checking for nawk
configure:2351: found /usr/bin/nawk
configure:2362: result: /usr/bin/nawk
configure:2375: checking for perl
configure:2392: found /usr/local/bin/perl
configure:2404: result: /usr/local/bin/perl
configure:2417: checking if '/usr/local/bin/perl' will run Perl scripts
configure:2428: result: yes
configure:2442: checking for pod2html
configure:2459: found /usr/local/bin/pod2html
configure:2471: result: /usr/local/bin/pod2html
configure:2480: checking for pod2man
configure:2497: found /usr/local/bin/pod2man
configure:2509: result: /usr/local/bin/pod2man
configure:2518: checking for pod2text
configure:2535: found /usr/local/bin/pod2text
configure:2547: result: /usr/local/bin/pod2text
configure:2558: checking for ps
configure:2575: found /usr/bin/ps
configure:2586: result: /usr/bin/ps
configure:2617: checking for ps command
configure:2619: result: /usr/bin/ps -p PID -o \'rss vsz pmem time user  
pid comm\'
configure:2625: checking for se
configure:2642: found /opt/RICHPse/bin/se
configure:2653: result: /opt/RICHPse/bin/se
configure:2662: checking for uname
configure:2679: found /sbin/uname
configure:2691: result: /sbin/uname
configure:2700: checking for uncompress
configure:2717: found /usr/bin/uncompress
configure:2728: result: /usr/bin/uncompress
configure:2773: checking if Perl module Data::Dumper version 2.101 is  
installed
configure:2782: result: yes
configure:2794: checking if Perl module Date::Parse version 2.24 is  
installed
configure:2803: result: no
configure:2815: checking if Perl module Digest::MD5 version 2.19 is  
installed
configure:2824: result: yes
configure:2836: checking if Perl module Math::Interpolate version 1.05  
is installed
configure:2845: result: yes
configure:2857: checking if Perl module RRDs version 1.000401 is  
installed
configure:2866: result: no
configure:2878: checking if Perl module Storable version 2.05 is  
installed
configure:2887: result: no
configure:2899: checking if Perl module Time::HiRes version 1.38 is  
installed
configure:2908: result: no
configure:3063: creating ./config.status

## --------------- ##
## Running $as_me. ##
## --------------- ##

This file was extended by config.status, which was
generated by GNU Autoconf 2.52d.  Invocation command line was

   CONFIG_FILES    =
   CONFIG_HEADERS  =
   CONFIG_LINKS    =
   CONFIG_COMMANDS =
   $

on vsfsandbox

config.status:3618: creating Makefile
config.status:3618: creating config/PerlHead1
config.status:3618: creating config/PerlHead2
config.status:3618: creating lib/Makefile
config.status:3618: creating packages/Makefile
config.status:3618: creating src/Makefile
config.status:3618: creating src/orca.pl
config.status:3618: creating orcallator/orcallator.cfg
config.status:3618: creating orcallator/orcallator_running.pl
config.status:3618: creating orcallator/restart_orcallator.sh
config.status:3618: creating orcallator/start_orcallator.sh
config.status:3618: creating orcallator/stop_orcallator.sh
config.status:3618: creating orcallator/S99orcallator.sh
config.status:3618: creating orcallator/Makefile
config.status:3618: creating docs/Makefile
config.status:3618: creating contrib/Makefile
config.status:3618: creating contrib/rotate_orca_graphs/Makefile
config.status:3618: creating  
contrib/rotate_orca_graphs/rotate_orca_graphs.sh
config.status:3618: creating contrib/orca_services/Makefile
config.status:3618: creating contrib/orca_services/orca_services.cfg
config.status:3618: creating contrib/orca_services/orca_services.pl
config.status:3618: creating  
contrib/orca_services/orca_services_running.pl
config.status:3618: creating  
contrib/orca_services/restart_orca_services.sh
config.status:3618: creating  
contrib/orca_services/start_orca_services.sh
config.status:3618: creating contrib/orca_services/stop_orca_services.sh
config.status:3618: creating contrib/orca_services/S99orca_services.sh
configure:3727: result:  just kidding ;-)
configure:3733: WARNING: *** Unless you use a --with-*-log option  
orcallator will not gather WWW log data.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build='sparc-sun-solaris2.8'
ac_cv_build_alias='sparc-sun-solaris2.8'
ac_cv_c_compiler_gnu='yes'
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_host='sparc-sun-solaris2.8'
ac_cv_host_alias='sparc-sun-solaris2.8'
ac_cv_objext='o'
ac_cv_path_AWK='/usr/bin/nawk'
ac_cv_path_BUNZIP2='/usr/bin/bunzip2'
ac_cv_path_BZIP2='/usr/bin/bzip2'
ac_cv_path_COMPRESS='/usr/bin/compress'
ac_cv_path_CUT='/usr/bin/cut'
ac_cv_path_EXPR='/usr/bin/expr'
ac_cv_path_GUNZIP='/usr/bin/gunzip'
ac_cv_path_GZIP='/usr/bin/gzip'
ac_cv_path_PERL='/usr/local/bin/perl'
ac_cv_path_POD2HTML='/usr/local/bin/pod2html'
ac_cv_path_POD2MAN='/usr/local/bin/pod2man'
ac_cv_path_POD2TEXT='/usr/local/bin/pod2text'
ac_cv_path_PS='/usr/bin/ps'
ac_cv_path_SE='/opt/RICHPse/bin/se'
ac_cv_path_TAR='/usr/local/bin/tar'
ac_cv_path_UNAME='/sbin/uname'
ac_cv_path_UNCOMPRESS='/usr/bin/uncompress'
ac_cv_prog_ac_ct_CC='gcc'
ac_cv_prog_cc_g='yes'
ac_cv_prog_make_make_set='yes'
ac_cv_target='sparc-sun-solaris2.8'
ac_cv_target_alias='sparc-sun-solaris2.8'
orca_cv_perl_data_dumper='yes'
orca_cv_perl_date_parse='no'
orca_cv_perl_digest_md5='yes'
orca_cv_perl_math_interpolate='yes'
orca_cv_perl_rrds='no'
orca_cv_perl_storable='no'
orca_cv_perl_time_hires='no'

## ----------- ##
## confdefs.h. ##
## ----------- ##


configure: exit 0

rrdtool-1.0.40/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:590: checking host system type
configure:611: checking target system type
configure:629: checking build system type
configure:664: checking for a BSD compatible install
configure:717: checking whether build environment is sane
configure:774: checking whether make sets ${MAKE}
configure:820: checking for working aclocal
configure:833: checking for working autoconf
configure:846: checking for working automake
configure:859: checking for working autoheader
configure:872: checking for working makeinfo
configure:909: checking for perl
configure:947: checking for shared library extension
configure:951: checking for the C compiler perl wants to use to build  
its modules




More information about the Orca-users mailing list