LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   giFT gnutella 10.0!? (https://www.linuxquestions.org/questions/linux-software-2/gift-gnutella-10-0-a-292451/)

keithieopia 02-19-2005 08:42 PM

giFT gnutella 10.0!?
 
Hi, I'm looking for a mandrake 10.X rpm for giFT-gnutella 10.0 network plugin. The PLF and rpm.pbone only have the 9.x but the updated plug-in has been out forever so what gives? Anyone for making the new RPM or know where to find it? I tried compiling from the source but it gives me a preprocesser error so somethings buggy in the code (at least for mandrake) perhaps this is the reason for there being no RPM?

acid_kewpie 02-19-2005 08:57 PM

it's such a small little package, why not just install it from source?

keithieopia 02-19-2005 08:59 PM

hmmph.... you didnt read my post, I said I tried but it didnt work... I'm sure it does for other distros, but not mandrake 10.x

acid_kewpie 02-19-2005 09:16 PM

erm.. yeah.... sorry... what errors are you getting then?

keithieopia 02-19-2005 09:21 PM

ok I run ./configure spits out the usual, untill this:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

So I check the config.log for more details, I got this... (skipped to the error in the log):

| Syntax error
configure:5132: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:5138: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "gift-gnutella"
| #define PACKAGE_TARNAME "gift-gnutella"
| #define PACKAGE_VERSION "0.0.10"
| #define PACKAGE_STRING "gift-gnutella 0.0.10"
| #define PACKAGE_BUGREPORT ""
| #define GT_MAJOR_VERSION "0"
| #define GT_MINOR_VERSION "0"
| #define GT_MICRO_VERSION "10"
| #define GT_EXTRA_VERSION ""
| #define PACKAGE "gift-gnutella"
| #define VERSION "0.0.10"
| #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_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5132: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:5138: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "gift-gnutella"
| #define PACKAGE_TARNAME "gift-gnutella"
| #define PACKAGE_VERSION "0.0.10"
| #define PACKAGE_STRING "gift-gnutella 0.0.10"
| #define PACKAGE_BUGREPORT ""
| #define GT_MAJOR_VERSION "0"
| #define GT_MINOR_VERSION "0"
| #define GT_MICRO_VERSION "10"
| #define GT_EXTRA_VERSION ""
| #define PACKAGE "gift-gnutella"
| #define VERSION "0.0.10"
| #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_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5215: result: /lib/cpp
configure:5239: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:5245: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "gift-gnutella"
| #define PACKAGE_TARNAME "gift-gnutella"
| #define PACKAGE_VERSION "0.0.10"
| #define PACKAGE_STRING "gift-gnutella 0.0.10"
| #define PACKAGE_BUGREPORT ""
| #define GT_MAJOR_VERSION "0"
| #define GT_MINOR_VERSION "0"
| #define GT_MICRO_VERSION "10"
| #define GT_EXTRA_VERSION ""
| #define PACKAGE "gift-gnutella"
| #define VERSION "0.0.10"
| #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_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5239: /lib/cpp conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory
configure:5245: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "gift-gnutella"
| #define PACKAGE_TARNAME "gift-gnutella"
| #define PACKAGE_VERSION "0.0.10"
| #define PACKAGE_STRING "gift-gnutella 0.0.10"
| #define PACKAGE_BUGREPORT ""
| #define GT_MAJOR_VERSION "0"
| #define GT_MINOR_VERSION "0"
| #define GT_MICRO_VERSION "10"
| #define GT_EXTRA_VERSION ""
| #define PACKAGE "gift-gnutella"
| #define VERSION "0.0.10"
| #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_DLFCN_H 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5314: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
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_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_exeext=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_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_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=none
am_cv_prog_cc_stdc=
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=/bin/sed
lt_cv_prog_gnu_ld=yes

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

ACLOCAL='${SHELL} /home/tim/gift-gnutella-0.0.10/missing --run aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/tim/gift-gnutella-0.0.10/missing --run tar'
AR=''
AUTOCONF='${SHELL} /home/tim/gift-gnutella-0.0.10/missing --run autoconf'
AUTOHEADER='${SHELL} /home/tim/gift-gnutella-0.0.10/missing --run autoheader'
AUTOMAKE='${SHELL} /home/tim/gift-gnutella-0.0.10/missing --run automake-1.7'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='/lib/cpp'
CXXDEPMODE='depmode=none'
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
F77=''
FFLAGS=''
GNUTELLA_CFLAGS=''
GNUTELLA_LIBS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBXML2_CFLAGS=''
LIBXML2_LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/tim/gift-gnutella-0.0.10/missing --run makeinfo'
OBJEXT='o'
PACKAGE='gift-gnutella'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='gift-gnutella'
PACKAGE_STRING='gift-gnutella 0.0.10'
PACKAGE_TARNAME='gift-gnutella'
PACKAGE_VERSION='0.0.10'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PLUGIN_LDFLAGS=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_ZLIB=''
VERSION='0.0.10'
XML2_CONFIG=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/tim/gift-gnutella-0.0.10/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

#define GT_EXTRA_VERSION ""
#define GT_MAJOR_VERSION "0"
#define GT_MICRO_VERSION "10"
#define GT_MINOR_VERSION "0"
#define HAVE_DLFCN_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE "gift-gnutella"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "gift-gnutella"
#define PACKAGE_STRING "gift-gnutella 0.0.10"
#define PACKAGE_TARNAME "gift-gnutella"
#define PACKAGE_VERSION "0.0.10"
#define STDC_HEADERS 1
#define VERSION "0.0.10"
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1

keithieopia 02-19-2005 09:36 PM

I am relativly new to linux but should cc1plus be cplusplus if thats what the config is complaining about?

reddazz 02-19-2005 09:55 PM

Maybe you don't have a c++ compiler installed, make sure you have g++ (or on some distros gcc-g++) installed. Take a look at this thread as well.

keithieopia 02-19-2005 11:26 PM

wow... you would think a c++ compiler would come standard in the distro... but no. Thanks for the help!

reddazz 02-19-2005 11:52 PM

Not really, most distros don't even install development tools unless you select this option during the installation.

keithieopia 02-21-2005 08:48 PM

Man this thing is tempermental, ok installed gcc-c++ no problem, now the dang thing complains about this:

checking for pkg-config... /usr/bin/pkg-config
checking for libgift >= 0.11.4 libgift < 0.12.0... Package libgift was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgift.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgift' found

ok I know what the problem is my libgift is called libgift0 and not libgift so my only question now is how to I change the "PKG_CONFIG_PATH"?

keithieopia 02-21-2005 08:56 PM

Ok nevermind I had "libgift0" but needed the whole libgift0-devel it works fine now. What a pain!!!


All times are GMT -5. The time now is 08:59 AM.