RE: php5-extensions and xorg libraries

2007-06-04 Thread Daniel Eriksson
Zbigniew Szalbot wrote:

> I will appreciate any help. When trying to install php5-extensions, I 
> get the following error:

If you really don't need the xorg-libraries (true for most web servers
for example) then there's an easy way to avoid them:

1. install all your ports with "make -DWITHOUT_X11 install clean"
2. add "'*' => 'WITHOUT_X11=1'," to the make args in pkgtools.conf (or
whatever the format is in the file) to prevent portupgrade from adding
the xorg-libraries in the future

This works just fine for a typical webserver (analog, webalizer, php
with the gd extension, ...). I just installed a new webserver with
multiple jails to keep the different sites compartmentalized, and
avoiding the xorg-libs saved me a ton of space and compile time.

/Daniel Eriksson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php5-extensions and xorg libraries

2007-06-03 Thread Zbigniew Szalbot

Hello,

Norberto Meijome pisze:


On Sun, 03 Jun 2007 01:32:57 +0200
Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:


Hello,

I will appreciate any help. When trying to install php5-extensions, I 
get the following error:


===>  Applying FreeBSD patches for php5-gd-5.2.2
===>   php5-gd-5.2.2 depends on executable in : phpize - found
===>   php5-gd-5.2.2 depends on file: /usr/local/bin/autoconf259 - found
===>   php5-gd-5.2.2 depends on file: /usr/local/libdata/xorg/libraries 
- not found
===>Verifying install for /usr/local/libdata/xorg/libraries in 
/usr/ports/x11/xorg-libraries

Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.

[]



I cannot install php5-extensions, nor xorg nor xorg-libraries. I am lost 
as to what to do. Many thanks in advance!


Hi Zbigniew,
yeah...one of those nits that I dont think it's properly explained. From my own
experience and discussion in ports@ :

http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/041207.html

1)Bypass the dependency altogether: php5-gd itself is not the problem, but
rather libgd, with XPM support enabled (I haven't confirmed it , but it makes
perfect sense).


I would love to choose this route as I have a headless installation and 
need no X11 whatsoever. I do not think I need XPM but how can I bypass 
this dependency? In Makefile for php4-extensions (as actually I want to 
install php4 and its extensions but I tried with php5 wrongly assuming 
php4 was the problem) I have

GD  "GD library support" off \

Could you please advise how to disable the dependency?


Many thanks in advance!

zbigniew szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php5-extensions and xorg libraries

2007-06-03 Thread Norberto Meijome
On Sun, 03 Jun 2007 01:32:57 +0200
Zbigniew Szalbot <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I will appreciate any help. When trying to install php5-extensions, I 
> get the following error:
> 
> ===>  Applying FreeBSD patches for php5-gd-5.2.2
> ===>   php5-gd-5.2.2 depends on executable in : phpize - found
> ===>   php5-gd-5.2.2 depends on file: /usr/local/bin/autoconf259 - found
> ===>   php5-gd-5.2.2 depends on file: /usr/local/libdata/xorg/libraries 
> - not found
> ===>Verifying install for /usr/local/libdata/xorg/libraries in 
> /usr/ports/x11/xorg-libraries
> Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.
[]

> 
> I cannot install php5-extensions, nor xorg nor xorg-libraries. I am lost 
> as to what to do. Many thanks in advance!

Hi Zbigniew,
yeah...one of those nits that I dont think it's properly explained. From my own
experience and discussion in ports@ :

http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/041207.html

1)Bypass the dependency altogether: php5-gd itself is not the problem, but
rather libgd, with XPM support enabled (I haven't confirmed it , but it makes
perfect sense).

2) Let the ports tree know you are ready to use 7.2 (even if you never had 6.9
and (my) common sense  says it should install 7.2 anyway) : As
per /usr/ports/UPDATING, set XORG_UPGRADE , and follow the upgrade steps,
including the rebase.sh script. clean xorg-libraries and install that by itself
first (make sure XORG_UPGRADE is set in that session's env).

B
_
{Beto|Norberto|Numard} Meijome

Two things have come out of Berkeley, Unix and LSD.
It is uncertain which caused the other.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: php5-extensions and xorg libraries

2007-06-03 Thread Zbigniew Szalbot

Hello,


 >>I cannot install php5-extensions, nor xorg nor xorg-libraries. I am 
lost as to what to do. Many thanks in advance!



I presume you did read /usr/ports/UPDATING for the procedure to upgrade 
or install xorg 7.2



The thing is that I do not need xorg and would happily skip it. All I 
want is php5-extensions and due to some errors with xorg I cannot get 
them installed.


Thanks!

Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php5-extensions and xorg libraries

2007-06-03 Thread Toni Stanton



>>I cannot install php5-extensions, nor xorg nor xorg-libraries. I am 
lost as to what to do. Many thanks in advance!


>>Zbigniew Szalbot


I presume you did read /usr/ports/UPDATING for the procedure to upgrade 
or install xorg 7.2


Its a pain, sure. What worked for me was to update the ports tree to get 
the xorg 7.2 files, remove the 6.9 version, setenv XORG_UPGRADE yes, cd 
to the xorg ports directory, make && make install


I also found portmaster to be much less of a headache than portupgrade 
on the way.


hope this helps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php5-extensions and xorg libraries

2007-06-03 Thread Toni Stanton



>>I cannot install php5-extensions, nor xorg nor xorg-libraries. I am 
lost as to what to do. Many thanks in advance!


>>Zbigniew Szalbot


I presume you did read /usr/ports/UPDATING for the procedure to upgrade 
or install xorg 7.2


Its a pain, sure. What worked for me was to update the ports tree to get 
the xorg 7.2 files, remove the 6.9 version, setenv XORG_UPGRADE yes, cd 
to the xorg ports directory, make && make install


I also found portmaster to be much less of a headache than portupgrade 
on the way.


hope this helps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php5-extensions and xorg libraries

2007-06-03 Thread Toni Stanton



>>I cannot install php5-extensions, nor xorg nor xorg-libraries. I am 
lost as to what to do. Many thanks in advance!


>>Zbigniew Szalbot


I presume you did read /usr/ports/UPDATING for the procedure to upgrade 
or install xorg 7.2


Its a pain, sure. What worked for me was to update the ports tree to get 
the xorg 7.2 files, remove the 6.9 version, setenv XORG_UPGRADE yes, cd 
to the xorg ports directory, make && make install


I also found portmaster to be much less of a headache than portupgrade 
on the way.


hope this helps
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


php5-extensions and xorg libraries

2007-06-02 Thread Zbigniew Szalbot

Hello,

I will appreciate any help. When trying to install php5-extensions, I 
get the following error:


===>  Applying FreeBSD patches for php5-gd-5.2.2
===>   php5-gd-5.2.2 depends on executable in : phpize - found
===>   php5-gd-5.2.2 depends on file: /usr/local/bin/autoconf259 - found
===>   php5-gd-5.2.2 depends on file: /usr/local/libdata/xorg/libraries 
- not found
===>Verifying install for /usr/local/libdata/xorg/libraries in 
/usr/ports/x11/xorg-libraries

Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.60873.0 env make

** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! lang/php5-extensions  (unknown build error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


Although I do not need xorg, I thought I would install it to get the 
xorg-libraries working, but this ends in more or less the same way:


===>   dri-6.5.3_1,2 depends on file: /usr/local/libdata/xorg/libraries 
- not found
===>Verifying reinstall for /usr/local/libdata/xorg/libraries in 
/usr/ports/x11/xorg-libraries

Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/graphics/dri.
*** Error code 1

Stop in /usr/ports/graphics/dri.
*** Error code 1

Stop in /usr/ports/x11/xorg.
*** Error code 1

Stop in /usr/ports/x11/xorg.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall.75258.0 env make reinstall

** Fix the installation problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11/xorg  (install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


I cannot install php5-extensions, nor xorg nor xorg-libraries. I am lost 
as to what to do. Many thanks in advance!


Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"