LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to use trickle ?? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-use-trickle-205712/)

starking 07-16-2004 02:10 AM

how to use trickle ??
 
i download trickle-1.60.tat.gz un - pack it but can't make it to work ?

i try to use the coomand from the readme file but get err msg :

eran@linux:~/trickle> ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable cc found in $PATH
eran@linux:~/trickle>


what i need to do ??? plz help !! :confused:

ppuru 07-16-2004 02:14 AM

Quote:

checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
You do not have gcc packages installed. Find the appropriate gcc packages and install them ... appropriate = depending on the linux distro you are using.

starking 07-16-2004 07:25 AM

ok. but ....
 
i install gcc for suse 9.1 but still i get err msg :

eran@linux:~/trickle> ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for ld used by GCC... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
loading cache /dev/null within ltconfig
checking for object suffix... o
checking for executable suffix... 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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache /dev/null
checking whether make sets ${MAKE}... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dlopen in -ldl... yes
checking for err in -lc... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking if libc defines __progname... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for err.h... yes
checking for time.h... yes
checking for unistd.h... yes
checking for stdint.h... yes
checking for netinet/in.h... yes
checking for asm/poll.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... 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... (cached) yes
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for u_int64_t... yes
checking for u_int32_t... yes
checking for u_int16_t... yes
checking for u_int8_t... yes
checking for in_addr_t... no
checking whether gcc needs -traditional... no
checking return type of signal handlers... void
checking for socket... yes
checking for strlcat... no
checking for strlcpy... no
checking for daemon... yes
checking for setenv... yes
checking for strsep... yes
checking for libevent... no
configure: error: libevent not found
eran@linux:~/trickle> trickle -h
bash: trickle: command not found

i can't get any command to work !!! what i'm doing wrong ??

ArthurDent 07-16-2004 07:48 AM

Compiling from source can be tricky - but it is worth it if you are prepared to stick with it...

If you look at the Trickle website (here) it tells you that :
Quote:

trickle also [...] requires libevent version 0.6 or higher.
So what you need to is to go to that website (here) and download and install the libevent package - using the same ./configure -> make -> make install (as root) process as you are doing with Trickle. Once you have done that you can try once again to install the Trickle package.

Another approach is to try to find an RPM for your system. You don't say what distribution you are using but if I go to RPM search (here) I can find a 1.06 version for my Fedora Core distribution...

Hope that helps


All times are GMT -5. The time now is 12:36 PM.