Gentoo Archives: gentoo-user

From: Jean-Francois Gagnon Laporte <kioshen@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] building without X
Date: Tue, 07 Dec 2004 06:45:34
Message-Id: 4a64cf4004120611067af80926@mail.gmail.com
In Reply to: Re: [gentoo-user] building without X by "Eric S. Johansson"
1 On Mon, 06 Dec 2004 11:05:42 -0500, Eric S. Johansson <esj@××××××.org> wrote:
2 > Jean-Francois Gagnon Laporte wrote:
3 > > Hi !
4 > >
5 > > First questions ....
6 > >
7 > > What do you want exactly ? Do you need X support or not ?
8 >
9 > apologies for not being clearer. What I want is only X11 client side
10 > support so I can build applications that use X11. Since it is a server
11 > and I will never run X11 server side, I don't want to spend the time or
12 > energy building the X11 server. case in point is Emacs. I don't want
13 > to be limited to what ever I can display via putty but wish to display
14 > Emacs sessions on my desktop X11 server.
15 >
16
17 No problem. AFAIK, you can't really seperate the client libs from the
18 server ... well in portage that is. Also, you can use screen, emacs
19 and ssh to do the same thing. I'm not an emacs user but I fail to
20 grasp why do you want to bloat a server with X11 traffic. Does xemacs
21 have some features that emacs doesn't have ? (As you can see i'm a vi
22 user ... personnaly I don't see a difference between gvim and vim
23 except it uses X11). With screen you can open up many sessions, detach
24 it, close your connection, let it run and check it out later when log
25 back in. It's very useful for server administration. Maybe, I again
26 really don't see what you want ... it's monday for everybody -_-.
27
28 > If it is impossible to split X11 into client and server packages, then I
29 > would need some help figuring out why it is dying on two security
30 > related functions. based on your advice, I found some information and
31 > I'm rebuilding a bunch of packages in the hopes that the unexplained
32 > dependency will be fixed
33 >
34 For that I don't really know but Rumen has a good point. I haven't had
35 the time to fiddle with hardened specific optimisations.
36
37 > > from make.conf try putting `emerge info`. It really gives what are the
38 > > currently active settings of portage so to speak.
39 >
40 > thank you for the advice. see below.
41 >
42 > > Might want to read this too :
43 > > http://thread.gmane.org/gmane.linux.gentoo.user/109647
44 >
45 > at initial glance, doesn't seem to apply. It's good information but I'm
46 > not trying to eliminate X totally, only the server side. or failing
47 > that, make the server build and ignore it.
48 >
49 > >Post the results of `emerge info` and `emerge -uDpvt`
50 > > if you were trying to update your server.
51 >
52 > xeno root # emerge info
53 > Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4,
54 > glibc-2.3.3.20040420-r0,glibc-2.3.4.20040808-r1, 2.6.9 i686)
55 > =================================================================
56 > System uname: 2.6.9 i686 Pentium III (Katmai)
57 > Gentoo Base System version 1.4.16
58 > Autoconf: sys-devel/autoconf-2.59-r5
59 > Automake: sys-devel/automake-1.8.5-r1
60 > Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
61 > Headers: sys-kernel/linux-headers-2.4.21-r1
62 > Libtools: sys-devel/libtool-1.4.3-r4,sys-devel/libtool-1.5.2-r7
63 > ACCEPT_KEYWORDS="x86"
64 > AUTOCLEAN="yes"
65 > CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
66 > CHOST="i686-pc-linux-gnu"
67 > COMPILER=""
68 > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
69 > /usr/share/config /var/qmail/control"
70 > CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
71 > CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
72 > DISTDIR="/usr/portage/distfiles"
73 > FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
74 > GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
75 > http://gentoo.eliteitminds.com
76 > http://open-systems.ufl.edu/mirrors/gentoo
77 > http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.ccccom.com"
78 > MAKEOPTS="-j3"
79 > PKGDIR="/usr/portage/packages"
80 > PORTAGE_TMPDIR="/var/tmp"
81 > PORTDIR="/usr/portage"
82 > PORTDIR_OVERLAY="/usr/local/portage"
83 > SYNC="rsync://rsync.gentoo.org/gentoo-portage"
84 > USE="X aim apache2 apm arts avi berkdb bitmap-fonts crypt cups emacs
85 > encode f77 fastcgi foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imap
86 > imlib jpeg kde ldap libg++ libwww mad maildir mcal mikmod mmx motif
87 > mozilla mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png
88 > python qt quicktime readline sdl spell sse ssl svga tcpd truetype usb
89 > wxwindows x86 xml2 xmms xv zlib"
90 >
91 As you can see because of profiles it adds of bunch of flags you might
92 not want like gnome and kde. I highly suggest that if you build a
93 server to disable all of the use flags and add in your make.conf only
94 the ones you need.
95
96 > xeno root # emerge -uDpvt world
97 >
98 > These are the packages that I would merge, in reverse order:
99 >
100 > Calculating world dependencies ...done!
101 > [nomerge ] app-editors/emacs-21.3-r3 +X* -Xaw3d -debug +gnome
102 > -leim -lesstif +motif +nls
103 > [ebuild N ] media-libs/libungif-4.1.0.1b +X +gif 0 kB
104 > [ebuild N ] x11-libs/openmotif-2.1.30-r5 -debug 0 kB
105 > [ebuild N ] gnome-base/gnome-desktop-2.8.0 -debug 0 kB
106 > [ebuild N ] app-text/scrollkeeper-0.3.14 +nls 0 kB
107 > [ebuild N ] dev-libs/libxslt-1.1.9-r1 +crypt +python 0 kB
108 > [ebuild N ] dev-libs/libgcrypt-1.1.94 +nls 0 kB
109 > [ebuild N ] dev-libs/libgpg-error-1.0-r1 +nls 0 kB
110 > [ebuild N ] app-text/docbook-xml-dtd-4.1.2-r5 0 kB
111 > [ebuild N ] app-text/docbook-sgml-utils-0.6.12 -tetex 0 kB
112 > [ebuild N ] app-text/docbook-xml-dtd-4.3 0 kB
113 > [ebuild N ] app-text/docbook-xsl-stylesheets-1.65.1 0 kB
114 > [ebuild N ] app-text/build-docbook-catalog-1.2 0 kB
115 > [ebuild N ] app-text/docbook-sgml-dtd-3.1-r2 0 kB
116 > [ebuild N ] app-text/docbook-sgml-dtd-3.0-r2 0 kB
117 > [ebuild N ] app-text/docbook-dsssl-stylesheets-1.77-r2 0 kB
118 > [ebuild N ] dev-perl/SGMLSpm-1.03-r5 0 kB
119 > [ebuild N ] app-text/docbook-xml-simple-dtd-4.1.2.4 0 kB
120 > [ebuild N ] app-text/docbook-sgml-dtd-4.0-r2 0 kB
121 > [ebuild N ] app-text/docbook-sgml-dtd-4.1-r2 0 kB
122 > [ebuild N ] app-arch/unzip-5.50-r2 0 kB
123 > [ebuild N ] app-text/openjade-1.3.2-r1 -debug 0 kB
124 > [ebuild N ] app-text/sgml-common-0.6.3-r4 0 kB
125 > [ebuild N ] app-text/opensp-1.5-r1 +nls 0 kB
126 > [ebuild N ] x11-libs/startup-notification-0.7 0 kB
127 > [ebuild N ] x11-themes/gnome-themes-2.8.0 -accessibility -debug 0 kB
128 > [ebuild N ] x11-themes/gtk-engines-2.2.0 0 kB
129 > [ebuild N ] media-libs/imlib-1.9.14-r3 0 kB
130 > [ebuild N ] x11-libs/gtk+-1.2.10-r11 -debug +nls 0 kB
131 > [ebuild N ] media-libs/giflib-4.1.0-r3 +X +gif 0 kB
132 > [ebuild N ] media-libs/tiff-3.7.0 0 kB
133 > [ebuild N ] x11-themes/gnome-icon-theme-2.8.0 -debug 0 kB
134 > [ebuild N ] x11-themes/hicolor-icon-theme-0.5 0 kB
135 > [ebuild N ] gnome-base/libgnomeui-2.8.0 -debug -doc +jpeg 0 kB
136 > [ebuild N ] gnome-base/gnome-keyring-0.4.0 -debug 0 kB
137 > [ebuild N ] gnome-base/libbonoboui-2.8.0 -debug -doc 0 kB
138 > [ebuild N ] gnome-base/libgnome-2.8.0 -debug -doc 0 kB
139 > [ebuild N ] gnome-base/gnome-vfs-2.8.1-r2 -debug -doc -gnutls
140 > -hal -howl -ipv6 -samba +ssl 0 kB
141 > [ebuild N ] app-admin/fam-2.7.0-r2 0 kB
142 > [ebuild N ] net-nds/portmap-5b-r9 -debug (-selinux) +tcpd 0 kB
143 > [ebuild N ] gnome-base/gnome-mime-data-2.4.1 -debug 0 kB
144 > [ebuild N ] media-sound/esound-0.2.34 -alsa -ipv6 +tcpd 0 kB
145 > [ebuild N ] media-libs/audiofile-0.2.6-r1 0 kB
146 > [ebuild N ] gnome-base/libgnomecanvas-2.8.0 -debug -doc 0 kB
147 > [ebuild N ] media-libs/libart_lgpl-2.3.16 -debug 0 kB
148 > [ebuild N ] gnome-base/libbonobo-2.8.0 -debug -doc 0 kB
149 > [ebuild N ] gnome-base/gconf-2.8.0.1 -debug -doc 0 kB
150 > [ebuild N ] gnome-base/orbit-2.12.0 -debug -doc +ssl 0 kB
151 > [ebuild N ] dev-libs/libIDL-0.8.4 -debug 0 kB
152 > [ebuild N ] dev-util/indent-2.2.9-r1 +nls 0 kB
153 > [ebuild N ] gnome-base/libglade-2.4.0 -debug -doc 0 kB
154 > [ebuild N ] x11-libs/gtk+-2.4.9-r1 -debug -doc +jpeg -tiff 0 kB
155 > [ebuild N ] x11-misc/shared-mime-info-0.14 0 kB
156 > [ebuild N ] dev-libs/libxml2-2.6.15-r1 -debug -ipv6 +python
157 > +readline 0 kB
158 > [ebuild N ] dev-util/intltool-0.31.2 0 kB
159 > [ebuild N ] dev-perl/XML-Parser-2.34 0 kB
160 > [ebuild N ] x11-libs/pango-1.6.0 -debug -doc 0 kB
161 > [ebuild N ] x11-terms/xterm-196 -Xaw3d -debug +truetype -unicode 0 kB
162 > [ebuild N ] sys-apps/utempter-0.5.5.5 0 kB
163 > [ebuild N ] app-arch/rpm2targz-9.0-r2 0 kB
164 > [nomerge ] sys-apps/which-2.16
165 > [ebuild N ] x11-base/xorg-x11-6.8.0-r3 -3dfx -3dnow
166 > +bitmap-fonts -cjk -debug -dlloader -dmx -doc -hardened
167 > -insecure-drivers -ipv6 +mmx +nls +pam -sdk +sse -static -xprint 0 kB
168 > [ebuild N ] dev-libs/atk-1.8.0 -debug -doc 0 kB
169 > [ebuild NS ] dev-libs/glib-2.4.7 -doc 0 kB
170 > [ebuild N ] dev-util/pkgconfig-0.15.0 0 kB
171 >
172 > Total size of downloads: 0 kB
173 >
174 > --
175 >
176 >
177 > gentoo-user@g.o mailing list
178 >
179 >
180 You are aware that you are building the complete gnome desktop because
181 of emacs and it's use flags ? You might want to disable gnome support
182 or even X support. There are plenty of use flags that aren't useful
183 for your needs for what I can see.
184
185 I hope this helps
186
187 Jean-Francois
188
189 --
190 gentoo-user@g.o mailing list