Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to install modular X
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
gherron
n00b
n00b


Joined: 18 Jul 2006
Posts: 2

PostPosted: Tue Jul 18, 2006 10:27 pm    Post subject: Trying to install modular X Reply with quote

I've followed the instructions in
http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml
but when I get to emerge xorg-x11 , I get several packages into the installation, and then the config step of some package (wish I could remember which) fails because it can't find /usr/include/X11/keysymdef.h.

But OF COURSE it can't find that file -- one of the first steps in the howto is to remove the current installation of xorg-x11, and that file goes away.

Any guesses what I'm doing wrong here?

(Note: I tried getting a copy of that file and re running emerge, but I soon got into a huge number of compilation errors -- Clearly somethins else is wrong here.)

Thanks for any help.
Back to top
View user's profile Send private message
Karl_R
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2004
Posts: 118
Location: Sydney

PostPosted: Tue Jul 18, 2006 11:06 pm    Post subject: Reply with quote

Hi, just a gues but the howto says:-
Quote:

If your /usr/X11R6 isn't a symlink to /usr, delete it and start from scratch. But first, save a list of all the packages installing there. The gentoolkit package provides equery.

Code Listing 2.3: Make a package list

Code:
# if [[ ! -L /usr/X11R6 ]]; \
   then equery belongs /usr/X11R6 > ~/usr-x11r6-packages \
   && rm -rf /usr/X11R6; fi



presumably you didn't do this if yours was a symlink?

Cheers

Karl
Back to top
View user's profile Send private message
gherron
n00b
n00b


Joined: 18 Jul 2006
Posts: 2

PostPosted: Tue Jul 18, 2006 11:30 pm    Post subject: Reply with quote

Thanks, but mine *is* a symlink so I didn't do that step. That's following the instructions of the howto, but nevertheless i *am* suspicuous of this.

> ls -l /usr/X11R6
0 lrwxrwxrwx 1 root root 6 Mar 13 2005 /usr/X11R6 -> ../usr

Any other ideas where things might have gone wrong?
Back to top
View user's profile Send private message
Karl_R
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2004
Posts: 118
Location: Sydney

PostPosted: Thu Jul 20, 2006 9:26 am    Post subject: Reply with quote

Hi, It's tricky 'cause mine did work first time (phew!) double check those USE flags and make sure that the versions of the various package
Quote:
Other packages that may require package.keywords for stable users
Code:
>=sys-apps/portage-2.1_pre4
=sys-apps/man-1.6b-r2
app-admin/eselect-opengl
>=app-admin/eselect-1.0_rc1
media-video/nvidia-kernel
media-video/nvidia-glx
would be OK if emerged (I tried emerge -p for each of the packages to see if I needed to add it to /etc/portage/package.keywords.

I'd also run another
Code:
emerge --sync
as there have been some updates and dependancy fixes, I had to fix a mozilla and seamonkey problem before I could even go ahead (fixed by remooving USE flag 'mozilla' and replaceing with 'firefox')

I didn't do the :
Quote:
Download the package list, and open it in a text editor of your choice. Copy and paste the full modular X mask over to package.keywords
step (I can't remember why)

I killed all X sessions and server and GDM so I was running from a console screen, just to make sure that nothing was hanging around, before removing the old X with
Code:
emerge -Ca xorg-x11 virtual/x11
and doing the other checks it mentions

Then the emerge step:
Quote:
Code Listing 2.6: Installing the modular metabuild

# emerge xorg-x11
# etc-update
# revdep-rebuild
# [[ -e ~/usr-x11r6-packages ]] && emerge
$(<~/usr-x11r6-packages)


I Didn't do
Code:

# [[ -e ~/usr-x11r6-packages ]] && emerge
$(<~/usr-x11r6-packages)
because my /usr/X11R6 was a symlink to /usr and so I hadn't generated the pakage list "~/usr-x11r6-packages"



like I say, it just worked.

FYI my USE flags are
Code:

USE="apache2 crypt nvidia nsplugin alsa dbus encode fam firefox hal java ppds gphoto2 bitmap-fonts truetype-fonts type1-fonts"


and my /etc/portage/package.keywords is
Code:
dev-java/eclipse-core ~x86
dev-java/sun-jdk ~x86
dev-java/java-config ~x86
dev-java/java-config-wrapper ~x86
dev-libs/nspr ~x86
dev-libs/nss ~x86
=sys-apps/hal-0.5.7-r2
mail-client/mozilla-thunderbird-bin ~x86
mail-client/mozilla-thunderbird ~x86
media-video/nvidia-glx ~x86
media-video/nvidia-kernel ~x86
sci-geosciences/gpsd ~x86
app-cdr/gnomebaker ~x86
sys-libs/timezone-data ~x86
sys-fs/multipath-tools ~x86
www-client/mozilla-firefox-bin ~x86
www-client/mozilla-firefox ~x86
x11-plugins/enigmail ~x86
x11-misc/googleearth ~x86


The only wierd one is hal which needs to be at least this level to work with the new Gnome gnome-volume-manager

hope this helps

Karl
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