Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Portage Problems


    Hey Everyone, I recently installed Gentoo. Everything went okay apart from /boot refusing to mount from /dev/hda1 on startup when it says mounting local filesystems.. But startup continues normally I just have to manually mount /boot. No problem.

    Anyway back on track, I am trying to install php for an apache2 server. PHP doesn't compile and results in an error, so I decided to do a system update
    portage -u system
    this identified 12 packages to install but the first one texinfo always fails.
    Code:
    make[2]: *** [texinfo.info] Error 132
    make[2]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8/doc'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8'
    make: *** [all] Error 2
    
    !!! ERROR: sys-apps/texinfo-4.8 failed.
    !!! Function src_compile, Line 41, Exitcode 2
    !!! (no error message)
    !!! If you need support, post the topmost build error, NOT this status message.
    The few lines above this are
    Code:
    if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -DLOCALEDIR=\"/usr/share/locale\"    -O2 -march=pentium4 -fomit-frame-pointer -pipe -MT texindex.o -MD -MP -MF ".deps/texindex.Tpo" -c -o texindex.o texindex.c; \
    then mv -f ".deps/texindex.Tpo" ".deps/texindex.Po"; else rm -f ".deps/texindex.Tpo"; exit 1; fi
    sed 's/__VERSION__/4.8/g' ./texinfo-cat.in >texinfo.cat
    i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -fomit-frame-pointer -pipe   -o ginstall-info  install-info.o ../lib/libtxi.a
    i686-pc-linux-gnu-gcc  -O2 -march=pentium4 -fomit-frame-pointer -pipe   -o texindex  texindex.o ../lib/libtxi.a
    make[2]: Leaving directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8/util'
    Making all in doc
    make[2]: Entering directory `/var/tmp/portage/texinfo-4.8/work/texinfo-4.8/doc'
    restore=: && backupdir=".am$$" && \
    rm -rf $backupdir && mkdir $backupdir && \
    for f in texinfo.info texinfo.info-[0-9] texinfo.info-[0-9][0-9] texinfo.i[0-9] texinfo.i[0-9][0-9]; do \
      if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
    done; \
    if ..//makeinfo/makeinfo   -I . \
     -o texinfo.info `test -f 'texinfo.txi' || echo './'`texinfo.txi; \
    then \
      rc=0; \
    else \
      rc=$?; \
      $restore $backupdir/* `echo "./texinfo.info" | sed 's|[^/]*$||'`; \
    fi; \
    rm -rf $backupdir; exit $rc
    restore=: && backupdir=".am$$" && \
    rm -rf $backupdir && mkdir $backupdir && \
    for f in info-stnd.info info-stnd.info-[0-9] info-stnd.info-[0-9][0-9] info-stnd.i[0-9] info-stnd.i[0-9][0-9]; do \
      if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
    done; \
    if ..//makeinfo/makeinfo   -I . \
     -o info-stnd.info `test -f 'info-stnd.texi' || echo './'`info-stnd.texi; \
    then \
      rc=0; \
    else \
      rc=$?; \
      $restore $backupdir/* `echo "./info-stnd.info" | sed 's|[^/]*$||'`; \
    fi; \
    rm -rf $backupdir; exit $rc
    restore=: && backupdir=".am$$" && \
    rm -rf $backupdir && mkdir $backupdir && \
    for f in info.info info.info-[0-9] info.info-[0-9][0-9] info.i[0-9] info.i[0-9][0-9]; do \
      if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
    done; \
    if ..//makeinfo/makeinfo   -I . \
     -o info.info `test -f 'info.texi' || echo './'`info.texi; \
    then \
      rc=0; \
    else \
      rc=$?; \
      $restore $backupdir/* `echo "./info.info" | sed 's|[^/]*$||'`; \
    fi; \
    rm -rf $backupdir; exit $rc
    Emerge --info gives
    Code:
    Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r5 i686)
    =================================================================
    System uname: 2.6.11-gentoo-r5 i686 Celeron (Coppermine)
    Gentoo Base System version 1.4.16
    Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 17:34:27)]
    dev-lang/python:     2.3.4-r1
    sys-devel/autoconf:  2.59-r6, 2.13
    sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
    sys-devel/binutils:  2.15.92.0.2-r7
    sys-devel/libtool:   1.5.10-r4
    virtual/os-headers:  2.6.8.1-r2
    ACCEPT_KEYWORDS="x86"
    AUTOCLEAN="yes"
    CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
    CHOST="i686-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
    CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
    CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
    DISTDIR="/usr/portage/distfiles"
    FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
    GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com"
    MAKEOPTS="-j2"
    PKGDIR="/usr/portage/packages"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
    USE="x86 acpi alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups curl dvd emboss encode ethereal foomaticdb fortran ftp gdbm gif gnome gpm gtk2 imap imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg msn mysql mysqli ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt quicktime readline samba sdl session spell ssl svga tcpd tokenizer truetype truetype-fonts type1-fonts usb wifi xml xml2 xmms xv zlib"
    Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
    I get errors if I go emerge php and it tries to emerge xorg-x11 aswell, if i go USE="-*" and then add all the goodies like SSL gd MYSQL etc php almost compiles and installs but I get a pear error similiar to the one documented above.

    Thank you heaps to anyone who can help as I am very much new to linux and have decided to try out Gentoo.

    Sadza

  2. #2

    Nevermind

    Sorry everyone, nevermind, i changed the instruction from pentium 4 to pentium 3 and removed pipe and now things work. I don't know why i put it on p4.. i guess its not a high end celeron lol is there such a thing. Oh well should i recompile all existing packages? Please say no...

  3. #3
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,901
    sadza wrote:
    I don't know why i put it on p4.. i guess its not a high end celeron lol is there such a thing.
    I have a p4 2.8 Ghz Celeron proc, and it is really fast.
    Celeron's are a lot better than what they used to be.
    If you want to learn more about linux take a linux journey
    https://linuxjourney.com/
    Use CODE tags when posting output of commands. Thank you.
    https://www.linuxcounter.net/cert/608410.png

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •