Posts gesorteerd op relevantie tonen voor zoekopdracht gentoo. Sorteren op datum Alle posts tonen
Posts gesorteerd op relevantie tonen voor zoekopdracht gentoo. Sorteren op datum Alle posts tonen

zondag 19 augustus 2007

gentoo portage blues

Gentoo portage does have some nasty conflict situations from time to time. Of course when you don't update a machine for a long time, you get several weird situations at once. Thanks for the great Gentoo community, finding a solution for these issues is a matter of searching the gentoo forums.

So get this:
mod_perl 2.02 conflicts with apache-test-129, but mod_perl-2.03 needs apache-test. So updating to perl-mod 2.03 is a challenge, since this will lead to a circular problem.

Knowing this ofcourse makes it easy, just unmerge perl_mod, compile apache-test en remerge perl_mod,
or override the dependency check with --nodeps
unmerging:
  1. emerge -c mod_perl

  2. emerge Apache-Test

  3. emerge mod_perl


overriding dependency check:
emerge --oneshot --nodeps Apache-Test && emerge mod_perl --nodeps

updating gentoo apache

Seems less painless than it used to be.
Running a apache2ctl configtest command gives all sorts of errors like this:

Syntax error on line 170 of /etc/apache2/httpd.conf: Syntax error on line 4 of /etc/apache2/modules.d/70_mod_php5.conf: API module structure `php5_module' in file /usr/lib64/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO?

So now i have to use equery b libphp5.so to figure out i need to recompile php for apache....weird. Shouldn't gentoo do this by itself?

update:
nasty little gentoo apache maintainer removed Listen 80 from httpd.conf, but (in my case) it needs it to remember to listen to port 80.

gentoo php update

Needed to update php to play with some recently discovered php toys.
The rebuild seemed easy enough, as usual.
But then i ran into some problems like:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/lib/php/extensions/no-debug-zts-20050922/zip.so' - /usr/lib/php5/lib/php/extensions/no-debug-zts-20050922/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0

So according to some kid in the gentoo forums all you need to do is this:
equery belongs zip.so
then you'll find out to what package it belongs en remerge that package, like this
emerge dev-php5/pecl-zip
ofcourse it would be wise to check it out first with -pv before you actually merge the packages.

We really need to now these things as a webdeveloper, just so we can fool around.

zondag 23 september 2007

Gentoo sucks

So im trying to get kissxd installed to be able to connect my pc to my buggy divx player.

It won't install because when i try do do a "emerge -pv --newuse world" it says it needs a newer version of app-text/poppler-bindings, which in turn has been masked....this should be easier, damnit!!