View previous topic :: View next topic |
Author |
Message |
alarmcall n00b
Joined: 06 Jul 2004 Posts: 22
|
Posted: Tue May 30, 2006 7:49 pm Post subject: lighttpd + mediawiki + X(!) - are you kidding?! (SOLVED) |
|
|
Okay, it's been a while since I was last here (and also a while since I used gentoo in anger) [/code]so I hope you're all still as helpful as you were way back when
I've just resurrected an aging server (IBM Netfinity 5000) for the purpose of running a wiki on an internal network. Just before leaving work tonight I thought I'd have a quick look at what sort of packages/size mediawiki would be installed on the HD - the result from a quick
Code: | $ emerge -pv mediawiki |
returned a whopping 95MB of downloads ... including 45MB for x11-base and xorg!!!
Someone please tell me this is a joke. Why on earth does mediawiki depend on X? (For that matter why does it get Apache2 by default!?)
Has anyone else done a 'thin' mediawiki emerge before (and if so what exactly did you do). By thin I mean:
Lighttpd + mediawiki + mysql + php NO X, NO APACHE AND NO CRAP ON MY AGING PII 400MHz + 512MB PC100 SERVER!
If not, then I suppose I'll have to get the 'balls and do the manual thing ...
Thanks in advance folks.
Last edited by alarmcall on Wed May 31, 2006 7:25 am; edited 1 time in total |
|
Back to top |
|
|
Sachankara l33t
Joined: 11 Jun 2004 Posts: 696 Location: Stockholm, Sweden
|
Posted: Tue May 30, 2006 7:56 pm Post subject: |
|
|
You most likely missed a USE flag. Post your USE flags and the output of "emerge -pv mediawiki". _________________ Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak) |
|
Back to top |
|
|
Kruegi Guru
Joined: 09 Feb 2005 Posts: 406 Location: Clausthal-Zellerfeld; DE
|
Posted: Tue May 30, 2006 7:58 pm Post subject: |
|
|
Quote: | Post your USE flags and the output of "emerge -pv mediawiki". |
better:
Code: | emerge -ptv mediawiki |
The tree will show you which package requires X.
Maybe imagemagick
Thomas |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Tue May 30, 2006 8:14 pm Post subject: |
|
|
USE="-X -apache2" emerge -pv mediawiki should fix this
description:
X + apache2 are default use flags (/etc/make.profile/make.defaults)
- mediawiki needs php+imagemagick
- php pulls apache2 by use flag
- imagemagick pulls xorg by use flag _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
|
alarmcall n00b
Joined: 06 Jul 2004 Posts: 22
|
Posted: Wed May 31, 2006 7:24 am Post subject: |
|
|
Kruegi, Sachankara you were close(!), but Think4UrS11 -- you nailed it (thanks!)
Being used to Ubuntu these days I'd completely forgotten about the file /etc/make.profile/make.defaults.
Thanks for your (very fast) help on this folks, much appreciated.
Time for me to get reacquaited with Gentoo again |
|
Back to top |
|
|
|