Hi,

Trying to configure ganglia-3.7.2 on “Oracle Solaris 11.3 SPARC”.

I’ve installed the prerequisites, APR, expat, pkg-config, python, pcre, rrdtool 
and I had thought libconfuse too.

Trying with the following commands to get a configured program ...

./configure
./configure -with-libconfuse=/usr/lib
./configure -with-libconfuse=/usr/lib/sparcv9
./configure CC=gcc --with-libconfuse=/usr/lib/sparcv9

However, all (./configure) attempts fail as such:
root@testbed:/var/tmp/Install/ganglia-3.7.2# ./configure
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... sparc-sun-solaris2.11
checking host system type... sparc-sun-solaris2.11
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 for style of include used by make... GNU
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 print strings... print -r
checking for a sed that does not truncate output... /usr/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking for fgrep... /usr/bin/ggrep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
checking the name lister (/usr/bin/nm -p) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786240
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert sparc-sun-solaris2.11 file names to 
sparc-sun-solaris2.11 format... func_convert_file_noop
checking how to convert sparc-sun-solaris2.11 file names to toolchain format... 
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... print -r --
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... failed
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -64) supports shared libraries... 
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a sed that does not truncate output... (cached) /usr/bin/gsed

Configuring libmetrics ...

checking for pthread_create in -lpthread... yes
checking for pthread_create in -lpthreads... no

Checking for python
checking for python... /usr/bin/python
checking Python version... 2.7
checking Python support... yes
checking Perl support... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes

Checking for apr
checking for APR... yes

Checking for libmemcached

Checking for confuse
checking for cfg_parse in -lconfuse... no
Trying harder including gettext
checking for cfg_parse in -lconfuse... no
Trying harder including iconv
checking for cfg_parse in -lconfuse... no
libconfuse not found

root@testbed:/var/tmp/Install/ganglia-3.7.2# find /usr -iname "*libconfuse*" -ls
192059   67 -r-xr-xr-x   1 root     bin         67432 May 18 14:40 
/usr/lib/sparcv9/libconfuse.so.0.0.0
193237    1 lrwxrwxrwx   1 root     root           21 May 18 14:40 
/usr/lib/sparcv9/libconfuse.so -> ./libconfuse.so.0.0.0
193239    1 lrwxrwxrwx   1 root     root           21 May 18 14:40 
/usr/lib/sparcv9/libconfuse.so.0 -> ./libconfuse.so.0.0.0
191686    1 -r--r--r--   1 root     bin           220 May 18 14:40 
/usr/lib/pkgconfig/libconfuse.pc
193236    1 lrwxrwxrwx   1 root     root           21 May 18 14:40 
/usr/lib/libconfuse.so -> ./libconfuse.so.0.0.0
192063   62 -r-xr-xr-x   1 root     bin         62856 May 18 14:40 
/usr/lib/libconfuse.so.0.0.0
193235    1 lrwxrwxrwx   1 root     root           21 May 18 14:40 
/usr/lib/libconfuse.so.0 -> ./libconfuse.so.0.0.0
191698    4 -r--r--r--   1 root     bin          3368 May 18 14:40 
/usr/share/doc/confuse/libconfuse.spec

I’m unable to locate the moment it seeks libconfuse to “work around it”.

I would love some assistance/guidance/you need to do this advice.

Cheers
Craig.
The information contained in this email and any attached files may be 
confidential information, and may also be the subject of legal professional 
privilege. If you are not the intended recipient any use, disclosure or copying 
of this email is unauthorised. If you have received this email in error, please 
notify the sender immediately by reply email and delete all copies of this 
transmission together with any attachments. Insitec Pty Ltd does not warrant 
that this email and any attachments are error or virus free and recommends that 
all attachments be checked for computer viruses.
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to