View previous topic :: View next topic |
Author |
Message |
GRiMwolf n00b
Joined: 12 Sep 2005 Posts: 16
|
Posted: Sun Dec 11, 2005 11:53 pm Post subject: emerge dev-php/php :: xorg blocker |
|
|
So I'm trying to build a web server. I try to do an "emerge dev-php/php" and I get an error.
Do a pretend and it's telling me that:
[blocks B ] virtual/x11 (is blocking x11-base/xorg-x11-6.8.2-r6)
I DIDN'T INSTALL X! I'm assuming it's part of the base system and php has dependencies on it for some obscure reason that I don't know....but I digress.
So...how do I get x11 replaced and xorg installed so php is happy and will emerge?
I tried doing some searching and came up empty.
Thanks in advance to those who reply. |
|
Back to top |
|
|
Aries-Belgium l33t
Joined: 08 Jul 2005 Posts: 730 Location: Willebroek, Belgium
|
Posted: Mon Dec 12, 2005 12:48 am Post subject: |
|
|
Can you post your emerge --info, please? |
|
Back to top |
|
|
ellotheth Tux's lil' helper
Joined: 30 Aug 2005 Posts: 123
|
Posted: Mon Dec 12, 2005 1:22 am Post subject: |
|
|
Also post the output of emerge -pv php, if you get a chance. _________________ monjoy |
|
Back to top |
|
|
GRiMwolf n00b
Joined: 12 Sep 2005 Posts: 16
|
Posted: Mon Dec 12, 2005 3:17 am Post subject: |
|
|
ellotheth wrote: | Also post the output of emerge -pv php, if you get a chance. |
emerge --info
Code: | Gentoo Base System version 1.6.12
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.14-gentoo-r2
i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Pentium III (Katmai)
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3"
CHOST="i686-pc-linux-gnu"
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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo http://gentoo.mirrored.ca/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 crypt cups eds emboss encode e
xif expat foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 imagemagick imlib ipv6 jpeg libg++ libwww mad mik
mod motif mp3 mpeg mysql ncurses netpbm nls ogg oggvorbis opengl oss pam pdflib perl php png python quicktime
readline samba sdl spell ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland
_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
|
GRiMwolf n00b
Joined: 12 Sep 2005 Posts: 16
|
Posted: Mon Dec 12, 2005 3:19 am Post subject: |
|
|
ellotheth wrote: | Also post the output of emerge -pv php, if you get a chance. |
emerge -pv dev-php/php (emerge -pv php doesn't work)
Code: | These are the packages that I would merge, in order:
Calculating dependencies ...done!
[blocks B ] virtual/x11 (is blocking x11-base/xorg-x11-6.8.2-r6)
[ebuild N ] app-text/aspell-0.50.5-r4 +gpm 992 kB
[ebuild N ] app-crypt/mhash-0.9.2 833 kB
[ebuild N ] media-libs/freetype-2.1.9-r1 -bindist -doc +zlib 969 kB
[ebuild N ] dev-libs/libmcrypt-2.5.7 511 kB
[ebuild N ] dev-libs/libxml2-2.6.22 -debug -doc +ipv6 +python +readline -static 3,328 kB
[ebuild N ] dev-libs/libgpg-error-1.0-r1 +nls 316 kB
[ebuild N ] dev-libs/libgcrypt-1.2.1 +nls 938 kB
[ebuild N ] dev-libs/libxslt-1.1.15 +crypt -debug +python -static 1,780 kB
[ebuild N ] media-libs/libpng-1.2.8 -doc 375 kB
[ebuild N ] x11-base/opengl-update-2.2.1 38 kB
[ebuild N ] x11-misc/ttmkfdir-3.0.9-r3 19 kB
[ebuild N ] media-libs/fontconfig-2.2.3 732 kB
[ebuild N ] x11-base/xorg-x11-6.8.2-r6 -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-
server -insecure-drivers +ipv6 -minimal -mmx +nls -nocxx +opengl +pam -sdk -sse -static +truetype-fonts +type
1-fonts (-uclibc) -xprint +xv 45,134 kB
[ebuild N ] virtual/x11-6.8 0 kB
[ebuild N ] app-arch/rpm2targz-9.0-r3 2 kB
[ebuild N ] sys-apps/utempter-0.5.5.6 20 kB
[ebuild N ] x11-terms/xterm-204 -Xaw3d -toolbar +truetype -unicode 698 kB
[ebuild N ] media-libs/jpeg-6b-r5 598 kB
[ebuild N ] app-text/sablotron-1.0.1 -doc +perl 474 kB
[ebuild N ] net-libs/libwww-5.4.0-r4 +mysql +ssl 1,110 kB
[ebuild NS ] sys-libs/db-1.85-r2 279 kB
[ebuild N ] media-libs/freetype-1.3.1-r4 +nls -tetex 1,919 kB
[ebuild N ] media-libs/t1lib-5.0.2 +X -doc 1,657 kB
[ebuild N ] dev-php/php-4.4.0-r4 +X +berkdb +crypt -curl -debug -doc -fdftk -firebird -flash -freetds +g
d -gd-external +gdbm -gmp -hardenedphp -imap -informix +ipv6 -java +jpeg -kerberos -ldap -mcal -memlimit -mss
ql +mysql +ncurses +nls -oci8 -odbc +pam +png -postgres +readline -snmp +spell +ssl -tiff +truetype +xml2 -ya
z 4,339 kB
Total size of downloads: 67,072 kB
|
|
|
Back to top |
|
|
GRiMwolf n00b
Joined: 12 Sep 2005 Posts: 16
|
Posted: Mon Dec 12, 2005 3:20 am Post subject: |
|
|
As I said in my first post. x11 is "Blocking" xorg.
Last edited by GRiMwolf on Mon Dec 12, 2005 12:24 pm; edited 1 time in total |
|
Back to top |
|
|
ellotheth Tux's lil' helper
Joined: 30 Aug 2005 Posts: 123
|
Posted: Mon Dec 12, 2005 3:39 am Post subject: |
|
|
Ok, that's just weird. Virtual/x11 shouldn't be showing up as a package to install, it should just be pointing to xorg (or whatever you're using for X). Well, X is getting pulled in because it's in your USE. Try compiling with -X in there. _________________ monjoy |
|
Back to top |
|
|
Aries-Belgium l33t
Joined: 08 Jul 2005 Posts: 730 Location: Willebroek, Belgium
|
Posted: Mon Dec 12, 2005 7:14 am Post subject: |
|
|
If you are trying to set up a webserver, try emerging dev-lang/php with USE="cli" instead.
The dev-lang/php is a "special" ebuild for setting up a (apache) webserver with php support.
More info about that can be found here ...
Or if you really want to use dev-php/php, try this:
Code: | USE="-X" emerge dev-php/php |
Like ellotheth already said.
Good luck. |
|
Back to top |
|
|
GRiMwolf n00b
Joined: 12 Sep 2005 Posts: 16
|
Posted: Mon Dec 12, 2005 12:23 pm Post subject: |
|
|
ellotheth wrote: | Ok, that's just weird. Virtual/x11 shouldn't be showing up as a package to install, it should just be pointing to xorg (or whatever you're using for X). Well, X is getting pulled in because it's in your USE. Try compiling with -X in there. |
I have no idea what kind of weird ass "USE" line that is cause if I look in my "/etc/make.conf" it does not have "X" in it. In fact it almost all fits on one line.
I have no idea where this:
Code: | USE="x86 X alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 crypt cups eds emboss encode e
xif expat foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 imagemagick imlib ipv6 jpeg libg++ libwww mad mik
mod motif mp3 mpeg mysql ncurses netpbm nls ogg oggvorbis opengl oss pam pdflib perl php png python quicktime
readline samba sdl spell ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland
_GNU kernel_linux elibc_glibc" |
came from but it's not what is in MY make.conf.
Any idea's why I have all this junk? Is this a default that gentoo puts in itself?
PS - I'll try to emerge with "-X" and let you know. |
|
Back to top |
|
|
GRiMwolf n00b
Joined: 12 Sep 2005 Posts: 16
|
Posted: Mon Dec 12, 2005 12:31 pm Post subject: |
|
|
After following the links in the previous post:
Code: | (install PHP4 only)
USE="cli apache2" emerge '=dev-lang/php-4*' |
is what I'm really after.
Info was found here.
Thanks for the help guys! I'll let you know how things go and update the thread as neeaded. |
|
Back to top |
|
|
ellotheth Tux's lil' helper
Joined: 30 Aug 2005 Posts: 123
|
Posted: Mon Dec 12, 2005 1:53 pm Post subject: |
|
|
As an aside: Check out this blurb in the Gentoo Weekly Newsletter. Bug-worthy? _________________ monjoy |
|
Back to top |
|
|
deepspace9 Apprentice
Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Mon Dec 12, 2005 10:20 pm Post subject: |
|
|
Well, same thing here, and all of the stuff I read above will not work...
Code: |
USE="cli apache2 -X" emerge -pv dev-lang/php
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[blocks B ] x11-libs/libXft (is blocking x11-base/xorg-x11-6.8.2-r6)
[ebuild N ] net-libs/c-client-2004g +pam +ssl 2,194 kB
[ebuild N ] dev-libs/libmcrypt-2.5.7 511 kB
[ebuild N ] dev-db/cdb-0.75 52 kB
[ebuild UD] x11-base/xorg-x11-6.8.2-r6 [7.0.0_rc2] (-3dfx) (-3dnow) +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal (-mmx) +nls -nocxx +opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 196 kB
[ebuild N ] virtual/x11-6.8 0 kB
[ebuild N ] app-admin/eselect-php-0.96 0 kB
[ebuild U ] sys-devel/m4-1.4.4 [1.4.2-r1] +nls 299 kB
[ebuild N ] dev-lang/php-5.0.5-r4 (-adabas) -apache +apache2 -bcmath +berkdb (-birdstep) +bzip2 -calendar +cdb -cgi -cjk +cli +crypt -ctype -curl -curlwrappers -db2 -dba -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) +exif (-fdftk) (-filepro) (-firebird) -flatfile -force-cgi-redirect (-frontbase) +ftp +gd -gd-external -gdbm +gmp -hardenedphp -hyperwave-api -iconv +imap (-informix) -inifile -interbase -iodbc +ipv6 -java-external -kerberos -ldap -libedit -mcve -memlimit -mhash -ming -mnogosearch -msql -mssql -mysql -mysqli +ncurses +nls -oci8 (-oci8-instant-client) -odbc -oracle7 -ovrimos -pcntl +pcre -pdo-external -pear (-pfpro) -pic -posix -postgres -qdbm +readline -recode -sapdb -sasl -session -sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) +spell -spl -sqlite +ssl (-sybase) (-sybase-ct) -sysvipc +threads -tidy +tiff -tokenizer +truetype -wddx +xml2 -xmlrpc +xpm -xsl -yaz -zip +zlib 4,780 kB
Total size of downloads: 8,035 kB
|
and
Code: |
emerge --info
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.6-r1, 2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.12
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=k8 -O2 -pipe -fomit-frame-pointer -ffast-math"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=k8 -O2 -pipe -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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="amd64 X acpi alsa apache2 audiofile avi avifile bash-completion berkdb bitmap-fonts bmp bzip2 cdb cdparnoia cdr cli crypt cups dio dts dvd dvdr dvdread eds emboss emul-linux-x86 encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran ftp gd gif glut gmp gnome gpm gstreamer gtk gtk2 icq idn ieee1394 imagemagick imap imlib ipv6 jack java javascript jpeg junit kde lcms libwww lirc lzw lzw-tiff mad mime mng mozilla mp3 mpeg msn ncurses nls nptl nsplugin opengl pam pcre pdflib perl png python qt quicktime readline samba sdl sndfile soundfile spell ssl svg tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev usb userlocales v4l wmf xine xinerama xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS |
I really don't get why it would want X... _________________ Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence ) |
|
Back to top |
|
|
jamapii l33t
Joined: 16 Sep 2004 Posts: 637
|
Posted: Tue Dec 13, 2005 12:41 am Post subject: |
|
|
Put "-X" in your USE variable in /etc/make.conf
X is likely set automatically for some reason. |
|
Back to top |
|
|
Aries-Belgium l33t
Joined: 08 Jul 2005 Posts: 730 Location: Willebroek, Belgium
|
Posted: Tue Dec 13, 2005 12:43 am Post subject: |
|
|
jamapii wrote: | Put "-X" in your USE variable in /etc/make.conf
X is likely set automatically for some reason. |
But dev-lang/php doesn't have X use flag, dev-php/php does. So it wouldn't make any difference. |
|
Back to top |
|
|
ellotheth Tux's lil' helper
Joined: 30 Aug 2005 Posts: 123
|
Posted: Tue Dec 13, 2005 12:53 am Post subject: |
|
|
Just out of curiosity, what do you get with emerge -tv dev-lang/php? Maybe it's a dependency of a dependency or some such...? (Bit of a long shot, I know.) _________________ monjoy |
|
Back to top |
|
|
deepspace9 Apprentice
Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Tue Dec 13, 2005 6:41 pm Post subject: |
|
|
Code: | emerge -tv dev-lang/php
>>> --tree implies --pretend... adding --pretend to options.
These are the packages that I would merge, in reverse order:
Calculating dependencies ...done!
[blocks B ] x11-libs/libXft (is blocking x11-base/xorg-x11-6.8.2-r6)
[ebuild N ] dev-lang/php-5.0.5-r4 (-adabas) -apache +apache2 -bcmath +berkdb (-birdstep) +bzip2 -calendar +cdb -cgi -cjk +cli +crypt -ctype -curl -curlwrappers -db2 -dba -dbase (-dbmaker) -debug -discard-path -doc (-empress) (-empress-bcs) (-esoob) +exif (-fdftk) (-filepro) (-firebird) -flatfile -force-cgi-redirect (-frontbase) +ftp +gd -gd-external -gdbm +gmp -hardenedphp -hyperwave-api -iconv +imap (-informix) -inifile -interbase -iodbc +ipv6 -java-external -kerberos -ldap -libedit -mcve -memlimit -mhash -ming -mnogosearch -msql -mssql -mysql -mysqli +ncurses +nls -oci8 (-oci8-instant-client) -odbc -oracle7 -ovrimos -pcntl +pcre -pdo-external -pear (-pfpro) -pic -posix -postgres -qdbm +readline -recode -sapdb -sasl -session -sharedext -sharedmem -simplexml -snmp -soap -sockets (-solid) +spell -spl -sqlite +ssl (-sybase) (-sybase-ct) -sysvipc +threads -tidy +tiff -tokenizer +truetype -wddx +xml2 -xmlrpc +xpm -xsl -yaz -zip +zlib 4,780 kB
[ebuild U ] sys-devel/m4-1.4.4 [1.4.2-r1] +nls 299 kB
[ebuild N ] app-admin/eselect-php-0.96 0 kB
[ebuild N ] virtual/x11-6.8 0 kB
[ebuild UD] x11-base/xorg-x11-6.8.2-r6 [7.0.0_rc2] (-3dfx) (-3dnow) +bitmap-fonts -cjk -debug -dlloader -dmx -doc -font-server -insecure-drivers +ipv6 -minimal (-mmx) +nls -nocxx +opengl +pam -sdk (-sse) -static +truetype-fonts +type1-fonts (-uclibc) -xprint +xv 196 kB
[ebuild N ] dev-db/cdb-0.75 52 kB
[ebuild N ] dev-libs/libmcrypt-2.5.7 511 kB
[ebuild N ] net-libs/c-client-2004g +pam +ssl 2,194 kB
Total size of downloads: 8,035 kB
|
_________________ Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence ) |
|
Back to top |
|
|
llongi Retired Dev
Joined: 15 Apr 2004 Posts: 459 Location: Switzerland
|
Posted: Wed Dec 14, 2005 4:16 pm Post subject: |
|
|
dev-lang/php depends on X11 if you enable the "xpm" USE flag, wich is an image format that is supported through the X11 libraries, when the new Modular X is more stabilized and some things are resolved, we'll probably change the dependency to only require the X11 libraries and not the whole build. _________________ Best regards, Luca. |
|
Back to top |
|
|
deepspace9 Apprentice
Joined: 29 Jan 2003 Posts: 214 Location: Netherlands
|
Posted: Wed Dec 14, 2005 6:37 pm Post subject: |
|
|
Many thanks for the info! It works just fine now. _________________ Athlon 64 X2 3800+
MSI K8N Neo4 FI
Geil Ultra-X PC3200 400MHz CL2 5-2-2 DDR 2x512 GB
Asus 6600 Silence GFX
Watercooling (I just love the silence ) |
|
Back to top |
|
|
|