Witch apache, mysql and php do i need ?

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri Jan 28 04:50:32 PST 2005


On Fri, Jan 28, 2005 at 09:09:42AM +0100, Gert Cuykens wrote:
> On Fri, 28 Jan 2005 08:46:09 +0100, christophe ollier
> <c.ollier.ml at free.fr> wrote:
> > It seems your ports index is missing. I think you can try this to make
> > another one :
> > 
> > cd /usr/ports
> > make fetchindex
> > portsdb -u
> > 
> 
> wohoooo :)
> 
> 7rxI# make pretty-print-run-depends-list
> This port requires package(s) "apache-1.3.33_1 expat-1.95.8
> fontconfig-2.2.3,1 freetype2-2.1.7_4 jpeg-6b_3 mysql-client-4.0.23a
> openssl-0.9.7e_2 pdflib-6.0.1_1 pecl-pdflib-2.0.4 perl-5.8.5
> php4-4.3.10_2 php4-bz2-4.3.10_2 php4-gd-4.3.10_2 php4-mysql-4.3.10_2
> php4-openssl-4.3.10_2 php4-pcre-4.3.10_2 php4-zlib-4.3.10_2
> pkgconfig-0.15.0_1 png-1.2.8 t1lib-5.0.1,1 xorg-libraries-6.8.1_1" to
> run.
> 7rxI#
> 
> still see apache-1.3.33 doh aldo i said in make.cong to pic 2.1 ?

Ah -- yes.  That's because the INDEX-5 you download by doing 'make
fetchindex' is built using the default settings /only/.  You can build
your own index, which should reflect your local configuration changes,
but that will take some time and thrash your disk drive a bit.

For instance, on my system with a slightly different list of make.conf
settings I get:


    % cd /usr/ports/databases/phpmyadmin/
    % make pretty-print-run-depends-list
    This port requires package(s) "apache-2.0.52_4 expat-1.95.8 fontconfig-2.2.3,1 freetype2-2.1.7_4 jpeg-6b_3 libiconv-1.9.2_1 libxml2-2.6.17 mysql-client-4.1.9 pdflib-6.0.1_1 pecl-pdflib-2.0.4 perl-5.8.5 php5-5.0.3_2 php5-bz2-5.0.3_2 php5-gd-5.0.3_2 php5-mysql-5.0.3_2 php5-openssl-5.0.3_2 php5-pcre-5.0.3_2 php5-zlib-5.0.3_2 pkgconfig-0.15.0_1 png-1.2.8 t1lib-5.0.1,1 xorg-libraries-6.8.1_1" to run.

Building your own index can be done via several means: 'make index' is
the standard, but it takes a bit of time.  Not to blow my own trumpet
too much, but see also the sysutils/p5-FreeBSD-Portindex port.

However, worrying about what the index contains is really a bit of a
diversion.  The true test is just to try some actual software
downloading and building.  Try:

    # make fetch-recursive

which will attempt to download all of the various bits of source code
needed to build the port and anything else not yet installed on your
machine that it depends on.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                      School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050128/ef30d53f/attachment.bin


More information about the freebsd-questions mailing list