* [gentoo-user] building without X @ 2004-12-06 15:14 Eric S. Johansson 2004-12-06 15:40 ` Jean-Francois Gagnon Laporte 2004-12-06 16:02 ` Rumen Yotov 0 siblings, 2 replies; 11+ messages in thread From: Eric S. Johansson @ 2004-12-06 15:14 UTC (permalink / raw To: gentoo-user building a gentoo server. only need X client lib/support but for some reason, the X server is in the dependency list for emacs and xorg is *failing to build*. if I change make.conf to have -X11 the server side doesn't build but then again neither does any client side support. very annoying. googling for these errors shows nothing. doubly annoying. ../../programs/Xserver/hw/xfree86/loader/libloader.a(xf86sym.o)(.data+0x124c): undefined reference to `__stack_smash_handler' ../../programs/Xserver/hw/xfree86/loader/libloader.a(xf86sym.o)(.data+0x1254): undefined reference to `__guard' collect2: ld returned 1 exit status make.conf CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j3" PORTDIR_OVERLAY=/usr/local/portage USE="aim emacs fastcgi imap maildir mmx mozilla pcmcia python usb gdbm pam png berkdb apache2 perl readline gif qt gtk gtk2 ldap mcal ncurses sse ssl -X wxwindows zlib" your assistance is greatly appreciated. ---eric -- "Part of the problem with the Wal-Mart business model is that it requires more poverty in order to grow." http://www.salon.com/mwt/feature/2004/11/22/wal_mart/print.html -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] building without X 2004-12-06 15:14 [gentoo-user] building without X Eric S. Johansson @ 2004-12-06 15:40 ` Jean-Francois Gagnon Laporte 2004-12-06 16:05 ` Eric S. Johansson 2004-12-06 22:48 ` Jonathan Nichols 2004-12-06 16:02 ` Rumen Yotov 1 sibling, 2 replies; 11+ messages in thread From: Jean-Francois Gagnon Laporte @ 2004-12-06 15:40 UTC (permalink / raw To: gentoo-user Hi ! First questions .... What do you want exactly ? Do you need X support or not ? If you do not, well remove those use flags qt gtk gtk2 since they need an X server anyway to function. Since you are building a server, may I suggest putting -* at the front of your use flags to make sure you don't have some obscure use flags. Instead of putting your settings from make.conf try putting `emerge info`. It really gives what are the currently active settings of portage so to speak. Might want to read this too : http://thread.gmane.org/gmane.linux.gentoo.user/109647 Anyway, I really don't understand your problem. Let's start again, post clearly what your problem is or what you really want (For example, I don't want any X support but it tries to emerge it and it even fails preventing me from continuing my updates. Here's my setup (emerge info) and here's what portage is trying to acheive (emerge -Udpvt world). Post the results of `emerge info` and `emerge -uDpvt` if you were trying to update your server. Cheers ! Jean-Francois On Mon, 06 Dec 2004 10:14:43 -0500, Eric S. Johansson <esj@harvee.org> wrote: > building a gentoo server. only need X client lib/support but for some > reason, the X server is in the dependency list for emacs and xorg is > *failing to build*. if I change make.conf to have -X11 the server side > doesn't build but then again neither does any client side support. very > annoying. googling for these errors shows nothing. doubly annoying. > > ../../programs/Xserver/hw/xfree86/loader/libloader.a(xf86sym.o)(.data+0x124c): > undefined reference to `__stack_smash_handler' > ../../programs/Xserver/hw/xfree86/loader/libloader.a(xf86sym.o)(.data+0x1254): > undefined reference to `__guard' > collect2: ld returned 1 exit status > > make.conf > > CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" > CHOST="i686-pc-linux-gnu" > CXXFLAGS="${CFLAGS}" > MAKEOPTS="-j3" > PORTDIR_OVERLAY=/usr/local/portage > USE="aim emacs fastcgi imap maildir mmx mozilla pcmcia python usb gdbm > pam png berkdb apache2 perl readline gif qt gtk gtk2 ldap mcal ncurses > sse ssl -X wxwindows zlib" > > your assistance is greatly appreciated. > > ---eric > > -- > "Part of the problem with the Wal-Mart business model is that it > requires more poverty in order to grow." > > http://www.salon.com/mwt/feature/2004/11/22/wal_mart/print.html > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] building without X 2004-12-06 15:40 ` Jean-Francois Gagnon Laporte @ 2004-12-06 16:05 ` Eric S. Johansson 2004-12-06 19:06 ` Jean-Francois Gagnon Laporte 2004-12-06 20:19 ` Uwe Thiem 2004-12-06 22:48 ` Jonathan Nichols 1 sibling, 2 replies; 11+ messages in thread From: Eric S. Johansson @ 2004-12-06 16:05 UTC (permalink / raw To: gentoo-user Jean-Francois Gagnon Laporte wrote: > Hi ! > > First questions .... > > What do you want exactly ? Do you need X support or not ? apologies for not being clearer. What I want is only X11 client side support so I can build applications that use X11. Since it is a server and I will never run X11 server side, I don't want to spend the time or energy building the X11 server. case in point is Emacs. I don't want to be limited to what ever I can display via putty but wish to display Emacs sessions on my desktop X11 server. If it is impossible to split X11 into client and server packages, then I would need some help figuring out why it is dying on two security related functions. based on your advice, I found some information and I'm rebuilding a bunch of packages in the hopes that the unexplained dependency will be fixed > from make.conf try putting `emerge info`. It really gives what are the > currently active settings of portage so to speak. thank you for the advice. see below. > Might want to read this too : > http://thread.gmane.org/gmane.linux.gentoo.user/109647 at initial glance, doesn't seem to apply. It's good information but I'm not trying to eliminate X totally, only the server side. or failing that, make the server build and ignore it. >Post the results of `emerge info` and `emerge -uDpvt` > if you were trying to update your server. xeno root # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.3.20040420-r0,glibc-2.3.4.20040808-r1, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.4.3-r4,sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com http://open-systems.ufl.edu/mirrors/gentoo http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.ccccom.com" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aim apache2 apm arts avi berkdb bitmap-fonts crypt cups emacs encode f77 fastcgi foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imap imlib jpeg kde ldap libg++ libwww mad maildir mcal mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime readline sdl spell sse ssl svga tcpd truetype usb wxwindows x86 xml2 xmms xv zlib" xeno root # emerge -uDpvt world These are the packages that I would merge, in reverse order: Calculating world dependencies ...done! [nomerge ] app-editors/emacs-21.3-r3 +X* -Xaw3d -debug +gnome -leim -lesstif +motif +nls [ebuild N ] media-libs/libungif-4.1.0.1b +X +gif 0 kB [ebuild N ] x11-libs/openmotif-2.1.30-r5 -debug 0 kB [ebuild N ] gnome-base/gnome-desktop-2.8.0 -debug 0 kB [ebuild N ] app-text/scrollkeeper-0.3.14 +nls 0 kB [ebuild N ] dev-libs/libxslt-1.1.9-r1 +crypt +python 0 kB [ebuild N ] dev-libs/libgcrypt-1.1.94 +nls 0 kB [ebuild N ] dev-libs/libgpg-error-1.0-r1 +nls 0 kB [ebuild N ] app-text/docbook-xml-dtd-4.1.2-r5 0 kB [ebuild N ] app-text/docbook-sgml-utils-0.6.12 -tetex 0 kB [ebuild N ] app-text/docbook-xml-dtd-4.3 0 kB [ebuild N ] app-text/docbook-xsl-stylesheets-1.65.1 0 kB [ebuild N ] app-text/build-docbook-catalog-1.2 0 kB [ebuild N ] app-text/docbook-sgml-dtd-3.1-r2 0 kB [ebuild N ] app-text/docbook-sgml-dtd-3.0-r2 0 kB [ebuild N ] app-text/docbook-dsssl-stylesheets-1.77-r2 0 kB [ebuild N ] dev-perl/SGMLSpm-1.03-r5 0 kB [ebuild N ] app-text/docbook-xml-simple-dtd-4.1.2.4 0 kB [ebuild N ] app-text/docbook-sgml-dtd-4.0-r2 0 kB [ebuild N ] app-text/docbook-sgml-dtd-4.1-r2 0 kB [ebuild N ] app-arch/unzip-5.50-r2 0 kB [ebuild N ] app-text/openjade-1.3.2-r1 -debug 0 kB [ebuild N ] app-text/sgml-common-0.6.3-r4 0 kB [ebuild N ] app-text/opensp-1.5-r1 +nls 0 kB [ebuild N ] x11-libs/startup-notification-0.7 0 kB [ebuild N ] x11-themes/gnome-themes-2.8.0 -accessibility -debug 0 kB [ebuild N ] x11-themes/gtk-engines-2.2.0 0 kB [ebuild N ] media-libs/imlib-1.9.14-r3 0 kB [ebuild N ] x11-libs/gtk+-1.2.10-r11 -debug +nls 0 kB [ebuild N ] media-libs/giflib-4.1.0-r3 +X +gif 0 kB [ebuild N ] media-libs/tiff-3.7.0 0 kB [ebuild N ] x11-themes/gnome-icon-theme-2.8.0 -debug 0 kB [ebuild N ] x11-themes/hicolor-icon-theme-0.5 0 kB [ebuild N ] gnome-base/libgnomeui-2.8.0 -debug -doc +jpeg 0 kB [ebuild N ] gnome-base/gnome-keyring-0.4.0 -debug 0 kB [ebuild N ] gnome-base/libbonoboui-2.8.0 -debug -doc 0 kB [ebuild N ] gnome-base/libgnome-2.8.0 -debug -doc 0 kB [ebuild N ] gnome-base/gnome-vfs-2.8.1-r2 -debug -doc -gnutls -hal -howl -ipv6 -samba +ssl 0 kB [ebuild N ] app-admin/fam-2.7.0-r2 0 kB [ebuild N ] net-nds/portmap-5b-r9 -debug (-selinux) +tcpd 0 kB [ebuild N ] gnome-base/gnome-mime-data-2.4.1 -debug 0 kB [ebuild N ] media-sound/esound-0.2.34 -alsa -ipv6 +tcpd 0 kB [ebuild N ] media-libs/audiofile-0.2.6-r1 0 kB [ebuild N ] gnome-base/libgnomecanvas-2.8.0 -debug -doc 0 kB [ebuild N ] media-libs/libart_lgpl-2.3.16 -debug 0 kB [ebuild N ] gnome-base/libbonobo-2.8.0 -debug -doc 0 kB [ebuild N ] gnome-base/gconf-2.8.0.1 -debug -doc 0 kB [ebuild N ] gnome-base/orbit-2.12.0 -debug -doc +ssl 0 kB [ebuild N ] dev-libs/libIDL-0.8.4 -debug 0 kB [ebuild N ] dev-util/indent-2.2.9-r1 +nls 0 kB [ebuild N ] gnome-base/libglade-2.4.0 -debug -doc 0 kB [ebuild N ] x11-libs/gtk+-2.4.9-r1 -debug -doc +jpeg -tiff 0 kB [ebuild N ] x11-misc/shared-mime-info-0.14 0 kB [ebuild N ] dev-libs/libxml2-2.6.15-r1 -debug -ipv6 +python +readline 0 kB [ebuild N ] dev-util/intltool-0.31.2 0 kB [ebuild N ] dev-perl/XML-Parser-2.34 0 kB [ebuild N ] x11-libs/pango-1.6.0 -debug -doc 0 kB [ebuild N ] x11-terms/xterm-196 -Xaw3d -debug +truetype -unicode 0 kB [ebuild N ] sys-apps/utempter-0.5.5.5 0 kB [ebuild N ] app-arch/rpm2targz-9.0-r2 0 kB [nomerge ] sys-apps/which-2.16 [ebuild N ] x11-base/xorg-x11-6.8.0-r3 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -hardened -insecure-drivers -ipv6 +mmx +nls +pam -sdk +sse -static -xprint 0 kB [ebuild N ] dev-libs/atk-1.8.0 -debug -doc 0 kB [ebuild NS ] dev-libs/glib-2.4.7 -doc 0 kB [ebuild N ] dev-util/pkgconfig-0.15.0 0 kB Total size of downloads: 0 kB -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] building without X 2004-12-06 16:05 ` Eric S. Johansson @ 2004-12-06 19:06 ` Jean-Francois Gagnon Laporte 2004-12-06 20:19 ` Uwe Thiem 1 sibling, 0 replies; 11+ messages in thread From: Jean-Francois Gagnon Laporte @ 2004-12-06 19:06 UTC (permalink / raw To: gentoo-user On Mon, 06 Dec 2004 11:05:42 -0500, Eric S. Johansson <esj@harvee.org> wrote: > Jean-Francois Gagnon Laporte wrote: > > Hi ! > > > > First questions .... > > > > What do you want exactly ? Do you need X support or not ? > > apologies for not being clearer. What I want is only X11 client side > support so I can build applications that use X11. Since it is a server > and I will never run X11 server side, I don't want to spend the time or > energy building the X11 server. case in point is Emacs. I don't want > to be limited to what ever I can display via putty but wish to display > Emacs sessions on my desktop X11 server. > No problem. AFAIK, you can't really seperate the client libs from the server ... well in portage that is. Also, you can use screen, emacs and ssh to do the same thing. I'm not an emacs user but I fail to grasp why do you want to bloat a server with X11 traffic. Does xemacs have some features that emacs doesn't have ? (As you can see i'm a vi user ... personnaly I don't see a difference between gvim and vim except it uses X11). With screen you can open up many sessions, detach it, close your connection, let it run and check it out later when log back in. It's very useful for server administration. Maybe, I again really don't see what you want ... it's monday for everybody -_-. > If it is impossible to split X11 into client and server packages, then I > would need some help figuring out why it is dying on two security > related functions. based on your advice, I found some information and > I'm rebuilding a bunch of packages in the hopes that the unexplained > dependency will be fixed > For that I don't really know but Rumen has a good point. I haven't had the time to fiddle with hardened specific optimisations. > > from make.conf try putting `emerge info`. It really gives what are the > > currently active settings of portage so to speak. > > thank you for the advice. see below. > > > Might want to read this too : > > http://thread.gmane.org/gmane.linux.gentoo.user/109647 > > at initial glance, doesn't seem to apply. It's good information but I'm > not trying to eliminate X totally, only the server side. or failing > that, make the server build and ignore it. > > >Post the results of `emerge info` and `emerge -uDpvt` > > if you were trying to update your server. > > xeno root # emerge info > Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, > glibc-2.3.3.20040420-r0,glibc-2.3.4.20040808-r1, 2.6.9 i686) > ================================================================= > System uname: 2.6.9 i686 Pentium III (Katmai) > Gentoo Base System version 1.4.16 > Autoconf: sys-devel/autoconf-2.59-r5 > Automake: sys-devel/automake-1.8.5-r1 > Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 > Headers: sys-kernel/linux-headers-2.4.21-r1 > Libtools: sys-devel/libtool-1.4.3-r4,sys-devel/libtool-1.5.2-r7 > ACCEPT_KEYWORDS="x86" > AUTOCLEAN="yes" > CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" > CHOST="i686-pc-linux-gnu" > COMPILER="" > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config > /usr/share/config /var/qmail/control" > CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" > CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" > GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo > http://gentoo.eliteitminds.com > http://open-systems.ufl.edu/mirrors/gentoo > http://ftp.easynet.nl/mirror/gentoo/ ftp://gentoo.ccccom.com" > MAKEOPTS="-j3" > PKGDIR="/usr/portage/packages" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="X aim apache2 apm arts avi berkdb bitmap-fonts crypt cups emacs > encode f77 fastcgi foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imap > imlib jpeg kde ldap libg++ libwww mad maildir mcal mikmod mmx motif > mozilla mpeg ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png > python qt quicktime readline sdl spell sse ssl svga tcpd truetype usb > wxwindows x86 xml2 xmms xv zlib" > As you can see because of profiles it adds of bunch of flags you might not want like gnome and kde. I highly suggest that if you build a server to disable all of the use flags and add in your make.conf only the ones you need. > xeno root # emerge -uDpvt world > > These are the packages that I would merge, in reverse order: > > Calculating world dependencies ...done! > [nomerge ] app-editors/emacs-21.3-r3 +X* -Xaw3d -debug +gnome > -leim -lesstif +motif +nls > [ebuild N ] media-libs/libungif-4.1.0.1b +X +gif 0 kB > [ebuild N ] x11-libs/openmotif-2.1.30-r5 -debug 0 kB > [ebuild N ] gnome-base/gnome-desktop-2.8.0 -debug 0 kB > [ebuild N ] app-text/scrollkeeper-0.3.14 +nls 0 kB > [ebuild N ] dev-libs/libxslt-1.1.9-r1 +crypt +python 0 kB > [ebuild N ] dev-libs/libgcrypt-1.1.94 +nls 0 kB > [ebuild N ] dev-libs/libgpg-error-1.0-r1 +nls 0 kB > [ebuild N ] app-text/docbook-xml-dtd-4.1.2-r5 0 kB > [ebuild N ] app-text/docbook-sgml-utils-0.6.12 -tetex 0 kB > [ebuild N ] app-text/docbook-xml-dtd-4.3 0 kB > [ebuild N ] app-text/docbook-xsl-stylesheets-1.65.1 0 kB > [ebuild N ] app-text/build-docbook-catalog-1.2 0 kB > [ebuild N ] app-text/docbook-sgml-dtd-3.1-r2 0 kB > [ebuild N ] app-text/docbook-sgml-dtd-3.0-r2 0 kB > [ebuild N ] app-text/docbook-dsssl-stylesheets-1.77-r2 0 kB > [ebuild N ] dev-perl/SGMLSpm-1.03-r5 0 kB > [ebuild N ] app-text/docbook-xml-simple-dtd-4.1.2.4 0 kB > [ebuild N ] app-text/docbook-sgml-dtd-4.0-r2 0 kB > [ebuild N ] app-text/docbook-sgml-dtd-4.1-r2 0 kB > [ebuild N ] app-arch/unzip-5.50-r2 0 kB > [ebuild N ] app-text/openjade-1.3.2-r1 -debug 0 kB > [ebuild N ] app-text/sgml-common-0.6.3-r4 0 kB > [ebuild N ] app-text/opensp-1.5-r1 +nls 0 kB > [ebuild N ] x11-libs/startup-notification-0.7 0 kB > [ebuild N ] x11-themes/gnome-themes-2.8.0 -accessibility -debug 0 kB > [ebuild N ] x11-themes/gtk-engines-2.2.0 0 kB > [ebuild N ] media-libs/imlib-1.9.14-r3 0 kB > [ebuild N ] x11-libs/gtk+-1.2.10-r11 -debug +nls 0 kB > [ebuild N ] media-libs/giflib-4.1.0-r3 +X +gif 0 kB > [ebuild N ] media-libs/tiff-3.7.0 0 kB > [ebuild N ] x11-themes/gnome-icon-theme-2.8.0 -debug 0 kB > [ebuild N ] x11-themes/hicolor-icon-theme-0.5 0 kB > [ebuild N ] gnome-base/libgnomeui-2.8.0 -debug -doc +jpeg 0 kB > [ebuild N ] gnome-base/gnome-keyring-0.4.0 -debug 0 kB > [ebuild N ] gnome-base/libbonoboui-2.8.0 -debug -doc 0 kB > [ebuild N ] gnome-base/libgnome-2.8.0 -debug -doc 0 kB > [ebuild N ] gnome-base/gnome-vfs-2.8.1-r2 -debug -doc -gnutls > -hal -howl -ipv6 -samba +ssl 0 kB > [ebuild N ] app-admin/fam-2.7.0-r2 0 kB > [ebuild N ] net-nds/portmap-5b-r9 -debug (-selinux) +tcpd 0 kB > [ebuild N ] gnome-base/gnome-mime-data-2.4.1 -debug 0 kB > [ebuild N ] media-sound/esound-0.2.34 -alsa -ipv6 +tcpd 0 kB > [ebuild N ] media-libs/audiofile-0.2.6-r1 0 kB > [ebuild N ] gnome-base/libgnomecanvas-2.8.0 -debug -doc 0 kB > [ebuild N ] media-libs/libart_lgpl-2.3.16 -debug 0 kB > [ebuild N ] gnome-base/libbonobo-2.8.0 -debug -doc 0 kB > [ebuild N ] gnome-base/gconf-2.8.0.1 -debug -doc 0 kB > [ebuild N ] gnome-base/orbit-2.12.0 -debug -doc +ssl 0 kB > [ebuild N ] dev-libs/libIDL-0.8.4 -debug 0 kB > [ebuild N ] dev-util/indent-2.2.9-r1 +nls 0 kB > [ebuild N ] gnome-base/libglade-2.4.0 -debug -doc 0 kB > [ebuild N ] x11-libs/gtk+-2.4.9-r1 -debug -doc +jpeg -tiff 0 kB > [ebuild N ] x11-misc/shared-mime-info-0.14 0 kB > [ebuild N ] dev-libs/libxml2-2.6.15-r1 -debug -ipv6 +python > +readline 0 kB > [ebuild N ] dev-util/intltool-0.31.2 0 kB > [ebuild N ] dev-perl/XML-Parser-2.34 0 kB > [ebuild N ] x11-libs/pango-1.6.0 -debug -doc 0 kB > [ebuild N ] x11-terms/xterm-196 -Xaw3d -debug +truetype -unicode 0 kB > [ebuild N ] sys-apps/utempter-0.5.5.5 0 kB > [ebuild N ] app-arch/rpm2targz-9.0-r2 0 kB > [nomerge ] sys-apps/which-2.16 > [ebuild N ] x11-base/xorg-x11-6.8.0-r3 -3dfx -3dnow > +bitmap-fonts -cjk -debug -dlloader -dmx -doc -hardened > -insecure-drivers -ipv6 +mmx +nls +pam -sdk +sse -static -xprint 0 kB > [ebuild N ] dev-libs/atk-1.8.0 -debug -doc 0 kB > [ebuild NS ] dev-libs/glib-2.4.7 -doc 0 kB > [ebuild N ] dev-util/pkgconfig-0.15.0 0 kB > > Total size of downloads: 0 kB > > -- > > > gentoo-user@gentoo.org mailing list > > You are aware that you are building the complete gnome desktop because of emacs and it's use flags ? You might want to disable gnome support or even X support. There are plenty of use flags that aren't useful for your needs for what I can see. I hope this helps Jean-Francois -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] building without X 2004-12-06 16:05 ` Eric S. Johansson 2004-12-06 19:06 ` Jean-Francois Gagnon Laporte @ 2004-12-06 20:19 ` Uwe Thiem 2004-12-08 2:05 ` Eric S. Johansson 1 sibling, 1 reply; 11+ messages in thread From: Uwe Thiem @ 2004-12-06 20:19 UTC (permalink / raw To: gentoo-user On Monday 06 December 2004 18:05, Eric S. Johansson wrote: > Jean-Francois Gagnon Laporte wrote: > > Hi ! > > > > First questions .... > > > > What do you want exactly ? Do you need X support or not ? > > apologies for not being clearer. What I want is only X11 client side > support so I can build applications that use X11. Since it is a server > and I will never run X11 server side, I don't want to spend the time or > energy building the X11 server. case in point is Emacs. I don't want > to be limited to what ever I can display via putty but wish to display > Emacs sessions on my desktop X11 server. Lemme guess. You are building a server for thing clients otherwise the statement above wouldn't make much sense. Alright, I will assume that. The X applications still need all the X-related libs to link against. So you better build the whole X. > > If it is impossible to split X11 into client and server packages, then I > would need some help figuring out why it is dying on two security > related functions. So, what are those issues? Uwe -- Alternative phrasing of the First Law of Thermodynamics: If you eat it, and you don't burn it off, you'll sit on it. http://www.uwix.iway.na (last updated: 20.06.2004) -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] building without X 2004-12-06 20:19 ` Uwe Thiem @ 2004-12-08 2:05 ` Eric S. Johansson 2004-12-08 10:09 ` Michael Kintzios 0 siblings, 1 reply; 11+ messages in thread From: Eric S. Johansson @ 2004-12-08 2:05 UTC (permalink / raw To: gentoo-user Uwe Thiem wrote: > Lemme guess. You are building a server for thing clients otherwise the > statement above wouldn't make much sense. Alright, I will assume that. effectively right but there are other models where this would fit. think colinux systems. > > The X applications still need all the X-related libs to link against. So you > better build the whole X. > >>If it is impossible to split X11 into client and server packages, then I >>would need some help figuring out why it is dying on two security >>related functions. > > > So, what are those issues? ../../programs/Xserver/hw/xfree86/loader/libloader.a(xf86sym.o)(.data+0x124c): undefined reference to `__stack_smash_handler' ../../programs/Xserver/hw/xfree86/loader/libloader.a(xf86sym.o)(.data+0x1254): undefined reference to `__guard' collect2: ld returned 1 exit status someone else claimed that emerge sync and rebuilding glibc fixed the problem. trying that now. --- eric -- "Part of the problem with the Wal-Mart business model is that it requires more poverty in order to grow." http://www.salon.com/mwt/feature/2004/11/22/wal_mart/print.html -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: [gentoo-user] building without X 2004-12-08 2:05 ` Eric S. Johansson @ 2004-12-08 10:09 ` Michael Kintzios 0 siblings, 0 replies; 11+ messages in thread From: Michael Kintzios @ 2004-12-08 10:09 UTC (permalink / raw To: gentoo-user To solve this I had to rebuild more than glibc: # emerge linux26-headers gcc glibc xorg-x11 It then compiled xorg without any more problems. Regards, Mick -----Original Message----- From: Eric S. Johansson [mailto:esj@harvee.org] Sent: 08 December 2004 02:05 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] building without X Uwe Thiem wrote: > Lemme guess. You are building a server for thing clients otherwise the > statement above wouldn't make much sense. Alright, I will assume that. effectively right but there are other models where this would fit. think colinux systems. > > The X applications still need all the X-related libs to link against. So you > better build the whole X. > >>If it is impossible to split X11 into client and server packages, then I >>would need some help figuring out why it is dying on two security >>related functions. > > > So, what are those issues? ./../programs/Xserver/hw/xfree86/loader/libloader.a(xf86sym.o)(.data+0x 124c): undefined reference to `__stack_smash_handler' ./../programs/Xserver/hw/xfree86/loader/libloader.a(xf86sym.o)(.data+0x 1254): undefined reference to `__guard' collect2: ld returned 1 exit status someone else claimed that emerge sync and rebuilding glibc fixed the problem. trying that now. --- eric -- "Part of the problem with the Wal-Mart business model is that it requires more poverty in order to grow." http://www.salon.com/mwt/feature/2004/11/22/wal_mart/print.html -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] building without X 2004-12-06 15:40 ` Jean-Francois Gagnon Laporte 2004-12-06 16:05 ` Eric S. Johansson @ 2004-12-06 22:48 ` Jonathan Nichols 2004-12-07 2:46 ` Paul Varner 1 sibling, 1 reply; 11+ messages in thread From: Jonathan Nichols @ 2004-12-06 22:48 UTC (permalink / raw To: gentoo-user > Might want to read this too : > http://thread.gmane.org/gmane.linux.gentoo.user/109647 > That thread is my fault - and here's what's going on.... Screw X. :P I STILL can't get it off the machine, and PHP won't compile because it thinks it's being cross-compiled, and I have NO idea why. My solution to that whole problem: Shoot the mail server. I'm going to Sacramento tonight to pick up another server that a friend had available as a spare. My new make.conf USE flags will be "-*" - I'll just specify the necessary USE flags on the command line. Phooey on X on servers for me. :P -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] building without X 2004-12-06 22:48 ` Jonathan Nichols @ 2004-12-07 2:46 ` Paul Varner 2004-12-07 5:56 ` Jonathan Nichols 0 siblings, 1 reply; 11+ messages in thread From: Paul Varner @ 2004-12-07 2:46 UTC (permalink / raw To: gentoo-user On Mon, 2004-12-06 at 14:48 -0800, Jonathan Nichols wrote: > My new make.conf USE flags will be "-*" - I'll just specify the > necessary USE flags on the command line. Phooey on X on servers for me. :P Actually you probably want USE="-* pam readline" as otherwise things can break. Secondly, don't put the USE flags on the command line, use /etc/portage/package.use instead. I would highly recommend reading man portage, if you haven't already. Regards, Paul -- -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] building without X 2004-12-07 2:46 ` Paul Varner @ 2004-12-07 5:56 ` Jonathan Nichols 0 siblings, 0 replies; 11+ messages in thread From: Jonathan Nichols @ 2004-12-07 5:56 UTC (permalink / raw To: gentoo-user Paul Varner wrote: > On Mon, 2004-12-06 at 14:48 -0800, Jonathan Nichols wrote: > > >>My new make.conf USE flags will be "-*" - I'll just specify the >>necessary USE flags on the command line. Phooey on X on servers for me. :P > > > Actually you probably want USE="-* pam readline" as otherwise things can > break. Secondly, don't put the USE flags on the command line, > use /etc/portage/package.use instead. I would highly recommend reading > man portage, if you haven't already. I've read the manpage so many times I can recite it in my sleep. :) USE="-* pam readline" sounds fine too.. whatever keeps X off the server.. -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] building without X 2004-12-06 15:14 [gentoo-user] building without X Eric S. Johansson 2004-12-06 15:40 ` Jean-Francois Gagnon Laporte @ 2004-12-06 16:02 ` Rumen Yotov 1 sibling, 0 replies; 11+ messages in thread From: Rumen Yotov @ 2004-12-06 16:02 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1517 bytes --] On пн, 2004-12-06 at 10:14 -0500, Eric S. Johansson wrote: > building a gentoo server. only need X client lib/support but for some > reason, the X server is in the dependency list for emacs and xorg is > *failing to build*. if I change make.conf to have -X11 the server side > doesn't build but then again neither does any client side support. very > annoying. googling for these errors shows nothing. doubly annoying. > > ../../programs/Xserver/hw/xfree86/loader/libloader.a(xf86sym.o)(.data+0x124c): > undefined reference to `__stack_smash_handler' > ../../programs/Xserver/hw/xfree86/loader/libloader.a(xf86sym.o)(.data+0x1254): > undefined reference to `__guard' > collect2: ld returned 1 exit status > > make.conf > > CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" > CHOST="i686-pc-linux-gnu" > CXXFLAGS="${CFLAGS}" > MAKEOPTS="-j3" > PORTDIR_OVERLAY=/usr/local/portage > USE="aim emacs fastcgi imap maildir mmx mozilla pcmcia python usb gdbm > pam png berkdb apache2 perl readline gif qt gtk gtk2 ldap mcal ncurses > sse ssl -X wxwindows zlib" > > your assistance is greatly appreciated. > > ---eric > > Hi, As i've not seen any traces of you using -fstack-protector/-all in CFLAGS or hardened, which is visible in your next mails, suggest you ask with this info in gentoo-hardened@gentoo.org (ML) as i had such messages quite an year ago, in the beginning when used hardened in an old-fashioned way. HTH -- Rumen Yotov <rumen_yotov@dir.bg> [-- Attachment #2: smime.p7s --] [-- Type: application/x-pkcs7-signature, Size: 2541 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-12-08 10:07 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-12-06 15:14 [gentoo-user] building without X Eric S. Johansson 2004-12-06 15:40 ` Jean-Francois Gagnon Laporte 2004-12-06 16:05 ` Eric S. Johansson 2004-12-06 19:06 ` Jean-Francois Gagnon Laporte 2004-12-06 20:19 ` Uwe Thiem 2004-12-08 2:05 ` Eric S. Johansson 2004-12-08 10:09 ` Michael Kintzios 2004-12-06 22:48 ` Jonathan Nichols 2004-12-07 2:46 ` Paul Varner 2004-12-07 5:56 ` Jonathan Nichols 2004-12-06 16:02 ` Rumen Yotov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox