Re: user && group settings www folder MacPorts WAMP

2011-10-26 Thread Jasper Frumau
The best way to "solve" those issues, would be to leave the rights as they are but add the write permission to the group. Well, a bit too late for me I'm afraid. I tried chown - R jasper:admin and chown -R _www:admin and now most if not all sites in /opt/loca/www do not load anymore. Any ideas how

user && group settings www folder MacPorts WAMP

2011-10-26 Thread Jasper Frumau
I have a MacPorts WAMP and was wondering what CHOWN settings most people use for the www folder and all files and folder inside. I decided to do a sudo chown -R jasper:admin www , but when I wanted to install osdate for a test drive I get brief permission issues such as: [27-Oct-2011 09:47:40] PHP

Re: php5-mysql +mysql5 error

2011-10-26 Thread Scott Webster
It's not really that you can't put stuff in /usr/local... it's just that if you do, likely macports won't work properly, and we won't be able to support it, so you're on your own. It will depend on the ports you use etc etc. There are large numbers of problems reported on the mailing list and in

Re: php5-mysql +mysql5 error

2011-10-26 Thread Ryan Schmidt
On Oct 26, 2011, at 19:00, Phil Dobbin wrote: > On 26/10/11 at 00:32, Ryan Schmidt wrote: > >> On Oct 26, 2011, at 18:18, Phil Dobbin wrote: >>> The version of MySQL I have in /usr/local was compiled before I started >>> using macports. >> >> Yes, and any port you install thereafter might con

Re: php5-mysql +mysql5 error

2011-10-26 Thread Phil Dobbin
On 26/10/11 at 00:32, ryandes...@macports.org (Ryan Schmidt) wrote: On Oct 26, 2011, at 18:18, Phil Dobbin wrote: The version of MySQL I have in /usr/local was compiled before I started using macports. Yes, and any port you install thereafter might conceivably look for and link with this

Re: php5-mysql +mysql5 error

2011-10-26 Thread Ryan Schmidt
On Oct 26, 2011, at 18:18, Phil Dobbin wrote: > On 26/10/11 at 23:48, ryandes...@macports.org (Ryan Schmidt) wrote: > >> If you're going to use MacPorts, please don't install things in /usr/local. >> >> If you install things in /usr/local, MacPorts ports can break in unexpected >> ways. > > T

Re: PHP/ apache on macports with user MySQL

2011-10-26 Thread Ryan Schmidt
On Oct 26, 2011, at 14:58, Phil Dobbin wrote: > I’ve searched the archives for this question but couldn’t find anything which > leads me to think that it’s a really dumb question but here goes... > > I’ve got apache2 installed in /opt via macports You mean /opt/local. > & myslq v.5 installed

Re: php5-mysql +mysql5 error

2011-10-26 Thread Ryan Schmidt
On Oct 26, 2011, at 16:40, Puneet Kishor wrote: > I installed both php5 or mysql5-server-devel via macports Aha! Unfortunately mysql5-devel/mysql5-server-devel is very out of date right now; I haven't kept it updated. I know I need to do that. See: https://trac.macports.org/ticket/25751 I rec

Re: php5-mysql +mysql5 error

2011-10-26 Thread Ryan Schmidt
On Oct 26, 2011, at 14:49, Phil Dobbin wrote: > On 26/10/11 at 20:21, punk.k...@gmail.com (Puneet Kishor) wrote: > > [...] > >> :info:build /opt/local/include/mysql5/mysql/m_string.h:253:10: fatal error: >> 'mysql/plugin.h' file not found >> :info:build #include > > [...] > > Being new to m

Re: php5-mysql +mysql5 error

2011-10-26 Thread Bradley Giesbrecht
On Oct 26, 2011, at 12:21 PM, Puneet Kishor wrote: > two in a day; first, error installing mod_perl2 +perl5_14, now error > installing php5-mysql +mysql5 This does not solve your error but have you tried the php5-mysql5 ports default variant +mysqlnd. The +mysqlnd variant works well for me.

Re: php5-mysql +mysql5 error

2011-10-26 Thread Puneet Kishor
On Oct 26, 2011, at 4:40 PM, Puneet Kishor wrote: > > On Oct 26, 2011, at 2:49 PM, Phil Dobbin wrote: > >> On 26/10/11 at 20:21, punk.k...@gmail.com (Puneet Kishor) wrote: >> >> [...] >> >>> :info:build /opt/local/include/mysql5/mysql/m_string.h:253:10: fatal error: >>> 'mysql/plugin.h' file

Re: php5-mysql +mysql5 error

2011-10-26 Thread Puneet Kishor
On Oct 26, 2011, at 2:49 PM, Phil Dobbin wrote: > On 26/10/11 at 20:21, punk.k...@gmail.com (Puneet Kishor) wrote: > > [...] > >> :info:build /opt/local/include/mysql5/mysql/m_string.h:253:10: fatal error: >> 'mysql/plugin.h' file not found >> :info:build #include > > [...] > > Being new to

Octave edit hangs

2011-10-26 Thread Gabriele Kahlout
Hello, When I execute the edit command in octave it just hangs. I've tried to manually setup the editor to VIM but it didn't help. Ctrl+c didn't work anymore. What shall i do? $ octave GNU Octave, version 3.2.4 ... Octave was configured for "i386-apple-darwin10.8.0". ... octave:1> EDITOR("emacs")

PHP/ apache on macports with user MySQL

2011-10-26 Thread Phil Dobbin
Hi. I’ve searched the archives for this question but couldn’t find anything which leads me to think that it’s a really dumb question but here goes... I’ve got apache2 installed in /opt via macports & myslq v.5 installed in /usr/local compiled from source. I’d now like to install php 5 via m

Re: php5-mysql +mysql5 error

2011-10-26 Thread Phil Dobbin
On 26/10/11 at 20:21, punk.k...@gmail.com (Puneet Kishor) wrote: [...] :info:build /opt/local/include/mysql5/mysql/m_string.h:253:10: fatal error: 'mysql/plugin.h' file not found :info:build #include [...] Being new to macports but having compiled MySQL 5.1.19 from source into /usr/local

php5-mysql +mysql5 error

2011-10-26 Thread Puneet Kishor
two in a day; first, error installing mod_perl2 +perl5_14, now error installing php5-mysql +mysql5 :info:build ^ :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_php_php5-my sql/php5-mysql/work/php-5

Re: picking a specific perl

2011-10-26 Thread Puneet Kishor
On Oct 26, 2011, at 12:46 PM, Bradley Giesbrecht wrote: > On Oct 26, 2011, at 10:25 AM, Puneet Kishor wrote: > >> Moving on, I want to install mod_perl2 which has variants for several >> different perl versions. So, how do I tell macports to install mod_perl2 >> with my perl5.14? Below is my e

Re: picking a specific perl

2011-10-26 Thread Bradley Giesbrecht
On Oct 26, 2011, at 10:25 AM, Puneet Kishor wrote: > Moving on, I want to install mod_perl2 which has variants for several > different perl versions. So, how do I tell macports to install mod_perl2 with > my perl5.14? Below is my experience so far > > punkish@mumbai ~$sudo port install mo

picking a specific perl

2011-10-26 Thread Puneet Kishor
Here is the short-version of the background story, as far as I can recollect -- 1. I installed perl5.14 2. Installed something (don't remember) that chose to install and activate perl5.12 and make it the default perl 3. I went in and tinkered with the symlinks to ensure that perl5.14 became my d

tcl/tk version problems after upgrade to 8.5.10

2011-10-26 Thread Marshall Perrin
Hi,  After running a recent port selfupdate/port upgrade outdated, I'm having trouble getting back to a functional tcl/tk for use with Python's Tkinter.  Immediately after the upgrade, I encountered the "tcl not built with coreFoundation" bug. I fixed this by applying the patch from http://tra

Re: emacs-snapshot +gtk+x11 failing to run

2011-10-26 Thread Andrew Todd
Thanks, working for me now. On Tue, Oct 25, 2011 at 6:57 AM, Ryan Schmidt wrote: > > On Oct 24, 2011, at 08:37, Andrew Todd wrote: > >> After a recent "port upgrade outdated," I am no longer able to run >> emacs-snapshot. >> >> $ emacs-snapshot >> dyld: Library not loaded: /opt/local/lib/libMagic