compilation help for kuro-box PPC NAS

Get help, report and discuss bugs.
Post Reply
ottomanden

compilation help for kuro-box PPC NAS

Post by ottomanden » 07 Feb 2010, 08:35

Hi,

I am having problems compiling 0.6.x and 0.7.x on my nas. Here is what I have tried:

I installed the newest libxml2 (libxml2.so.2.7.6)

When running ./configure i got:
...
checking for libxml/tree.h... yes
checking for library containing xmlNewNode... no
configure: error: "libxml2 library not found"

Then I removed from configure.ac:

Code: Select all

AC_SEARCH_LIBS([xmlNewNode], [xml2], ,
   AC_MSG_ERROR("libxml2 library not found"))


Now im able to configure using: ./configure --disable-curses --with-tlslib=OpenSSL --disable-tls

But it stops compiling with this error:

g++ -g -O2 -L/usr/local/lib -lxml2 -o nzbget ArticleDownloader.o BinRpc.o ColoredFrontend.o Connection.o Decoder.o DiskState.o DownloadInfo.o Frontend.o Log.o LoggableFrontend.o NCursesFrontend.o NNTPConnection.o NZBFile.o NetAddress.o NewsServer.o Observer.o Options.o ParChecker.o PrePostProcessor.o QueueCoordinator.o QueueEditor.o RemoteClient.o RemoteServer.o Scanner.o Scheduler.o ScriptController.o ServerPool.o svn_version.o TLS.o Thread.o Util.o XmlRpc.o nzbget.o -lpthread
/usr/local/lib/libxml2.so: undefined reference to `gzdirect@ZLIB_1.2.2.3'
collect2: ld returned 1 exit status
make[1]: *** [nzbget] Error 1
make[1]: Leaving directory `/root/nzbget-0.7.0-testing'
make: *** [all] Error 2

My 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 nzbget configure 0.7.0-testing, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure --disable-curses --with-tlslib=OpenSSL --disable-tls --disable-parcheck --no-create --no-recursion

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

hostname = Kuro
uname -m = ppc
uname -r = 2.6.18.1-mh7_kurobox_hg
uname -s = Linux
uname -v = #5 Fri Nov 3 04:45:27 CET 2006

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

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/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


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

configure:1845: checking for a BSD-compatible install
configure:1901: result: /usr/bin/install -c
configure:1912: checking whether build environment is sane
configure:1955: result: yes
configure:2020: checking for gawk
configure:2050: result: no
configure:2020: checking for mawk
configure:2036: found /usr/bin/mawk
configure:2047: result: mawk
configure:2058: checking whether make sets $(MAKE)
configure:2079: result: yes
configure:2275: checking build system type
configure:2293: result: powerpc-unknown-linux-gnu
configure:2315: checking host system type
configure:2330: result: powerpc-unknown-linux-gnu
configure:2427: checking for g++
configure:2443: found /usr/bin/g++
configure:2454: result: g++
configure:2485: checking for C++ compiler version
configure:2492: g++ --version >&5
g++ (Debian 4.3.4-6) 4.3.4
Copyright (C) 2008 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:2495: $? = 0
configure:2502: g++ -v >&5
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.4-6' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-softfloat --enable-secureplt --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --with-long-double-128 --enable-checking=release --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu
Thread model: posix
gcc version 4.3.4 (Debian 4.3.4-6)
configure:2505: $? = 0
configure:2512: g++ -V >&5
g++: '-V' option must have argument
configure:2515: $? = 1
configure:2538: checking for C++ compiler default output file name
configure:2565: g++ conftest.cpp >&5
configure:2568: $? = 0
configure:2606: result: a.out
configure:2623: checking whether the C++ compiler works
configure:2633: ./a.out
configure:2636: $? = 0
configure:2653: result: yes
configure:2660: checking whether we are cross compiling
configure:2662: result: no
configure:2665: checking for suffix of executables
configure:2672: g++ -o conftest conftest.cpp >&5
configure:2675: $? = 0
configure:2699: result:
configure:2705: checking for suffix of object files
configure:2731: g++ -c conftest.cpp >&5
configure:2734: $? = 0
configure:2757: result: o
configure:2761: checking whether we are using the GNU C++ compiler
configure:2790: g++ -c conftest.cpp >&5
configure:2796: $? = 0
configure:2813: result: yes
configure:2818: checking whether g++ accepts -g
configure:2848: g++ -c -g conftest.cpp >&5
configure:2854: $? = 0
configure:2953: result: yes
configure:2987: checking for style of include used by make
configure:3015: result: GNU
configure:3043: checking dependency style of g++
configure:3133: result: gcc3
configure:3152: checking for tar
configure:3170: found /bin/tar
configure:3183: result: /bin/tar
configure:3193: checking for make
configure:3211: found /usr/bin/make
configure:3224: result: /usr/bin/make
configure:3245: checking for a BSD-compatible install
configure:3301: result: /usr/bin/install -c
configure:3328: checking how to run the C++ preprocessor
configure:3364: g++ -E conftest.cpp
configure:3370: $? = 0
configure:3401: g++ -E conftest.cpp
conftest.cpp:10:28: error: ac_nonexistent.h: No such file or directory
configure:3407: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nzbget"
| #define PACKAGE_TARNAME "nzbget"
| #define PACKAGE_VERSION "0.7.0-testing"
| #define PACKAGE_STRING "nzbget 0.7.0-testing"
| #define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
| #define PACKAGE "nzbget"
| #define VERSION "0.7.0-testing"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3440: result: g++ -E
configure:3469: g++ -E conftest.cpp
configure:3475: $? = 0
configure:3506: g++ -E conftest.cpp
conftest.cpp:10:28: error: ac_nonexistent.h: No such file or directory
configure:3512: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nzbget"
| #define PACKAGE_TARNAME "nzbget"
| #define PACKAGE_VERSION "0.7.0-testing"
| #define PACKAGE_STRING "nzbget 0.7.0-testing"
| #define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
| #define PACKAGE "nzbget"
| #define VERSION "0.7.0-testing"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3550: checking for grep that handles long lines and -e
configure:3624: result: /bin/grep
configure:3629: checking for egrep
configure:3707: result: /bin/grep -E
configure:3712: checking for ANSI C header files
configure:3742: g++ -c -g -O2 conftest.cpp >&5
configure:3748: $? = 0
configure:3847: g++ -o conftest -g -O2 conftest.cpp >&5
configure:3850: $? = 0
configure:3856: ./conftest
configure:3859: $? = 0
configure:3876: result: yes
configure:3900: checking for sys/types.h
configure:3921: g++ -c -g -O2 conftest.cpp >&5
configure:3927: $? = 0
configure:3943: result: yes
configure:3900: checking for sys/stat.h
configure:3921: g++ -c -g -O2 conftest.cpp >&5
configure:3927: $? = 0
configure:3943: result: yes
configure:3900: checking for stdlib.h
configure:3921: g++ -c -g -O2 conftest.cpp >&5
configure:3927: $? = 0
configure:3943: result: yes
configure:3900: checking for string.h
configure:3921: g++ -c -g -O2 conftest.cpp >&5
configure:3927: $? = 0
configure:3943: result: yes
configure:3900: checking for memory.h
configure:3921: g++ -c -g -O2 conftest.cpp >&5
configure:3927: $? = 0
configure:3943: result: yes
configure:3900: checking for strings.h
configure:3921: g++ -c -g -O2 conftest.cpp >&5
configure:3927: $? = 0
configure:3943: result: yes
configure:3900: checking for inttypes.h
configure:3921: g++ -c -g -O2 conftest.cpp >&5
configure:3927: $? = 0
configure:3943: result: yes
configure:3900: checking for stdint.h
configure:3921: g++ -c -g -O2 conftest.cpp >&5
configure:3927: $? = 0
configure:3943: result: yes
configure:3900: checking for unistd.h
configure:3921: g++ -c -g -O2 conftest.cpp >&5
configure:3927: $? = 0
configure:3943: result: yes
configure:3970: checking sys/prctl.h usability
configure:3987: g++ -c -g -O2 conftest.cpp >&5
configure:3993: $? = 0
configure:4007: result: yes
configure:4011: checking sys/prctl.h presence
configure:4026: g++ -E conftest.cpp
configure:4032: $? = 0
configure:4046: result: yes
configure:4079: checking for sys/prctl.h
configure:4087: result: yes
configure:4102: checking for library containing pthread_create
configure:4143: g++ -o conftest -g -O2 conftest.cpp >&5
/tmp/ccavp1Dp.o: In function `main':
/root/nzbget-0.7.0-testing/conftest.cpp:32: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure:4149: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nzbget"
| #define PACKAGE_TARNAME "nzbget"
| #define PACKAGE_VERSION "0.7.0-testing"
| #define PACKAGE_STRING "nzbget 0.7.0-testing"
| #define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
| #define PACKAGE "nzbget"
| #define VERSION "0.7.0-testing"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PRCTL_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pthread_create ();
| int
| main ()
| {
| return pthread_create ();
| ;
| return 0;
| }
configure:4143: g++ -o conftest -g -O2 conftest.cpp -lpthread >&5
configure:4149: $? = 0
configure:4177: result: -lpthread
configure:4185: checking for library containing socket
configure:4226: g++ -o conftest -g -O2 conftest.cpp -lpthread >&5
configure:4232: $? = 0
configure:4260: result: none required
configure:4268: checking for library containing inet_addr
configure:4309: g++ -o conftest -g -O2 conftest.cpp -lpthread >&5
configure:4315: $? = 0
configure:4343: result: none required
configure:4351: checking for library containing hstrerror
configure:4392: g++ -o conftest -g -O2 conftest.cpp -lpthread >&5
configure:4398: $? = 0
configure:4426: result: none required
configure:4436: checking for getopt_long
configure:4492: g++ -o conftest -g -O2 conftest.cpp -lpthread >&5
configure:4498: $? = 0
configure:4515: result: yes
configure:4527: checking for stat64
configure:4583: g++ -o conftest -g -O2 conftest.cpp -lpthread >&5
configure:4589: $? = 0
configure:4606: result: yes
configure:4618: checking for ctime_r
configure:4641: g++ -c -g -O2 conftest.cpp >&5
/usr/include/time.h: In function 'int main()':
/usr/include/time.h:271: error: too many arguments to function 'char* ctime_r(const time_t*, char*)'
conftest.cpp:27: error: at this point in file
configure:4647: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nzbget"
| #define PACKAGE_TARNAME "nzbget"
| #define PACKAGE_VERSION "0.7.0-testing"
| #define PACKAGE_STRING "nzbget 0.7.0-testing"
| #define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
| #define PACKAGE "nzbget"
| #define VERSION "0.7.0-testing"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PRCTL_H 1
| #define HAVE_GETOPT_LONG 1
| #define HAVE_STAT64 1
| /* end confdefs.h. */
| #include <time.h>
| int
| main ()
| {
| time_t clock; char buf[26]; ctime_r(&clock, buf, 26);
| ;
| return 0;
| }
configure:4690: g++ -c -g -O2 conftest.cpp >&5
configure:4696: $? = 0
configure:4701: result: yes, and it takes 2 arguments
configure:4727: checking for getaddrinfo
configure:4783: g++ -o conftest -g -O2 conftest.cpp -lpthread >&5
configure:4789: $? = 0
configure:4806: result: yes
configure:4815: checking for library containing getaddrinfo
configure:4856: g++ -o conftest -g -O2 conftest.cpp -lpthread >&5
configure:4862: $? = 0
configure:4890: result: none required
configure:5157: checking for type of socket length (socklen_t)
configure:5184: g++ -c -g -O2 conftest.cpp >&5
configure:5190: $? = 0
configure:5196: result: socklen_t
configure:5382: checking for pkg-config
configure:5400: found /usr/bin/pkg-config
configure:5412: result: /usr/bin/pkg-config
configure:5441: checking pkg-config is at least version 0.9.0
configure:5444: result: yes
configure:5455: checking for libxml2
configure:5463: $PKG_CONFIG --exists --print-errors "libxml-2.0"
configure:5466: $? = 0
configure:5481: $PKG_CONFIG --exists --print-errors "libxml-2.0"
configure:5484: $? = 0
configure:5560: result: yes
configure:5577: checking libxml/tree.h usability
configure:5594: g++ -c -g -O2 -I/usr/local/include/libxml2 conftest.cpp >&5
configure:5600: $? = 0
configure:5614: result: yes
configure:5618: checking libxml/tree.h presence
configure:5633: g++ -E -I/usr/local/include/libxml2 conftest.cpp
configure:5639: $? = 0
configure:5653: result: yes
configure:5686: checking for libxml/tree.h
configure:5693: result: yes
configure:5708: checking whether to use curses
configure:5717: result: no
configure:6269: checking whether to include code for par-checking
configure:6278: result: no
configure:6919: checking whether to use TLS/SSL
configure:6928: result: no
configure:7575: checking whether to include all debugging code
configure:7584: result: no
configure:7983: creating ./config.status

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

ac_cv_build=powerpc-unknown-linux-gnu
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_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_libsigc_CFLAGS_set=
ac_cv_env_libsigc_CFLAGS_value=
ac_cv_env_libsigc_LIBS_set=
ac_cv_env_libsigc_LIBS_value=
ac_cv_env_libxml2_CFLAGS_set=
ac_cv_env_libxml2_CFLAGS_value=
ac_cv_env_libxml2_LIBS_set=
ac_cv_env_libxml2_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_getaddrinfo=yes
ac_cv_func_getopt_long=yes
ac_cv_func_stat64=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libxml_tree_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_prctl_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=powerpc-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_MAKE=/usr/bin/make
ac_cv_path_TAR=/bin/tar
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_getaddrinfo='none required'
ac_cv_search_hstrerror='none required'
ac_cv_search_inet_addr='none required'
ac_cv_search_pthread_create=-lpthread
ac_cv_search_socket='none required'
am_cv_CXX_dependencies_compiler_type=gcc3
pkg_cv_libxml2_CFLAGS='-I/usr/local/include/libxml2 '
pkg_cv_libxml2_LIBS='-L/usr/local/lib -lxml2 '

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

ACLOCAL='${SHELL} /root/nzbget-0.7.0-testing/missing --run aclocal-1.9'
ADDSRCS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/nzbget-0.7.0-testing/missing --run tar'
AR=''
AUTOCONF='${SHELL} /root/nzbget-0.7.0-testing/missing --run autoconf'
AUTOHEADER='${SHELL} /root/nzbget-0.7.0-testing/missing --run autoheader'
AUTOMAKE='${SHELL} /root/nzbget-0.7.0-testing/missing --run automake-1.9'
AWK='mawk'
CFLAGS=' -I/usr/local/include/libxml2 '
CPPFLAGS=' -I/usr/local/include/libxml2 '
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=' -L/usr/local/lib -lxml2 '
LIBOBJS=''
LIBS='-lpthread '
LTLIBOBJS=''
MAKE='/usr/bin/make'
MAKEINFO='${SHELL} /root/nzbget-0.7.0-testing/missing --run makeinfo'
OBJEXT='o'
PACKAGE='nzbget'
PACKAGE_BUGREPORT='hugbug@users.sourceforge.net'
PACKAGE_NAME='nzbget'
PACKAGE_STRING='nzbget 0.7.0-testing'
PACKAGE_TARNAME='nzbget'
PACKAGE_VERSION='0.7.0-testing'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TAR='/bin/tar'
VERSION='0.7.0-testing'
ac_ct_CXX='g++'
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='powerpc-unknown-linux-gnu'
build_alias=''
build_cpu='powerpc'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='powerpc-unknown-linux-gnu'
host_alias=''
host_cpu='powerpc'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/root/nzbget-0.7.0-testing/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libsigc_CFLAGS=''
libsigc_LIBS=''
libxml2_CFLAGS='-I/usr/local/include/libxml2 '
libxml2_LIBS='-L/usr/local/lib -lxml2 '
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_NAME "nzbget"
#define PACKAGE_TARNAME "nzbget"
#define PACKAGE_VERSION "0.7.0-testing"
#define PACKAGE_STRING "nzbget 0.7.0-testing"
#define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
#define PACKAGE "nzbget"
#define VERSION "0.7.0-testing"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_GETOPT_LONG 1
#define HAVE_STAT64 1
#define HAVE_CTIME_R_2 1
#define HAVE_GETADDRINFO 1
#define SOCKLEN_T socklen_t
#define DISABLE_CURSES 1
#define DISABLE_PARCHECK 1
#define DISABLE_TLS 1

configure: exit 0

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by nzbget config.status 0.7.0-testing, which was
generated by GNU Autoconf 2.61. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on Kuro

config.status:649: creating Makefile
config.status:649: creating config.h
config.status:878: config.h is unchanged
config.status:924: executing depfiles commands

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by nzbget config.status 0.7.0-testing, which was
generated by GNU Autoconf 2.61. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status config.h

on Kuro

config.status:649: creating config.h
config.status:878: config.h is unchanged

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: compilation help for kuro-box PPC NAS

Post by hugbug » 07 Feb 2010, 16:35

Try to configure (using original configure not the modified one) with additional lib zlib:

Code: Select all

./configure "LIBS=-lz"

ottomanden

Re: compilation help for kuro-box PPC NAS

Post by ottomanden » 08 Feb 2010, 09:48

Thanks, but using the original configure with this command just gives me:
....
checking for libxml/tree.h... yes
checking for library containing xmlNewNode... no
configure: error: "libxml2 library not found"

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: compilation help for kuro-box PPC NAS

Post by hugbug » 08 Feb 2010, 09:57

1. Please post your config.log

2. What the command "ldd libxml2.so" prints?

ottomanden

Re: compilation help for kuro-box PPC NAS

Post by ottomanden » 08 Feb 2010, 10:59

Sure sorry:

Kuro:/usr/local/lib# ldd libxml2.so
./libxml2.so: /usr/local/lib/libz.so.1: no version information available (required by ./libxml2.so)
libdl.so.2 => /lib/libdl.so.2 (0x6fe55000)
libz.so.1 => /usr/local/lib/libz.so.1 (0x6fe1f000)
libm.so.6 => /lib/libm.so.6 (0x6fd51000)
libc.so.6 => /lib/libc.so.6 (0x6fbc2000)
/lib/ld.so.1 (0x08000000)

Also:

Kuro:~/nzbget-0.6.0# xml2-config --version
2.7.6
Kuro:~/nzbget-0.6.0# xml2-config --cflags
-I/usr/local/include/libxml2
Kuro:~/nzbget-0.6.0# xml2-config --libs
-L/usr/local/lib -lxml2 -lz -lm

configure.log:

Kuro:~/nzbget-0.6.0# cat 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 nzbget configure 0.6.0, which was
generated by GNU Autoconf 2.61. Invocation command line was

$ ./configure LIBS=-lz

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

hostname = Kuro
uname -m = ppc
uname -r = 2.6.18.1-mh7_kurobox_hg
uname -s = Linux
uname -v = #5 Fri Nov 3 04:45:27 CET 2006

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

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/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


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

configure:1859: checking for a BSD-compatible install
configure:1915: result: /usr/bin/install -c
configure:1926: checking whether build environment is sane
configure:1969: result: yes
configure:1997: checking for a thread-safe mkdir -p
configure:2036: result: /bin/mkdir -p
configure:2049: checking for gawk
configure:2079: result: no
configure:2049: checking for mawk
configure:2065: found /usr/bin/mawk
configure:2076: result: mawk
configure:2087: checking whether make sets $(MAKE)
configure:2108: result: yes
configure:2307: checking build system type
configure:2325: result: powerpc-unknown-linux-gnu
configure:2347: checking host system type
configure:2362: result: powerpc-unknown-linux-gnu
configure:2459: checking for g++
configure:2475: found /usr/bin/g++
configure:2486: result: g++
configure:2517: checking for C++ compiler version
configure:2524: g++ --version >&5
g++ (Debian 4.3.4-6) 4.3.4
Copyright (C) 2008 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:2527: $? = 0
configure:2534: g++ -v >&5
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.4-6' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-softfloat --enable-secureplt --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --with-long-double-128 --enable-checking=release --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu
Thread model: posix
gcc version 4.3.4 (Debian 4.3.4-6)
configure:2537: $? = 0
configure:2544: g++ -V >&5
g++: '-V' option must have argument
configure:2547: $? = 1
configure:2570: checking for C++ compiler default output file name
configure:2597: g++ conftest.cpp -lz >&5
configure:2600: $? = 0
configure:2638: result: a.out
configure:2655: checking whether the C++ compiler works
configure:2665: ./a.out
configure:2668: $? = 0
configure:2685: result: yes
configure:2692: checking whether we are cross compiling
configure:2694: result: no
configure:2697: checking for suffix of executables
configure:2704: g++ -o conftest conftest.cpp -lz >&5
configure:2707: $? = 0
configure:2731: result:
configure:2737: checking for suffix of object files
configure:2763: g++ -c conftest.cpp >&5
configure:2766: $? = 0
configure:2789: result: o
configure:2793: checking whether we are using the GNU C++ compiler
configure:2822: g++ -c conftest.cpp >&5
configure:2828: $? = 0
configure:2845: result: yes
configure:2850: checking whether g++ accepts -g
configure:2880: g++ -c -g conftest.cpp >&5
configure:2886: $? = 0
configure:2985: result: yes
configure:3019: checking for style of include used by make
configure:3047: result: GNU
configure:3072: checking dependency style of g++
configure:3163: result: gcc3
configure:3226: checking for gcc
configure:3242: found /usr/bin/gcc
configure:3253: result: gcc
configure:3491: checking for C compiler version
configure:3498: gcc --version >&5
gcc (Debian 4.3.4-6) 4.3.4
Copyright (C) 2008 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:3501: $? = 0
configure:3508: gcc -v >&5
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.4-6' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-softfloat --enable-secureplt --enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32 --with-long-double-128 --enable-checking=release --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu
Thread model: posix
gcc version 4.3.4 (Debian 4.3.4-6)
configure:3511: $? = 0
configure:3518: gcc -V >&5
gcc: '-V' option must have argument
configure:3521: $? = 1
configure:3524: checking whether we are using the GNU C compiler
configure:3553: gcc -c conftest.c >&5
configure:3559: $? = 0
configure:3576: result: yes
configure:3581: checking whether gcc accepts -g
configure:3611: gcc -c -g conftest.c >&5
configure:3617: $? = 0
configure:3716: result: yes
configure:3733: checking for gcc option to accept ISO C89
configure:3807: gcc -c -g -O2 conftest.c >&5
configure:3813: $? = 0
configure:3836: result: none needed
configure:3856: checking dependency style of gcc
configure:3947: result: gcc3
configure:3964: checking for tar
configure:3982: found /bin/tar
configure:3995: result: /bin/tar
configure:4005: checking for make
configure:4023: found /usr/bin/make
configure:4036: result: /usr/bin/make
configure:4057: checking for a BSD-compatible install
configure:4113: result: /usr/bin/install -c
configure:4132: checking how to run the C preprocessor
configure:4172: gcc -E conftest.c
configure:4178: $? = 0
configure:4209: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4215: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nzbget"
| #define PACKAGE_TARNAME "nzbget"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "nzbget 0.6.0"
| #define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
| #define PACKAGE "nzbget"
| #define VERSION "0.6.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4248: result: gcc -E
configure:4277: gcc -E conftest.c
configure:4283: $? = 0
configure:4314: gcc -E conftest.c
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
configure:4320: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nzbget"
| #define PACKAGE_TARNAME "nzbget"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "nzbget 0.6.0"
| #define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
| #define PACKAGE "nzbget"
| #define VERSION "0.6.0"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4358: checking for grep that handles long lines and -e
configure:4432: result: /bin/grep
configure:4437: checking for egrep
configure:4515: result: /bin/grep -E
configure:4520: checking for ANSI C header files
configure:4550: gcc -c -g -O2 conftest.c >&5
configure:4556: $? = 0
configure:4655: gcc -o conftest -g -O2 conftest.c -lz >&5
configure:4658: $? = 0
configure:4664: ./conftest
configure:4667: $? = 0
configure:4684: result: yes
configure:4708: checking for sys/types.h
configure:4729: gcc -c -g -O2 conftest.c >&5
configure:4735: $? = 0
configure:4751: result: yes
configure:4708: checking for sys/stat.h
configure:4729: gcc -c -g -O2 conftest.c >&5
configure:4735: $? = 0
configure:4751: result: yes
configure:4708: checking for stdlib.h
configure:4729: gcc -c -g -O2 conftest.c >&5
configure:4735: $? = 0
configure:4751: result: yes
configure:4708: checking for string.h
configure:4729: gcc -c -g -O2 conftest.c >&5
configure:4735: $? = 0
configure:4751: result: yes
configure:4708: checking for memory.h
configure:4729: gcc -c -g -O2 conftest.c >&5
configure:4735: $? = 0
configure:4751: result: yes
configure:4708: checking for strings.h
configure:4729: gcc -c -g -O2 conftest.c >&5
configure:4735: $? = 0
configure:4751: result: yes
configure:4708: checking for inttypes.h
configure:4729: gcc -c -g -O2 conftest.c >&5
configure:4735: $? = 0
configure:4751: result: yes
configure:4708: checking for stdint.h
configure:4729: gcc -c -g -O2 conftest.c >&5
configure:4735: $? = 0
configure:4751: result: yes
configure:4708: checking for unistd.h
configure:4729: gcc -c -g -O2 conftest.c >&5
configure:4735: $? = 0
configure:4751: result: yes
configure:4778: checking sys/prctl.h usability
configure:4795: gcc -c -g -O2 conftest.c >&5
configure:4801: $? = 0
configure:4815: result: yes
configure:4819: checking sys/prctl.h presence
configure:4834: gcc -E conftest.c
configure:4840: $? = 0
configure:4854: result: yes
configure:4887: checking for sys/prctl.h
configure:4895: result: yes
configure:4909: checking for library containing pthread_create
configure:4950: gcc -o conftest -g -O2 conftest.c -lz >&5
/tmp/ccKMZuXp.o: In function `main':
/root/nzbget-0.6.0/conftest.c:32: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
configure:4956: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nzbget"
| #define PACKAGE_TARNAME "nzbget"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "nzbget 0.6.0"
| #define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
| #define PACKAGE "nzbget"
| #define VERSION "0.6.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PRCTL_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char pthread_create ();
| int
| main ()
| {
| return pthread_create ();
| ;
| return 0;
| }
configure:4950: gcc -o conftest -g -O2 conftest.c -lpthread -lz >&5
configure:4956: $? = 0
configure:4984: result: -lpthread
configure:4992: checking for library containing socket
configure:5033: gcc -o conftest -g -O2 conftest.c -lpthread -lz >&5
configure:5039: $? = 0
configure:5067: result: none required
configure:5075: checking for library containing inet_addr
configure:5116: gcc -o conftest -g -O2 conftest.c -lpthread -lz >&5
configure:5122: $? = 0
configure:5150: result: none required
configure:5158: checking for library containing hstrerror
configure:5199: gcc -o conftest -g -O2 conftest.c -lpthread -lz >&5
configure:5205: $? = 0
configure:5233: result: none required
configure:5243: checking for getopt_long
configure:5299: gcc -o conftest -g -O2 conftest.c -lpthread -lz >&5
configure:5305: $? = 0
configure:5322: result: yes
configure:5346: checking for stat64
configure:5402: gcc -o conftest -g -O2 conftest.c -lpthread -lz >&5
configure:5408: $? = 0
configure:5425: result: yes
configure:5444: checking for ctime_r
configure:5474: g++ -c -g -O2 conftest.cpp >&5
/usr/include/time.h: In function 'int main()':
/usr/include/time.h:271: error: too many arguments to function 'char* ctime_r(const time_t*, char*)'
conftest.cpp:27: error: at this point in file
configure:5480: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nzbget"
| #define PACKAGE_TARNAME "nzbget"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "nzbget 0.6.0"
| #define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
| #define PACKAGE "nzbget"
| #define VERSION "0.6.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PRCTL_H 1
| #define HAVE_GETOPT_LONG 1
| #define HAVE_STAT64 1
| /* end confdefs.h. */
| #include <time.h>
| int
| main ()
| {
| time_t clock; char buf[26]; ctime_r(&clock, buf, 26);
| ;
| return 0;
| }
configure:5523: g++ -c -g -O2 conftest.cpp >&5
configure:5529: $? = 0
configure:5534: result: yes, and it takes 2 arguments
configure:5566: checking for __FUNCTION__ macro
configure:5595: g++ -c -g -O2 conftest.cpp >&5
configure:5601: $? = 0
configure:5606: result: yes
configure:5703: checking whether to use unnamed semaphores
configure:5711: result: yes
configure:5791: checking for pkg-config
configure:5809: found /usr/bin/pkg-config
configure:5821: result: /usr/bin/pkg-config
configure:5850: checking pkg-config is at least version 0.9.0
configure:5853: result: yes
configure:5864: checking for libxml2
configure:5872: $PKG_CONFIG --exists --print-errors "libxml-2.0"
configure:5875: $? = 0
configure:5890: $PKG_CONFIG --exists --print-errors "libxml-2.0"
configure:5893: $? = 0
configure:5969: result: yes
configure:5986: checking libxml/tree.h usability
configure:6003: gcc -c -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include/libxml2 conftest.c >&5
configure:6009: $? = 0
configure:6023: result: yes
configure:6027: checking libxml/tree.h presence
configure:6042: gcc -E -I/usr/local/include/libxml2 conftest.c
configure:6048: $? = 0
configure:6062: result: yes
configure:6095: checking for libxml/tree.h
configure:6102: result: yes
configure:6115: checking for library containing xmlNewNode
configure:6156: gcc -o conftest -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include/libxml2 -L/usr/local/lib -lxml2 conftest.c -lpthread -lz >&5
/usr/local/lib/libxml2.so: undefined reference to `gzdirect@ZLIB_1.2.2.3'
collect2: ld returned 1 exit status
configure:6162: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nzbget"
| #define PACKAGE_TARNAME "nzbget"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "nzbget 0.6.0"
| #define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
| #define PACKAGE "nzbget"
| #define VERSION "0.6.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PRCTL_H 1
| #define HAVE_GETOPT_LONG 1
| #define HAVE_STAT64 1
| #define HAVE_CTIME_R_2 1
| #define FUNCTION_MACRO_NAME __FUNCTION__
| #define HAVE_UNNAMED_SEMAPHORES 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char xmlNewNode ();
| int
| main ()
| {
| return xmlNewNode ();
| ;
| return 0;
| }
configure:6156: gcc -o conftest -g -O2 -I/usr/local/include/libxml2 -I/usr/local/include/libxml2 -L/usr/local/lib -lxml2 conftest.c -lxml2 -lpthread -lz >&5
/usr/local/lib/libxml2.so: undefined reference to `gzdirect@ZLIB_1.2.2.3'
collect2: ld returned 1 exit status
configure:6162: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nzbget"
| #define PACKAGE_TARNAME "nzbget"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "nzbget 0.6.0"
| #define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
| #define PACKAGE "nzbget"
| #define VERSION "0.6.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PRCTL_H 1
| #define HAVE_GETOPT_LONG 1
| #define HAVE_STAT64 1
| #define HAVE_CTIME_R_2 1
| #define FUNCTION_MACRO_NAME __FUNCTION__
| #define HAVE_UNNAMED_SEMAPHORES 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char xmlNewNode ();
| int
| main ()
| {
| return xmlNewNode ();
| ;
| return 0;
| }
configure:6190: result: no
configure:6197: error: "libxml2 library not found"

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

ac_cv_build=powerpc-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
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_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value=-lz
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_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_libsigc_CFLAGS_set=
ac_cv_env_libsigc_CFLAGS_value=
ac_cv_env_libsigc_LIBS_set=
ac_cv_env_libsigc_LIBS_value=
ac_cv_env_libxml2_CFLAGS_set=
ac_cv_env_libxml2_CFLAGS_value=
ac_cv_env_libxml2_LIBS_set=
ac_cv_env_libxml2_LIBS_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_getopt_long=yes
ac_cv_func_stat64=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libxml_tree_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_prctl_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=powerpc-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_MAKE=/usr/bin/make
ac_cv_path_TAR=/bin/tar
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_hstrerror='none required'
ac_cv_search_inet_addr='none required'
ac_cv_search_pthread_create=-lpthread
ac_cv_search_socket='none required'
ac_cv_search_xmlNewNode=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
pkg_cv_libxml2_CFLAGS='-I/usr/local/include/libxml2 '
pkg_cv_libxml2_LIBS='-L/usr/local/lib -lxml2 '

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

ACLOCAL='${SHELL} /root/nzbget-0.6.0/missing --run aclocal-1.10'
ADDSRCS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /root/nzbget-0.6.0/missing --run tar'
AR=''
AUTOCONF='${SHELL} /root/nzbget-0.6.0/missing --run autoconf'
AUTOHEADER='${SHELL} /root/nzbget-0.6.0/missing --run autoheader'
AUTOMAKE='${SHELL} /root/nzbget-0.6.0/missing --run automake-1.10'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -I/usr/local/include/libxml2 '
CPP='gcc -E'
CPPFLAGS=' -I/usr/local/include/libxml2 '
CXX='g++'
CXXCPP=''
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=' -L/usr/local/lib -lxml2 '
LIBOBJS=''
LIBS='-lpthread -lz'
LTLIBOBJS=''
MAKE='/usr/bin/make'
MAKEINFO='${SHELL} /root/nzbget-0.6.0/missing --run makeinfo'
OBJEXT='o'
PACKAGE='nzbget'
PACKAGE_BUGREPORT='hugbug@users.sourceforge.net'
PACKAGE_NAME='nzbget'
PACKAGE_STRING='nzbget 0.6.0'
PACKAGE_TARNAME='nzbget'
PACKAGE_VERSION='0.6.0'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
TAR='/bin/tar'
VERSION='0.6.0'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='powerpc-unknown-linux-gnu'
build_alias=''
build_cpu='powerpc'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='powerpc-unknown-linux-gnu'
host_alias=''
host_cpu='powerpc'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='$(SHELL) /root/nzbget-0.6.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libsigc_CFLAGS=''
libsigc_LIBS=''
libxml2_CFLAGS='-I/usr/local/include/libxml2 '
libxml2_LIBS='-L/usr/local/lib -lxml2 '
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define PACKAGE_NAME "nzbget"
#define PACKAGE_TARNAME "nzbget"
#define PACKAGE_VERSION "0.6.0"
#define PACKAGE_STRING "nzbget 0.6.0"
#define PACKAGE_BUGREPORT "hugbug@users.sourceforge.net"
#define PACKAGE "nzbget"
#define VERSION "0.6.0"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_GETOPT_LONG 1
#define HAVE_STAT64 1
#define HAVE_CTIME_R_2 1
#define FUNCTION_MACRO_NAME __FUNCTION__
#define HAVE_UNNAMED_SEMAPHORES 1

configure: exit 1

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: compilation help for kuro-box PPC NAS

Post by hugbug » 08 Feb 2010, 12:08

Google says that "gzdirect" was added to zlib in version 1.2.3 but you have only 1.2.2. Please check if a newer version of zlib is available for your platform. Otherwise you should try to recompile libxml2, since it seems to not work.

ottomanden

[SOLVED]Re: compilation help for kuro-box PPC NAS

Post by ottomanden » 08 Feb 2010, 20:34

You are right,

Could not find a zlib that was working with the new libxml2 (or the other way around) so I downgraded libxml2 and zlib and now it works.

Thanks for all the help...

Post Reply

Who is online

Users browsing this forum: No registered users and 55 guests