Hi Paolo,
as Matthias already pointed out, python doesn't have a no_x11 Flavor. I
had the ruby thing in mind while typing, it ends up similar.
Sorry again for the confusion.
Dorian
Paolo Supino schrieb:
Hi Dorian
I did as you wrote below, but ...
$ sudo -i
Password:
# cd /usr/ports/lang/python/2.5/
# export FLAVOR=no_x11
# make install
Fatal: no flavors for this port. (in lang/python/2.5)
*** Error code 1
Stop.
#
:-(
--
TIA
Paolo
On Sat, Feb 6, 2010 at 9:39 PM, Dorian B|ttner <dorian.buett...@gmx.de
<mailto:dorian.buett...@gmx.de>> wrote:
Paolo Supino schrieb:
Hi
I'm trying to install php5-core from /usr/ports/www/php5/core
... When I run `make install` I get the following output:
# cd ports/www/php5/core/
# make install
===> Checking files for php5-core-5.2.10
>> Fetch http://us2.php.net/distributions/php-5.2.10.tar.gz
php-5.2.10.tar.gz 100%
|*********************************************************************************|
11165 KB 08:05
>> Fetch http://blade2k.humppa.hu/suhosin-0.9.27.tgz
ftp: Error retrieving file: 404 Not Found
>> Fetch http://download.suhosin.org/suhosin-0.9.27.tgz
suhosin-0.9.27.tgz 100%
|********************************************************************************|
113 KB 00:02
>> Fetch
http://blade2k.humppa.hu/suhosin-patch-5.2.10-0.9.7-openbsd.patch.gz
suhosin-patch-5.2.10-0... 100%
|*************************************************************************|
23026 00:00
>> (SHA256) php-5.2.10.tar.gz: OK
>> (SHA256) suhosin-0.9.27.tgz: OK
>> (SHA256) suhosin-patch-5.2.10-0.9.7-openbsd.patch.gz: OK
===> php5-core-5.2.10 depends on: gettext->=0.17 - found
===> php5-core-5.2.10 depends on: metaauto-* - found
===> php5-core-5.2.10 depends on: autoconf-2.13 - found
===> php5-core-5.2.10 depends on: libxml-* - not found
===> Verifying install for libxml-* in textproc/libxml
===> Checking files for libxml2-2.6.32
>> Fetch ftp://xmlsoft.org/libxml/libxml2-2.6.32.tar.gz
Failed to open file.
>> Fetch
ftp://ftp.no.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
No such file or directory
>> Fetch
ftp://ftp.dit.upm.es/linux/gnome/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
Failed to open file.
>> Fetch
http://ftp.acc.umu.se/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
ftp: Error retrieving file: 404 Not Found
>> Fetch
ftp://ftp.belnet.be/mirror/ftp.gnome.org/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
libxml2-2.6.32.tar.gz: No such file or directory
>> Fetch
ftp://ftp.unina.it/pub/linux/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
No such directory.
>> Fetch
ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
libxml2-2.6.32.tar.gz: No such file or directory.
>> Fetch
ftp://ftp.no.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
No such file or directory
>> Fetch
http://fr2.rpmfind.net/linux/gnome.org/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
ftp: Error retrieving file: 404 Not Found
>> Fetch
http://planetmirror.com/pub/gnome/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
>> Size does not match for
/usr/ports/distfiles/libxml2-2.6.32.tar.gz
>> Fetch
http://mirror.aarnet.edu.au/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
ftp: Error retrieving file: 404 Not Found
>> Fetch
ftp://ftp.nara.wide.ad.jp/pub/X11/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
Failed to open file.
>> Fetch
ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.32.tar.gz
Failed to open file.
>> Fetch
ftp://ftp.openbsd.org/pub/OpenBSD/distfiles//libxml2-2.6.32.tar.gz
libxml2-2.6.32.tar.gz 100%
|*****************************************************************************|
4611 KB 02:56
>> (SHA256) libxml2-2.6.32.tar.gz: OK
===> libxml-2.6.32p2 depends on: python->=2.5,<2.6 - not found
===> Verifying install for python->=2.5,<2.6 in lang/python/2.5
===> python-2.5.4p1 uses X11, but /usr/X11R6 not found.
===> Returning to build of libxml-2.6.32p2
===> libxml-2.6.32p2 depends on: python->=2.5,<2.6 - not found
===> Verifying install for python->=2.5,<2.6 in lang/python/2.5
===> python-2.5.4p1 uses X11, but /usr/X11R6 not found.
===> Returning to build of libxml-2.6.32p2
Dependency check failed
*** Error code 1
Stop in /usr/ports/textproc/libxml (line 1621 of
/usr/ports/infrastructure/mk/bsd.port.mk <http://bsd.port.mk>).
*** Error code 1
Stop in /usr/ports/textproc/libxml (line 2018 of
/usr/ports/infrastructure/mk/bsd.port.mk <http://bsd.port.mk>).
*** Error code 1
Stop in /usr/ports/textproc/libxml (line 1444 of
/usr/ports/infrastructure/mk/bsd.port.mk <http://bsd.port.mk>).
*** Error code 1
Stop in /usr/ports/textproc/libxml (line 1984 of
/usr/ports/infrastructure/mk/bsd.port.mk <http://bsd.port.mk>).
*** Error code 1
Stop in /usr/ports/textproc/libxml (line 1474 of
/usr/ports/infrastructure/mk/bsd.port.mk <http://bsd.port.mk>).
*** Error code 1
Stop in /usr/ports/www/php5/core (line 1621 of
/usr/ports/infrastructure/mk/bsd.port.mk <http://bsd.port.mk>).
*** Error code 1
Stop in /usr/ports/www/php5/core (line 2018 of
/usr/ports/infrastructure/mk/bsd.port.mk <http://bsd.port.mk>).
*** Error code 1
Stop in /usr/ports/www/php5/core (line 1444 of
/usr/ports/infrastructure/mk/bsd.port.mk <http://bsd.port.mk>).
*** Error code 1
Stop in /usr/ports/www/php5/core (line 1984 of
/usr/ports/infrastructure/mk/bsd.port.mk <http://bsd.port.mk>).
*** Error code 1
Stop in /usr/ports/www/php5/core (line 1474 of
/usr/ports/infrastructure/mk/bsd.port.mk <http://bsd.port.mk>).
#
Why does PHP5 need Python, and why does Python need X11? What
am I doing wrong?
--
TIA
Paolo
cd /usr/ports/lang/python/2.5
env FLAVOR=no_x11 make install clean
or similar, then restart as above