LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-19-2005, 09:42 PM   #1
keithieopia
Member
 
Registered: Feb 2005
Location: Maryland, USA
Distribution: Arch x86_64
Posts: 69

Rep: Reputation: 18
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?
 
Old 02-19-2005, 09:57 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
it's such a small little package, why not just install it from source?
 
Old 02-19-2005, 09:59 PM   #3
keithieopia
Member
 
Registered: Feb 2005
Location: Maryland, USA
Distribution: Arch x86_64
Posts: 69

Original Poster
Rep: Reputation: 18
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
 
Old 02-19-2005, 10:16 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
erm.. yeah.... sorry... what errors are you getting then?
 
Old 02-19-2005, 10:21 PM   #5
keithieopia
Member
 
Registered: Feb 2005
Location: Maryland, USA
Distribution: Arch x86_64
Posts: 69

Original Poster
Rep: Reputation: 18
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
 
Old 02-19-2005, 10:36 PM   #6
keithieopia
Member
 
Registered: Feb 2005
Location: Maryland, USA
Distribution: Arch x86_64
Posts: 69

Original Poster
Rep: Reputation: 18
I am relativly new to linux but should cc1plus be cplusplus if thats what the config is complaining about?
 
Old 02-19-2005, 10:55 PM   #7
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
Old 02-20-2005, 12:26 AM   #8
keithieopia
Member
 
Registered: Feb 2005
Location: Maryland, USA
Distribution: Arch x86_64
Posts: 69

Original Poster
Rep: Reputation: 18
wow... you would think a c++ compiler would come standard in the distro... but no. Thanks for the help!
 
Old 02-20-2005, 12:52 AM   #9
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Not really, most distros don't even install development tools unless you select this option during the installation.
 
Old 02-21-2005, 09:48 PM   #10
keithieopia
Member
 
Registered: Feb 2005
Location: Maryland, USA
Distribution: Arch x86_64
Posts: 69

Original Poster
Rep: Reputation: 18
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"?
 
Old 02-21-2005, 09:56 PM   #11
keithieopia
Member
 
Registered: Feb 2005
Location: Maryland, USA
Distribution: Arch x86_64
Posts: 69

Original Poster
Rep: Reputation: 18
Ok nevermind I had "libgift0" but needed the whole libgift0-devel it works fine now. What a pain!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
giFT gnutella nodes erase xaos5 Linux - Software 3 02-09-2012 09:21 PM
gift-gnutella hexx Linux - Software 2 02-09-2012 07:52 PM
gift-Gnutella & gift-openft initial host files david.skinner Linux - Software 4 02-06-2012 07:55 PM
only giFT-Gnutella can't connect silverstormboy Linux - Software 5 08-21-2007 12:38 AM
Gnutella plugin for giFT is not working. Seraph Linux - Software 3 12-24-2003 07:26 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration