View previous topic :: View next topic |
Author |
Message |
Elv13 Guru
Joined: 13 Nov 2005 Posts: 388 Location: Socialist land of North America
|
Posted: Sun Aug 05, 2007 8:39 pm Post subject: Broken rm, chmod |
|
|
New problem, the package with rm, chmod and those basic command seem to have broken somehow. When i do rm it write fonction not implemented, same for chmod. What package/file i need to reemerge/copy over. ls, cd, cp,mv still work
_________________________________________________
--SOLVED--
Hi, after unpacking the stage3 archive, i can do some command (ls, cd, rm), but if i do emerge portable, env-update of any important command, i get
wrong elf class elfclass32
on every command i do after. The lib that send this error is not always the same, aparently, all lib senf this error, this is really strange. I followed the install guide like a did 1 million time with my old 32bit cpu
Last edited by Elv13 on Thu Aug 09, 2007 6:28 pm; edited 2 times in total |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Aug 05, 2007 9:27 pm Post subject: |
|
|
Are you doing a 32bit installation or a 64bit installation ? (yes, you have a choice)
In either case, you must not mix and match the pieces.
Use a 64bit CD with a 64bit stage tarball and a 64bit profile and 64bit settings in /etc/make.conf
... or use 32bit everything. |
|
Back to top |
|
|
Elv13 Guru
Joined: 13 Nov 2005 Posts: 388 Location: Socialist land of North America
|
Posted: Mon Aug 06, 2007 1:23 am Post subject: |
|
|
amd64
but aparently, it was few a bunch of corupted file, i deleted all file and downloaded the archive again and now it work. And about the choice, i got ubuntu 32bit as main OS and i will use this gentoo to be cutting edge with a 3 page long make.conf. It is the beauty of linux, you can a have stable system AND an unstable one for the same price, with windows, you can only pay for an unstable system. And macosx is not really for me (the laptop is a mac book pro, but i bought it for other reason). |
|
Back to top |
|
|
aidanjt Veteran
Joined: 20 Feb 2005 Posts: 1118 Location: Rep. of Ireland
|
Posted: Mon Aug 06, 2007 1:46 am Post subject: |
|
|
Elv13 wrote: | amd64
but aparently, it was few a bunch of corupted file, i deleted all file and downloaded the archive again and now it work. And about the choice, i got ubuntu 32bit as main OS and i will use this gentoo to be cutting edge with a 3 page long make.conf. It is the beauty of linux, you can a have stable system AND an unstable one for the same price, with windows, you can only pay for an unstable system. And macosx is not really for me (the laptop is a mac book pro, but i bought it for other reason). |
Uhhh, 3 page make.conf? Post please. _________________
juniper wrote: | you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault. |
|
|
Back to top |
|
|
Elv13 Guru
Joined: 13 Nov 2005 Posts: 388 Location: Socialist land of North America
|
Posted: Mon Aug 06, 2007 2:20 am Post subject: |
|
|
why not (ok, it is 3 page if you have a very small resolution, but it is not too bad if someone know few other options that can make it more unstable and faster, tell it!
#----------------------optimisation
ARCH="nocona"
COREFLAGS="-frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -freorder-blocks-and-partition -fmerge-all-constants -combine -mfpmath=sse -msseregparm -maccumulate-outgoing-args -m64 -fgcse-sm -fgcse-las -fgcse-after-reload"
CPUFLAGS="-msse3 -msse2 -msse -mmmx -mno-3dnow"
CFLAGS="-O1 -march=${ARCH} ${CPUFLAGS} ${COREFLAGS}"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,--hash-style=gnu, --as-needed"
CHOST="x86_64-pc-linux-gnu"
#---------------------Level of stability
ACCEPT_KEYWORDS="~amd64"
#---------------------overlays
CONRAD_OVERLAY="/usr/local/overlays/conrad"
PORTAGE_OVERLAY="/usr/local/portage"
XEFFECTS="/usr/portage/local/layman/xeffects"
SUNRISE="/usr/portage/local/layman/sunrise"
#KERNEL_OVERLAY="/usr/local/custom_kernels"
PORTDIR_OVERLAY="${CONRAD_OVERLAY} ${PORTAGE_OVERLAY} ${STORMFRONT} ${XEFFECTS} ${KERNEL_OVERLAY} ${SUNRISE}"
source /usr/portage/local/layman/make.conf
#---------------------Niceness and features
PORTAGE_NICENESS="10"
#FEATURES="distlocks"
FEATURES="distlocks sandbox ccache parallel-fetch metadata-transfer sfperms strict"
MAKEOPTS="-j2 -s"
AUTOCLEAN="yes"
LC_ALL="en_US.utf8"
PKGDIR="/usr/portage/distfiles"
#PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTAGE_COMPRESS="bzip2"
MAKEOPTS="-j3"
#---------------------Support
HARDWARE_USE="mmx mmxext sse sse2 smp dvd cd-r xv cdda vcd cdio aiglx dc1394 acpi apm dv ieee1394 dv1394 video1394 directfb cddb opengl dri drm alsa usb optimisememory gimpprint foomatic hplip openal jack dvdread dvb v4l scanner xine xgl lirc xcomposite ipod cups logitech-mouse foomaticdb hal"
AUDIO_USE="aaa a52 ogg flac theora oggvorbis mp3 aac"
VIDEO_USE="vorbis matroska m4p dts ffmpeg mpeg mplayer win32codecs divx wmp quicktime real stream live radio wmf avi xvid dvdnav mp2 realmedia encode x264 h264 faad m4a stream"
IMAGE_USE="svga svg jpeg png gif"
DEV_USE="css c cpp html cg doc double-precision examples freeimage threads server blender-game povray"
NLS_USE="nls fr"
COMP_USE="rar bzip2 7Zip szip 7z"
FS_USE="fat hfs ntfs"
INTERNET_USE="firefox samba mysql httpd irc java flash ftp mdnsresponder-compat mdnsresponder"
LIBS_USE="qt4 qt3 X gtk wxwindows pam pam-console spell dbus dcop freetype bidi gnutls truetype aalib avahi arts -gstreamer sdl -esd oss kde -gnome"
AUTRE_USE="unicode hashstyle mad vlm pdf xscreensaver glitz skins kickoff pnm mythtv kdeenablefinal openexr"
USE="${HARDWARE_USE} ${AUDIO_USE} ${VIDEO_USE} ${IMAGE_USE} ${DEV_USE} ${NLS_USE} ${COMP_USE} ${FS_USE} ${INTERNET_USE} ${LIBS_USE} ${AUTRE_USE}"
#USE=""
#---------------------Periferal and language
LINGUAS="fr fr_CA"
VIDEO_CARDS="nv nvidia vesa"
#ALSA_CARDS="intel8x0"
INPUT_DEVICES="keyboard mouse evdev lirc"
LIRC_DEVICES="serial appleir"
#--------------------Other options
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
#GENTOO_MIRRORS=""
EMERGE_DEFAULT_OPTS="--verbose"
CLEAN_DELAY="10" |
|
Back to top |
|
|
Elv13 Guru
Joined: 13 Nov 2005 Posts: 388 Location: Socialist land of North America
|
Posted: Thu Aug 09, 2007 6:29 pm Post subject: |
|
|
up ^^
new problem |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Thu Aug 09, 2007 11:12 pm Post subject: |
|
|
I know Gentoo gives you enough rope to hang yourself.
... and I think you have done exactly that. |
|
Back to top |
|
|
Elv13 Guru
Joined: 13 Nov 2005 Posts: 388 Location: Socialist land of North America
|
Posted: Fri Aug 10, 2007 4:19 am Post subject: |
|
|
that dont fix my problem, what package do i need to reemerge to fix that, i tryed emerge -e world with a stable make.conf and it do the same thing. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Fri Aug 10, 2007 5:45 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo.
Not about getting gentoo installed. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
energyman76b Advocate
Joined: 26 Mar 2003 Posts: 2048 Location: Germany
|
Posted: Sun Aug 12, 2007 12:49 am Post subject: |
|
|
grep for chmod or rm or the other stuff you broke with your insane settings in /var/db.
grep -R chmod /var/db/pkg
or just think for a moment. There is a category called 'sys-apps' with core applications. And chmod, rm&co are core applications. And there is a package called 'coreutils' ... _________________ Study finds stunning lack of racial, gender, and economic diversity among middle-class white males
I identify as a dirty penismensch. |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Mon Aug 13, 2007 8:02 am Post subject: |
|
|
Elv13 wrote: |
#----------------------optimisation
ARCH="nocona"
COREFLAGS="-frename-registers -fweb -pipe -fomit-frame-pointer -funit-at-a-time -freorder-blocks -fno-ident -freorder-blocks-and-partition -fmerge-all-constants -combine -mfpmath=sse -msseregparm -maccumulate-outgoing-args -m64 -fgcse-sm -fgcse-las -fgcse-after-reload"
CPUFLAGS="-msse3 -msse2 -msse -mmmx -mno-3dnow"
CFLAGS="-O1 -march=${ARCH} ${CPUFLAGS} ${COREFLAGS}"
CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
LDFLAGS="-Wl,--hash-style=gnu, --as-needed"
CHOST="x86_64-pc-linux-gnu"
|
Oh, wow. That's not optimisation. That's optimism. _________________ Thomas S. Howard |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Thu Aug 16, 2007 5:08 pm Post subject: |
|
|
Moved from Other Things Gentoo to Unsupported Software by request of nightmorph
Reason: He's using terrible combinations of conrad, xeffects, and every other broken overlay and make.conf setting known to mankind. --> Unsupported Software, for usage of conrad/xeffects alone, as per the other threads. To say nothing of the stupid cflags. _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
|