Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
giFT-ares compile error & ARES Connecting remaining [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
PardoX
n00b
n00b


Joined: 26 Jan 2006
Posts: 29

PostPosted: Sun Jan 29, 2006 12:47 am    Post subject: giFT-ares compile error & ARES Connecting remaining [sol Reply with quote

Hi
Im trying to compile gift-ares plugin from cvs sources.But i get this error message.
Code:

cd /usr/local
mkdir portage
cd portage
cvs -d:pserver:anonymous@cvs.gift-ares.berlios.de:/cvsroot/gift-ares login  //enter
cvs -z3 -d:pserver:anonymous@cvs.gift-ares.berlios.de:/cvsroot/gift-ares co gift-ares
echo net-p2p/gift-ares ~x86 >> /etc/portage/package.keywords
cd gift-ares
sh autogen.sh
./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for a BSD-compatible install... /bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/i386-pc-linux-gnu/bin/ld
checking if the linker (/usr/i386-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i386-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i386-pc-linux-gnu/bin/ld
checking if the linker (/usr/i386-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/i386-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for prefix by checking for giftd... /usr/bin/giftd
checking for pkg-config... /usr/bin/pkg-config
checking for libgift >= 0.11.8 libgift < 0.12.0... yes
checking GIFT_CFLAGS...
checking GIFT_LIBS... -lgift
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether INADDR_NONE is defined... yes
checking for working memcmp... yes
checking for strdup... yes
checking for zlib version 1.1.3+ in /usr... yes
checking for gzread... no
checking for gzread in -lz... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: Makefile.in


thanx.
_________________
Gentoo Linux installed on Sony-Vaio Laptop with Gui Installer.
Live CD version : livecd-x86-installer-2005.1-r1.iso
Stage 3
Kernel : 2.6.15-gentoo-r1
Begin to use Gentoo: 11:25 25.01.2006

--------------------------
Best Regards.


Last edited by PardoX on Sat Feb 04, 2006 4:33 pm; edited 2 times in total
Back to top
View user's profile Send private message
seren
Guru
Guru


Joined: 27 Aug 2005
Posts: 448
Location: Wisconsin

PostPosted: Sun Jan 29, 2006 3:11 am    Post subject: Reply with quote

it looks like the source is incomplete, the ./configure ran smooth but make couldnt beause it seems to be somewhere else? try going in to /var/tmp/portage/prog and ls to see if the make file is present.
Back to top
View user's profile Send private message
PardoX
n00b
n00b


Joined: 26 Jan 2006
Posts: 29

PostPosted: Sun Jan 29, 2006 2:13 pm    Post subject: Reply with quote

seren wrote:
it looks like the source is incomplete, the ./configure ran smooth but make couldnt beause it seems to be somewhere else? try going in to /var/tmp/portage/prog and ls to see if the make file is present.


actually what u mean with /var/tmp/portage/prog (prog)
there isnt any folder (/var/tmp/portage/gift-ares) And i could see only /var/tmp/portage/gift this folder and this folder dont contains any sort of make files,
Is there any other way to know my make compiler is valid?And may i able to change it to valid one.And How?

this is my make.conf file
Code:

PardoX etc # cat make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-Os -mcpu=i686 -pipe"
CFLAGS="-march=i386 -Os -mcpu=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE=" 16bit 7zip X acpi alsa amarok amuled apache2 apm applet arts avi berkdb bitmap-fonts blender-game bzip2 c++ crypt cups dvd dvdread eds elibc_glibc emboss emoticon -empress -empress-bcs encode ffmpeg finger firefox flash foomaticdb fortran gdbm geometry gif gkrellm gnome gpm gstreamer gtk gtk2 html http hub icon imlib ipv6 irc j2ee java javascript jpeg kde kernel_linux lame latex libg++ libwww live mad make-symlinks math mikmod mime mixer motif mozcalendar mozilla mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn msql mule mysql ncurses net netbeans network nfs nls ntfs ocaml octave ogg oggvorbis opengl oss pam pango pcmcia pdf pdflib perl png python qt quicktime readline real remix rpm samba sample sdl sendmail spell ssl stream subtitles tcpd transcode truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l virus-scan vlm vorbis win32codecs wxwindows x86 xine xml2 xmms xv yahoo zlib"
FEATURES="ccache"
ACCEPT_KEYWORDS=""
CCACHE_SIZE="2G"
# GLI additions ===>
# <=== End GLI additions


and this is the folder
Code:

PardoX portage # ls
Locale-gettext-1.03       gift-0.11.6-r1           mldonkey-2.6.4-r2
acroread-7.0.1.1          giftcurs-0.6.2           module-init-tools-3.0-r2
automake-1.9.5            giftui-0.3.1             nano-1.3.9
baselayout-1.11.13-r1     glibc-2.3.4.20041102-r1  openssl-0.9.7e-r1
binutils-2.15.92.0.2-r10  gnuconfig-20050324       pam-0.78-r2
binutils-config-1.8-r4    grep-2.5.1-r7            pcmcia-cs-3.2.8-r2
bzip2-1.0.3-r4            hashalot-0.3             perl-5.8.6-r5
com_err-1.37              homedir                  pkgconfig-0.17.2-r1
coreutils-5.2.1-r6        kcminit-3.4.1            portage-2.0.51.22-r2
cpio-2.6-r4               kcontrol-3.4.3           psmisc-21.5
cracklib-2.8.3-r1         kdebase-data-3.4.3       sandbox-1.2.11
db-4.2.52_p2              kdesu-3.4.1              shadow-4.0.7-r3
debianutils-2.13.1-r1     kdm-3.4.3-r1             sjog-0.6
e2fsprogs-1.37-r1         khelpcenter-3.4.3        smcinit-0.4
file-4.12                 khotkeys-3.4.3           ss-1.37
findutils-4.1.20-r1       libperl-5.8.6-r1         superkaramba-0.36
flex-2.5.4a-r5            libtool-1.5.18-r1        sysvinit-2.86
gawk-3.1.3-r2             livecd-kernel-2005.1     texinfo-4.8
gcc-3.3.5.20050130-r1     m4-1.4.2-r1              udev-058
gcc-3.4.4-r1              make-3.80-r1             util-linux-2.12i-r1
gcc-config-1.3.11-r4      man-1.6
gdbm-1.8.3-r1             man-pages-2.02


thanX.
_________________
Gentoo Linux installed on Sony-Vaio Laptop with Gui Installer.
Live CD version : livecd-x86-installer-2005.1-r1.iso
Stage 3
Kernel : 2.6.15-gentoo-r1
Begin to use Gentoo: 11:25 25.01.2006

--------------------------
Best Regards.


Last edited by PardoX on Sat Feb 04, 2006 3:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
PardoX
n00b
n00b


Joined: 26 Jan 2006
Posts: 29

PostPosted: Sat Feb 04, 2006 3:29 pm    Post subject: Reply with quote

U have to change
in configure.ca :

Code:
# -*- sh -*-

# $Id: configure.ac,v 1.10 2005/12/02 19:08:18 mkern Exp $

dnl ###########################################################################
dnl Process this file with autoconf to produce a configure script.
dnl ###########################################################################

AC_PREREQ(2.52)

AC_INIT(gift-ares, 0.3.0)
AC_REVISION($Revision: 1.10 $)
AC_CONFIG_SRCDIR([lib/as_ares.h])
AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)

dnl AM_MAINTAINER_MODE

dnl ###########################################################################
dnl Build information
dnl ###########################################################################

AC_DEFINE_UNQUOTED(BUILD_DATE, "`date`", [Build date])
AC_DEFINE(GIFT_PLUGIN, 1, [This is a giFT plugin])

dnl ###########################################################################
dnl Checks for build tools and configure libtool.
dnl ###########################################################################

AC_PROG_CC
AC_HEADER_STDC
AC_PROG_INSTALL

AM_DISABLE_STATIC
AC_PROG_LIBTOOL

dnl ###########################################################################
dnl Checks for libraries.
dnl ###########################################################################

GIFT_PLUGIN_PREFIX
GIFT_PLUGIN_PKGCONFIG(GIFT, 0.11.8, 0.12.0)

dnl ###########################################################################
dnl Checks for header files.
dnl ###########################################################################

AC_HEADER_STDC

dnl ###########################################################################
dnl Checks for typedefs, structures, and compiler characteristics.
dnl ###########################################################################

AC_C_CONST
AC_HEADER_TIME
AC_STRUCT_TM
AC_HAVE_INADDR_NONE

dnl ###########################################################################
dnl Checks for library functions.
dnl ###########################################################################

AC_FUNC_MEMCMP
AC_CHECK_FUNCS(strdup)

dnl ###########################################################################
dnl All of the lovely arguments
dnl ###########################################################################

AC_ARG_ENABLE(debug,              [  --disable-debug         do not create debug messages],,[enable_debug=yes])
AM_CONDITIONAL(DEBUG,              test x$enable_debug    = xyes)

AC_ARG_ENABLE(heavy_debug,        [  --enable-heavy-debug    create _lots_ debug messages],,[enable_heavy_debug=no])
AM_CONDITIONAL(HEAVY_DEBUG,        test x$enable_heavy_debug    = xyes)

dnl ###########################################################################
dnl normal debug
dnl ###########################################################################

use_debug=no
if test x$enable_debug = xyes; then
        AC_DEFINE(DEBUG, 1, [Enable debugging])
        use_debug=yes
fi

dnl ###########################################################################
dnl heavy debug
dnl ###########################################################################

use_heavy_debug=no
if test x$enable_heavy_debug = xyes; then
        AC_DEFINE(HEAVY_DEBUG, 1, [Enable heavy debugging])
        use_heavy_debug=yes
fi

dnl ###########################################################################
dnl Check for zlib...
dnl ###########################################################################

# set the minimum ZLIB_VER we're willing to link against...
ZLIB_VER=1.1.3

dnl Default to compiler & linker defaults for files & libraries.
OPT_ZLIB=
AC_ARG_WITH(zlib,dnl
[  --with-zlib[=DIR]         where to look for ZLIB [compiler/linker default paths]
                          DIR points to the ZLIB installation prefix [/usr/local]],
 OPT_ZLIB=$withval,
)

#AC_MSG_CHECKING(where to look for ZLIB)
if test X"$OPT_ZLIB" = Xno
then
  zlib_ok=no
else
  ZLIB_DIRS="$OPT_ZLIB /usr /usr/local /sw"
  for ZLIB_DIR in $ZLIB_DIRS;
  do
    LIBS_SAVE="$LIBS"
    CPPFLAGS_SAVE="$CPPFLAGS"
    LIBS="$LIBS -L${ZLIB_DIR}/lib"
    CPPFLAGS="$CPPFLAGS -I${ZLIB_DIR}/include"
    AC_CACHE_CHECK(
      [for zlib version ${ZLIB_VER}+ in ${ZLIB_DIR}],
      zlib_ok,
      AC_TRY_RUN(
        [#include <zlib.h>
         #include <string.h>
         void main() {
           exit(strcmp(ZLIB_VERSION, "${ZLIB_VER}") < 0);
         }
         ],
        [zlib_ok=yes],
        [zlib_ok=no],
        [zlib_ok=yes]))

    if test "$zlib_ok" != "no"; then
      AC_CHECK_FUNC(gzread, , AC_CHECK_LIB(z, gzread))
      break
    fi
    LIBS="$LIBS_SAVE"
    CPPFLAGS="$CPPFLAGS_SAVE"
  done

  if test "$zlib_ok" = "no"; then
    AC_MSG_ERROR([
NOTE: The zlib compression library version ${ZLIB_VER} or greater was not found
on your system.

If zlib ${ZLIB_VER}+ is not installed, install it.
    ])
  fi
fi

dnl ###########################################################################
dnl Configure installation paths
dnl ###########################################################################

GIFT_PLUGIN_INSTALL_PATH

dnl ###########################################################################
dnl Finally do the generation
dnl ###########################################################################

dnl Needed to build with libtoolize 1.4.3 on Debian woody


AC_CONFIG_FILES([
  Makefile
  lib/Makefile
  gift/Makefile
  data/Makefile
  m4/Makefile
  win32/Makefile
])
AC_OUTPUT

dnl ###########################################################################
dnl Print summary to the user
dnl ###########################################################################

echo
echo "$PACKAGE $VERSION"
echo
echo "------------------ core ------------------"
echo
echo "normal debugging........: $use_debug"
echo "heavy debugging.........: $use_heavy_debug"
echo
echo "------------------------------------------"
echo
echo "$PACKAGE will be installed in $plugindir/"
echo "configs will be installed in $datadir/"
echo


and than
Code:

./autogen.sh && make && make install


thats all.
Back to top
View user's profile Send private message
piewie
Guru
Guru


Joined: 26 Sep 2002
Posts: 489
Location: old Europe

PostPosted: Sat Feb 04, 2006 6:53 pm    Post subject: Reply with quote

after modifying configure.ac and autogen.sh it is also possible to
tar cjf gift-ares-0.2.2.1.tar.bz2 ares-gift-0.2.2.1
move it to /usr/portage/distfiles, use the portage overlay
and then emerge the new gift-ares (don't forget to remove the epatch line, if you take the 0.2.2 ebuild)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum