Re: Is it a bug: huge dependency problems of php5 and ikiwiki
En/na Andrew Sackville-West ha escrit:
look at apt-cache show php5, you will see that it is a meta package
that depends on the following:
...
Depends: libapache2-mod-php5 (>= 5.2.0-8+etch13) | libapache-mod-php5
(>= 5.2.0-8+etch13) | php5-cgi (>= 5.2.0-8+etch13), php5-common (>=
5.2.0-8+etch13)
...
The '|' means 'or'. apt-get is just pulling in the first one on the
list which then forces an install of apache. Simply install php5-cgi
at the same time (or before) php5 and you should be fine.
Thanks, Andrew. Now I understand. I have to install any of the packages
with php5 depends for.
[
Really it's a huge dependencies. ikiwiki it's just a wiki written in
perl. I understand that need some libraries, but why it needs cpp,
openssl or subversion for example?. Actually the use of RCS in ikiwiki
is optional.
I can't speak to this, but again, read the contents of apt-cache show
ikiwiki. It has pretty significant dependencies including a
c-compiler, for what purpose, I don't know, though I use ikiwiki
myself. I *believe*, without actually researching it, that it is
compiling the perl scripts. Also, subversion (and the other RCS's
listed) are Recommended. You must have an option set somewhere to
force installation of Recommend. man apt-get et al for details.
hth
A
Maybe other person could enlight us.... really c-compiler or subversion
are needed?
$ apt-cache show ikiwiki
Package: ikiwiki
Priority: optional
Section: web
Installed-Size: 5880
Maintainer: Joey Hess <joeyh@debian.org>
Architecture: all
Version: 2.53.3
Replaces: ikiwiki-plugin-table
Provides: ikiwiki-plugin-table
Depends: perl (>= 5.6.0-16), markdown | libtext-markdown-perl,
libhtml-scrubber-perl, libhtml-template-perl, libhtml-parser-perl,
liburi-perl
Recommends: gcc | c-compiler, libc6-dev | libc-dev, subversion |
git-core (>= 1:1.5.0) | tla | bzr (>= 0.91) | mercurial | monotone (>=
0.38), libxml-simple-perl, libnet-openid-consumer-perl,
liblwpx-paranoidagent-perl, libtimedate-perl, libcgi-formbuilder-perl
(>= 3.05), libcgi-session-perl (>= 4.14-1), libmail-sendmail-perl,
libauthen-passphrase-perl
Suggests: viewvc | gitweb | viewcvs, libsearch-xapian-perl, xapian-omega
(>= 1.0.5), librpc-xml-perl, libtext-wikiformat-perl, python,
python-docutils, polygen, tidy, libxml-feed-perl, libmailtools-perl,
perlmagick, libfile-mimeinfo-perl, libcrypt-ssleay-perl,
liblocale-gettext-perl (>= 1.05-1), libtext-typography-perl,
libtext-csv-perl, libdigest-sha1-perl, graphviz, libnet-amazon-s3-perl
Conflicts: ikiwiki-plugin-table
Filename: pool/main/i/ikiwiki/ikiwiki_2.53.3_all.deb
Size: 917156
So only depends on:
perl (>= 5.6.0-16), markdown | libtext-markdown-perl,
libhtml-scrubber-perl, libhtml-template-perl, libhtml-parser-perl,
liburi-perl
so why subversion and gcc are installed?
Xan.
Reply to: