Hello, Can you please help me with this : $ sudo pkg add phpMyAdmin-184.108.40.206.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-220.127.116.11: 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
Looks like you're missing xbase44.tgz. -- Cezary Morga "If everything seems under control, you're not going fast enough" (Mario Andretti)
On Tue, 14 Apr 2009 18:14:35 +0200, Jean-Francois wrote 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.
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
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.
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
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.
On Tue, 14 Apr 2009 18:14:35 +0200 rtfm it's in the faq you dont have xbase44.tgz installed - Robert
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 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
Thanks for that hint, it helped. Rgs, JF
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.
You need to give write permissions to your webserver on the /var/www/tmp directory. -- Antoine
On Wed, Apr 15, 2009 at 12:24 AM, Jean-Francois <firstname.lastname@example.org> 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."
|Ingo Molnar||Re: [PATCH 0/3] v2 Make hierarchical RCU less IPI-happy and add more tracing|
|Jeremy Fitzhardinge||Re: Linux 18.104.22.168 and Linux 22.214.171.124 XEN Guest Support Broken x86_64 in BUILD|
|Nick Piggin||Re: [patch] CFS (Completely Fair Scheduler), v2|
|Gary Hade||Re: [PATCH 0/5][RFC] Physical PCI slot objects|
|Dave Johnson||Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?|
|Arnd Bergmann||Re: 64-bit net_device_stats|
|Stephens, Allan||RE: [PATCH]: tipc: Fix oops on send prior to entering networked mode|
|frank.blaschka||[patch 3/5] [PATCH] qeth: support z/VM VSWITCH Port Isolation|
|Wu Fengguang||Re: [PATCH] dm9601: handle corrupt mac address|
|David Miller||Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule()|
|Junio C Hamano||Re: [PATCH] [RFC] add Message-ID field to log on git-am operation|
|Junio C Hamano||Re: Handling large files with GIT|
|Karl||Re: [ANNOUNCE] pg - A patch porcelain for GIT|
|Josh Triplett||Re: [RFC][PATCH 00/10] Sparse: Git's "make check" target|
|Pierre Habouzit||Re: [PATCH] git-daemon: more powerful base-path/user-path settings, using formats.|
|Linux Kernel Mailing List||MIPS: RBTX4939: Fix IOC pin-enable register updating|
|Linux Kernel Mailing List||regulator: update email address for Liam Girdwood|
|Linux Kernel Mailing List||[SCSI] ipr: add message to error table|
|Linux Kernel Mailing List||powerpc/32: Wire up the trampoline code for kdump|
|Linux Kernel Mailing List||USB: omap_udc: sync with OMAP tree|
|Josh Grosse||Re: error : pkg add phpMyAdmin|
|Brian Candler||Re: OBSD's perspective on SELinux|
|Jacob Meuser||Re: /dev/audio: Device busy|
|David Vasek||Re: Inexpensive, low power, "wall wart" computer|
|William Boshuck||Re: Richard Stallman...|