× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Compiling on ReadyNas DUO

lachris
Aspirant

Compiling on ReadyNas DUO

hi,

I want to configure rrdtool 1.2.19 on my readynas duo. I installed all libs that are needed, so far as I read here in the forum.
So I download that program, type

#./configure --build=sparc-linux

and I get the following:

Netgear:/c/Secure/NASDevelop/rrdtool-1.2.19# ./configure --build=sparc-linux
checking build system type... sparc-unknown-linux-gnu
checking host system type... sparc-unknown-linux-gnu
checking target system type... sparc-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes

Audit Compilation Environment
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.


The config log says:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by rrdtool configure 1.2.19, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure --build=sparc-linux

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

hostname = Netgear
uname -m = padre
uname -r = 2.6.17.14ReadyNAS
uname -s = Linux
uname -v = #1 Thu Sep 1 17:44:33 PDT 2011

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

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

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11


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

configure:1602: checking build system type
configure:1620: result: sparc-unknown-linux-gnu
configure:1628: checking host system type
configure:1642: result: sparc-unknown-linux-gnu
configure:1650: checking target system type
configure:1664: result: sparc-unknown-linux-gnu
configure:1692: checking for a BSD-compatible install
configure:1747: result: /usr/bin/install -c
configure:1758: checking whether build environment is sane
configure:1801: result: yes
configure:1866: checking for gawk
configure:1895: result: no
configure:1866: checking for mawk
configure:1882: found /usr/bin/mawk
configure:1892: result: mawk
configure:1902: checking whether make sets $(MAKE)
configure:1922: result: yes
configure:2175: result:
configure:2177: result: Audit Compilation Environment
configure:2228: checking for gcc
configure:2244: found /usr/bin/gcc
configure:2254: result: gcc
configure:2498: checking for C compiler version
configure:2501: gcc --version </dev/null >&5
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
Copyright (C) 2003 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:2504: $? = 0
configure:2506: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/sparc-linux/3.3.5/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --with-cpu=v7 --enable-objc-gc sparc-linux
Thread model: posix
gcc version 3.3.5 (Debian 1:3.3.5-13)
configure:2509: $? = 0
configure:2511: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2514: $? = 1
configure:2537: checking for C compiler default output file name
configure:2540: gcc conftest.c >&5
/usr/bin/ld:/usr/sparc-linux/lib/libc.so.6: file format not recognized; treating as linker script
/usr/bin/ld:/usr/sparc-linux/lib/libc.so.6:1: parse error
collect2: ld returned 1 exit status
configure:2543: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "rrdtool"
| #define PACKAGE_TARNAME "rrdtool"
| #define PACKAGE_VERSION "1.2.19"
| #define PACKAGE_STRING "rrdtool 1.2.19"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "rrdtool"
| #define VERSION "1.2.19"
| #define RRDGRAPH_YLEGEND_ANGLE 90.0
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2582: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=sparc-unknown-linux-gnu
ac_cv_build_alias=sparc-linux
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_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PERLCCFLAGS_set=
ac_cv_env_PERLCCFLAGS_value=
ac_cv_env_PERLCC_set=
ac_cv_env_PERLCC_value=
ac_cv_env_PERLLDFLAGS_set=
ac_cv_env_PERLLDFLAGS_value=
ac_cv_env_PERLLD_set=
ac_cv_env_PERLLD_value=
ac_cv_env_RRDDOCDIR_set=
ac_cv_env_RRDDOCDIR_value=
ac_cv_env_RRDGRAPH_YLEGEND_ANGLE_set=
ac_cv_env_RRDGRAPH_YLEGEND_ANGLE_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=sparc-linux
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-unknown-linux-gnu
ac_cv_host_alias=sparc-linux
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=sparc-unknown-linux-gnu
ac_cv_target_alias=sparc-linux

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /c/Secure/NASDevelop/rrdtool-1.2.19/missing --run aclocal-1.9'
ALL_LIBS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /c/Secure/NASDevelop/rrdtool-1.2.19/missing --run tar'
AR=''
AUTOCONF='${SHELL} /c/Secure/NASDevelop/rrdtool-1.2.19/missing --run autoconf'
AUTOHEADER='${SHELL} /c/Secure/NASDevelop/rrdtool-1.2.19/missing --run autoheader'
AUTOMAKE='${SHELL} /c/Secure/NASDevelop/rrdtool-1.2.19/missing --run automake-1.9'
AWK='mawk'
BUILD_MULTITHREAD_FALSE=''
BUILD_MULTITHREAD_TRUE=''
BUILD_PYTHON_FALSE=''
BUILD_PYTHON_TRUE=''
BUILD_RRDCGI_FALSE=''
BUILD_RRDCGI_TRUE=''
BUILD_TCL_FALSE=''
BUILD_TCL_SITE_FALSE=''
BUILD_TCL_SITE_TRUE=''
BUILD_TCL_TRUE=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
COMP_PERL=''
COMP_RUBY=''
CORE_LIBS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /c/Secure/NASDevelop/rrdtool-1.2.19/missing --run makeinfo'
MULTITHREAD_CFLAGS=''
MULTITHREAD_LDFLAGS=''
NROFF=''
NUMVERS='1.2019'
OBJEXT=''
PACKAGE='rrdtool'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='rrdtool'
PACKAGE_STRING='rrdtool 1.2.19'
PACKAGE_TARNAME='rrdtool'
PACKAGE_VERSION='1.2.19'
PATH_SEPARATOR=':'
PERL=''
PERLCC=''
PERLCCFLAGS=''
PERLFLAGS=''
PERLLD=''
PERLLDFLAGS=''
PERL_CC=''
PERL_MAKE_OPTIONS=''
PERL_VERSION=''
PKGCONFIG=''
PTHREAD_CC=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
PYTHON=''
PYTHON_EXEC_PREFIX=''
PYTHON_INCLUDES=''
PYTHON_PLATFORM=''
PYTHON_PREFIX=''
PYTHON_VERSION=''
RANLIB=''
RRDDOCDIR=''
RRDGRAPH_YLEGEND_ANGLE=''
RRD_DEFAULT_FONT='$(fontsdir)/$(fonts_DATA)'
RUBY=''
RUBY_MAKE_OPTIONS=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TCL_LD_SEARCH_FLAGS=''
TCL_PACKAGE_DIR=''
TCL_PACKAGE_PATH=''
TCL_PREFIX=''
TCL_SHLIB_CFLAGS=''
TCL_SHLIB_LD=''
TCL_SHLIB_SUFFIX=''
TCL_STUB_LIB_SPEC=''
TCL_VERSION=''
TROFF=''
VERSION='1.2.19'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
acx_pthread_config=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='sparc-unknown-linux-gnu'
build_alias='sparc-linux'
build_cpu='sparc'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${prefix}/share'
exec_prefix='NONE'
host='sparc-unknown-linux-gnu'
host_alias=''
host_cpu='sparc'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/c/Secure/NASDevelop/rrdtool-1.2.19/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pkgpyexecdir=''
pkgpythondir=''
prefix='NONE'
program_transform_name='s,x,x,'
pyexecdir=''
pythondir=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='sparc-unknown-linux-gnu'
target_alias=''
target_cpu='sparc'
target_os='linux-gnu'
target_vendor='unknown'

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

#define PACKAGE "rrdtool"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "rrdtool"
#define PACKAGE_STRING "rrdtool 1.2.19"
#define PACKAGE_TARNAME "rrdtool"
#define PACKAGE_VERSION "1.2.19"
#define RRDGRAPH_YLEGEND_ANGLE 90.0
#define VERSION "1.2.19"



PLEASE HELP MEE!!!!
Message 1 of 10
WhoCares_
Mentor

Re: Compiling on ReadyNas DUO

Since you're compiling directly on the Duo, try either compiling without the "--build=sparc-linux" part or use "--build=sparc-linux --host=sparc-linux"

-Stefan
Message 2 of 10
lachris
Aspirant

Re: Compiling on ReadyNas DUO

hi stefan,

doesnt work.
any other ideas?
Message 3 of 10
WhoCares_
Mentor

Re: Compiling on ReadyNas DUO

Your problem is that the linker is looking for the main library in /usr/sparc-linux/lib/libc.so.6 - which isn't there. You could try to trick it into using the right library by doing this in an SSH shell:

cd /usr
mkdir sparc-linux
cd sparc-linux
ln -s /usr/lib


But you'd have to test whether the resulting binary would find the correct lib afterwards.

-Stefan
Message 4 of 10
lachris
Aspirant

Re: Compiling on ReadyNas DUO

stefan,

there was an dir existing with these files in it....
i overwrote it with the ones from /usr/lib

then the configure started and ended with:



Findr 3rd-Party Libraries
checking for art_vpath_add_point in -lart_lgpl_2... no
checking for pkg-config... pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no libart-2.0.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libart-2.0. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libart_lgpl_2 and its header files. If
you have not installed libart-2.0, you can get it either from its original home on

ftp://ftp.gnome.org/pub/GNOME/sources/libart_lgpl/2.3/

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of libart-2.0 is 2.3.17.

LIBS=-lm
LDFLAGS=
CPPFLAGS= -I/usr/include/libart-2.0

----------------------------------------------------------------------------

checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_access_version_number in -lpng... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no libpng.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of libpng. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libpng and its header files. If
you have not installed libpng, you can get it either from its original home on

http://prdownloads.sourceforge.net/libpng/

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of libpng is 1.2.10.

LIBS=-lz -lm
LDFLAGS=
CPPFLAGS=

----------------------------------------------------------------------------

checking for FT_Init_FreeType in -lfreetype... no
checking for pkg-config... (cached) pkg-config
configure: WARNING:
----------------------------------------------------------------------------
* I found a copy of pkgconfig, but there is no freetype2.pc file around.
You may want to set the PKG_CONFIG_PATH variable to point to its
location.
----------------------------------------------------------------------------

configure: WARNING:
----------------------------------------------------------------------------
* I could not find a working copy of freetype2. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libfreetype and its header files. If
you have not installed freetype2, you can get it either from its original home on

http://prdownloads.sourceforge.net/freetype/

You can find also find an archive copy on

http://oss.oetiker.ch/rrdtool/pub/libs

The last tested version of freetype2 is 2.1.10.

LIBS=-lz -lm
LDFLAGS=
CPPFLAGS= -I/usr/include/freetype2

----------------------------------------------------------------------------

configure: error: Please fix the library issues listed above and try again.


Ok i found that libs on that page, please give me a short hint how, and where i have to install them that this script will find them

thanks a lot so far!
Message 5 of 10
WhoCares_
Mentor

Re: Compiling on ReadyNas DUO

Instead of using the libs you found, I'd rather suggest you do an

apt-get install <libname>-dev


If apt-get isn't working for you or if it's trying to update other stuff on the ReadyNAS, you can download the -dev packages from http://archive.debian.org

-Stefan
Message 6 of 10
lachris
Aspirant

Re: Compiling on ReadyNas DUO

ok I tried to load them with apt-get, but then a lot more of dependencies appear.
I know that we are at a point that have nothing more to do with the ReadyNAS. I hope you can give me some more help.

So I installed all the libs from that page with the commands ./configure -build-Sparc-linux &&make&&make install.

After that the configure from the main programm runs through without errors in the end like that:

Netgear:/c/Secure/NASDevelop/rrdtool-1.2.19# ./configure --build=sparc-linux
checking build system type... sparc-unknown-linux-gnu
checking host system type... sparc-unknown-linux-gnu
checking target system type... sparc-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes

Audit Compilation Environment
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 131072
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if gcc likes the -fno-strict-aliasing flag... yes
checking if gcc likes the -Wall flag... yes
checking if gcc likes the -std=gnu99 flag... yes
checking if gcc likes the -pedantic flag... yes
checking if gcc likes the -Wshadow flag... yes
checking if gcc likes the -Wpointer-arith flag... yes
checking if gcc likes the -Wcast-align flag... yes
checking if gcc likes the -Wmissing-prototypes flag... yes
checking if gcc likes the -Wmissing-declarations flag... yes
checking if gcc likes the -Wnested-externs flag... yes
checking if gcc likes the -Winline flag... yes
checking if gcc likes the -W flag... yes

Checking for Header Files
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking fp_class.h usability... no
checking fp_class.h presence... no
checking for fp_class.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for acos... no
checking for acos in -lm... yes

Test Library Functions
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking whether byte ordering is bigendian... yes
checking for tzset... yes
checking for mbstowcs... yes
checking for opendir... yes
checking for readdir... yes
checking for chdir... yes
checking for chroot... yes
checking for getuid... yes
checking for setlocale... yes
checking for strerror... yes
checking for strerror_r... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for fpclass... no
checking for class... no
checking for fp_class... no
checking for isnan... yes
checking for memmove... yes
checking for strchr... yes
checking for mktime... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes

IEEE Math Checks
checking for fpclassify... no
checking for fpclassify with <math.h>... yes
checking for finite... yes
checking for isinf... yes
checking if IEEE math works out of the box... yes

Resolve Portability Issues
checking if realloc can deal with NULL... yes
checking if ctime_r need special care to act posixly correct... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking do we need malloc/malloc.h... nope, works out of the box

Findr 3rd-Party Libraries
checking for art_vpath_add_point in -lart_lgpl_2... yes
checking libart_lgpl/libart.h usability... no
checking libart_lgpl/libart.h presence... no
checking for libart_lgpl/libart.h... no
checking for pkg-config... pkg-config
checking for art_vpath_add_point in -lart_lgpl_2... yes
checking libart_lgpl/libart.h usability... yes
checking libart_lgpl/libart.h presence... yes
checking for libart_lgpl/libart.h... yes
checking for zlibVersion in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for png_access_version_number in -lpng... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... no
checking ft2build.h presence... no
checking for ft2build.h... no
checking for pkg-config... (cached) pkg-config
checking for FT_Init_FreeType in -lfreetype... yes
checking ft2build.h usability... yes
checking ft2build.h presence... yes
checking for ft2build.h... yes

Prep for Building Language Bindings
checking for perl... /usr/bin/perl
checking for the perl version you are running... 5.8.8
checking for the C compiler perl wants to use to build its modules... cc
checking for cc... no
configure: WARNING:
I would not find the Compiler (cc) that was originally used to compile
your perl binary. You should either make sure that this compiler is
available on your system, pick an other compiler and set PERLCC
appropriately, or use a different perl setup that was compiled locally.

I will disable the compilation of the RRDs perl module for now.

checking Perl Modules to build... perl_piped
checking for ruby... no
checking Ruby Modules to build... No Ruby Modules will be built
checking for tclConfig.sh in /usr/lib... no
checking for tclConfig.sh in /usr/local/lib... no
configure: WARNING: tclConfig.sh not found - Tcl interface won't be built
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for headers required to compile python extensions... not found
configure: WARNING: could not find Python headers
checking for gnroff... no
checking for nroff... no
checking for groff... no
checking for troff... no

Apply Configuration Information
configure: creating ./config.status
config.status: creating examples/shared-demo.pl
config.status: creating examples/piped-demo.pl
config.status: creating examples/stripes.pl
config.status: creating examples/bigtops.pl
config.status: creating examples/minmax.pl
config.status: creating examples/4charts.pl
config.status: creating examples/perftest.pl
config.status: creating examples/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating bindings/Makefile
config.status: creating bindings/tcl/Makefile
config.status: creating bindings/tcl/ifOctets.tcl
config.status: creating bindings/python/Makefile
config.status: creating Makefile
config.status: creating rrd_config.h
config.status: rrd_config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands
checking in... and out again
ordering CD from http://tobi.oetiker.ch/wish .... just kidding 😉

----------------------------------------------------------------
Config is DONE!

With MMAP IO: yes
Perl Modules: perl_piped
Perl Binary: /usr/bin/perl
Perl Version: 5.8.8
Perl Options: PREFIX=/usr/local/rrdtool-1.2.19 LIB=/usr/local/rrdtool-1.2.19/lib/perl/5.8.8
Ruby Modules:
Ruby Binary: no
Ruby Options: sitedir=NONE/lib/ruby
Build Tcl Bindings: no
Build Python Bindings: no
Build rrdcgi: yes
Build librrd MT: yes


Type 'make' to compile the software and use 'make install' to
install everything to: /usr/local/rrdtool-1.2.19.

... that wishlist is NO JOKE. If you find RRDtool useful
make me happy. Go to http://tobi.oetiker.ch/wish and
place an order.

-- Tobi Oetiker <tobi@oetiker.ch>
----------------------------------------------------------------
Netgear:/c/Secure/NASDevelop/rrdtool-1.2.19#


OK seems to look good!

then i do a make and get the following:

Netgear:/c/Secure/NASDevelop/rrdtool-1.2.19# make
make all-recursive
make[1]: Entering directory `/c/Secure/NASDevelop/rrdtool-1.2.19'
Making all in src
make[2]: Entering directory `/c/Secure/NASDevelop/rrdtool-1.2.19/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/Secure/NASDevelop/rrdtool-1.2.19/src'
Making all in bindings
make[2]: Entering directory `/c/Secure/NASDevelop/rrdtool-1.2.19/bindings'
make[3]: Entering directory `/c/Secure/NASDevelop/rrdtool-1.2.19/bindings'
cd perl-piped && /usr/bin/perl Makefile.PL PREFIX=/usr/local/rrdtool-1.2.19 LIB=/usr/local/rrdtool-1.2.19/lib/perl/5.8.8
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
make[3]: *** [perl-piped/Makefile] Error 2
make[3]: Leaving directory `/c/Secure/NASDevelop/rrdtool-1.2.19/bindings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/Secure/NASDevelop/rrdtool-1.2.19/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/Secure/NASDevelop/rrdtool-1.2.19'
make: *** [all] Error 2


What am I doing wrong????
Message 7 of 10
WhoCares_
Mentor

Re: Compiling on ReadyNas DUO

lachris wrote:
What am I doing wrong????

Nothing, really. You're just experiencing that what looks like a simple compile task can quickly grow into unimagined dimensions when done on the ReadyNAS 😉
Any special reason you want to build 1.2.19 and not a newer version? Anyway, the problem is that on the ReadyNAS the ExtUtils::MakeMaker module from the perl-modules package is missing. You can try to re-install using "apt-get install --reinstall perl-modules" but you have to make sure to get the correct version which can be identified by the "-infrant2" in its name. As an alternative I can build a version for you or you try to build one yourself from the GPL source archive. Be warned that the GPL source archive contains a version of Perl that is newer than the one shipping with firmware 4.1.8 so you may have to replace the whole Perl stuff.

-Stefan
Message 8 of 10
lachris
Aspirant

Re: Compiling on ReadyNas DUO

thanks for your help, finally after some other tricks it works.
many time i spent in that, but that was it worth.

i think the sparc ist with some other addons now a little bit too slow.
A x86 readynas will be better for that.

Is the development on a x86 easier??
Message 9 of 10
WhoCares_
Mentor

Re: Compiling on ReadyNas DUO

Just a bit but not much. The problems are essentially the same with the major difference that you can use apt-get more easily.

-Stefan
Message 10 of 10
Top Contributors
Discussion stats
  • 9 replies
  • 4818 views
  • 0 kudos
  • 2 in conversation
Announcements