Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble setting up internet browser
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Sat Oct 22, 2011 8:19 pm    Post subject: Trouble setting up internet browser Reply with quote

Hey all, so I just got my DE running (using Xfce), and I'm having trouble getting an internet browser. I wanted to use Chromium but I couldn't find much documentation, so I just did 'emerge chromium' and it appears to have downloaded it. Now how do I get my "Web Browser" icon to open Chromium? When I click "Web Browser" right now it just opens a terminal with Links. Help!
Back to top
View user's profile Send private message
Mistwolf
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2007
Posts: 139
Location: Edmonton, AB

PostPosted: Sat Oct 22, 2011 8:29 pm    Post subject: Reply with quote

Go to applications menu->settings->settings manager->prefered applications and change the prefered web browser.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Sat Oct 22, 2011 8:33 pm    Post subject: Reply with quote

Mistwolf wrote:
Go to applications menu->settings->settings manager->prefered applications and change the prefered web browser.


Okay, the only other problem is that I don't know where chromium would have saved to. I don't see it in /usr/bin. I'll keep poking around for now. Thanks.
Back to top
View user's profile Send private message
Mistwolf
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2007
Posts: 139
Location: Edmonton, AB

PostPosted: Sat Oct 22, 2011 8:53 pm    Post subject: Reply with quote

type "which chromium" (without quotes) on a terminal, it will tell you where it is.

Hope this helps.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Sat Oct 22, 2011 11:47 pm    Post subject: Reply with quote

So I emerged the correct chorium ebuild. But then I 'emerge --search chromium' just to check, and the one that I emerged is listed as 'Not Installed.'
What gives? I can see the tarball file in /usr/portage/distfiles
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10459
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Oct 23, 2011 12:06 am    Post subject: Reply with quote

Please post the output of
Code:
equery list -i chromium
If you don't have equery installed, then emerge gentoolkit first and then run the command.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Sun Oct 23, 2011 12:32 am    Post subject: Reply with quote

John R. Graham wrote:
Please post the output of
Code:
equery list -i chromium
If you don't have equery installed, then emerge gentoolkit first and then run the command.

- John


Code:
* Searching for chromium...
!!! No installed packages matching 'chromium'


This is weird. I spent 45 minutes compiling chromium.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10459
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Oct 23, 2011 1:23 am    Post subject: Reply with quote

It didn't complete. Do you have a /var/log/portage directory? If not, I'll help you set one up.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Sun Oct 23, 2011 2:33 am    Post subject: Reply with quote

John R. Graham wrote:
It didn't complete. Do you have a /var/log/portage directory? If not, I'll help you set one up.

- John


I do have that directory. It contains 1 file, 'elog.' Why wouldn't the packages finish installing?
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Sun Oct 23, 2011 6:16 am    Post subject: Reply with quote

So this is what's coming up toward the end of the compiling when i 'emerge firefox':

Code:
Failed to emerge net-libs/xulrunner-1.9.2.20


It's telling me that the emake failed. I have no idea what this means, or what xulrunner is, but it's all over the fail report so it looks like that's what the problem is.

Edit: and for some reason it's just internet browsers (chromium and firefox). I can emerge and run other programs just fine.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10459
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Oct 23, 2011 11:28 am    Post subject: Reply with quote

Add the following lines to your /etc/make.conf file:
Code:
PORTAGE_ELOG_CLASSES="info log warn error"
PORTAGE_ELOG_SYSTEM="save"
PORT_LOGDIR="/var/log/portage"
You're reporting Portage's report of the build system's failure but you're not reporting the build system's error messages, so I don't have a clue. Scroll up to see if you can identify part of the real error message.

If you can't, then the log settings will allow you to upload the whole log so that we can take a look for you.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Sun Oct 23, 2011 12:21 pm    Post subject: Reply with quote

John R. Graham wrote:
Add the following lines to your /etc/make.conf file:
Code:
PORTAGE_ELOG_CLASSES="info log warn error"
PORTAGE_ELOG_SYSTEM="save"
PORT_LOGDIR="/var/log/portage"
You're reporting Portage's report of the build system's failure but you're not reporting the build system's error messages, so I don't have a clue. Scroll up to see if you can identify part of the real error message.

If you can't, then the log settings will allow you to upload the whole log so that we can take a look for you.

- John


Why isn't this part of the standard gentoo install or covered by the gentoo handbook, once you know about it you can avoid so much grief when it comes to upgrading/installing.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10459
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Oct 23, 2011 12:32 pm    Post subject: Reply with quote

It's there. See Section 3: Working with Portage, Files and Directories, Logging Features. :P

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Sun Oct 23, 2011 3:21 pm    Post subject: Reply with quote

John R. Graham wrote:
It's there. See Section 3: Working with Portage, Files and Directories, Logging Features. :P

- John


Yeah, ok but not exactly noob friendly.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Sun Oct 23, 2011 5:42 pm    Post subject: Reply with quote

John R. Graham wrote:
Add the following lines to your /etc/make.conf file:
Code:
PORTAGE_ELOG_CLASSES="info log warn error"
PORTAGE_ELOG_SYSTEM="save"
PORT_LOGDIR="/var/log/portage"
You're reporting Portage's report of the build system's failure but you're not reporting the build system's error messages, so I don't have a clue. Scroll up to see if you can identify part of the real error message.

If you can't, then the log settings will allow you to upload the whole log so that we can take a look for you.

- John


Alright, this looks to be where the error messages start after I try to emerge firefox:

Code:
x86_64-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make[4]: *** [nsHtml5NamedCharacters.o] Error 1
make[4]: *** Deleting file `nsHtml5NamedCharacters.o'
make[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.20/work/mozilla-1.9.2/parser/html'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.20/work/mozilla-1.9.2/parser'
make[2]: *** [libs_tier_gecko] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.20/work/mozilla-1.9.2'
make[1]: *** [tier_gecko] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9.2.20/work/mozilla-1.9.2'
make: *** [default] Error 2
emake failed
 * ERROR: net-libs/xulrunner-1.9.2.20 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 7851:  Called _eapi2_src_compile
 *     ebuild.sh, line  669:  Called die
 * The specific snippet of code:
 *         emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =net-libs/xulrunner-1.9.2.20',
 * the complete build log and the output of 'emerge -pqv =net-libs/xulrunner-1.9.2.20'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/log/portage/net-libs:xulrunner-1.9.2.20:20111023-181244.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/xulrunner-1.9.2.20/temp/environment'.
 * S: '/var/tmp/portage/net-libs/xulrunner-1.9.2.20/work/mozilla-1.9.2'


Edit: and here's the entire log: http://paste.pocoo.org/show/496942/
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10459
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Oct 23, 2011 5:47 pm    Post subject: Reply with quote

The compiler compiled what looks like in excess of a thousand source files before producing an "internal error" which is a failure of the compiler, not of the xulrunner source code. Run it again to see if it fails in exactly the same place. It it doesn't, then it smells like a hardware issue. :cry:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Sun Oct 23, 2011 7:11 pm    Post subject: Reply with quote

John R. Graham wrote:
The compiler compiled what looks like in excess of a thousand source files before producing an "internal error" which is a failure of the compiler, not of the xulrunner source code. Run it again to see if it fails in exactly the same place. It it doesn't, then it smells like a hardware issue. :cry:

- John


I am running this in VirtualBox, so a 'hardware issue' could be something with my configuration, no?
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Sun Oct 23, 2011 8:31 pm    Post subject: Reply with quote

John R. Graham wrote:
The compiler compiled what looks like in excess of a thousand source files before producing an "internal error" which is a failure of the compiler, not of the xulrunner source code. Run it again to see if it fails in exactly the same place. It it doesn't, then it smells like a hardware issue. :cry:

- John


It looks it is IS failing in the same place. I get the exact same error message.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10459
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Oct 26, 2011 10:16 am    Post subject: Reply with quote

It may be a resource issue caused by the virtual machine implementation, although I've never seen that particular error message. Could you post the output of
Code:
emerge --info
and, while we're at it, the output of
Code:
cat /proc/meminfo
please?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Thu Oct 27, 2011 12:23 am    Post subject: Reply with quote

Alright, 'emerge --info':

Code:
emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.3
Timestamp of tree: Sat, 22 Oct 2011 21:30:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.65-r1
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.its.uidaho.edu/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus dri extras fortran gdbm gdu gnome gpm gtk iconv icu ipv6 jpeg lock mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre policykit pppd python readline session sse sse2 ssl startup-notification symlink sysfs tcpd thunar udev unicode xorg zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="virtualbox evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


And 'cat /proc/meminfo':

Code:
MemTotal:        1025184 kB
MemFree:          847860 kB
Buffers:            6260 kB
Cached:            77364 kB
SwapCached:            0 kB
Active:            85288 kB
Inactive:          57832 kB
Active(anon):      59764 kB
Inactive(anon):     2424 kB
Active(file):      25524 kB
Inactive(file):    55408 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                80 kB
Writeback:             0 kB
AnonPages:         59544 kB
Mapped:            25984 kB
Shmem:              2680 kB
Slab:              13084 kB
SReclaimable:       6392 kB
SUnreclaim:         6692 kB
KernelStack:         656 kB
PageTables:         5028 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      512592 kB
Committed_AS:     123828 kB
VmallocTotal:   34359738367 kB
VmallocUsed:        8092 kB
VmallocChunk:   34359717596 kB
DirectMap4k:       10176 kB
DirectMap2M:     1038336 kB


Hopefully there is something here you can identify... thanks for the help so far!
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10459
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Oct 27, 2011 12:28 am    Post subject: Reply with quote

Hmm. One more, since I'm not familiar with your -arch setting in CFLAGS. Could you post the output of
Code:
cat /proc/cpuinfo
please?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7711
Location: Saint Amant, Acadiana

PostPosted: Thu Oct 27, 2011 1:23 am    Post subject: Reply with quote

With make -j7 and inside virtual machine you may run out of RAM. Try reducing make instances before doing anything else.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
griffsterb
n00b
n00b


Joined: 21 Oct 2011
Posts: 19

PostPosted: Thu Oct 27, 2011 4:18 am    Post subject: Reply with quote

Jaglover wrote:
With make -j7 and inside virtual machine you may run out of RAM. Try reducing make instances before doing anything else.


Reduced it to 3, but I do have a 6-core processor. I thought I should set it to cores+1. I'll try this though.


John R. Graham wrote:
Hmm. One more, since I'm not familiar with your -arch setting in CFLAGS. Could you post the output of
Code:
cat /proc/cpuinfo
please?

- John


Code:
processor   : 0
vendor_id   : AuthenticAMD
cpu family   : 16
model      : 10
model name   : AMD Phenom(tm) II X6 1055T Processor
stepping   : 0
cpu MHz      : 2770.711
cache size   : 512 KB
fpu      : yes
fpu_exception   : yes
cpuid level   : 5
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx fxsr_opt rdtscp lm 3dnowext 3dnow up rep_good nopl extd_apicid pni monitor lahf_lm cr8_legacy
bogomips   : 5541.42
TLB size   : 1024 4K pages
clflush size   : 64
cache_alignment   : 64
address sizes   : 48 bits physical, 48 bits virtual
power management:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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