I've been trying all morning (about 5 hours now, heh) to get Ganglia 3.0.3 to compile on OpenBSD to no avail.

Here's the error it spits at me:

"./configure --prefix=/opt" ran without a hitch, but when I said make...

/bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc -I.. -I. -I../srclib/expat/lib/ -I../srclib/libmetrics/ -I../srclib/apr/include/ -I../srclib/apr/include/arch/unix/ -I../srclib/confuse/src -g -O2 -Wall -o libganglia.la -rpath /opt/lib -version-info 0:0:0 -release 3.0.3 -export-dynamic become_a_nobody.lo debug_msg.lo daemon_init.lo file.lo dotconf.lo error.lo ganglia.lo hash.lo inetaddr.lo llist.lo my_inet_ntop.lo rdwr.lo readdir.lo tcp.lo protocol_xdr.lo apr_net.lo libgmond.lo -lkvm -lresolv -lpthread

*** Warning: linker path does not have real file for library -lresolv.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libresolv and none of the candidates passed a file format test
*** using a regex pattern. Last file checked: /usr/lib//libresolv.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
/usr/bin/gcc -shared -fPIC -DPIC -o .libs/libganglia-3.0.3.so.0.0 .libs/become_a_nobody.o .libs/debug_msg.o .libs/daemon_init.o .libs/file.o .libs/dotconf.o .libs/error.o .libs/ganglia.o .libs/hash.o .libs/inetaddr.o .libs/llist.o .libs/my_inet_ntop.o .libs/rdwr.o .libs/readdir.o .libs/tcp.o .libs/protocol_xdr.o .libs/apr_net.o .libs/libgmond.o -lkvm -lpthread (cd .libs && rm -f libganglia.so.0.0 && ln -s libganglia-3.0.3.so.0.0 libganglia.so.0.0) ar cru .libs/libganglia.a become_a_nobody.o debug_msg.o daemon_init.o file.o dotconf.o error.o ganglia.o hash.o inetaddr.o llist.o my_inet_ntop.o rdwr.o readdir.o tcp.o protocol_xdr.o apr_net.o libgmond.o
ranlib .libs/libganglia.a
creating libganglia.la
(cd .libs && rm -f libganglia.la && ln -s ../libganglia.la libganglia.la)
Making all in srclib
Making all in libmetrics
make  all-recursive
Making all in unknown
/bin/sh: cd: /usr/src/ganglia-3.0.3/srclib/libmetrics/unknown - No such file or directory
*** Error code 1

Stop in /usr/src/ganglia-3.0.3/srclib/libmetrics (line 342 of Makefile).
*** Error code 1

Stop in /usr/src/ganglia-3.0.3/srclib/libmetrics (line 204 of Makefile).
*** Error code 1

Stop in /usr/src/ganglia-3.0.3/srclib (line 243 of Makefile).
*** Error code 1

Stop in /usr/src/ganglia-3.0.3 (line 332 of Makefile).
*** Error code 1

Stop in /usr/src/ganglia-3.0.3 (line 214 of Makefile).




This is on OpenBSD 3.8.

--
Jason Faulkner
Systems Manager
Broadwick Corporation
(919) 459-2509


Reply via email to