Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
starting X11 fails with message
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
kris27
n00b
n00b


Joined: 02 Jun 2010
Posts: 47
Location: Sydney

PostPosted: Tue Oct 14, 2014 3:11 pm    Post subject: starting X11 fails with message Reply with quote

Could not find why and what is the reason for the following message:

$xinit
(EE)
Fatal server error:
(EE) Cannot move old log file "/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.pld"

Also I have problems building/emerge packages ... seems that I have some wrong permissions but can not figure out which one.
Can build when cd to /var/tmp/portage/package-name/work/package-name
but can not build from from top dir ...i.e /root

Any ideas please Kris
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Oct 14, 2014 8:06 pm    Post subject: Reply with quote

Post the output of "ls -l /usr/bin/Xorg"
Back to top
View user's profile Send private message
kris27
n00b
n00b


Joined: 02 Jun 2010
Posts: 47
Location: Sydney

PostPosted: Wed Oct 15, 2014 2:49 pm    Post subject: Reply with quote

[quote="Ant P."]Post the output of "ls -l /usr/bin/Xorg"[/quote

Thanks for your time;
-rwxr-xr-x 1 root root .... /usr/bin/Xorg

So no problems and it can be exec by any user.
When user is trying xinit/startx ... (EE) xf860Console: Cannot open virtual consle 7 (permission denied)

It worked nice ... befor I messed up permissins. This can be fixed by reemrging Xorg-server but cannot emerge any thing except when cd to /var/tmp/portage/tmp/application ... build directory but this leaves binary unregistered.
The build error is:
cannot locate compiler .... I did this same problem before but cannot remeber how I did fixed.
All links and ... are fine. Can run it from terminal no problems

May be I should ask on other forums ???

Regards ... Kris
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Wed Oct 15, 2014 3:58 pm    Post subject: Reply with quote

I think Ant P. is correct, the perms should look like this:

Code:

$ ls -l /usr/bin/X*
lrwxrwxrwx 1 root root       4 Jul 25 16:13 /usr/bin/X -> Xorg
-rws--x--x 1 root root 2175048 Jul 25 16:13 /usr/bin/Xorg


A forced re-emerge should have done the trick.
Back to top
View user's profile Send private message
kris27
n00b
n00b


Joined: 02 Jun 2010
Posts: 47
Location: Sydney

PostPosted: Wed Oct 15, 2014 4:07 pm    Post subject: Reply with quote

[quote="RazielFMX"]I think Ant P. is correct, the perms should look like this:

[code]
$ ls -l /usr/bin/X*
lrwxrwxrwx 1 root root 4 Jul 25 16:13 /usr/bin/X -> Xorg
-rws--x--x 1 root root 2175048 Jul 25 16:13 /usr/bin/Xorg
[/code]

A forced re-emerge should have done the trick.[/quote]

Yep this is correct. X runs perfect for root, but not for users.
Ha how to do forced re-remerge?????? Have a problem with emerge as it would not emerge any thing as could not locate GCC, it worked all fine before.
Turning upside/down forums but no avail ...... So far.

Thanks .., Kris
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Wed Oct 15, 2014 4:57 pm    Post subject: Reply with quote

Can you post your emerge --info? Let's see if we can figure out why you can't build at the moment.
Back to top
View user's profile Send private message
kris27
n00b
n00b


Joined: 02 Jun 2010
Posts: 47
Location: Sydney

PostPosted: Thu Oct 16, 2014 8:28 am    Post subject: Cannot emerge a thing Reply with quote

I'll sent info and log from sick machine .. but have to run as a root otherwise X11 want let me ...

Looks like that emerge or portage or autools has problems locating compiler x86_64 ... (AMD) ...
wonder if this got something to do with UID ... have to find out "who runs" emerge ? root? portage? or busybox ?

More shortly ..... thanks Kris
Back to top
View user's profile Send private message
kris27
n00b
n00b


Joined: 02 Jun 2010
Posts: 47
Location: Sydney

PostPosted: Thu Oct 16, 2014 8:53 am    Post subject: Emerge dos not emerge any more ... Reply with quote

Example for readaline config log
-------------------------------------------------------------------------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by readline configure 6.2, which was
generated by GNU Autoconf 2.63. Invocation command line was

$ /var/tmp/portage/sys-libs/readline-6.2_p5-r1/work/readline-6.2/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --cache-file=/var/tmp/portage/sys-libs/readline-6.2_p5-r1/work/readline-6.2-abi_x86_64.amd64/config.cache --with-curses --disable-static

## --------- ##
## Platform. ##
## --------- ##

hostname = fx8
uname -m = x86_64
uname -r = 3.10.7-gentoo
uname -s = Linux
uname -v = #2 SMP PREEMPT Fri Mar 7 07:06:21 UTC 2014

/usr/bin/uname -p = AMD FX(tm)-8150 Eight-Core Processor
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/lib64/portage/bin/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1734: loading site script /usr/share/config.site
| #!/bin/bash
| # Copyright 2009 Gentoo Foundation
| # Distributed under the terms of the GNU General Public License v2
|
| TOPDIR=/usr/share/crossdev/include/site
|
| config_site_arch() {
| local host=$(echo ${CHOST/-/ } | awk '{print $1}')
|
| [[ ${host/arm.*eb/} != ${host} ]] && host=armeb
| [[ ${host/arm/} != ${host} ]] && [[ ${host} != armeb ]] && host=arm
|
| [[ ${host/mips.*el/} != ${host} ]] && host=mipsel
|
| #[[ ${host/i[4-5]/6} != ${host} ]] && host=i686
|
| echo ${host}
| }
|
| config_site_names() {
| local site_arch=$(config_site_arch)
| local sites=""
| local x
|
| [[ ${CHOST/-linux-/} != $CHOST ]] && sites+=" linux ${site_arch}-linux"
| [[ ${CHOST/darwin/} != $CHOST ]] && sites+=" darwin ${site_arch}-linux"
|
| [[ ${CHOST/-linux-uclibc/} != $CHOST ]] && sites+=" linux-uclibc ${site_arch}-linux-uclibc"
| [[ ${CHOST/-linux-gnu/} != $CHOST ]] && sites+=" linux-gnu ${site_arch}-linux-gnu"
|
| [[ ${CHOST/-linux-uclibceabi/} != $CHOST ]] && sites+=" linux-uclibceabi ${site_arch}-linux-uclibceabi"
| [[ ${CHOST/-linux-gnueabi/} != $CHOST ]] && sites+=" linux-gnueabi ${site_arch}-linux-gnueabi"
|
| for x in ${sites} ${CHOST}; do
| [[ -e ${TOPDIR}/${x} ]] && echo ${TOPDIR}/${x}
| done
| }
|
| # Only kick in for cross-compiles so we don't break native builds #427184
| if [[ ${CBUILD:-${CHOST}} != ${CHOST} ]]; then
| sites="$(config_site_names)"
| if [[ ${sites} != "" ]]; then
| for site in ${sites}; do
| echo "$(basename $0): loading site script ${site}"
| . ${site}
| done
| fi
| unset site
| unset sites
| fi
configure:1753: creating cache /var/tmp/portage/sys-libs/readline-6.2_p5-r1/work/readline-6.2-abi_x86_64.amd64/config.cache
configure:1895: checking build system type
configure:1913: result: x86_64-pc-linux-gnu
configure:1935: checking host system type
configure:1950: result: x86_64-pc-linux-gnu
configure:2059: checking whether make sets $(MAKE)
configure:2081: result: yes
configure:2098: checking for x86_64-pc-linux-gnu-gcc
configure:2114: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:2125: result: x86_64-pc-linux-gnu-gcc
configure:2397: checking for C compiler version
configure:2405: x86_64-pc-linux-gnu-gcc --version >&5
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:2409: $? = 1
configure:2416: x86_64-pc-linux-gnu-gcc -v >&5
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:2420: $? = 1
configure:2427: x86_64-pc-linux-gnu-gcc -V >&5
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:2431: $? = 1
configure:2454: checking for C compiler default output file name
configure:2476: x86_64-pc-linux-gnu-gcc -O2 -pipe -fomit-frame-pointer -march=naitve -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx -D_GNU_SOURCE -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free -Wl,-O1 -Wl,--as-needed -L. conftest.c >&5
gcc-config: error: could not run/locate 'x86_64-pc-linux-gnu-gcc'
configure:2480: $? = 1
configure:2518: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "readline"
| #define PACKAGE_TARNAME "readline"
| #define PACKAGE_VERSION "6.2"
| #define PACKAGE_STRING "readline 6.2"
| #define PACKAGE_BUGREPORT "bug-readline@gnu.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2524: error: in `/var/tmp/portage/sys-libs/readline-6.2_p5-r1/work/readline-6.2-abi_x86_64.amd64':
configure:2527: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -pipe -fomit-frame-pointer -march=naitve -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=' -D_GNU_SOURCE -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed -L.'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_prog_AR=ar
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes
bash_cv_termcap_lib=ncurses

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
ARFLAGS=''
BUILD_DIR=''
CC='x86_64-pc-linux-gnu-gcc'
CFLAGS='-O2 -pipe -fomit-frame-pointer -march=naitve -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx'
CPP=''
CPPFLAGS=' -D_GNU_SOURCE -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free'
CROSS_COMPILE=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GREP=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed -L.'
LIBOBJS=''
LIBS=''
LIBVERSION='6.2'
LOCAL_CFLAGS=''
LOCAL_DEFS=''
LOCAL_LDFLAGS=''
LTLIBOBJS=''
MAKE_SHELL=''
OBJEXT=''
PACKAGE_BUGREPORT='bug-readline@gnu.org'
PACKAGE_NAME='readline'
PACKAGE_STRING='readline 6.2'
PACKAGE_TARNAME='readline'
PACKAGE_VERSION='6.2'
PATH_SEPARATOR=':'
PURIFY=''
RANLIB=''
SET_MAKE=''
SHARED_INSTALL_TARGET=''
SHARED_TARGET=''
SHELL='/bin/sh'
SHLIB_DLLVERSION=''
SHLIB_DOT=''
SHLIB_LIBPREF=''
SHLIB_LIBS=''
SHLIB_LIBSUFF=''
SHLIB_LIBVERSION=''
SHLIB_MAJOR=''
SHLIB_MINOR=''
SHLIB_STATUS=''
SHLIB_XLDFLAGS=''
SHOBJ_CC=''
SHOBJ_CFLAGS=''
SHOBJ_LD=''
SHOBJ_LDFLAGS=''
SHOBJ_LIBS=''
SHOBJ_STATUS=''
SHOBJ_XLDFLAGS=''
STATIC_INSTALL_TARGET=''
STATIC_TARGET=''
TERMCAP_LIB=''
ac_ct_CC=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var/lib'
mandir='/usr/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "readline"
#define PACKAGE_TARNAME "readline"
#define PACKAGE_VERSION "6.2"
#define PACKAGE_STRING "readline 6.2"
#define PACKAGE_BUGREPORT "bug-readline@gnu.org"

configure: exit 77

And there is --info:

---------------------------------------------------------------------------------------------------------------------------
emerge --info =sys-libs/readline-6.2_p5-r1::gentoo
WARNING: One or more repositories have missing repo_name entries:

/usr/portage/overlay/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.


Portage 2.2.8-r2 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.19-r1, 3.10.7-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.10.7-gentoo-x86_64-AMD_FX-tm-8150_Eight-Core_Processor-with-gentoo-2.2
KiB Mem: 16347868 total, 15746904 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Tue, 14 Oct 2014 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [disabled]
app-shells/bash: 4.2_p45
dev-java/java-config: 2.2.0
dev-lang/python: 2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake: 2.8.12.2
dev-util/pkgconfig: 0.28-r1
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.4_p6-r1, 1.11.6, 1.13.4
sys-devel/binutils: 2.23.2
sys-devel/gcc: 4.6.3, 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.19-r1
Repositories: gentoo x-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=naitve -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=naitve -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://gentoo.inode.at/source/ ftp://gentoo.c3sl.ufpr.br/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.df.lth.se/pub/gentoo/ http://ftp.twaren.net/Linux/Gentoo/ ftp://ftp.twaren.net/Linux/Gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/overlay"
USE="X a52 aac aacplus acl alsa amd64 berkdb bzip2 cdr cli cracklib crypt cxx directfb dri dvd faac faad fat fftw fits fortran gdbm gtk hfs iconv ipv6 jfs jpeg kerberos mmx modules motif mp3 mpeg multilib ncurses nls nptl ntfs opengl openmp pam pcre png q32 q64 qt4 readline session sse sse2 ssl tcpd threads tiff unicode x264 xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC, USE_PYTHON

AND COMMAND:
# ls -l /usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3
total 1752
lrwxrwxrwx 1 root root 23 Apr 5 2014 c++ -> x86_64-pc-linux-gnu-c++
lrwxrwxrwx 1 root root 23 Apr 5 2014 cpp -> x86_64-pc-linux-gnu-cpp
lrwxrwxrwx 1 root root 23 Apr 5 2014 g++ -> x86_64-pc-linux-gnu-g++
lrwxrwxrwx 1 root root 23 Apr 5 2014 gcc -> x86_64-pc-linux-gnu-gcc
lrwxrwxrwx 1 root root 24 Apr 5 2014 gcov -> x86_64-pc-linux-gnu-gcov
lrwxrwxrwx 1 root root 28 Apr 5 2014 gfortran -> x86_64-pc-linux-gnu-gfortran
-rwxr-xr-x 2 root root 345040 Apr 5 2014 x86_64-pc-linux-gnu-c++
-rwxr-xr-x 1 root root 345040 Apr 5 2014 x86_64-pc-linux-gnu-cpp
-rwxr-xr-x 2 root root 345040 Apr 5 2014 x86_64-pc-linux-gnu-g++
-rwxr-xr-x 1 root root 340944 Apr 5 2014 x86_64-pc-linux-gnu-gcc
lrwxrwxrwx 1 root root 23 Apr 5 2014 x86_64-pc-linux-gnu-gcc-4.6.3 -> x86_64-pc-linux-gnu-gcc
-rwxr-xr-x 1 root root 35184 Apr 5 2014 x86_64-pc-linux-gnu-gcov
-rwxr-xr-x 1 root root 345040 Apr 5 2014 x86_64-pc-linux-gnu-gfortran


So every thing looks fine ..... I am in the spin .... what the hell is happening.
Have to chnage this line:
PORTDIR_OVERLAY="/usr/portage/overlay" to /usr/share/portage/overlay ..... I think ?

Thanks guys .... Kris
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Thu Oct 16, 2014 12:03 pm    Post subject: Reply with quote

You do have multiple gcc installed. What does a gcc-config -l show?

Example"

Code:
$ gcc-config -l
 [1] x86_64-pc-linux-gnu-4.7.3 *
Back to top
View user's profile Send private message
kris27
n00b
n00b


Joined: 02 Jun 2010
Posts: 47
Location: Sydney

PostPosted: Thu Oct 16, 2014 12:32 pm    Post subject: gcc-config Reply with quote

I use both, I found a couple apps. that could not be handled by 4.7.3, currently 4.6.3 is active:

I will change to see if this helps ... but as far emeber it does not make difference.

# gcc-config -l
[1] x86_64-pc-linux-gnu-4.6.3 *
[2] x86_64-pc-linux-gnu-4.7.3
Back to top
View user's profile Send private message
kris27
n00b
n00b


Joined: 02 Jun 2010
Posts: 47
Location: Sydney

PostPosted: Fri Oct 17, 2014 2:59 pm    Post subject: SOLVED --- Cannot open virtual consle 7 (permission denied) Reply with quote

[quote="kris27"][quote="Ant P."]Post the output of "ls -l /usr/bin/Xorg"[/quote

Thanks for your time;
-rwxr-xr-x 1 root root .... /usr/bin/Xorg

So no problems and it can be exec by any user.
When user is trying xinit/startx ... (EE) xf860Console: Cannot open virtual consle 7 (permission denied)

It worked nice ... befor I messed up permissins. This can be fixed by reemrging Xorg-server but cannot emerge any thing except when cd to /var/tmp/portage/tmp/application ... build directory but this leaves binary unregistered.
The build error is:
cannot locate compiler .... I did this same problem before but cannot remeber how I did fixed.
All links and ... are fine. Can run it from terminal no problems

May be I should ask on other forums ???

Regards ... Kris[/quote]

simplest solution is to run:
# chmod u+s /usr.bin/Xorg

$ls -l /usr/bin/Xorg
-rwsr-xr-x 1 root root 2207144 May 8 05:29 /usr/bin/Xorg


When not playing sys admin for a while ... forgetting commands/tricks ... :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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