Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lighttpd + mediawiki + X(!) - are you kidding?! (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
alarmcall
n00b
n00b


Joined: 06 Jul 2004
Posts: 22

PostPosted: Tue May 30, 2006 7:49 pm    Post subject: lighttpd + mediawiki + X(!) - are you kidding?! (SOLVED) Reply with quote

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 :wink:

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
View user's profile Send private message
Sachankara
l33t
l33t


Joined: 11 Jun 2004
Posts: 696
Location: Stockholm, Sweden

PostPosted: Tue May 30, 2006 7:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kruegi
Guru
Guru


Joined: 09 Feb 2005
Posts: 406
Location: Clausthal-Zellerfeld; DE

PostPosted: Tue May 30, 2006 7:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Tue May 30, 2006 8:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
alarmcall
n00b
n00b


Joined: 06 Jul 2004
Posts: 22

PostPosted: Wed May 31, 2006 7:24 am    Post subject: Reply with quote

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 :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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