Re: error : pkg add phpMyAdmin

2009-04-14 Thread Josh Grosse
On Tue, 14 Apr 2009 18:14:35 +0200, Jean-Francois wrote
...
 Can't install php5-gd-5.2.6: lib not found X11.11.1

 FYI box is 4.4 fresh install, i386, working as a server, so graphic support.

I assume so graphic means no graphic

You need to install the X libraries.  Based on your lack of experience, , I
recommend you follow the step-by-step instructions for installing xbase44.tgz
in FAQ 4.10.



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Cezary Morga
Jean-Francois wrote:
 Hello,
 Can you please help me with this :

 $ sudo pkg add phpMyAdmin-2.11.7.1.tgz
 Can't install php5-gd-5.2.6: lib not found X11.11.1
 Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3, php5-core-5.2.6,
 t1lib-5.1.0p1, png-1.2.28
 Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5-
 core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28
 Can't install php5-gd-5.2.6: lib not found Xpm.8.0
 Can't install php5-gd-5.2.6: lib not found freetype.16.1
 Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6

 FYI box is 4.4 fresh install, i386, working as a server, so graphic
 support.

Looks like you're missing xbase44.tgz.

-- 
Cezary Morga
If everything seems under control, you're not going fast enough (Mario 
Andretti)



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Antoine Jacoutot
On Tue, 14 Apr 2009, Jean-Francois wrote:

 Hello,
 Can you please help me with this :
 
 $ sudo pkg add phpMyAdmin-2.11.7.1.tgz
 Can't install php5-gd-5.2.6: lib not found X11.11.1
 Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3, php5-core-5.2.6, 
 t1lib-5.1.0p1, png-1.2.28
 Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5-
 core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28
 Can't install php5-gd-5.2.6: lib not found Xpm.8.0
 Can't install php5-gd-5.2.6: lib not found freetype.16.1
 Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6
 
 FYI box is 4.4 fresh install, i386, working as a server, so graphic support.

Not again!
Can't people read??

When buying something you don't know how it works. Do you wait someone 
to come home and fix it for you or do you read the manual?

-- 
Antoine



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Robert
On Tue, 14 Apr 2009 18:14:35 +0200
Jean-Francois jfsimon1...@gmail.com wrote:

 Hello,
 Can you please help me with this :
 
 $ sudo pkg add phpMyAdmin-2.11.7.1.tgz
 Can't install php5-gd-5.2.6: lib not found X11.11.1
   ^^
 Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3,
 php5-core-5.2.6, t1lib-5.1.0p1, png-1.2.28
 Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5-
 core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28
 Can't install php5-gd-5.2.6: lib not found Xpm.8.0
 Can't install php5-gd-5.2.6: lib not found freetype.16.1
 Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6
 
 FYI box is 4.4 fresh install, i386, working as a server, so graphic
 support.
 
 Thanks.
 J-F

rtfm
it's in the faq
you dont have xbase44.tgz installed

- Robert



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Jean-Francois
Hi 
Did you set PKG_PATH correctly so that pkg_add can fetch dependencies ?
No, I just use the standard configuration out of the box, which until now 
installed most packages without any problem.

Did you install de xbase44.tgz packages?
I guess no, I did not install X, I run console.
This is a server. Is it mandatory for this package ?
phpMyAdmin requires X ?

Thanks

 Hello,
 Can you please help me with this :

 $ sudo pkg add phpMyAdmin-2.11.7.1.tgz
 Can't install php5-gd-5.2.6: lib not found X11.11.1
 Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3, php5-core-5.2.6,
 t1lib-5.1.0p1, png-1.2.28
 Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5-
 core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28
 Can't install php5-gd-5.2.6: lib not found Xpm.8.0
 Can't install php5-gd-5.2.6: lib not found freetype.16.1
 Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6

 FYI box is 4.4 fresh install, i386, working as a server, so graphic 
support.

 Thanks.
 J-F



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Cezary Morga
Jean-Francois wrote:
 Did you install de xbase44.tgz packages?

 I guess no, I did not install X, I run console.
 This is a server. Is it mandatory for this package ?
 phpMyAdmin requires X ?

xbase44.tgz doesn't contain complete X system, but it do contain X libraries 
required by some graphic-related packages, like php5-gd.

-- 
Cezary Morga
The average, healthy, well-adjusted adult gets up at seven-thirty in the 
morning feeling just plain terrible. (Jean Kerr)



Re : error : pkg add phpMyAdmin

2009-04-14 Thread Jean-François SIMON
Hi,
That's why i asked the man ref / link, i could'nt find anything.

But i see some do not understand what being patient with begininers mean.

It's only few months i now use this system but it's really not easy
thought theres a lot of documentations sometimes it's not easy to find
where, is'nt it ?!

Regards.


2009/4/14, Antoine Jacoutot ajacou...@bsdfrog.org:
 On Tue, 14 Apr 2009, Jean-Francois wrote:

 Hello,
 Can you please help me with this :

 $ sudo pkg add phpMyAdmin-2.11.7.1.tgz
 Can't install php5-gd-5.2.6: lib not found X11.11.1
 Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3, php5-core-5.2.6,
 t1lib-5.1.0p1, png-1.2.28
 Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5-
 core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28
 Can't install php5-gd-5.2.6: lib not found Xpm.8.0
 Can't install php5-gd-5.2.6: lib not found freetype.16.1
 Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6

 FYI box is 4.4 fresh install, i386, working as a server, so graphic
 support.

 Not again!
 Can't people read??

 When buying something you don't know how it works. Do you wait someone
 to come home and fix it for you or do you read the manual?

 --
 Antoine



Re: Re : error : pkg add phpMyAdmin

2009-04-14 Thread Antoine Jacoutot
On Tue, 14 Apr 2009, Jean-Frangois SIMON wrote:

 Hi,
 That's why i asked the man ref / link, i could'nt find anything.
 
 But i see some do not understand what being patient with begininers mean.
 
 It's only few months i now use this system but it's really not easy
 thought theres a lot of documentations sometimes it's not easy to find
 where, is'nt it ?!

Common, it has nothing to do with being a beginner.
Did you read the FAQ, i.e Frequently Asked Questions?

You call me impatient but you have been using this system only few 
months. How much time should I wait? A couple of years?

This pissed me off because there are very talented people writing very 
fine documentation and there are other people translating it into most 
major languages. I'm sorry but there is no excuse not to read or at 
least refer to the FAQ when you encounter an issue. People give their 
time for this.

-- 
Antoine



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Cezary Morga
Jean-Frangois SIMON wrote:
 Hi,
 That's why i asked the man ref / link, i could'nt find anything.

 But i see some do not understand what being patient with begininers mean.

Get used to it. Honestly :)

 It's only few months i now use this system but it's really not easy
 thought theres a lot of documentations sometimes it's not easy to find
 where, is'nt it ?!

No. It's all here: http://www.openbsd.org/faq/index.html.

--
Cezary Morga
Indecision may or may not be my problem. (Jimmy Buffett)



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Jean-Francois
Hi,

I totally agree.
I think I just missed it from where the info is available either in the man
pages or directly in the FAQ itself.

Le mardi 14 avril 2009 20:17:30, vous avez icrit :
 On Tue, 14 Apr 2009, Jean-Frangois SIMON wrote:
  Hi,
  That's why i asked the man ref / link, i could'nt find anything.
 
  But i see some do not understand what being patient with begininers mean.
 
  It's only few months i now use this system but it's really not easy
  thought theres a lot of documentations sometimes it's not easy to find
  where, is'nt it ?!

 Common, it has nothing to do with being a beginner.
 Did you read the FAQ, i.e Frequently Asked Questions?

 You call me impatient but you have been using this system only few
 months. How much time should I wait? A couple of years?

 This pissed me off because there are very talented people writing very
 fine documentation and there are other people translating it into most
 major languages. I'm sorry but there is no excuse not to read or at
 least refer to the FAQ when you encounter an issue. People give their
 time for this.



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Stuart Henderson
On 2009-04-14, Jean-Francois jfsimon1...@gmail.com wrote:
 Hello,
 Can you please help me with this :

 $ sudo pkg add phpMyAdmin-2.11.7.1.tgz
 Can't install php5-gd-5.2.6: lib not found X11.11.1
 Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3, php5-core-5.2.6, 
 t1lib-5.1.0p1, png-1.2.28
 Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5-
 core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28
 Can't install php5-gd-5.2.6: lib not found Xpm.8.0
 Can't install php5-gd-5.2.6: lib not found freetype.16.1
 Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6

 FYI box is 4.4 fresh install, i386, working as a server, so graphic support.

 Thanks.
 J-F



personally i'd just install xbase. but there is another possibility.
there's also a php5-gd-...-no_x11, try pkg_add -i php5-gd.

i don't remember what the tradeoff is, probably something with font
support (maybe it will make it suck, maybe it will totally break it,
either way i don't know whether that's a problem for phpMyAdmin).

we distribute freetype in the xbase tarball; it doesn't make sense
to put it in base, but having to install ports to run X would be
much less acceptable than having to install parts of X to run some
ports.



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Matthew Clarke
Tue, Apr 14, 2009 at 06:14:35PM +0200, Jean-Francois may have written:

 
 Hello,
 Can you please help me with this :
 
 $ sudo pkg add phpMyAdmin-2.11.7.1.tgz
 Can't install php5-gd-5.2.6: lib not found X11.11.1

phpMyAdmin needs php5 and the php5 GD extension.  There are two versions
of that extension, one that needs X libraries and one that doesn't.  By
default, pkg_add is picking the one that needs those libraries.

 Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3, php5-core-5.2.6, 
 t1lib-5.1.0p1, png-1.2.28
 Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5-
 core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28
 Can't install php5-gd-5.2.6: lib not found Xpm.8.0
 Can't install php5-gd-5.2.6: lib not found freetype.16.1
 Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6
 
 FYI box is 4.4 fresh install, i386, working as a server, so graphic support.

I'll assume here you meant no graphic support, and by that you mean that
you did not install the X sets.  Since pkg_add picked the GD extension
package that needs X libraries, you get the error.

Use:

$ sudo pkg_add -i phpMyAdmin

and pkg_add will recognize that there are two versions of the php5 GD
extension package available and ask you which one to install.  Use the one
whose name includes no_x11.

Alternatively, you can install package php5-gd-5.2.6-no_x11.tgz manually
first, then install phpMyAdmin.

Matt.
-- 
With your own code to haunt you, who needs users?
-- Maarten Wiltink



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Jean-Francois
Thanks for that hint, it helped.

Rgs,
JF

Le mardi 14 avril 2009 23:29:51 Matthew Clarke, vous avez icrit :
 Tue, Apr 14, 2009 at 06:14:35PM +0200, Jean-Francois may have written:
  Hello,
  Can you please help me with this :
 
  $ sudo pkg add phpMyAdmin-2.11.7.1.tgz
  Can't install php5-gd-5.2.6: lib not found X11.11.1

 phpMyAdmin needs php5 and the php5 GD extension.  There are two versions
 of that extension, one that needs X libraries and one that doesn't.  By
 default, pkg_add is picking the one that needs those libraries.

  Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3, php5-core-5.2.6,
  t1lib-5.1.0p1, png-1.2.28
  Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5-
  core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28
  Can't install php5-gd-5.2.6: lib not found Xpm.8.0
  Can't install php5-gd-5.2.6: lib not found freetype.16.1
  Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6
 
  FYI box is 4.4 fresh install, i386, working as a server, so graphic
  support.

 I'll assume here you meant no graphic support, and by that you mean that
 you did not install the X sets.  Since pkg_add picked the GD extension
 package that needs X libraries, you get the error.

 Use:

   $ sudo pkg_add -i phpMyAdmin

 and pkg_add will recognize that there are two versions of the php5 GD
 extension package available and ask you which one to install.  Use the one
 whose name includes no_x11.

 Alternatively, you can install package php5-gd-5.2.6-no_x11.tgz manually
 first, then install phpMyAdmin.

 Matt.



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Jean-Francois
It looks like right after installing there is a problem :

at http://localhost/phpMyAdmin/index.php : a red line with
phpMyAdmin - Erreur
Erreur lors du do?=marrage de la session, veuillez vo?=rifier les erreurs
indiquo?=es par PHP ou dans le fichier to?=moin du serveur web, et configurer
PHP
correctement.

Then from apache error log :

[Wed Apr 15 00:17:04 2009] [error] PHP Warning:  session_start() [a
href='function.session-start'function.session-start/a]:
open(/tmp//sess_kt447gtf9i2qj3f74b3jve2abdf8fgi8, O_RDWR) failed: Permission
denied (13) in /phpMyAdmin/libraries/session.inc.php on line 87
[Wed Apr 15 00:17:04 2009] [error] PHP Warning:  Unknown:
open(/tmp//sess_kt447gtf9i2qj3f74b3jve2abdf8fgi8, O_RDWR) failed: Permission
denied (13) in Unknown on line 0
[Wed Apr 15 00:17:04 2009] [error] PHP Warning:  Unknown: Failed to write
session data (files). Please verify that the current setting of
session.save_path is correct () in Unknown on line 0

I made the sym link as stated - did I miss something ?
What are basic tests to find the root ?
any idea ?

Thank you.

Le mardi 14 avril 2009 23:54:50, vous avez C)crit :
 Thanks for that hint, it helped.

 Rgs,
 JF

 Le mardi 14 avril 2009 23:29:51 Matthew Clarke, vous avez C)crit :
  Tue, Apr 14, 2009 at 06:14:35PM +0200, Jean-Francois may have written:
   Hello,
   Can you please help me with this :
  
   $ sudo pkg add phpMyAdmin-2.11.7.1.tgz
   Can't install php5-gd-5.2.6: lib not found X11.11.1
 
  phpMyAdmin needs php5 and the php5 GD extension.  There are two versions
  of that extension, one that needs X libraries and one that doesn't.  By
  default, pkg_add is picking the one that needs those libraries.
 
   Dependencies for php5-gd-5.2.6 resolve to: jpeg-6bp3, php5-core-5.2.6,
   t1lib-5.1.0p1, png-1.2.28
   Full dependency tree is libiconv-1.12,jpeg-6bp3,libxml-2.6.32p1,php5-
   core-5.2.6,t1lib-5.1.0p1,gettext-0.17,png-1.2.28
   Can't install php5-gd-5.2.6: lib not found Xpm.8.0
   Can't install php5-gd-5.2.6: lib not found freetype.16.1
   Can't install phpMyAdmin-2.11.7.1: can't resolve php5-gd-5.2.6
  
   FYI box is 4.4 fresh install, i386, working as a server, so graphic
   support.
 
  I'll assume here you meant no graphic support, and by that you mean
  that you did not install the X sets.  Since pkg_add picked the GD
  extension package that needs X libraries, you get the error.
 
  Use:
 
  $ sudo pkg_add -i phpMyAdmin
 
  and pkg_add will recognize that there are two versions of the php5 GD
  extension package available and ask you which one to install.  Use the
  one whose name includes no_x11.
 
  Alternatively, you can install package php5-gd-5.2.6-no_x11.tgz manually
  first, then install phpMyAdmin.
 
  Matt.



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Antoine Jacoutot
On Wed, 15 Apr 2009, Jean-Francois wrote:

 It looks like right after installing there is a problem :
 
 at http://localhost/phpMyAdmin/index.php : a red line with
 phpMyAdmin - Erreur
 Erreur lors du do?=marrage de la session, veuillez vo?=rifier les erreurs
 indiquo?=es par PHP ou dans le fichier to?=moin du serveur web, et configurer
 PHP
 correctement.
 
 Then from apache error log :
 
 [Wed Apr 15 00:17:04 2009] [error] PHP Warning:  session_start() [a
 href='function.session-start'function.session-start/a]:
 open(/tmp//sess_kt447gtf9i2qj3f74b3jve2abdf8fgi8, O_RDWR) failed: Permission
 denied (13) in /phpMyAdmin/libraries/session.inc.php on line 87
 [Wed Apr 15 00:17:04 2009] [error] PHP Warning:  Unknown:
 open(/tmp//sess_kt447gtf9i2qj3f74b3jve2abdf8fgi8, O_RDWR) failed: Permission
 denied (13) in Unknown on line 0
 [Wed Apr 15 00:17:04 2009] [error] PHP Warning:  Unknown: Failed to write
 session data (files). Please verify that the current setting of
 session.save_path is correct () in Unknown on line 0
 
 I made the sym link as stated - did I miss something ?
 What are basic tests to find the root ?
 any idea ?

You need to give write permissions to your webserver on the 
/var/www/tmp directory.

-- 
Antoine



Re: error : pkg add phpMyAdmin

2009-04-14 Thread Mattieu Baptiste
On Wed, Apr 15, 2009 at 12:24 AM, Jean-Francois jfsimon1...@gmail.com
wrote:

 [Wed Apr 15 00:17:04 2009] [error] PHP Warning:  session_start() [a
 href='function.session-start'function.session-start/a]:
 open(/tmp//sess_kt447gtf9i2qj3f74b3jve2abdf8fgi8, O_RDWR) failed:
Permission
 denied (13) in /phpMyAdmin/libraries/session.inc.php on line 87
 [Wed Apr 15 00:17:04 2009] [error] PHP Warning:  Unknown:
 open(/tmp//sess_kt447gtf9i2qj3f74b3jve2abdf8fgi8, O_RDWR) failed:
Permission
 denied (13) in Unknown on line 0
 [Wed Apr 15 00:17:04 2009] [error] PHP Warning:  Unknown: Failed to write
 session data (files). Please verify that the current setting of
 session.save_path is correct () in Unknown on line 0

 I made the sym link as stated - did I miss something ?

Man, have you at least looked at the output of pkg_add?!? The error
message is pretty clear...

$ pkg_info -M php5-core
[...]
Don't forget that the default OpenBSD httpd is chrooted
into /var/www by default, so you may need to create support
directories such as /var/www/tmp for PHP to work correctly.

--
Mattieu Baptiste
/earth is 102% full ... please delete anyone you can.