Re: Help with conjoined apaches

2012-04-29 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/04/2012 05:50, j...@ayendesigns.com wrote: Getting warmer :) I installed apache2, mysql5, mysql5-server, php5 and phpmyadmin. Apache is pointing to the correct place for apachectl after I added the path to .profile. The trouble I'm

New port: postgis2 (PostGIS 2.0)

2012-04-29 Thread vincent habchi
Hi everybody, I’ve committed this morning in r92462 a new port corresponding to PostGIS v 2.0 and up. This port is incompatible with postgis, that is to say PostGIS 1.x. Both install the same files at the same place. It is therefore *mandatory* before you upgrade to save your databases,

Re: gnuplot on MacPorts with aqua?

2012-04-29 Thread Mojca Miklavec
On Sat, Apr 28, 2012 at 08:39, Marko Käning wrote: On Apr 27, 2012, at 11:13 PM, Jason Swails wrote: Have you tried rebuilding aquaterm with MacPorts? Well, I've done that just now and it didn't change anything. X11 works, aqua doesn't. :-( In what way does it fail? Do you happen to have

Re: Macports list severely depleted

2012-04-29 Thread Jeremy Lavergne
I saw the latest release of Postgis 2.0 required Geos 3.3.2, but I can't find anything greater than 3.3.1. In fact, the entire macports list seems quite depleted. The MacPorts Project currently distributes 11298 ports, organized across 85 different categories and available below

Re: Macports list severely depleted

2012-04-29 Thread Bjarne D Mathiesen
Mr. Puneet Kishor wrote: I saw the latest release of Postgis 2.0 required Geos 3.3.2, but I can't find anything greater than 3.3.1. In fact, the entire macports list seems quite depleted. The MacPorts Project currently distributes 11298 ports, organized across 85 different

RE: mysql problem with socket (was Help with conjoined apaches)

2012-04-29 Thread jeff
That link came up non-existent, but I checked the mysql site and found the published solution about checking for the existence of the .sock file and moving it if it's in the wrong place.So, I found that there was mysql.sock in /private/tmp, but the error indicates it's being looked for in

Re: mysql problem with socket (was Help with conjoined apaches)

2012-04-29 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/04/2012 18:33, j...@ayendesigns.com wrote: That link came up non-existent [snip] http://dev.mysql.com/doc/refman/5.5/en/connecting-disconnecting.html http://dev.mysql.com/doc/refman/5.5/en/connecting-disconnecting.html; trailing

Re: error message: Couldn't determine your Xcode version

2012-04-29 Thread Marcelo Chiapparini
2012/4/29 Jeremy Lavergne jer...@lavergne.gotdns.org Hi Jeremy, thanks for the reply. Here is the result of the command: marcelo$ sudo xcodebuild -version Password: error: can't exec '/Applications/Xcode.app/usr/bin/xcodebuild' (No such file or directory) May be a problem with a

Re: New port: postgis2 (PostGIS 2.0)

2012-04-29 Thread vincent habchi
Hi Puneet, I’ve committed this morning in r92462 a new port corresponding to PostGIS v 2.0 and up. This port is incompatible with postgis, that is to say PostGIS 1.x. Both install the same files at the same place. Hmmm... That's a deal breaker for me. I don't have two machines to test

Re: gnuplot on MacPorts with aqua?

2012-04-29 Thread Ryan Schmidt
On Apr 29, 2012, at 13:27, Mojca Miklavec wrote: (Are there any guidelines/suggestions about filenames of patchfiles? I've seen everything from *.diff to *.patch to patch-filename to patch-filename.diff. This is a trivial issue though.) The guideline is that the patchfile name should be

Re: Help with conjoined apaches

2012-04-29 Thread Ryan Schmidt
On Apr 28, 2012, at 22:00, Jeremy Lavergne wrote: None of these files are provided by MacPorts and files provided by apache2 and mysql5 are missing so somehow apache2 and mysql5 were most likely uninstalled by port. Do you try to do a forced upgrade apache2 and mysql5 that failed? I

Re: Help with conjoined apaches

2012-04-29 Thread Jeremy Lavergne
Whether intentionally or not, MacPorts was changed a few versions ago so that running sudo port -n upgrade --force foo will FIRST uninstall the current version of foo, THEN build the new version of foo, which might fail, leaving you with no installed version of foo. Huh. I guess that's

Re: mysql problem with socket

2012-04-29 Thread Ryan Schmidt
On Apr 29, 2012, at 12:33, j...@ayendesigns.com wrote: That link came up non-existent, but I checked the mysql site and found the published solution about checking for the existence of the .sock file and moving it if it's in the wrong place. So, I found that there was mysql.sock in

Re: postfix databases

2012-04-29 Thread Bjarne D Mathiesen
Bjarne D Mathiesen wrote: It seems as if postfix could use mariadb and mysql55 variants ;-) I've done some work on adding variant for all the other mysql implementation to postfix. before I submit at patch I'ld like someone to just go over my code to see if it's correct :-) variant mysql5 \

RE: mysql problem with socket

2012-04-29 Thread jeff
That would be a nice easy fix, to undo a change I made to my.cnf :-) but in looking at the two lines in /opt/local/etc/mysql5/my.cnf (2 lines?! is there another and that's the problem?), I see:[client]socket = /opt/local/var/run/mysql5/mysqld.sock yet mysql is looking in /private/tmp.I also see a

Re: Group file and registry warnings when upgrading swig-python

2012-04-29 Thread Ryan Schmidt
On Apr 23, 2012, at 12:11, Adam Mercer wrote: On updating a couple of my machines today I saw the following: --- Computing dependencies for swig-python --- Fetching swig-python --- Verifying checksum(s) for swig-python --- Extracting swig-python --- Configuring swig-python ---

RE: mysql problem with socket

2012-04-29 Thread jeff
Well, let's back up a second. I installed mysql and mysql-server yesterday, and didn't make any manual changes, so should the my.cnf in the standard ports path (/opt/local/etc) only have 2 entries in it normally? Is it a matter then of adding the path to the front of $PATH or renaming the other

Re: mysql problem with socket

2012-04-29 Thread Ryan Schmidt
On Apr 29, 2012, at 17:39, j...@ayendesigns.com wrote: Well, let's back up a second. I installed mysql and mysql-server yesterday, and didn't make any manual changes, so should the my.cnf in the standard ports path (/opt/local/etc) only have 2 entries in it normally? It's normal for

RE: mysql problem with socket

2012-04-29 Thread jeff
I stopped mysql, renamed the other 3 cnf files to cnf.old, and restarted it. It is still using the sock in /private/tmp even though the only cnf file points to /opt/local. I'm at a loss...should I grep for /private/tmp to try and find where it's buried?? Original Message

Re: mysql problem with socket

2012-04-29 Thread Ryan Schmidt
On Apr 29, 2012, at 17:59, j...@ayendesigns.com wrote: I stopped mysql, renamed the other 3 cnf files to cnf.old, and restarted it. It is still using the sock in /private/tmp even though the only cnf file points to /opt/local. I'm at a loss...should I grep for /private/tmp to try and find

RE: mysql problem with socket

2012-04-29 Thread jeff
I had checked with 'find', and /opt/locale/etc/mysql5 is the only my.cnf file. I'm not sure that the mysqld process is port's, only that 'which' shows mysql5 being port's. I start it and stop it via the settings panel. On Apr 29, 2012, at 17:59, j...@ayendesigns.com wrote: I stopped mysql,

Re: mysql problem with socket

2012-04-29 Thread Mr. Puneet Kishor
On Apr 29, 2012, at 6:07 PM, Ryan Schmidt wrote: Are you sure the mysql that's being started is the one MacPorts installed, and not the one you installed in /usr/local? How are you starting / stopping mysql? The above is possibly the commonest mistake, and it is easy to check and

Re: Help with conjoined apaches

2012-04-29 Thread Bradley Giesbrecht
On Apr 28, 2012, at 8:00 PM, Jeremy Lavergne wrote: None of these files are provided by MacPorts and files provided by apache2 and mysql5 are missing so somehow apache2 and mysql5 were most likely uninstalled by port. Do you try to do a forced upgrade apache2 and mysql5 that failed? I

Re: mysql problem with socket

2012-04-29 Thread Ryan Schmidt
On Apr 29, 2012, at 18:22, j...@ayendesigns.com wrote: I had checked with 'find', and /opt/locale/etc/mysql5 is the only my.cnf file. I'm not sure that the mysqld process is port's, only that 'which' shows mysql5 being port's. I start it and stop it via the settings panel. What settings

RE: mysql problem with socket

2012-04-29 Thread jeff
Jeez. No idea. Settings has a MySQL, and, I believe, osx doesn't come with mysql... looking at the other message that just came and will check the process Original Message Subject: Re: mysql problem with socket From: Ryan Schmidt ryandes...@macports.org Date: Sun, April 29,

RE: mysql problem with socket

2012-04-29 Thread jeff
'which' shows nothing for mysqld or mysql, but for mysql5 shows /opt/local...ps reveals 2025 ?? 0:00.24 /opt/local/bin/daemondo --label=mysql5 --start-cmd /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper start ; --stop-cmd

Re: mysql problem with socket

2012-04-29 Thread Mr. Puneet Kishor
Yup, you are running the mysql version *not* installed by MacPorts. If you look below, you are running `/usr/local/mysql/bin/mysqld` which either you knowingly installed, or was installed by some other program without you realizing. The reason `which mysqld` shows nothing is because

Re: mysql problem with socket

2012-04-29 Thread Jeff Greenberg
I'll edit $PATH. What is the proper way to start it? Sent from my iPhone On Apr 29, 2012, at 7:50 PM, Mr. Puneet Kishor punk.k...@gmail.com wrote: Yup, you are running the mysql version *not* installed by MacPorts. If you look below, you are running `/usr/local/mysql/bin/mysqld` which either

Re: mysql problem with socket

2012-04-29 Thread Mr. Puneet Kishor
On Apr 29, 2012, at 7:47 PM, j...@ayendesigns.com wrote: There is no mysqld in that directory ... there are mysqld_multi and mysqld_safe, but with that path added to $PATH 'which' still comes up empty Ah... well, mysqld_safe is just a safe version of starting the mysql daemon. So,

R and R-framework

2012-04-29 Thread Mr. Puneet Kishor
On my iMac I installed both ports successfully as a precursor to installing PL/R by hand (PL/R is not available in MacPorts). $sudo port install R $sudo port install R-framework On my MBA (same operating system), the second command failed with the following message

Re: R and R-framework

2012-04-29 Thread Ryan Schmidt
On Apr 29, 2012, at 21:41, Mr. Puneet Kishor wrote: On my iMac I installed both ports successfully as a precursor to installing PL/R by hand (PL/R is not available in MacPorts). $sudo port install R $sudo port install R-framework On my MBA (same operating system), the

Re: mysql problem with socket

2012-04-29 Thread Ryan Schmidt
On Apr 29, 2012, at 19:57, Mr. Puneet Kishor wrote: On Apr 29, 2012, at 7:47 PM, j...@ayendesigns.com wrote: There is no mysqld in that directory ... there are mysqld_multi and mysqld_safe, but with that path added to $PATH 'which' still comes up empty Ah... well, mysqld_safe