rtorrent+libtorrent+xmlrpc-c

Home Page Forums Network Management ZeroShell rtorrent+libtorrent+xmlrpc-c

This topic contains 4 replies, has 0 voices, and was last updated by  whaskes 9 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #42073

    whaskes
    Member

    Hi all!

    i try installed the libtorrent, but the install isn’t completed, because the ./configure command wrote this messages:

    configure: error: in `/Database/libtorrent-0.12.5′:
    configure: error: no acceptable C compiler found in $PATH
    See `config.log’ for more details.

    what can i do?

    bonus questions!

    how can i edit the /etc/fstab?

    the zeroshell installed the /dev/sda etc…

    i would like to mount the /dev/sda5 > /home/whaskes/
    and i have a hitachi winchester. this is 320gb->ext3 i would like to mount this winchester in /home/hitachi directory.

    how can i do?

    thank you any answer!

    #49189

    ppalias
    Member

    Hi,

    first I don’t think ZS has gcc or any other compiler. It is a router-os and as lightweight as possible.

    secondly you can add a pre-boot script to change the fstab to your needs.

    #49190

    whaskes
    Member

    @ppalias wrote:

    Hi,

    first I don’t think ZS has gcc or any other compiler. It is a router-os and as lightweight as possible.

    secondly you can add a pre-boot script to change the fstab to your needs.

    how can i install the gcc?

    #49191

    JC
    Member
    #49192

    whaskes
    Member

    @jc wrote:

    there is a source and gcc compiler

    http://zeroshell.net/eng/forum/viewtopic.php?t=238&highlight=zeroshell+source

    go here

    http://zeroshell.net/eng/download/

    so, i installed the gcc.

    root@zeroshell Database> gcc –version
    gcc (GCC) 4.3.2
    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

    root@zeroshell etc> cat ./profile
    PS1=”u@h W> “
    export PATH=”/usr/local/bin:/usr/local/sbin:/usr/local/ssl/bin:$PATH”
    alias rm=”rm -i”
    alias cp=”cp -i”
    alias mv=”mv -i”
    alias ll=”ls -l”
    cd

    the libtorrent configure error message:

    checking for C compiler default output file name…
    configure: error: C compiler cannot create executables
    See `config.log’ for more details.

    config.log:

    root@zeroshell libtorrent-0.12.4> 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 libtorrent configure 0.12.4, which was
    generated by GNU Autoconf 2.62. Invocation command line was

    $ ./configure

    ##


    ##
    ## Platform. ##
    ##


    ##

    hostname = zeroshell.example.com
    uname -m = i686
    uname -r = 2.6.25.20
    uname -s = Linux
    uname -v = #1 SMP Thu May 14 23:12:00 CEST 2009

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

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

    PATH: /Database/gcc4.3.2/bin
    PATH: /usr/local/bin
    PATH: /usr/local/sbin
    PATH: /usr/local/ssl/bin
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/local/bin
    PATH: /usr/local/bin/
    PATH: /usr/local/sbin/

    ##


    ##
    ## Core tests. ##
    ##


    ##

    configure:2162: checking for a BSD-compatible install
    configure:2230: result: /bin/install -c
    configure:2241: checking whether build environment is sane
    configure:2284: result: yes
    configure:2309: checking for a thread-safe mkdir -p
    configure:2348: result: /bin/mkdir -p
    configure:2361: checking for gawk
    configure:2377: found /usr/bin/gawk
    configure:2388: result: gawk
    configure:2399: checking whether make sets $(MAKE)
    configure:2421: result: yes
    configure:2716: checking build system type
    configure:2734: result: i686-pc-linux-gnulibc1
    configure:2756: checking host system type
    configure:2771: result: i686-pc-linux-gnulibc1
    configure:2805: checking for style of include used by make
    configure:2833: result: GNU
    configure:2903: checking for gcc
    configure:2919: found /Database/gcc4.3.2/bin/gcc
    configure:2930: result: gcc
    configure:3168: checking for C compiler version
    configure:3176: gcc –version >&5
    gcc (GCC) 4.3.2
    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:3180: $? = 0
    configure:3187: gcc -v >&5
    Using built-in specs.
    Target: i686-pc-linux-gnu
    Configured with: ../configure –prefix=/opt/gcc4.3.2 –enable-clocale=gnu –enable-shared –enable-__cxa_atexit –enable-languages=c,c++ –disable-libstdcxx-pch
    Thread model: posix
    gcc version 4.3.2 (GCC)
    configure:3191: $? = 0
    configure:3198: gcc -V >&5
    gcc: ‘-V’ option must have argument
    configure:3202: $? = 1
    configure:3225: checking for C compiler default output file name
    configure:3247: gcc conftest.c >&5
    /usr/local/bin/ld: cannot find /usr/lib/libc_nonshared.a
    collect2: ld returned 1 exit status
    configure:3251: $? = 1
    configure:3289: result:
    configure: failed program was:
    | /* confdefs.h. */
    | #define PACKAGE_NAME “libtorrent”
    | #define PACKAGE_TARNAME “libtorrent”
    | #define PACKAGE_VERSION “0.12.4”
    | #define PACKAGE_STRING “libtorrent 0.12.4”
    | #define PACKAGE_BUGREPORT “jaris@ifi.uio.no”
    | #define PEER_NAME “-lt0C40-“
    | #define PEER_VERSION “ltx0Cx40”
    | #define PACKAGE “libtorrent”
    | #define VERSION “0.12.4”
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3296: error: C compiler cannot create executables
    See `config.log’ for more details.

    ##


    ##
    ## Cache variables. ##
    ##


    ##

    ac_cv_build=i686-pc-linux-gnulibc1
    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_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_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_OPENSSL_CFLAGS_set=
    ac_cv_env_OPENSSL_CFLAGS_value=
    ac_cv_env_OPENSSL_LIBS_set=
    ac_cv_env_OPENSSL_LIBS_value=
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_STUFF_CFLAGS_set=
    ac_cv_env_STUFF_CFLAGS_value=
    ac_cv_env_STUFF_LIBS_set=
    ac_cv_env_STUFF_LIBS_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=i686-pc-linux-gnulibc1
    ac_cv_path_install=’/bin/install -c’
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes

    ##


    ##
    ## Output variables. ##
    ##


    ##

    ACLOCAL=’${SHELL} /Database/libtorrent-0.12.4/missing –run aclocal-1.10′
    AMDEPBACKSLASH=”
    AMDEP_FALSE=’#’
    AMDEP_TRUE=”
    AMTAR=’${SHELL} /Database/libtorrent-0.12.4/missing –run tar’
    AR=”
    AUTOCONF=’${SHELL} /Database/libtorrent-0.12.4/missing –run autoconf’
    AUTOHEADER=’${SHELL} /Database/libtorrent-0.12.4/missing –run autoheader’
    AUTOMAKE=’${SHELL} /Database/libtorrent-0.12.4/missing –run automake-1.10′
    AWK=’gawk’
    CC=’gcc’
    CCDEPMODE=”
    CFLAGS=”
    CPP=”
    CPPFLAGS=”
    CXX=”
    CXXCPP=”
    CXXDEPMODE=”
    CXXFLAGS=”
    CYGPATH_W=’echo’
    DEFS=”
    DEPDIR=’.deps’
    DSYMUTIL=”
    ECHO=’echo’
    ECHO_C=”
    ECHO_N=’-n’
    ECHO_T=”
    EGREP=”
    EXEEXT=”
    F77=”
    FFLAGS=”
    GREP=”
    INSTALL_DATA=’${INSTALL} -m 644′
    INSTALL_PROGRAM=’${INSTALL}’
    INSTALL_SCRIPT=’${INSTALL}’
    INSTALL_STRIP_PROGRAM=’$(install_sh) -c -s’
    LDFLAGS=”
    LIBOBJS=”
    LIBS=”
    LIBTOOL=”
    LIBTORRENT_CFLAGS=”
    LIBTORRENT_CURRENT=’11’
    LIBTORRENT_INTERFACE_VERSION_INFO=’11:4:0′
    LIBTORRENT_INTERFACE_VERSION_NO=’11.0.4′
    LIBTORRENT_LIBS=”
    LN_S=”
    LTLIBOBJS=”
    MAKEINFO=’${SHELL} /Database/libtorrent-0.12.4/missing –run makeinfo’
    MKDIR_P=’/bin/mkdir -p’
    NMEDIT=”
    OBJEXT=”
    OPENSSL_CFLAGS=”
    OPENSSL_LIBS=”
    PACKAGE=’libtorrent’
    PACKAGE_BUGREPORT=’jaris@ifi.uio.no
    PACKAGE_NAME=’libtorrent’
    PACKAGE_STRING=’libtorrent 0.12.4′
    PACKAGE_TARNAME=’libtorrent’
    PACKAGE_VERSION=’0.12.4′
    PATH_SEPARATOR=’:’
    PKG_CONFIG=”
    RANLIB=”
    SED=”
    SET_MAKE=”
    SHELL=’/bin/sh’
    STRIP=”
    STUFF_CFLAGS=”
    STUFF_LIBS=”
    VERSION=’0.12.4′
    ac_ct_CC=’gcc’
    ac_ct_CXX=”
    ac_ct_F77=”
    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=’i686-pc-linux-gnulibc1′
    build_alias=”
    build_cpu=’i686′
    build_os=’linux-gnulibc1′
    build_vendor=’pc’
    datadir=’${datarootdir}’
    datarootdir=’${prefix}/share’
    docdir=’${datarootdir}/doc/${PACKAGE_TARNAME}’
    dvidir=’${docdir}’
    exec_prefix=’NONE’
    host=’i686-pc-linux-gnulibc1′
    host_alias=”
    host_cpu=’i686′
    host_os=’linux-gnulibc1′
    host_vendor=’pc’
    htmldir=’${docdir}’
    includedir=’${prefix}/include’
    infodir=’${datarootdir}/info’
    install_sh=’$(SHELL) /Database/libtorrent-0.12.4/install-sh’
    libdir=’${exec_prefix}/lib’
    libexecdir=’${exec_prefix}/libexec’
    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 “libtorrent”
    #define PACKAGE_TARNAME “libtorrent”
    #define PACKAGE_VERSION “0.12.4”
    #define PACKAGE_STRING “libtorrent 0.12.4”
    #define PACKAGE_BUGREPORT “jaris@ifi.uio.no”
    #define PEER_NAME “-lt0C40-“
    #define PEER_VERSION “ltx0Cx40”
    #define PACKAGE “libtorrent”
    #define VERSION “0.12.4”

    configure: exit 77

    #49193

    JC
    Member

    OK, I have not tried to compile or anything like that. if you are running the live cd, you may need to consider actually installing ZS to the hdd then it should have access, as other than /Database /database i believe the rest of the files are read-only, being on the cd and all.
    there are several help posts in the forum on this and seems several ppl have done several different types of installations. including SCSI and SATA.

    gl to ya
    JC

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.