Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do you go about install/updating/grading your Gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ChaosLord40k
n00b
n00b


Joined: 13 Jun 2004
Posts: 26
Location: SoCal

PostPosted: Sat Jun 03, 2006 3:41 am    Post subject: How do you go about install/updating/grading your Gentoo Reply with quote

After reading the man page of emerge several times, and still having several compile errors with installing programs, or doing a --deep --update world or system. I would like to see how anyone goes about installing software or updating/grading. From start (whatever you do before emerge or during) and after(after the software is installed and running). Is it normal to have problems emerging your world/system? or installing software? Is it something I should expect, or is there a problem on my part?
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Sat Jun 03, 2006 4:52 am    Post subject: Reply with quote

Most of the time it just works and there are no errors. If this is not the case for you there is most likely something wrong with your installation. Please post one of the problems (with error messages and emerge --info) and I am sure, the forum members will find a solution.
Back to top
View user's profile Send private message
ChaosLord40k
n00b
n00b


Joined: 13 Jun 2004
Posts: 26
Location: SoCal

PostPosted: Sat Jun 03, 2006 5:03 am    Post subject: Reply with quote

Well, when I update world with --info I get the following:

Code:
georig1 george # emerge --info
Portage 2.0.54-r2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dri dvd eds emboss encode exif expat fam ffmpeg foomaticdb fortran gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 isdnlog jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg openal opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

georig1 george #


Here is the output after a little bit a time of compiling with emerge --update --deep world:

Code:

georig1 george # emerge --update --deep world
Calculating world dependencies ...done!
>>> emerge (1 of 26) media-libs/tiff-3.8.2 to /
>>> md5 files   ;-) tiff-3.7.3.ebuild
>>> md5 files   ;-) tiff-3.7.4.ebuild
>>> md5 files   ;-) tiff-3.8.2.ebuild
>>> md5 files   ;-) files/digest-tiff-3.7.3
>>> md5 files   ;-) files/digest-tiff-3.7.4
>>> md5 files   ;-) files/digest-tiff-3.8.2
>>> md5 files   ;-) files/tiff-3.7.4-assign-dont-compare.patch
>>> md5 src_uri ;-) tiff-3.8.2.tar.gz
>>> Unpacking source...
>>> Unpacking tiff-3.8.2.tar.gz to /var/tmp/portage/tiff-3.8.2/work
 * Running elibtoolize in: tiff-3.8.2/config
 *   Applying portage-1.2.0.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
>>> Source unpacked.
 * econf: updating tiff-3.8.2/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating tiff-3.8.2/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-cxx --enable-zlib --enable-jpeg --with-pic --with-gnu-ld --without-x --build=i686-pc-linux-gnu
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... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking for C compiler warning flags... -Wall -W
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for fgrep... grep -F
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 32768
checking whether the shell understands some XSI constructs... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking how to recognise dependent libraries... pass_all
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... 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... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-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... yes
checking for main in -lc... yes
checking for main in -lm... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for off_t... yes
checking for size_t... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
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 for int8... no
checking for int16... no
checking for int32... no
checking for floor... yes
checking for isascii... yes
checking for memmove... yes
checking for memset... yes
checking for mmap... yes
checking for pow... yes
checking for sqrt... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for getopt... yes
checking for strcasecmp... yes
checking for strtoul... yes
checking for lfind... yes
checking native cpu bit order... lsb2msb
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for jpeg_read_scanlines in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for X... disabled
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... i686-pc-linux-gnu-gcc
checking whether we are using the Microsoft C compiler... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for OpenGL library... -lGL
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g++... (cached) i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes
checking dependency style of i686-pc-linux-gnu-g++... (cached) gcc3
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-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 OpenGL Utility library... -lGLU
checking for GLUT library... -lglut
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/acorn/Makefile
config.status: creating contrib/addtiffo/Makefile
config.status: creating contrib/dbs/Makefile
config.status: creating contrib/dbs/xtiff/Makefile
config.status: creating contrib/iptcutil/Makefile
config.status: creating contrib/mac-cw/Makefile
config.status: creating contrib/mac-mpw/Makefile
config.status: creating contrib/mfs/Makefile
config.status: creating contrib/ojpeg/Makefile
config.status: creating contrib/pds/Makefile
config.status: creating contrib/ras/Makefile
config.status: creating contrib/stream/Makefile
config.status: creating contrib/tags/Makefile
config.status: creating contrib/win_dib/Makefile
config.status: creating html/Makefile
config.status: creating html/images/Makefile
config.status: creating html/man/Makefile
config.status: creating libtiff/Makefile
config.status: creating man/Makefile
config.status: creating port/Makefile
config.status: creating test/Makefile
config.status: creating tools/Makefile
config.status: creating libtiff/tif_config.h
config.status: creating libtiff/tiffconf.h
config.status: libtiff/tiffconf.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Libtiff is now configured for i686-pc-linux-gnu

  Installation directory:             /usr
  Documentation directory:            ${prefix}/share/doc/tiff-3.8.2
  C compiler:                         i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe -Wall -W
  C++ compiler:                       i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -pipe
  Enable runtime linker paths:        no
  Support Microsoft Document Imaging: yes

 Support for internal codecs:
  CCITT Group 3 & 4 algorithms:       yes
  Macintosh PackBits algorithm:       yes
  LZW algorithm:                      yes
  ThunderScan 4-bit RLE algorithm:    yes
  NeXT 2-bit RLE algorithm:           yes
  LogLuv high dynamic range encoding: yes

 Support for external codecs:
  ZLIB support:                       yes
  Pixar log-format algorithm:         yes
  JPEG support:                       yes
  Old JPEG support:                   no

  C++ support:                        yes

  OpenGL support:                     no

Making all in port
make[1]: Entering directory `/var/tmp/portage/tiff-3.8.2/work/tiff-3.8.2/port'
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff     -march=athlon-xp -O2 -pipe -Wall -W -MT dummy.lo -MD -MP -MF ".deps/dummy.Tpo" -c -o dummy.lo dummy.c; \
then mv -f ".deps/dummy.Tpo" ".deps/dummy.Plo"; else rm -f ".deps/dummy.Tpo"; exit 1; fi
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff -march=athlon-xp -O2 -pipe -Wall -W -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c  -fPIC -DPIC -o .libs/dummy.o
dummy.c:9: warning: 'libport_dummy_function' defined but not used
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../libtiff -I../libtiff -march=athlon-xp -O2 -pipe -Wall -W -MT dummy.lo -MD -MP -MF .deps/dummy.Tpo -c dummy.c  -fPIC -DPIC -o dummy.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -march=athlon-xp -O2 -pipe -Wall -W   -o libport.la   dummy.lo  -ljpeg -lz -lm -lc
grep: /usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc/i386-pc-linux-gnu/3.4.4/libstdc++.la' is not a valid libtool archive
make[1]: *** [libport.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/tiff-3.8.2/work/tiff-3.8.2/port'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/tiff-3.8.2 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

georig1 george #


I searched for libstdc++ and emerged that with no problem, still this problem persists. Should I reinstall this software? The bigger problem is that I get errors left and right with different packages, seemingly at random... which I'm almost sure (though based on next to nothing) that that isn't the case, would it have to do with my optimization in my make.conf and editing out -O3 for -O2. Maybe some of the packages were broken when installing with -O3? If so, should I reinstall my whole gentoo?
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Sat Jun 03, 2006 6:11 am    Post subject: Reply with quote

Have a look at this https://forums.gentoo.org/viewtopic-t-279020.html

In your case, I guess that
Code:
fix_libtool_files.sh 3.4.4 --oldarch i386-pc-linux-gnu

should fix it.
Back to top
View user's profile Send private message
ChaosLord40k
n00b
n00b


Joined: 13 Jun 2004
Posts: 26
Location: SoCal

PostPosted: Sat Jun 03, 2006 6:39 am    Post subject: Reply with quote

Thank you, I'll have take the time to read the thread after I finish reading man pages on portage. I'll have a crack at it afterwards and give back results.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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