From ryandesign at macports.org Mon Feb 1 01:15:05 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 1 Feb 2010 03:15:05 -0600 Subject: What is a dependent? In-Reply-To: <20100131.224940.389232849.hanche@math.ntnu.no> References: <20100131.224940.389232849.hanche@math.ntnu.no> Message-ID: <60F82799-F724-4C50-9358-E98318D0D930@macports.org> On Jan 31, 2010, at 21:49, Harald Hanche-Olsen wrote: > In order to do a bit of housecleaning, getting rid of old ports that I > am not really using, We have a script to help you do that, called port_cutleaves. Install the port_cutleaves port and run port_cutleaves to be guided through a process of uninstalling unneeded ports. > I thought I could run "port dependents active" > and deactivate the ports that come up with "has no dependents!" and > that I am otherwise not interested in. > > But then I come up with oddities like the following: > > ; port dependents p5-pathtools > p5-pathtools has no dependents! > > ; port deps intltool > Full Name: intltool @0.40.6 > Build Dependencies: gnome-common > Library Dependencies: expat, perl5, p5-xml-parser, p5-getopt-long, p5-pathtools, > p5-scalar-list-utils > > So intltool depends on p5-pathtools, but it is not among the > dependents of p5-pathtools. > > Is my understanding of "dependent" wrong, or is there a bug lurking > here? I don't know. Possibly. From ryandesign at macports.org Mon Feb 1 01:20:30 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 1 Feb 2010 03:20:30 -0600 Subject: What is a dependent? In-Reply-To: <60F82799-F724-4C50-9358-E98318D0D930@macports.org> References: <20100131.224940.389232849.hanche@math.ntnu.no> <60F82799-F724-4C50-9358-E98318D0D930@macports.org> Message-ID: <98321B17-E5A3-48DD-BA2F-104D8BEBFA5F@macports.org> On Feb 1, 2010, at 03:15, Ryan Schmidt wrote: > On Jan 31, 2010, at 21:49, Harald Hanche-Olsen wrote: > >> But then I come up with oddities like the following: >> >> ; port dependents p5-pathtools >> p5-pathtools has no dependents! >> >> ; port deps intltool >> Full Name: intltool @0.40.6 >> Build Dependencies: gnome-common >> Library Dependencies: expat, perl5, p5-xml-parser, p5-getopt-long, p5-pathtools, >> p5-scalar-list-utils >> >> So intltool depends on p5-pathtools, but it is not among the >> dependents of p5-pathtools. >> >> Is my understanding of "dependent" wrong, or is there a bug lurking >> here? > > I don't know. Possibly. I meant: your understanding of "dependent" is correct, but possibly there is a bug. On my system: $ port dependents p5-pathtools intltool depends on p5-pathtools I see that Rainer added the p5-pathtools dependency to intltool in r56017 (2009-08-23) and did not increase the port's revision at that time (that's the bug), and the port's revision and version have not increased since then. Therefore, if you installed intltool before 2009-08-23, it will not show p5-pathtools as a dependent. If you reinstall intltool today (sudo port -n upgrade --force intltool), then it will. intltool's revision should probably be increased. From raimue at macports.org Mon Feb 1 03:51:25 2010 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 01 Feb 2010 12:51:25 +0100 Subject: What is a dependent? In-Reply-To: <20100131.224940.389232849.hanche@math.ntnu.no> References: <20100131.224940.389232849.hanche@math.ntnu.no> Message-ID: <4B66C03D.5010503@macports.org> On 2010-02-01 04:49 , Harald Hanche-Olsen wrote: > But then I come up with oddities like the following: > > ; port dependents p5-pathtools > p5-pathtools has no dependents! > > ; port deps intltool > Full Name: intltool @0.40.6 > Build Dependencies: gnome-common > Library Dependencies: expat, perl5, p5-xml-parser, p5-getopt-long, p5-pathtools, > p5-scalar-list-utils > > So intltool depends on p5-pathtools, but it is not among the > dependents of p5-pathtools. Is intltool really being installed at the moment? The dependents command only checks for ports which are installed at the moment. Check with 'port installed intltool'. On my system, it is correct: $ port installed p5-pathtools intltool The following ports are currently installed: intltool @0.40.6_0 (active) p5-pathtools @3.31_0 (active) $ port dependents p5-pathtools intltool depends on p5-pathtools Rainer From attie at mps.mpg.de Mon Feb 1 05:51:02 2010 From: attie at mps.mpg.de (chameau) Date: Mon, 1 Feb 2010 05:51:02 -0800 (PST) Subject: gcc42 hangs Message-ID: <27403043.post@talk.nabble.com> Hi, I'm using this thread now, as I'm trying to update to gcc 4.3 from 4.2. It's only for experimenting different compilers with the mex functions in Matlab. Currently, i have : -bash-3.2$ gcc --version i686-apple-darwin9-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5577) Xcode version 3.1.4 Macports version 1.8.2 >sudo port install gcc43 it hangs at the build... Anything new on this issue ? Thanks Ryan Schmidt-24 wrote: > > > On Apr 20, 2008, at 6:27 AM, Craig Niederberger wrote: > >> Version of xcode: 3.0 >> $ gcc --version >> i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) >> >>> What version of MacPorts do you have? 1.6.0? trunk? >> $ port --version >> MacPorts 1.600 >> (Not sure what trunk means) > > trunk is the latest not-yet-numbered version of MacPorts that's been > in development since the release of 1.6.0 / 1.600. I just wanted to > make sure you didn't have anything older than 1.6.0. > > >>> What version of gcc42 is being built? >> Not sure how to figure that out--just typing sudo port install >> gcc42 at this point > > "port info gcc42" will tell you. I just want to make sure your ports > tree is up to date. > > >>> Finally, what port are you ultimately trying to install that's >>> requiring gcc42? >> It was part of a port install R (the statistical package) that was >> hanging on gcc42 > > True, R itself does declare a dependency on gcc42. > > If gcc42 won't build for you but gcc43 will, you could try changing > the R portfile: change "port:gcc42" to "port:gcc43" and "macports- > gcc-4.2" to "macports-gcc-4.3". If R builds that way, you could file > a ticket requesting this change, and Cc the maintainer of R. > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo/macports-users > > -- View this message in context: http://old.nabble.com/gcc42-hangs-tp16786152p27403043.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From ryandesign at macports.org Mon Feb 1 06:06:11 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 1 Feb 2010 08:06:11 -0600 Subject: gcc42 hangs In-Reply-To: <27403043.post@talk.nabble.com> References: <27403043.post@talk.nabble.com> Message-ID: <3D5225C1-27C3-403D-9EC9-D809BE1D5D03@macports.org> On Feb 1, 2010, at 07:51, chameau wrote: >> sudo port install gcc43 > > it hangs at the build... It will take over an hour to build on a modern fast Intel Mac, and much longer on older slower Macs. How long have you let it go? You can use the debug switch to see what's happening: sudo port -d install gcc43 From attie at mps.mpg.de Mon Feb 1 06:19:04 2010 From: attie at mps.mpg.de (Raphael Attie) Date: Mon, 1 Feb 2010 15:19:04 +0100 Subject: gcc42 hangs In-Reply-To: <3D5225C1-27C3-403D-9EC9-D809BE1D5D03@macports.org> References: <27403043.post@talk.nabble.com> <3D5225C1-27C3-403D-9EC9-D809BE1D5D03@macports.org> Message-ID: Le 1 f?vr. 10 ? 15:06, Ryan Schmidt a ?crit : >>> sudo port install gcc43 >> >> it hangs at the build... > > > It will take over an hour to build on a modern fast Intel Mac, and > much longer on older slower Macs. How long have you let it go? You > can use the debug switch to see what's happening: > > sudo port -d install gcc43 I see. I let it for about ~1 hour. I'll just run it again and will be more patient. I am unfamiliar with building gcc. How come it is that slow ? Will macport automatically change the symbolic links in /usr/bin ? or will it keep things internal to the macport tree (it's what i'd intuitively expect) ? From ryandesign at macports.org Mon Feb 1 06:35:28 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 1 Feb 2010 08:35:28 -0600 Subject: gcc42 hangs In-Reply-To: References: <27403043.post@talk.nabble.com> <3D5225C1-27C3-403D-9EC9-D809BE1D5D03@macports.org> Message-ID: <7596F173-B558-40D3-8FA8-57D5268F6887@macports.org> On Feb 1, 2010, at 08:19, Raphael Attie wrote: >> It will take over an hour to build on a modern fast Intel Mac, and much longer on older slower Macs. How long have you let it go? You can use the debug switch to see what's happening: >> >> sudo port -d install gcc43 > > I see. I let it for about ~1 hour. I'll just run it again and will be more patient. > I am unfamiliar with building gcc. How come it is that slow ? It's quite a large piece of software. > Will macport automatically change the symbolic links in /usr/bin ? or will it keep things internal to the macport tree (it's what i'd intuitively expect) ? MacPorts will not change anything in /usr/bin and you should not either. If you want "gcc" to be the MacPorts gcc43, then you should install the gcc_select port and use the gcc_select program to select the gcc43 version. From attie at mps.mpg.de Mon Feb 1 06:43:57 2010 From: attie at mps.mpg.de (Raphael Attie) Date: Mon, 1 Feb 2010 15:43:57 +0100 Subject: gcc42 hangs In-Reply-To: <7596F173-B558-40D3-8FA8-57D5268F6887@macports.org> References: <27403043.post@talk.nabble.com> <3D5225C1-27C3-403D-9EC9-D809BE1D5D03@macports.org> <7596F173-B558-40D3-8FA8-57D5268F6887@macports.org> Message-ID: <9DE011CE-945D-4564-8B71-C643527EDFE9@mps.mpg.de> Le 1 f?vr. 10 ? 15:35, Ryan Schmidt a ?crit : >>> It will take over an hour to build on a modern fast Intel Mac, and >>> much longer on older slower Macs. How long have you let it go? You >>> can use the debug switch to see what's happening: >>> >>> sudo port -d install gcc43 >> >> I see. I let it for about ~1 hour. I'll just run it again and will >> be more patient. >> I am unfamiliar with building gcc. How come it is that slow ? > > It's quite a large piece of software. > >> Will macport automatically change the symbolic links in /usr/bin ? >> or will it keep things internal to the macport tree (it's what i'd >> intuitively expect) ? > > MacPorts will not change anything in /usr/bin and you should not > either. > > If you want "gcc" to be the MacPorts gcc43, then you should install > the gcc_select port and use the gcc_select program to select the > gcc43 version. Does this solution is valid even if I want to test a third-party software that calls gcc ? For instance, Matlab is completely independent from Macports. Will the gcc_select program work only for "macported" softwares ? For instance, to make Matlab use the version of gcc 4.2 instead of 4.0 (i have both), i simply change the symbolic links in /usr/bin so that i can swap from gcc-4.0 to gcc-4.2. I can then restore the original links whenever a software needs the original gcc. This was quite handy for me. Is gcc_select really a cleaner solution than this ? From ryandesign at macports.org Mon Feb 1 07:07:23 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 1 Feb 2010 09:07:23 -0600 Subject: gcc42 hangs In-Reply-To: <9DE011CE-945D-4564-8B71-C643527EDFE9@mps.mpg.de> References: <27403043.post@talk.nabble.com> <3D5225C1-27C3-403D-9EC9-D809BE1D5D03@macports.org> <7596F173-B558-40D3-8FA8-57D5268F6887@macports.org> <9DE011CE-945D-4564-8B71-C643527EDFE9@mps.mpg.de> Message-ID: On Feb 1, 2010, at 08:43, Raphael Attie wrote: > Does this solution is valid even if I want to test a third-party software that calls gcc ? For instance, Matlab is completely independent from Macports. Will the gcc_select program work only for "macported" softwares ? > > For instance, to make Matlab use the version of gcc 4.2 instead of 4.0 (i have both), i simply change the symbolic links in /usr/bin so that i can swap from gcc-4.0 to gcc-4.2. I can then restore the original links whenever a software needs the original gcc. This was quite handy for me. Is gcc_select really a cleaner solution than this ? Yes, it is. Apple's gcc_select will handle changing the symlinks in /usr/bin for you. Our gcc_select will make the same kind of symlinks but in /opt/local/bin. So all you have to do is have /opt/local/bin in your PATH, which the MacPorts installer should have already done for you, and now any software you build that wants "gcc" will use MacPorts gcc. Note that using gcc_select (Apple's or ours) will have no effect for any port built using MacPorts. It only has effect for software you build manually on the command line. From attie at mps.mpg.de Mon Feb 1 07:31:31 2010 From: attie at mps.mpg.de (Raphael Attie) Date: Mon, 1 Feb 2010 16:31:31 +0100 Subject: gcc42 hangs - gcc_select In-Reply-To: References: <27403043.post@talk.nabble.com> <3D5225C1-27C3-403D-9EC9-D809BE1D5D03@macports.org> <7596F173-B558-40D3-8FA8-57D5268F6887@macports.org> <9DE011CE-945D-4564-8B71-C643527EDFE9@mps.mpg.de> Message-ID: <62D4EB00-C51C-4819-B149-FE546A21F984@mps.mpg.de> Le 1 f?vr. 10 ? 16:07, Ryan Schmidt a ?crit : >> Does this solution is valid even if I want to test a third-party >> software that calls gcc ? For instance, Matlab is completely >> independent from Macports. Will the gcc_select program work only >> for "macported" softwares ? >> >> For instance, to make Matlab use the version of gcc 4.2 instead of >> 4.0 (i have both), i simply change the symbolic links in /usr/bin >> so that i can swap from gcc-4.0 to gcc-4.2. I can then restore the >> original links whenever a software needs the original gcc. This was >> quite handy for me. Is gcc_select really a cleaner solution than >> this ? > > Yes, it is. > > Apple's gcc_select will handle changing the symlinks in /usr/bin for > you. > > Our gcc_select will make the same kind of symlinks but in /opt/local/ > bin. So all you have to do is have /opt/local/bin in your PATH, > which the MacPorts installer should have already done for you, and > now any software you build that wants "gcc" will use MacPorts gcc. > > Note that using gcc_select (Apple's or ours) will have no effect for > any port built using MacPorts. It only has effect for software you > build manually on the command line. I understand. Indeed, my PATH does contain the /opt/local/bin. However, as the order of appearance in PATH matters, the software I build manually will use whichever gcc comes first, right ? In which case, if the macports-gcc pointed by the /opt/local/bin and the one in usr/bin are different, one will have to play a bit with the PATH's order, is that correct ? In the present case, as /opt/local/bin comes first in the PATH, the default will be to use the macported gcc. Is that correct ? From choffman at eclimb.net Mon Feb 1 08:51:40 2010 From: choffman at eclimb.net (Craig Hoffman) Date: Mon, 1 Feb 2010 09:51:40 -0700 Subject: opt/local/lib/libldap-2.3.0.dylib - Error Message-ID: <4E2A5942-41D3-4359-A55B-ABAA4BF55B8B@eclimb.net> Hi There, Over the weekend, I ran "self update" then "update outdated" - it updated Apache and a few other ports. Sorry, I can't remember which ones. I tried to start Apache this morning and I received this error: httpd: Syntax error on line 119 of /opt/local/apache2/conf/httpd.conf: Cannot load /opt/local/apache2/modules/libphp5.so into server: dlopen(/opt/local/apache2/modules/libphp5.so, 10): Library not loaded: /opt/local/lib/libldap-2.3.0.dylib\n Referenced from: /opt/local/apache2/modules/libphp5.so\n Reason: image not found Any ideas on what's causing it (opt/local/lib/libldap-2.3.0.dylib) and how to fix it? Thanks, Craig _______________________ Craig Hoffman iChat / AIM: mountain.dog _______________________ From jmr at macports.org Mon Feb 1 09:01:45 2010 From: jmr at macports.org (Joshua Root) Date: Tue, 02 Feb 2010 04:01:45 +1100 Subject: opt/local/lib/libldap-2.3.0.dylib - Error In-Reply-To: <4E2A5942-41D3-4359-A55B-ABAA4BF55B8B@eclimb.net> References: <4E2A5942-41D3-4359-A55B-ABAA4BF55B8B@eclimb.net> Message-ID: <4B6708F9.5010000@macports.org> On 2010-2-2 03:51 , Craig Hoffman wrote: > Hi There, > Over the weekend, I ran "self update" then "update outdated" - it updated Apache and a few other ports. Sorry, I can't remember which ones. I tried to start Apache this morning and I received this error: > > httpd: Syntax error on line 119 of /opt/local/apache2/conf/httpd.conf: Cannot load /opt/local/apache2/modules/libphp5.so into server: dlopen(/opt/local/apache2/modules/libphp5.so, 10): Library not loaded: /opt/local/lib/libldap-2.3.0.dylib\n Referenced from: /opt/local/apache2/modules/libphp5.so\n Reason: image not found > > Any ideas on what's causing it (opt/local/lib/libldap-2.3.0.dylib) and how to fix it? Looks like php wasn't rebuilt after openldap was updated to a new binary incompatible version. But it looks like the php ports intend to use the LDAP in /usr, so /opt/local/lib/libldap-2.3.0.dylib being linked against is a bug. - Josh From choffman at eclimb.net Mon Feb 1 11:26:20 2010 From: choffman at eclimb.net (Craig Hoffman) Date: Mon, 1 Feb 2010 12:26:20 -0700 Subject: **VL-JUNK** Re: opt/local/lib/libldap-2.3.0.dylib - Error In-Reply-To: <4B6708F9.5010000@macports.org> References: <4E2A5942-41D3-4359-A55B-ABAA4BF55B8B@eclimb.net> <4B6708F9.5010000@macports.org> Message-ID: Thanks. Rebuilding PHP fixed it. _______________________ Craig Hoffman iChat / AIM: mountain.dog _______________________ On Feb 1, 2010, at 10:01 AM, Joshua Root wrote: > On 2010-2-2 03:51 , Craig Hoffman wrote: >> Hi There, >> Over the weekend, I ran "self update" then "update outdated" - it updated Apache and a few other ports. Sorry, I can't remember which ones. I tried to start Apache this morning and I received this error: >> >> httpd: Syntax error on line 119 of /opt/local/apache2/conf/httpd.conf: Cannot load /opt/local/apache2/modules/libphp5.so into server: dlopen(/opt/local/apache2/modules/libphp5.so, 10): Library not loaded: /opt/local/lib/libldap-2.3.0.dylib\n Referenced from: /opt/local/apache2/modules/libphp5.so\n Reason: image not found >> >> Any ideas on what's causing it (opt/local/lib/libldap-2.3.0.dylib) and how to fix it? > > Looks like php wasn't rebuilt after openldap was updated to a new binary > incompatible version. But it looks like the php ports intend to use the > LDAP in /usr, so /opt/local/lib/libldap-2.3.0.dylib being linked against > is a bug. > > - Josh From ryandesign at macports.org Mon Feb 1 11:56:04 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 1 Feb 2010 13:56:04 -0600 Subject: opt/local/lib/libldap-2.3.0.dylib - Error In-Reply-To: <4B6708F9.5010000@macports.org> References: <4E2A5942-41D3-4359-A55B-ABAA4BF55B8B@eclimb.net> <4B6708F9.5010000@macports.org> Message-ID: On Feb 1, 2010, at 11:01, Joshua Root wrote: > it looks like the php ports intend to use the > LDAP in /usr, so /opt/local/lib/libldap-2.3.0.dylib being linked against > is a bug. Yes, it's this bug: http://trac.macports.org/ticket/20492 From kngspook at gmail.com Mon Feb 1 14:54:19 2010 From: kngspook at gmail.com (Neil) Date: Mon, 1 Feb 2010 17:54:19 -0500 Subject: OT: MacPorts Trac Setup Message-ID: <77e4079b1002011454x2419fbeeo7328104b64c17608@mail.gmail.com> Totally off-topic, I'm very sorry. I'm trying to set-up Trac for an internal project, with the goal of having a similar setup to MacPorts' Trac, but for internal use. And I'm having a little trouble getting things working (specifically, how to manage users). If the person who runs MacPorts' Trac is around, or any other Trac gurus, could you maybe hit me up off-list so I could ask you a few questions? Thanks, and sorry again. From Daniel.Simon at itn.liu.se Mon Feb 1 23:21:29 2010 From: Daniel.Simon at itn.liu.se (Daniel Simon) Date: Tue, 2 Feb 2010 08:21:29 +0100 Subject: No sound/audio in KDE4 Message-ID: <039DF7D9-05D0-4213-B8CB-2B30C9351C88@itn.liu.se> I've installed kdegames4 and kdeedu4 successfully (the programs all run fine) but there's no sound/audio. In particular, trying klettres from kdeedu4 produces no sound. On the other hand, if I go into to the qtdemo application and load the phonon test app, I do hear the test sound. So, QT can produce sound, but KDE can't. I've looked in the logs in Console.app, but don't see anything when I try to call a sound from a KDE app. I installed kdegames4 and kdeedu4 roughly following this protocol: http://lists.macosforge.org/pipermail/macports-users/2010-January/018527.html Anyone have any suggestions? System info: iBook G3 500 MHz and PowerBook G4 700 MHz (compiled on PB, tested on both, same result) OS X 10.4.11 (latest) XCode 2.5 MacPorts-1.8.2-10.4-Tiger (after selfupdate) Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From LenoreHorner at sbcglobal.net Tue Feb 2 10:08:23 2010 From: LenoreHorner at sbcglobal.net (Lenore Horner) Date: Tue, 2 Feb 2010 12:08:23 -0600 Subject: Atlas problems Message-ID: <906B396E-F582-4A8A-8F6C-2BA5070D94B1@sbcglobal.net> I''m having the problem reported in ticket 23349. There doesn't seem to be any hint of a resolution in that ticket. Any suggestions on where to look for help next? This is blocking both octave and gimp. G4 10.5.8 xcode 3.1.3 MP 1.8.2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From thiruvathukal at gmail.com Wed Feb 3 09:31:18 2010 From: thiruvathukal at gmail.com (George Thiruvathukal) Date: Wed, 3 Feb 2010 11:31:18 -0600 Subject: gnome, anyone? Message-ID: <2297aa741002030931n1ac4734dk1bad055a3c0660f6@mail.gmail.com> Hi, It's a bit tricky to search the archives for previous postings, so apologies if I am contributing to the noise (as in signal:noise). So I'm trying to get Gnome up and running and am running into problems with the gdm build. The weird thing is that the errors being generated by the compiler are suspect, because the type definition is actually present (and lists the members reported as being missing). Is it possible that the Xcode tools need an update? I am showing "gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)" when I do "gcc -v". Here is an excerpt of the output: $ sudo port install gnome ---> Computing dependencies for gnome ---> Fetching gdm ---> Verifying checksum(s) for gdm ---> Extracting gdm ---> Applying patches to gdm ---> Configuring gdm ---> Building gdm Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gdm/work/gdm-2.26.1" && /usr/bin/make -j2 all " returned error 2 Command output: gdm-session-worker.c: In function 'gdm_session_worker_constructor': gdm-session-worker.c:2589: error: 'GdmSessionWorkerPrivate' has no member named 'server_address' gdm-session-worker.c:2592: error: 'GdmSessionWorkerPrivate' has no member named 'connection' gdm-session-worker.c:2592: error: 'GdmSessionWorkerPrivate' has no member named 'server_address' gdm-session-worker.c:2593: error: 'GdmSessionWorkerPrivate' has no member named 'connection' I'm actually willing to do some work to try and fix the problem but am not so well versed in how MacPorts does its thing. I'm assuming it is using the Apple compiler by default but don't know for sure. Before I dive into this, however, is there anyone who has run into this problem and can offer any insight? Thanks, George -- George K. Thiruvathukal, Ph.D. - http://www.thiruvathukal.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmr at macports.org Wed Feb 3 10:11:18 2010 From: jmr at macports.org (Joshua Root) Date: Thu, 04 Feb 2010 05:11:18 +1100 Subject: gnome, anyone? In-Reply-To: <2297aa741002030931n1ac4734dk1bad055a3c0660f6@mail.gmail.com> References: <2297aa741002030931n1ac4734dk1bad055a3c0660f6@mail.gmail.com> Message-ID: <4B69BC46.8010609@macports.org> On 2010-2-4 04:31 , George Thiruvathukal wrote: > Hi, > > It's a bit tricky to search the archives for previous postings, so > apologies if I am contributing to the noise (as in signal:noise). > > So I'm trying to get Gnome up and running and am running into problems > with the gdm build. The weird thing is that the errors being generated > by the compiler are suspect, because the type definition is actually > present (and lists the members reported as being missing). Is it > possible that the Xcode tools need an update? I am showing "gcc version > 4.2.1 (Apple Inc. build 5646) (dot 1)" when I do "gcc -v". I take it you're on Snow Leopard then? MacPorts defaults to using /usr/bin/gcc-4.2 there. Xcode 3.2 or later should be fine, though the latest is recommended. > Here is an excerpt of the output: > > $ sudo port install gnome > ---> Computing dependencies for gnome > ---> Fetching gdm > ---> Verifying checksum(s) for gdm > ---> Extracting gdm > ---> Applying patches to gdm > ---> Configuring gdm > ---> Building gdm > Error: Target org.macports.build returned: shell command " cd > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gdm/work/gdm-2.26.1" > && /usr/bin/make -j2 all " returned error 2 > Command output: gdm-session-worker.c: In function > 'gdm_session_worker_constructor': > gdm-session-worker.c:2589: error: 'GdmSessionWorkerPrivate' has no > member named 'server_address' > gdm-session-worker.c:2592: error: 'GdmSessionWorkerPrivate' has no > member named 'connection' > gdm-session-worker.c:2592: error: 'GdmSessionWorkerPrivate' has no > member named 'server_address' > gdm-session-worker.c:2593: error: 'GdmSessionWorkerPrivate' has no > member named 'connection' > > I'm actually willing to do some work to try and fix the problem but am > not so well versed in how MacPorts does its thing. I'm assuming it is > using the Apple compiler by default but don't know for sure. > > Before I dive into this, however, is there anyone who has run into this > problem and can offer any insight? Searching Trac turns up this ticket: which still needs someone to attach full debug output, i.e. from "sudo port -d install gdm > gdm.log 2>&1". - Josh From jlockyer at alpineclubofcanada.ca Wed Feb 3 15:16:04 2010 From: jlockyer at alpineclubofcanada.ca (Jefferey Lockyer) Date: Wed, 3 Feb 2010 16:16:04 -0700 Subject: SLONY1 port - Snow Leopard - HELP, URGENT ! Message-ID: Having an issue building SLONY1 with Postgres84-Server port. Postgres builds fine, but Slony1 yields the following error This is installing on a Xserve 10.6.2 Snow Leopard environment. ------------------- :info:build /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -DPGSHARE="\"/opt/local/shar$ :info:build In file included from parser.y:1101: :info:build scan.c:161: error: conflicting types for 'yyleng' :info:build parser.y:25: error: previous declaration of 'yyleng' was here :info:build scan.c:288: error: conflicting types for 'yyleng' :info:build parser.y:25: error: previous declaration of 'yyleng' was here :info:build make[2]: *** [parser.o] Error 1 :info:build make[1]: *** [all] Error 2 :info:build make: *** [all] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_s$ :error:build Target org.macports.build returned: shell command failed ------------------- Bison is up to date, Flex is up to date, Yacc up to date (All required headers I can think of) I originally thought building from source might be a problem, but I get the same error when I run "make install" after having configure complete properly. Thanks in advance. Jefferey Lockyer From mk-lists at email.de Wed Feb 3 15:27:25 2010 From: mk-lists at email.de (=?iso-8859-15?Q?Marko_K=E4ning?=) Date: Thu, 04 Feb 2010 00:27:25 +0100 Subject: kmymoney doesn't work Message-ID: <1307129321@web.de> Hi list, I installed kmymoney from macports on my new iMac. I was surprised to see that after a little bit of confusion with "universal" variant I got the thing compiled and installed with all dependencies no problem. I learnt that I need to start dcopserver before trying to run kmymoney... BUT, unfortunately, I am still not at the end... :( When I start kmymoney it has several complaints: 1) A message box telling me this: Configuration file "/Users/marko/.kde/share/config/kmymoney2rc" not writable. Configuration file "/Users/marko/.kde/share/config/kdeglobals" not writable. Well, probably fixable if I create said directories manually before running kmymoney... 2) Another message box stating this: Could not find mime type application/octet-stream Oh, well, I don't seem to have a properly setup KDE... 3) In the homepage window one will find: An error occurred while loading file:///opt/local/share/apps/kmymoney2/html/home.html: Could not start process Unable to create io-slave: Permission denied. There is no io-slave... 4) If I dare to open a file I get a warning dialog: No mime types installed. and then followed by another warning dialog: Malformed URL file:///Users/marko The application throws tons of lines with "Permission denied" statements, see below. Looks like my X11+QT+KDE3 is not properly configured to let kmymoney function seemlessly. Any ideas and hints? Greets, Marko --------------- markos-imac:~ marko$ kmymoney Qt: Locales not supported on X server trying to create local folder /Users/marko/.kde/share: Permission denied kdecore (KConfigSkeleton): Creating KConfigSkeleton (0x1029656b0) trying to create local folder /Users/marko/.kde/share: Permission denied kdecore (KConfigSkeleton): KConfigSkeleton::readConfig() trying to create local folder /Users/marko/.kde/share: Permission denied trying to create local folder /Users/marko/.kde/cache-markos-imac: Permission denied kio (KSycoca): Trying to open ksycoca from /Users/marko/.kde/cache-markos-imac/ksycoca kio (KSycoca): Could not open ksycoca trying to create local folder /Users/marko/.kde/cache-markos-imac: Permission denied kio (KSycoca): findFactory: we have no database.... launching kdeinit trying to create local folder /Users/marko/.kde/share: Permission denied trying to create local folder /Users/marko/.kde/tmp-markos-imac: Permission denied kmymoney2: WARNING: KTempFile: Error trying to create /Users/marko/.kde/tmp-markos-imac/startkdeinitlockXXXXXX.tmp: Permission denied kio (KSycoca): Trying to open ksycoca from /Users/marko/.kde/cache-markos-imac/ksycoca kio (KSycoca): Could not open ksycoca kdeui (KDatePicker): KDatePicker::dateChangedSlot: date changed (2010/2/4). trying to create local folder /Users/marko/.kde/cache-markos-imac: Permission denied kio (KSycoca): Trying to open ksycoca from /Users/marko/.kde/cache-markos-imac/ksycoca kio (KSycoca): Could not open ksycoca trying to create local folder /Users/marko/.kde/cache-markos-imac: Permission denied kio (KSycoca): Trying to open ksycoca from /Users/marko/.kde/cache-markos-imac/ksycoca kio (KSycoca): Could not open ksycoca trying to create local folder /Users/marko/.kde/share: Permission denied kio (KMimeType): WARNING: KServiceType::offers : servicetype KMyMoneyPlugin not found kutils (KPluginSelector): [void KPluginSelector::checkNeedForTabWidget()] kutils (KPluginSelector): [void KPluginSelector::addPlugins(const QValueList&, const QString&, const QString&, KConfig*)] cfgGroup = 0x1039e9090 khtml (part): KHTMLPart(0x1038ea340)::openURL file:///opt/local/share/apps/kmymoney2/html/home.html trying to create local folder /Users/marko/.kde/share: Permission denied trying to create local folder /Users/marko/.kde/cache-markos-imac: Permission denied kio (KSycoca): Trying to open ksycoca from /Users/marko/.kde/cache-markos-imac/ksycoca kio (KSycoca): Could not open ksycoca trying to create local folder /Users/marko/.kde/cache-markos-imac: Permission denied kio (KSycoca): Trying to open ksycoca from /Users/marko/.kde/cache-markos-imac/ksycoca kio (KSycoca): Could not open ksycoca trying to create local folder /Users/marko/.kde/share: Permission denied trying to create local folder /Users/marko/.kde/socket-markos-imac: Permission denied kmymoney2: WARNING: KTempFile: Error trying to create /Users/marko/.kde/socket-markos-imac/kmymoney2XXXXXX.slave-socket: Permission denied kmymoney2: ERROR: : couldn't create slave : Unable to create io-slave: Permission denied khtml (part): KHTMLPart::showError d->m_bParsing=false d->m_bComplete=true d->m_bCleared=false khtml (part): KHTMLPart::htmlError errorCode=3 text=Unable to create io-slave: Permission denied trying to create local folder /Users/marko/.kde/cache-markos-imac: Permission denied kio (KSycoca): Trying to open ksycoca from /Users/marko/.kde/cache-markos-imac/ksycoca kio (KSycoca): Could not open ksycoca trying to create local folder /Users/marko/.kde/cache-markos-imac: Permission denied kio (KSycoca): Trying to open ksycoca from /Users/marko/.kde/cache-markos-imac/ksycoca kio (KSycoca): Could not open ksycoca khtml (part): KHTMLPart(0x1038ea340)::openURL file:///opt/local/share/apps/kmymoney2/html/home.html kio (KIOJob): Job::kill this=0x1029e99e0 KIO::TransferJob m_progressId=0 quietly=true khtml (part): Aborted before starting to render, reverting location bar to file:///opt/local/share/apps/kmymoney2/html/home.html khtml (part): KHTMLPart(0x1038ea340)::openURL file:///opt/local/share/apps/kmymoney2/html/home.html kresources: Factory::self() kio (KMimeType): WARNING: KServiceType::offers : servicetype KResources/Plugin not found kresources: ManagerImpl::ManagerImpl() kresources: Connecting DCOP signals... kresources: ManagerImpl::readConfig() kresources: Factory::self() trying to create local folder /Users/marko/.kde/share: Permission denied kabc: StdAddressBook::StdAddressBook( bool ) kresources: Factory::resource( file, config ) kresources: Factory::resource() no such type file kabc: No resource available!!! kresources: ManagerImpl::writeConfig() kresources: Saving general info kresources: ManagerImpl::save() finished kabc: AddressBook::asyncLoad() kdeui (KDatePicker): KDatePicker::dateChangedSlot: date changed (2010/2/4). trying to create local folder /Users/marko/.kde/socket-markos-imac: Permission denied kmymoney2: WARNING: KTempFile: Error trying to create /Users/marko/.kde/socket-markos-imac/kmymoney2XXXXXX.slave-socket: Permission denied kmymoney2: ERROR: : couldn't create slave : Unable to create io-slave: Permission denied khtml (part): KHTMLPart::showError d->m_bParsing=false d->m_bComplete=true d->m_bCleared=false khtml (part): KHTMLPart::htmlError errorCode=3 text=Unable to create io-slave: Permission denied trying to create local folder /Users/marko/.kde/share: Permission denied khtml (part): KHTMLPart(0x1038ea340)::openURL file:///opt/local/share/apps/kmymoney2/html/home.html kdecore (KConfigSkeleton): KConfigSkeleton::writeConfig() kdecore (KConfigSkeleton): KConfigSkeleton::readConfig() kparts: KPart::slotWidgetDestroyed(), deleting part unnamed kparts: 0x103bac900 emitting activePartChanged 0x0 kparts: Part::~Part 0x1038ea340 kabc: StdAddressBook::saveAll() kresources: ManagerImpl::~ManagerImpl() markos-imac:~ marko$ ------------------ From thiruvathukal at gmail.com Wed Feb 3 19:29:28 2010 From: thiruvathukal at gmail.com (George Thiruvathukal) Date: Wed, 3 Feb 2010 21:29:28 -0600 Subject: gnome, anyone? In-Reply-To: <4B69BC46.8010609@macports.org> References: <2297aa741002030931n1ac4734dk1bad055a3c0660f6@mail.gmail.com> <4B69BC46.8010609@macports.org> Message-ID: <2297aa741002031929q9a281acyd9cd16d82cdf2f6@mail.gmail.com> Joshua, Turns out that the last part (adding -d) was very helpful to me. I discovered that all of the errors were not being shown. As luck would have it, there was a problem locating one of the pam header files. So the include of needs to be replaced with . I'm not sure where to report this issue. (I will try to follow up on the trac.macports.org site but did not immediately figure out how to log in and follow up on the issue.) And for completeness, I am on Snow Leopard. I'm guessing something else will go wrong soon, but we're gradually progressing through the rest of the packages. Wish me luck! Thanks for your help. George On Wed, Feb 3, 2010 at 12:11 PM, Joshua Root wrote: > On 2010-2-4 04:31 , George Thiruvathukal wrote: > > Hi, > > > > It's a bit tricky to search the archives for previous postings, so > > apologies if I am contributing to the noise (as in signal:noise). > > > > So I'm trying to get Gnome up and running and am running into problems > > with the gdm build. The weird thing is that the errors being generated > > by the compiler are suspect, because the type definition is actually > > present (and lists the members reported as being missing). Is it > > possible that the Xcode tools need an update? I am showing "gcc version > > 4.2.1 (Apple Inc. build 5646) (dot 1)" when I do "gcc -v". > > I take it you're on Snow Leopard then? MacPorts defaults to using > /usr/bin/gcc-4.2 there. Xcode 3.2 or later should be fine, though the > latest is recommended. > > > Here is an excerpt of the output: > > > > $ sudo port install gnome > > ---> Computing dependencies for gnome > > ---> Fetching gdm > > ---> Verifying checksum(s) for gdm > > ---> Extracting gdm > > ---> Applying patches to gdm > > ---> Configuring gdm > > ---> Building gdm > > Error: Target org.macports.build returned: shell command " cd > > > "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gdm/work/gdm-2.26.1" > > && /usr/bin/make -j2 all " returned error 2 > > Command output: gdm-session-worker.c: In function > > 'gdm_session_worker_constructor': > > gdm-session-worker.c:2589: error: 'GdmSessionWorkerPrivate' has no > > member named 'server_address' > > gdm-session-worker.c:2592: error: 'GdmSessionWorkerPrivate' has no > > member named 'connection' > > gdm-session-worker.c:2592: error: 'GdmSessionWorkerPrivate' has no > > member named 'server_address' > > gdm-session-worker.c:2593: error: 'GdmSessionWorkerPrivate' has no > > member named 'connection' > > > > I'm actually willing to do some work to try and fix the problem but am > > not so well versed in how MacPorts does its thing. I'm assuming it is > > using the Apple compiler by default but don't know for sure. > > > > Before I dive into this, however, is there anyone who has run into this > > problem and can offer any insight? > > Searching Trac > turns up this ticket: > > which still needs someone to attach full debug output, i.e. from > "sudo port -d install gdm > gdm.log 2>&1". > > - Josh > -- George K. Thiruvathukal, Ph.D. - http://www.thiruvathukal.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From macintosh at mathiesen.info Wed Feb 3 23:59:11 2010 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Thu, 04 Feb 2010 08:59:11 +0100 Subject: gmp build fails under Snow Leopard Message-ID: <4B6A7E4F.4020209@mathiesen.info> I'm getting the following when trying to install imap-uw under Snow Leopard. gmp 4.3.1_1 < 4.3.2_0 ---> Computing dependencies for gmp ---> Configuring gmp Error: Target org.macports.configure returned: configure failure: shell command " cd "/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/work/gmp-4.3.2" && ./configure --prefix=/macports --infodir=/macports/share/info --enable-cxx " returned error 1 Command output: checking build system type... i386-apple-darwin10.2.0 checking host system type... i386-apple-darwin10.2.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: error: ABI=64 is not among the following valid choices: 32 -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.6.2 Snow Leopard ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 http://webadmin.mathiesen.info/ From hanche at math.ntnu.no Thu Feb 4 11:19:21 2010 From: hanche at math.ntnu.no (Harald Hanche-Olsen) Date: Thu, 04 Feb 2010 14:19:21 -0500 (EST) Subject: Atlas problems In-Reply-To: <906B396E-F582-4A8A-8F6C-2BA5070D94B1@sbcglobal.net> References: <906B396E-F582-4A8A-8F6C-2BA5070D94B1@sbcglobal.net> Message-ID: <20100204.141921.453175817.hanche@math.ntnu.no> + Lenore Horner : > I''m having the problem reported in ticket 23349. It looks like it may be resolved now. There's a patch there if you don't want to wait for it to be comitted to the ports tree. - Harald From jmr at macports.org Thu Feb 4 12:26:29 2010 From: jmr at macports.org (Joshua Root) Date: Fri, 05 Feb 2010 07:26:29 +1100 Subject: gmp build fails under Snow Leopard In-Reply-To: <4B6A7E4F.4020209@mathiesen.info> References: <4B6A7E4F.4020209@mathiesen.info> Message-ID: <4B6B2D75.4070608@macports.org> On 2010-2-4 18:59 , Bjarne D Mathiesen wrote: > I'm getting the following when trying to install imap-uw under Snow > Leopard. > > gmp 4.3.1_1 < 4.3.2_0 > > ---> Computing dependencies for gmp > ---> Configuring gmp > Error: Target org.macports.configure returned: configure failure: shell > command " cd > "/macports/var/macports/build/_macports_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/work/gmp-4.3.2" > && ./configure --prefix=/macports --infodir=/macports/share/info > --enable-cxx " returned error 1 > Command output: checking build system type... i386-apple-darwin10.2.0 > checking host system type... i386-apple-darwin10.2.0 > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... no > checking for mawk... no > checking for nawk... no > checking for awk... awk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > configure: error: ABI=64 is not among the following valid choices: 32 Looks like the configure script doesn't recognise that your i7 is x86_64 capable. I've committed a change that should remedy this. - Josh From rob at robwilkerson.org Thu Feb 4 12:57:52 2010 From: rob at robwilkerson.org (Rob Wilkerson) Date: Thu, 4 Feb 2010 15:57:52 -0500 Subject: Apache2 Won't Start on Startup Message-ID: Hey guys - I'm trying to share a httpd.conf file across two Macs via Dropbox (with symlinks in each Mac's /opt/local/apache2/conf/ directory). Similarly, I store virtual host conf files individually and include them in my main httpd.conf: Include "${HOME}/Dropbox/Application Support/apache/conf.d.osx/*.conf" Include "${HOME}/Library/Application Support/MacPorts/apache/conf.d/*.conf" Unfortunately, my username on each Mac is different (one is a work machine that I can't change) which is why I'm using the ${HOME} environment variable to tell Apache where to find the conf files. As far as I can tell, that's the root of this problem. Even though the LaunchDaemon is loaded, Apache won't start when I boot up. The system log reports that: Feb 4 07:05:01 robwilkerson org.macports.apache2[55]: httpd: Syntax error on line 512 of /opt/local/apache2/conf/httpd.conf: Include directory '/opt/local/apache2/${HOME}/Dropbox/Application Support/apache/conf.d.osx' not found I realize that I could move these conf files out of my home directory, but I'd like to keep everything nicely consolidated in there if at all possible. This isn't a problem with MacPorts or its Apache2 install, of course, but I'm hoping that someone here might be able to offer a solution that allows me to work the same configuration, but still start when I boot up. Any help would be appreciated. Thanks. -- Rob Wilkerson http://robwilkerson.org @robwilkerson From ryandesign at macports.org Thu Feb 4 13:07:58 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 4 Feb 2010 15:07:58 -0600 Subject: SLONY1 port - Snow Leopard - HELP, URGENT ! In-Reply-To: References: Message-ID: On Feb 3, 2010, at 17:16, Jefferey Lockyer wrote: > Having an issue building SLONY1 with Postgres84-Server port. > Postgres builds fine, but Slony1 yields the following error > This is installing on a Xserve 10.6.2 Snow Leopard environment. > > ------------------- > > :info:build /usr/bin/gcc-4.2 -pipe -O2 -arch x86_64 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -DPGSHARE="\"/opt/local/shar$ > :info:build In file included from parser.y:1101: > :info:build scan.c:161: error: conflicting types for 'yyleng' > :info:build parser.y:25: error: previous declaration of 'yyleng' was here > :info:build scan.c:288: error: conflicting types for 'yyleng' > :info:build parser.y:25: error: previous declaration of 'yyleng' was here > :info:build make[2]: *** [parser.o] Error 1 > :info:build make[1]: *** [all] Error 2 > :info:build make: *** [all] Error 2 > :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_s$ > :error:build Target org.macports.build returned: shell command failed > > ------------------- > > Bison is up to date, Flex is up to date, Yacc up to date (All required headers I can think of) > > I originally thought building from source might be a problem, but I get the same error when I run "make install" after having configure complete properly. I see a few hits for that error message on Google, including this thread from November 2009 which says you need to install the yacc, bison and/or flex development packages (in MacPorts, there are not separate development packages; the main ports provide any applicable development headers): http://old.nabble.com/Slony---Postgres-8.4---Makefile-issues-!!!!!!1-td26505342.html And this bug from January 2010, which has no comments: http://www.slony.info/bugzilla/show_bug.cgi?id=109 slony1 builds fine for me on Snow Leopard on a MacBook Pro Core 2 Duo if I have flex 2.5.35 from MacPorts installed. But I am able to reproduce the error if I don't have MacPorts flex 2.5.35 and the build instead uses Snow Leopard's flex 2.5.35. (Curious that the Snow Leopard and MacPorts versions of flex behave differently, though they claim to be the same version.) Therefore I guess you do not have the flex port installed, and suggest you install it. I also suggest you file a bug report about this problem in the MacPorts issue tracker so the maintainer can add a build dependency on flex to the slony1 port to prevent this problem in the future. From ryandesign at macports.org Thu Feb 4 13:23:07 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 4 Feb 2010 15:23:07 -0600 Subject: Apache2 Won't Start on Startup In-Reply-To: References: Message-ID: On Feb 4, 2010, at 14:57, Rob Wilkerson wrote: > Include "${HOME}/Dropbox/Application Support/apache/conf.d.osx/*.conf" > Include "${HOME}/Library/Application Support/MacPorts/apache/conf.d/*.conf" > > Unfortunately, my username on each Mac is different (one is a work > machine that I can't change) which is why I'm using the ${HOME} > environment variable to tell Apache where to find the conf files. As > far as I can tell, that's the root of this problem. Even though the > LaunchDaemon is loaded, Apache won't start when I boot up. The system > log reports that: > > Feb 4 07:05:01 robwilkerson org.macports.apache2[55]: httpd: Syntax > error on line 512 of /opt/local/apache2/conf/httpd.conf: Include > directory '/opt/local/apache2/${HOME}/Dropbox/Application > Support/apache/conf.d.osx' not found Apache doesn't know which user's home directory you'd like it to use. Apache starts as root, then switches to the _www user; it has no idea what user you're currently logged in and using the computer as. I'm not sure of a way that it could automatically determine that either, and I also don't know of a way to use variables in the path of an Apache Include statement. You may have to settle for this: Include "/Users/*/Dropbox/Application Support/apache/conf.d.osx/*.conf" Include "/Users/*/Library/Application Support/MacPorts/apache/conf.d/*.conf" This would include conf files in *every* user's home directory in that location. But if you're the only person using these computers (the only user account on these computers, or the only user which has conf files in that location) then it shouldn't be a problem. From jkorchok at hotmail.com Thu Feb 4 13:40:46 2010 From: jkorchok at hotmail.com (John Korchok) Date: Thu, 4 Feb 2010 16:40:46 -0500 Subject: #23312: Unable to detect PHP version In-Reply-To: References: <455c82e71001051202l606fbf93q73b2a245774f91a1@mail.gmail.com><455c82e71001060735h635a5381rcbc1948790f6c4df@mail.gmail.com><455c82e71001060840p4e68bfe0g4da66851676cce43@mail.gmail.com><51C0AA76-E64F-4ED0-8A70-4F63F093DD31@macports.org><455c82e71001060938p6d41984bo6b1303d6cf89f580@mail.gmail.com><2F6CA757-9D1C-485B-A227-0CA32A4098A1@macports.org><455c82e71001061829l7fc76d17kf262ba26bb488f46@mail.gmail.com><62188A5E-A6FA-47DF-ACE7-30D91833BCEE@macports.org><455c82e71001062010k4b4966bahceea71f2cee3383f@mail.gmail.com><455c82e71001062017q4cbb8574n6cca3b1f314fe6fd@mail.gmail.com><1CA36FB6-190F-4687-8236-F6621CB70DE0@macports.org><2FBF79D4-CFCB-46D2-A970-62AF9A1B7ECE@pixilla.com><4871BAB8-30DA-4093-87FF-F591E1BEAE8F@macports.org> <0A94B9BD-A491-43C3-A055-61D9A2C47B3B@pixilla.com> Message-ID: I originally wrote about not being able to upgrade php5-oracle on one server. Now the problem exists on two servers. Ryan gave the advice to replace the usr/bin/HEAD with the original /user/bin/head. I finally got around to trying this. /usr/bin does not contain "HEAD", it contains only "head". This head is dated August 22, 2005 like all the other versions of head on all my other Macs that have Tiger installed. Running a binary comparison to head from a Mac that never had LWP installed shows them to be identical files. I now get the "Unable to detect PHP version" error on two G4 servers that have Tiger installed. What else could be causing the error? John Korchok -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Thu Feb 4 15:34:44 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 4 Feb 2010 17:34:44 -0600 Subject: #23312: Unable to detect PHP version In-Reply-To: References: <455c82e71001051202l606fbf93q73b2a245774f91a1@mail.gmail.com><455c82e71001060735h635a5381rcbc1948790f6c4df@mail.gmail.com><455c82e71001060840p4e68bfe0g4da66851676cce43@mail.gmail.com><51C0AA76-E64F-4ED0-8A70-4F63F093DD31@macports.org><455c82e71001060938p6d41984bo6b1303d6cf89f580@mail.gmail.com><2F6CA757-9D1C-485B-A227-0CA32A4098A1@macports.org><455c82e71001061829l7fc76d17kf262ba26bb488f46@mail.gmail.com><62188A5E-A6FA-47DF-ACE7-30D91833BCEE@macports.org><455c82e71001062010k4b4966bahceea71f2cee3383f@mail.gmail.com><455c82e71001062017q4cbb8574n6cca3b1f314fe6fd@mail.gmail.com><1CA36FB6-190F-4687-8236-F6621CB70DE0@macports.org><2FBF79D4-CFCB-46D2-A970-62AF9A1B7ECE@pixilla.com><4871BAB8-30DA-4093-87FF-F591E1BEAE8F@macports.org> <0A94B9BD-A491-43C3-A055-61D9A2C47B3B@pixilla.com> Message-ID: <2A66548B-C8A4-410F-9173-D9D66DD36761@macports.org> On Feb 4, 2010, at 15:40, John Korchok wrote: > I originally wrote about not being able to upgrade php5-oracle on one server. Now the problem exists on two servers. Ryan gave the advice to replace the usr/bin/HEAD with the original /user/bin/head. I finally got around to trying this. /usr/bin does not contain "HEAD", it contains only "head". This head is dated August 22, 2005 like all the other versions of head on all my other Macs that have Tiger installed. Running a binary comparison to head from a Mac that never had LWP installed shows them to be identical files. > > I now get the "Unable to detect PHP version" error on two G4 servers that have Tiger installed. What else could be causing the error? I replied to this yesterday: http://lists.macosforge.org/pipermail/macports-dev/2010-February/011217.html From poirier at pobox.com Thu Feb 4 15:28:07 2010 From: poirier at pobox.com (Dan Poirier) Date: Thu, 04 Feb 2010 18:28:07 -0500 Subject: Apache2 Won't Start on Startup References: Message-ID: On Thu, Feb 4, 2010, at 03:57:52 PM, Rob Wilkerson wrote: > I'm trying to share a httpd.conf file across two Macs via Dropbox > (with symlinks in each Mac's /opt/local/apache2/conf/ directory). > Similarly, I store virtual host conf files individually and include > them in my main httpd.conf: > > Include "${HOME}/Dropbox/Application Support/apache/conf.d.osx/*.conf" > Include "${HOME}/Library/Application Support/MacPorts/apache/conf.d/*.conf" > > Unfortunately, my username on each Mac is different (one is a work > machine that I can't change) which is why I'm using the ${HOME} > environment variable to tell Apache where to find the conf files. As > far as I can tell, that's the root of this problem. Even though the > LaunchDaemon is loaded, Apache won't start when I boot up. The system > log reports that: > > Feb 4 07:05:01 robwilkerson org.macports.apache2[55]: httpd: Syntax > error on line 512 of /opt/local/apache2/conf/httpd.conf: Include > directory '/opt/local/apache2/${HOME}/Dropbox/Application > Support/apache/conf.d.osx' not found Assuming /opt/local is local to each system, you could set HOME (or some other variable name) differently in /opt/local/apache2/bin/envvars on each system. That will set it in apache when starting. Dan From ryandesign at macports.org Thu Feb 4 17:08:12 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 4 Feb 2010 19:08:12 -0600 Subject: Apache2 Won't Start on Startup In-Reply-To: References: Message-ID: On Feb 4, 2010, at 17:28, Dan Poirier wrote: > On Thu, Feb 4, 2010, at 03:57:52 PM, Rob Wilkerson wrote: > >> I'm trying to share a httpd.conf file across two Macs via Dropbox >> (with symlinks in each Mac's /opt/local/apache2/conf/ directory). >> Similarly, I store virtual host conf files individually and include >> them in my main httpd.conf: >> >> Include "${HOME}/Dropbox/Application Support/apache/conf.d.osx/*.conf" >> Include "${HOME}/Library/Application Support/MacPorts/apache/conf.d/*.conf" >> >> Unfortunately, my username on each Mac is different (one is a work >> machine that I can't change) which is why I'm using the ${HOME} >> environment variable to tell Apache where to find the conf files. As >> far as I can tell, that's the root of this problem. Even though the >> LaunchDaemon is loaded, Apache won't start when I boot up. The system >> log reports that: >> >> Feb 4 07:05:01 robwilkerson org.macports.apache2[55]: httpd: Syntax >> error on line 512 of /opt/local/apache2/conf/httpd.conf: Include >> directory '/opt/local/apache2/${HOME}/Dropbox/Application >> Support/apache/conf.d.osx' not found > > Assuming /opt/local is local to each system, you could set HOME (or some > other variable name) differently in /opt/local/apache2/bin/envvars on > each system. That will set it in apache when starting. I tried something similar, but I could not find a way to then use that $HOME variable (or any variable) in the Include statement. I don't think the Apache configuration file syntax supports variable expansion. From poirier at pobox.com Thu Feb 4 18:01:27 2010 From: poirier at pobox.com (Dan Poirier) Date: Thu, 04 Feb 2010 21:01:27 -0500 Subject: Apache2 Won't Start on Startup In-Reply-To: (Ryan Schmidt's message of "Thu, 4 Feb 2010 19:08:12 -0600") References: Message-ID: On Thu, Feb 4, 2010, at 08:08:12 PM, Ryan Schmidt wrote: > I tried something similar, but I could not find a way to then use that > $HOME variable (or any variable) in the Include statement. I don't > think the Apache configuration file syntax supports variable > expansion. It's supposed to work, though it only got documented recently: . Apache 2.2.14, right? ${ENVVAR} is the syntax. Let me try it... yes, if I put this in my httpd.conf: ServerAdmin ${USER}@example.com I get my username in error documents. It seems to work for ${PATH} too. Dan From ryandesign at macports.org Thu Feb 4 18:07:14 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 4 Feb 2010 20:07:14 -0600 Subject: Apache2 Won't Start on Startup In-Reply-To: References: Message-ID: <625BC8CB-5C35-4FBD-AC8F-5D1D074E6FDA@macports.org> On Feb 4, 2010, at 20:01, Dan Poirier wrote: > On Thu, Feb 4, 2010, at 08:08:12 PM, Ryan Schmidt wrote: > >> I tried something similar, but I could not find a way to then use that >> $HOME variable (or any variable) in the Include statement. I don't >> think the Apache configuration file syntax supports variable >> expansion. > > It's supposed to work, though it only got documented recently: > . Apache 2.2.14, > right? > > ${ENVVAR} is the syntax. Let me try it... yes, if I put this in my > httpd.conf: > > ServerAdmin ${USER}@example.com > > I get my username in error documents. It seems to work for ${PATH} too. Ok, I see that, but I cannot get it to work for environment variables I have set myself with SetEnv MYVAR myvalue From poirier at pobox.com Thu Feb 4 18:30:02 2010 From: poirier at pobox.com (Dan Poirier) Date: Thu, 04 Feb 2010 21:30:02 -0500 Subject: Apache2 Won't Start on Startup References: <625BC8CB-5C35-4FBD-AC8F-5D1D074E6FDA@macports.org> Message-ID: On Thu, Feb 4, 2010, at 09:07:14 PM, Ryan Schmidt wrote: > On Feb 4, 2010, at 20:01, Dan Poirier wrote: > >> ${ENVVAR} is the syntax. Let me try it... yes, if I put this in my >> httpd.conf: >> >> ServerAdmin ${USER}@example.com >> >> I get my username in error documents. It seems to work for ${PATH} too. > > Ok, I see that, but I cannot get it to work for environment variables I have set myself with > > SetEnv MYVAR myvalue Oh, good point. That documentation probably needs to be improved. SetEnv in the httpd.conf file doesn't define the environment variable soon enough for the configuration file parsing to be able to use it. For ${ENV} in the config file, the environment variable needs to be set before Apache is started. One easy way is to edit /opt/local/apache2/bin/envvars, which gets read by the apachectl script before spawning the server. Dan From brad at pixilla.com Thu Feb 4 21:27:49 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Thu, 4 Feb 2010 21:27:49 -0800 Subject: #23312: Unable to detect PHP version In-Reply-To: <2A66548B-C8A4-410F-9173-D9D66DD36761@macports.org> References: <455c82e71001051202l606fbf93q73b2a245774f91a1@mail.gmail.com><455c82e71001060735h635a5381rcbc1948790f6c4df@mail.gmail.com><455c82e71001060840p4e68bfe0g4da66851676cce43@mail.gmail.com><51C0AA76-E64F-4ED0-8A70-4F63F093DD31@macports.org><455c82e71001060938p6d41984bo6b1303d6cf89f580@mail.gmail.com><2F6CA757-9D1C-485B-A227-0CA32A4098A1@macports.org><455c82e71001061829l7fc76d17kf262ba26bb488f46@mail.gmail.com><62188A5E-A6FA-47DF-ACE7-30D91833BCEE@macports.org><455c82e71001062010k4b4966bahceea71f2cee3383f@mail.gmail.com><455c82e71001062017q4cbb8574n6cca3b1f314fe6fd@mail.gmail.com><1CA36FB6-190F-4687-8236-F6621CB70DE0@macports.org><2FBF79D4-CFCB-46D2-A970-62AF9A1B7ECE@pixilla.com><4871BAB8-30DA-4093-87FF-F591E1BEAE8F@macports.org> <0A94B9BD-A491-43C3-A055-61D9A2C47B3B@pixilla.com> <2A66548B-C8A4-410F-9173-D9D66DD36761@macports.org> Message-ID: On Feb 4, 2010, at 3:34 PM, Ryan Schmidt wrote: > > On Feb 4, 2010, at 15:40, John Korchok wrote: > >> I originally wrote about not being able to upgrade php5-oracle on >> one server. Now the problem exists on two servers. Ryan gave the >> advice to replace the usr/bin/HEAD with the original /user/bin/ >> head. I finally got around to trying this. /usr/bin does not >> contain "HEAD", it contains only "head". This head is dated August >> 22, 2005 like all the other versions of head on all my other Macs >> that have Tiger installed. Running a binary comparison to head from >> a Mac that never had LWP installed shows them to be identical files. >> >> I now get the "Unable to detect PHP version" error on two G4 >> servers that have Tiger installed. What else could be causing the >> error? > > I replied to this yesterday: > > http://lists.macosforge.org/pipermail/macports-dev/2010-February/011217.html That's the message I was trying to find. I knew I'd seen Ryan answer this but I must have deleted my copy. I have just installed both oracle-instantclient and php5-oracle without issue other then having to download manually which the port for oracle-instantclient explains. Mine was an install and not an upgrade. Mac OS X 10.5.8 Intel Core 2 // Brad From rob at robwilkerson.org Fri Feb 5 02:36:58 2010 From: rob at robwilkerson.org (Rob Wilkerson) Date: Fri, 5 Feb 2010 05:36:58 -0500 Subject: Apache2 Won't Start on Startup In-Reply-To: References: Message-ID: On Thu, Feb 4, 2010 at 4:23 PM, Ryan Schmidt wrote: > Apache doesn't know which user's home directory you'd like it to use. Apache starts as root, then switches to the _www user; it has no idea what user you're currently logged in and using the computer as. I'm not sure of a way that it could automatically determine that either, and I also don't know of a way to use variables in the path of an Apache Include statement. That makes sense. It seems to be fine when I manually start Apache using 'sudo apachectl start', so I guessed that it was something specific to the boot process. > You may have to settle for this: > > Include "/Users/*/Dropbox/Application Support/apache/conf.d.osx/*.conf" > Include "/Users/*/Library/Application Support/MacPorts/apache/conf.d/*.conf" > > This would include conf files in *every* user's home directory in that location. But if you're the only person using these computers (the only user account on these computers, or the only user which has conf files in that location) then it shouldn't be a problem. Unfortunately, that doesn't seem to work: httpd: Syntax error on line 512 of /opt/local/apache2/conf/httpd.conf: Wildcard patterns not allowed in Include /Users/*/Dropbox/Application Support/apache/conf.d.osx/*.conf Thanks again for your help. -- Rob Wilkerson http://robwilkerson.org @robwilkerson From Daniel.Simon at itn.liu.se Fri Feb 5 02:39:40 2010 From: Daniel.Simon at itn.liu.se (Daniel Simon) Date: Fri, 5 Feb 2010 11:39:40 +0100 Subject: No sound/audio in KDE4 In-Reply-To: <039DF7D9-05D0-4213-B8CB-2B30C9351C88@itn.liu.se> References: <039DF7D9-05D0-4213-B8CB-2B30C9351C88@itn.liu.se> Message-ID: Anyone?! Has anyone gotten a KDE4 app installed that can produce sound? Amarok? How did you do it? I tried installing kdemultimedia4. Installed properly (without kmix), but no change in sound. Tried installing phonon directly. Installed properly, no change in sound. Thanks, /Daniel Simon On 2 Feb 2010, at 8.21, Daniel Simon wrote: I've installed kdegames4 and kdeedu4 successfully (the programs all run fine) but there's no sound/audio. In particular, trying klettres from kdeedu4 produces no sound. On the other hand, if I go into to the qtdemo application and load the phonon test app, I do hear the test sound. So, QT can produce sound, but KDE can't. I've looked in the logs in Console.app, but don't see anything when I try to call a sound from a KDE app. I installed kdegames4 and kdeedu4 roughly following this protocol: http://lists.macosforge.org/pipermail/macports-users/2010-January/018527.html Anyone have any suggestions? System info: iBook G3 500 MHz and PowerBook G4 700 MHz (compiled on PB, tested on both, same result) OS X 10.4.11 (latest) XCode 2.5 MacPorts-1.8.2-10.4-Tiger (after selfupdate) Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard.delaurell at gmail.com Fri Feb 5 04:47:07 2010 From: richard.delaurell at gmail.com (Richard DeLaurell) Date: Fri, 5 Feb 2010 06:47:07 -0600 Subject: No sound/audio in KDE4 In-Reply-To: References: <039DF7D9-05D0-4213-B8CB-2B30C9351C88@itn.liu.se> Message-ID: <4324dbec1002050447w178d62d4j60d4eaf3f54806f2@mail.gmail.com> I haven't been able to get the sound to work either. All of the kdegames are silent. If you do a "port search kde" you will see that all of the pertinent ports for kde 3.5 say, "No KDE sound support" in the description, so sound was obviously problematic with that version. On the other hand, the kde 4 port descriptions do not say that. Perhaps someone with more knowledge than me could tell us whether sound is * supposed* to work in kde4 or not? Richard MacPorts 1.8.2 Darwin 9.8.0 OS X 10.5.8 Xcode 3.1.2 On Fri, Feb 5, 2010 at 4:39 AM, Daniel Simon wrote: > Anyone?! > > Has anyone gotten a KDE4 app installed that can produce sound? Amarok? > How did you do it? > > I tried installing kdemultimedia4. Installed properly (without kmix), but > no change in sound. > > Tried installing phonon directly. Installed properly, no change in sound. > > > Thanks, > > /Daniel Simon > > > > > > On 2 Feb 2010, at 8.21, Daniel Simon wrote: > > I've installed kdegames4 and kdeedu4 successfully (the programs all run > fine) but there's no sound/audio. > > In particular, trying klettres from kdeedu4 produces no sound. On the > other hand, if I go into to the qtdemo application and load the phonon test > app, I do hear the test sound. So, QT can produce sound, but KDE can't. > I've looked in the logs in Console.app, but don't see anything when I try > to call a sound from a KDE app. > > I installed kdegames4 and kdeedu4 roughly following this protocol: > http://lists.macosforge.org/pipermail/macports-users/2010-January/018527.html > > Anyone have any suggestions? > > System info: > iBook G3 500 MHz and PowerBook G4 700 MHz (compiled on PB, tested on both, > same result) > OS X 10.4.11 (latest) > XCode 2.5 > MacPorts-1.8.2-10.4-Tiger (after selfupdate) > > Thanks! > > > > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From poirier at pobox.com Fri Feb 5 05:13:59 2010 From: poirier at pobox.com (Dan Poirier) Date: Fri, 05 Feb 2010 08:13:59 -0500 Subject: Apache2 Won't Start on Startup References: Message-ID: On Fri, Feb 5, 2010, at 05:36:58 AM, Rob Wilkerson wrote: > On Thu, Feb 4, 2010 at 4:23 PM, Ryan Schmidt wrote: >> You may have to settle for this: >> >> Include "/Users/*/Dropbox/Application Support/apache/conf.d.osx/*.conf" >> Include "/Users/*/Library/Application Support/MacPorts/apache/conf.d/*.conf" >> >> This would include conf files in *every* user's home directory in that location. But if you're the only person using these computers (the only user account on these computers, or the only user which has conf files in that location) then it shouldn't be a problem. > > Unfortunately, that doesn't seem to work: > > httpd: Syntax error on line 512 of /opt/local/apache2/conf/httpd.conf: > Wildcard patterns not allowed in Include /Users/*/Dropbox/Application > Support/apache/conf.d.osx/*.conf Wildcards are only supported in the final component of the path, not in the directory name. Which is not documented, and the error message is lousy; I'll try to fix that when I get a chance. Mac OS X and many Linux distributions take advantage of wildcards in Apache config files, so it definitely works. But might not be useful here. Dan From osna at jpberlin.de Fri Feb 5 08:45:17 2010 From: osna at jpberlin.de (Joachim Osnabryg) Date: Fri, 05 Feb 2010 17:45:17 +0100 Subject: automoc install failed on OSX 10.4 intel Message-ID: Still hoping to get the kile-devel port once working, after the failed port installation (see the thread "kile-devel port failed on Tiger" some day ago) ? ? I made a port install of cmake (given that there had been many Cmake Errors and a hint that Cmake might not be correctly installed or configured) with the following response: $ sudo port install cmake ---> Computing dependencies for cmake ---> Cleaning cmake ? ? $ Given that there were no errors or warnings I hoped to get also automoc (the other error problem in the failed port install of kile-devel before). But again there were errors - I attach the terminal output both of $ sudo port install automoc & $ sudo port install -d automoc which I am not able to find out what all is wrong and how to proceed. So I am asking for help again. What are the main information the terminal output is giving? How should I proceed to get an working installation of cmake & automoc? ? and/or of kile-devel at the end? Are there any informations that someone had already installed the kile-devel port on Tiger? joachim (with growing doubts, that Macports is a useful helper to install and configure the portfiles which are provided). -- Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3 LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: MPort-automoc-log&dlog.txt URL: From mark at dxradio.demon.co.uk Fri Feb 5 10:01:03 2010 From: mark at dxradio.demon.co.uk (Mark Hattam) Date: Fri, 5 Feb 2010 18:01:03 +0000 Subject: Dovecot 1.2.10 fails to start Message-ID: <8BF820D5-AC2E-4B40-8E68-ABEACC6D5CBF@dxradio.demon.co.uk> sudo port upgrade'd Dovecot to 1.2.10 from 1.1.16 upgrade appeared to go OK, but then found Dovecot 1.2.10 unable to start up Feb 5 17:39:42 iMac com.apple.launchd[1] (org.macports.dovecot[389]): Exited with exit code: 2 Feb 5 17:39:42 iMac org.macports.dovecot[401]: Error: Error in configuration file /opt/local/etc/dovecot/dovecot.conf line 87: Unknown setting: ssl_disable Feb 5 17:39:42 iMac org.macports.dovecot[401]: Fatal: Invalid configuration in /opt/local/etc/dovecot/dovecot.conf OK ... that's easy to change ... compare with dovecot-example.conf and notice the subtle change less dovecot-example.conf # SSL/TLS support: yes, no, required. #ssl = yes less dovecot.conf # Disable SSL/TLS support. ssl_disable = yes So comment out the ssl_disable line and add the ssl line (with no) HOWEVER, that just led to this error Feb 5 17:44:12 iMac com.apple.launchd[1] (org.macports.dovecot[448]): Exited with exit code: 2 Feb 5 17:44:12 iMac org.macports.dovecot[462]: Last died with error (see error log for more information): Socket already exists: /opt/local/var/run/dovecot/dict-server Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server But the error log just says the same thing Feb 5 17:44:12 iMac dovecot[464]: Dovecot v1.2.10 starting up (core dumps disabled) Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server Googling the error, suggests that this is a known problem with a patch in Oct 2008 But how to apply the patch? [Gone back to 1.1.16 so I can write this] Mark From ryandesign at macports.org Sat Feb 6 02:43:33 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 04:43:33 -0600 Subject: Dovecot 1.2.10 fails to start In-Reply-To: <8BF820D5-AC2E-4B40-8E68-ABEACC6D5CBF@dxradio.demon.co.uk> References: <8BF820D5-AC2E-4B40-8E68-ABEACC6D5CBF@dxradio.demon.co.uk> Message-ID: <13124264-1E9E-44BF-8FE9-22E0A94DE93B@macports.org> On Feb 5, 2010, at 12:01, Mark Hattam wrote: > sudo port upgrade'd Dovecot to 1.2.10 from 1.1.16 > > upgrade appeared to go OK, but then found Dovecot 1.2.10 unable to start up > > Feb 5 17:39:42 iMac com.apple.launchd[1] (org.macports.dovecot[389]): Exited with exit code: 2 > Feb 5 17:39:42 iMac org.macports.dovecot[401]: Error: Error in configuration file /opt/local/etc/dovecot/dovecot.conf line 87: Unknown setting: ssl_disable > Feb 5 17:39:42 iMac org.macports.dovecot[401]: Fatal: Invalid configuration in /opt/local/etc/dovecot/dovecot.conf > > OK ... that's easy to change ... compare with dovecot-example.conf and notice the subtle change > > less dovecot-example.conf > # SSL/TLS support: yes, no, required. > #ssl = yes > > less dovecot.conf > # Disable SSL/TLS support. > ssl_disable = yes > > So comment out the > ssl_disable line and add the ssl line (with no) > > > HOWEVER, that just led to this error > > Feb 5 17:44:12 iMac com.apple.launchd[1] (org.macports.dovecot[448]): Exited with exit code: 2 > Feb 5 17:44:12 iMac org.macports.dovecot[462]: Last died with error (see error log for more information): Socket already exists: /opt/local/var/run/dovecot/dict-server > Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server > > > But the error log just says the same thing > Feb 5 17:44:12 iMac dovecot[464]: Dovecot v1.2.10 starting up (core dumps disabled) > Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server > > > Googling the error, suggests that this is a known problem with a patch in Oct 2008 > > But how to apply the patch? > > [Gone back to 1.1.16 so I can write this] I'm sorry you're having difficulties. Unfortunately I don't know anything about dovecot; I just committed the update that was attached to a ticket. If there is a patch we should be applying, can you refer me to the appropriate URL? Have you already contacted the developers of dovecot for assistance? They should know better than I how to get their software working. Off the top of my head, to the error "Socket already exists" -- does it? If so, why? Is dovecot running? If so, stop it, make sure the socket doesn't exist anymore (delete it if it doesn't go away on its own), then start dovecot again. Does it now start cleanly? From ryandesign at macports.org Sat Feb 6 02:52:47 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 04:52:47 -0600 Subject: automoc install failed on OSX 10.4 intel In-Reply-To: References: Message-ID: On Feb 5, 2010, at 10:45, Joachim Osnabryg wrote: > Still hoping to get the kile-devel port once working, after the failed > port installation (see the thread "kile-devel port failed on Tiger" some > day ago) ? > > ? I made a port install of cmake (given that there had been many Cmake > Errors and a hint that Cmake might not be correctly installed or > configured) with the following response: > > $ sudo port install cmake > ---> Computing dependencies for cmake > ---> Cleaning cmake > ? ? $ > > Given that there were no errors or warnings I hoped to get also automoc > (the other error problem in the failed port install of kile-devel before). > > But again there were errors - I attach the terminal output both of > > $ sudo port install automoc > & > $ sudo port install -d automoc > > which I am not able to find out what all is wrong and how to proceed. > > So I am asking for help again. > > What are the main information the terminal output is giving? > > How should I proceed to get an working installation of cmake & automoc? > ? and/or of kile-devel at the end? > > Are there any informations that someone had already installed the > kile-devel port on Tiger? > > joachim > (with growing doubts, that Macports is a useful helper to install and > configure the portfiles which are provided). I'm sorry you're experiencing some difficulty. It looks like you're running into this issue; a workaround is suggested in the ticket: http://trac.macports.org/ticket/21708 From macports at russe.de Sat Feb 6 02:59:36 2010 From: macports at russe.de (Russe) Date: Sat, 6 Feb 2010 11:59:36 +0100 Subject: No application when installing gimp2 Message-ID: Hi, I'm new to macports and run into a problem when installing Gimp on my MacBook Pro 2.2 with OS X 10.5.8. First I installed macports itself and had no problems with. Because I don't like X11 I tried gimp2 with the variant no_x11 and quartz, therefore I used the command sudo port install gimp2 +no_x11 +quartz http://trac.macports.org/browser/trunk/dports/graphics/gimp2/Portfile 5 or 6 hours later the installation has been finished but there was no gimp application at my macports folder. Because I changed network connection during installation I removed all the stuff again with command sudo port -f uninstall installed Next installation ended as well without the application at the macports folder :( Do I need to install gimp as well or should be gimp2 enough? Is there any other installation needed to get Gimp running without X11? Regards, Russe From ryandesign at macports.org Sat Feb 6 03:14:34 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 05:14:34 -0600 Subject: No application when installing gimp2 In-Reply-To: References: Message-ID: On Feb 6, 2010, at 04:59, Russe wrote: > I'm new to macports and run into a problem when installing Gimp on my MacBook Pro 2.2 with OS X 10.5.8. > > First I installed macports itself and had no problems with. > Because I don't like X11 I tried gimp2 with the variant no_x11 and quartz, therefore I used the command > sudo port install gimp2 +no_x11 +quartz > http://trac.macports.org/browser/trunk/dports/graphics/gimp2/Portfile > > 5 or 6 hours later the installation has been finished but there was no gimp application at my macports folder. > Because I changed network connection during installation I removed all the stuff again with command > sudo port -f uninstall installed > Next installation ended as well without the application at the macports folder :( > > Do I need to install gimp as well or should be gimp2 enough? Is there any other installation needed to get Gimp running without X11? Welcome to MacPorts! To install the gimp application, install the port gimp-app in addition to the gimp2 port. To see what any port installs, use "port contents" (e.g. "port contents gimp2"). From jmr at macports.org Sat Feb 6 03:16:16 2010 From: jmr at macports.org (Joshua Root) Date: Sat, 06 Feb 2010 22:16:16 +1100 Subject: No application when installing gimp2 In-Reply-To: References: Message-ID: <4B6D4F80.7010907@macports.org> On 2010-2-6 21:59 , Russe wrote: > Hi, > > I'm new to macports and run into a problem when installing Gimp on my > MacBook Pro 2.2 with OS X 10.5.8. > > First I installed macports itself and had no problems with. > Because I don't like X11 I tried gimp2 with the variant no_x11 and > quartz, therefore I used the command > sudo port install gimp2 +no_x11 +quartz > http://trac.macports.org/browser/trunk/dports/graphics/gimp2/Portfile > > 5 or 6 hours later the installation has been finished but there was no > gimp application at my macports folder. > Because I changed network connection during installation I removed all > the stuff again with command > sudo port -f uninstall installed > Next installation ended as well without the application at the macports > folder :( > > Do I need to install gimp as well or should be gimp2 enough? Is there > any other installation needed to get Gimp running without X11? Having a native UI and being installed as an application bundle are two independent things. Did you try the executable that was installed? - Josh From ryandesign at macports.org Sat Feb 6 03:36:13 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 05:36:13 -0600 Subject: Apache2 Won't Start on Startup In-Reply-To: References: Message-ID: <3A38AF82-B9E6-4E92-8B24-B8245F149E7A@macports.org> On Feb 5, 2010, at 04:36, Rob Wilkerson wrote: > On Thu, Feb 4, 2010 at 4:23 PM, Ryan Schmidt wrote: >> Apache doesn't know which user's home directory you'd like it to use. Apache starts as root, then switches to the _www user; it has no idea what user you're currently logged in and using the computer as. I'm not sure of a way that it could automatically determine that either, and I also don't know of a way to use variables in the path of an Apache Include statement. > > That makes sense. It seems to be fine when I manually start Apache > using 'sudo apachectl start', so I guessed that it was something > specific to the boot process. Ahh... When you "sudo apachectl start", presumably it inherits some environment variables from your shell, including the HOME variable. But at startup time, your shell does not exist. >> You may have to settle for this: >> >> Include "/Users/*/Dropbox/Application Support/apache/conf.d.osx/*.conf" >> Include "/Users/*/Library/Application Support/MacPorts/apache/conf.d/*.conf" >> >> This would include conf files in *every* user's home directory in that location. But if you're the only person using these computers (the only user account on these computers, or the only user which has conf files in that location) then it shouldn't be a problem. > > Unfortunately, that doesn't seem to work: > > httpd: Syntax error on line 512 of /opt/local/apache2/conf/httpd.conf: > Wildcard patterns not allowed in Include /Users/*/Dropbox/Application > Support/apache/conf.d.osx/*.conf Hmm. Then I guess you'll have to go with the other suggestion of setting an environment variable in the envvars script. Be sure to keep a copy of this script and be aware that at present, any time you upgrade the apache2 port this file will be overwritten. I have already filed a bug report about that. From mark at dxradio.demon.co.uk Sat Feb 6 04:42:23 2010 From: mark at dxradio.demon.co.uk (Mark Hattam) Date: Sat, 6 Feb 2010 12:42:23 +0000 Subject: Dovecot 1.2.10 fails to start In-Reply-To: <13124264-1E9E-44BF-8FE9-22E0A94DE93B@macports.org> References: <8BF820D5-AC2E-4B40-8E68-ABEACC6D5CBF@dxradio.demon.co.uk> <13124264-1E9E-44BF-8FE9-22E0A94DE93B@macports.org> Message-ID: <64CBD918-EE24-4E0D-B003-437C11C779C1@dxradio.demon.co.uk> On 6 Feb 2010, at 10:43, Ryan Schmidt wrote: > > On Feb 5, 2010, at 12:01, Mark Hattam wrote: > >> sudo port upgrade'd Dovecot to 1.2.10 from 1.1.16 >> >> upgrade appeared to go OK, but then found Dovecot 1.2.10 unable to start up >> >> Feb 5 17:39:42 iMac com.apple.launchd[1] (org.macports.dovecot[389]): Exited with exit code: 2 >> Feb 5 17:39:42 iMac org.macports.dovecot[401]: Error: Error in configuration file /opt/local/etc/dovecot/dovecot.conf line 87: Unknown setting: ssl_disable >> Feb 5 17:39:42 iMac org.macports.dovecot[401]: Fatal: Invalid configuration in /opt/local/etc/dovecot/dovecot.conf >> >> OK ... that's easy to change ... compare with dovecot-example.conf and notice the subtle change >> >> less dovecot-example.conf >> # SSL/TLS support: yes, no, required. >> #ssl = yes >> >> less dovecot.conf >> # Disable SSL/TLS support. >> ssl_disable = yes >> >> So comment out the >> ssl_disable line and add the ssl line (with no) >> >> >> HOWEVER, that just led to this error >> >> Feb 5 17:44:12 iMac com.apple.launchd[1] (org.macports.dovecot[448]): Exited with exit code: 2 >> Feb 5 17:44:12 iMac org.macports.dovecot[462]: Last died with error (see error log for more information): Socket already exists: /opt/local/var/run/dovecot/dict-server >> Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server >> >> >> But the error log just says the same thing >> Feb 5 17:44:12 iMac dovecot[464]: Dovecot v1.2.10 starting up (core dumps disabled) >> Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server >> >> >> Googling the error, suggests that this is a known problem with a patch in Oct 2008 >> >> But how to apply the patch? >> >> [Gone back to 1.1.16 so I can write this] > > I'm sorry you're having difficulties. Unfortunately I don't know anything about dovecot; I just committed the update that was attached to a ticket. If there is a patch we should be applying, can you refer me to the appropriate URL? Have you already contacted the developers of dovecot for assistance? They should know better than I how to get their software working. > > Off the top of my head, to the error "Socket already exists" -- does it? If so, why? Is dovecot running? If so, stop it, make sure the socket doesn't exist anymore (delete it if it doesn't go away on its own), then start dovecot again. Does it now start cleanly? Ah OK ... it doesn't go away on its own. It's been there a long time through lots of reboots. iMac:dovecot mark$ ls -la /opt/local/var/run/dovecot/ total 8 drwxr-xr-x 6 root admin 204 5 Feb 17:51 . drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. srw------- 1 root wheel 0 5 Feb 17:51 auth-worker.552 -rwxrwxrwx 1 root admin 0 30 Aug 23:43 dict-server drwxr-x--- 3 root dovecot 102 5 Feb 17:51 login -rw------- 1 root admin 4 5 Feb 17:51 master.pid iMac:dovecot mark$ sudo rm dict-server iMac:dovecot mark$ sudo port deactivate dovecot at 1.1.16_0+darwin_10 ---> Deactivating dovecot @1.1.16_0+darwin_10 to ensure nothing is running that oughtn't be iMac:~ mark$ sudo port activate dovecot at 1.2.10_0 ---> Activating dovecot @1.2.10_0 make the above changes to dovecot.conf iMac:~ mark$ sudo vi /opt/local/etc/dovecot/dovecot.conf run the new version again iMac:~ mark$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.dovecot.plist Now I see iMac:dovecot mark$ ls -la /opt/local/var/run/dovecot/ total 16 drwxr-xr-x 7 root admin 238 6 Feb 12:32 . drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. srw------- 1 root wheel 0 6 Feb 12:32 auth-worker.64 srwxrwxrwx 1 root admin 0 6 Feb 12:32 dict-server ls: /opt/local/var/run/dovecot//dovecot.conf: Permission denied lrwx------ 1 root admin 35 6 Feb 12:32 dovecot.conf drwxr-x--- 3 root dovecot 102 6 Feb 12:32 login -rw------- 1 root admin 3 6 Feb 12:32 master.pid repeated with sudo iMac:dovecot mark$ sudo ls -la /opt/local/var/run/dovecot/ Password: total 16 drwxr-xr-x 7 root admin 238 6 Feb 12:32 . drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. srw------- 1 root wheel 0 6 Feb 12:32 auth-worker.64 srwxrwxrwx 1 root admin 0 6 Feb 12:32 dict-server lrwx------ 1 root admin 35 6 Feb 12:32 dovecot.conf -> /opt/local/etc/dovecot/dovecot.conf drwxr-x--- 3 root dovecot 102 6 Feb 12:32 login -rw------- 1 root admin 3 6 Feb 12:32 master.pid So dovecot 1.2.10 is now running without chucking errors into system.log or mail.log which appears to be good. Mark From jasperfrumau at gmail.com Sat Feb 6 05:10:42 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sat, 6 Feb 2010 16:10:42 +0300 Subject: Apache2 php error logging Message-ID: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> I adjusted my php.ini in opt/local/etc/php5/php.ini to log php errors to /var/log/php-scripts.log : $php -i | grep error_log error_log => /var/log/php-scripts.log => /var/log/php-scripts.log PHP Warning: Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSK/3.0/no DST' instead in Unknown on line 0 $ php -i | grep log_errors log_errors => On => On log_errors_max_len => 1024 => 1024 And in php.ini I have error_reporting = E_ALL & ~E_STRICT $ pwd /var/log $ ls -l | grep php -rw-r--r-- 1 root wheel 0 Nov 1 12:35 php-scripts.log In a folder where I try to run a copy of Joomla! I keep on getting white screens on the index.php so I assume I get PHP errors. Apache is running and so is MYSQL (other Wordpress site is running locally)... The php-scripts.log is not populated with errors at all though. Is it ht e php-scripts/.log file permissions perhaps? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasperfrumau at gmail.com Sat Feb 6 05:29:32 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sat, 6 Feb 2010 16:29:32 +0300 Subject: Apache2 php error logging In-Reply-To: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> References: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> Message-ID: <56cc1b0a1002060529u3ede28cid3e84d032564aa84@mail.gmail.com> Well $ sudo chown root:admin php-scripts.log did not help either to get the logging going. It must be something else. But what? On Sat, Feb 6, 2010 at 4:10 PM, Jasper Frumau wrote: > I adjusted my php.ini in opt/local/etc/php5/php.ini to log php errors to > /var/log/php-scripts.log : > > $php -i | grep error_log > error_log => /var/log/php-scripts.log => /var/log/php-scripts.log > PHP Warning: Unknown: It is not safe to rely on the system's timezone > settings. You are *required* to use the date.timezone setting or the > date_default_timezone_set() function. In case you used any of those methods > and you are still getting this warning, you most likely misspelled the > timezone identifier. We selected 'Europe/Moscow' for 'MSK/3.0/no DST' > instead in Unknown on line 0 > > $ php -i | grep log_errors > log_errors => On => On > log_errors_max_len => 1024 => 1024 > > And in php.ini I have error_reporting = E_ALL & ~E_STRICT > > $ pwd > /var/log > $ ls -l | grep php > -rw-r--r-- 1 root wheel 0 Nov 1 12:35 php-scripts.log > > > In a folder where I try to run a copy of Joomla! I keep on getting white > screens on the index.php so I assume I get PHP errors. Apache is running and > so is MYSQL (other Wordpress site is running locally)... The php-scripts.log > is not populated with errors at all though. Is it ht e php-scripts/.log file > permissions perhaps? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasperfrumau at gmail.com Sat Feb 6 06:09:27 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sat, 6 Feb 2010 17:09:27 +0300 Subject: Apache2 php error logging In-Reply-To: <56cc1b0a1002060529u3ede28cid3e84d032564aa84@mail.gmail.com> References: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> <56cc1b0a1002060529u3ede28cid3e84d032564aa84@mail.gmail.com> Message-ID: <56cc1b0a1002060609n71ecbc71ua97deac40fa6e4e2@mail.gmail.com> When I chmod 777 the file it started logging. I guess Apache is in a different group.... Well all is well now and save as al is taking place locally. On Sat, Feb 6, 2010 at 4:29 PM, Jasper Frumau wrote: > Well > > $ sudo chown root:admin php-scripts.log > > did not help either to get the logging going. It must be something else. > But what? > > > > On Sat, Feb 6, 2010 at 4:10 PM, Jasper Frumau wrote: > >> I adjusted my php.ini in opt/local/etc/php5/php.ini to log php errors to >> /var/log/php-scripts.log : >> >> $php -i | grep error_log >> error_log => /var/log/php-scripts.log => /var/log/php-scripts.log >> PHP Warning: Unknown: It is not safe to rely on the system's timezone >> settings. You are *required* to use the date.timezone setting or the >> date_default_timezone_set() function. In case you used any of those methods >> and you are still getting this warning, you most likely misspelled the >> timezone identifier. We selected 'Europe/Moscow' for 'MSK/3.0/no DST' >> instead in Unknown on line 0 >> >> $ php -i | grep log_errors >> log_errors => On => On >> log_errors_max_len => 1024 => 1024 >> >> And in php.ini I have error_reporting = E_ALL & ~E_STRICT >> >> $ pwd >> /var/log >> $ ls -l | grep php >> -rw-r--r-- 1 root wheel 0 Nov 1 12:35 php-scripts.log >> >> >> In a folder where I try to run a copy of Joomla! I keep on getting white >> screens on the index.php so I assume I get PHP errors. Apache is running and >> so is MYSQL (other Wordpress site is running locally)... The php-scripts.log >> is not populated with errors at all though. Is it ht e php-scripts/.log file >> permissions perhaps? >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From osna at jpberlin.de Sat Feb 6 07:06:58 2010 From: osna at jpberlin.de (Joachim Osnabryg) Date: Sat, 06 Feb 2010 16:06:58 +0100 Subject: automoc install failed on OSX 10.4 intel In-Reply-To: References: Message-ID: Am 06.02.2010, 11:52 Uhr, schrieb Ryan Schmidt: > It looks like you're running into this issue; a workaround is suggested > in the ticket: > http://trac.macports.org/ticket/21708 Thank you Ryan for being helpful! I hope that you or other can give me further help! Following your hint, I read: "? Worked around it by creating a symlink to gcc-4.2 named gcc-apple-4.2 ?" So in /opt/local/bin I did: $ sudo ln -s gcc-4.2 gcc-apple-4.2 And repeated: $ sudo port install automoc => with other errors, beginning with: ---> Building automoc Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/work/build" && /usr/bin/make -j1 all " returned error 2 Command output: /opt/local/bin/cmake =>ending with: collect2: ld returned 1 exit status make[2]: *** [automoc4] Error 1 make[1]: *** [CMakeFiles/automoc4.dir/all] Error 2 make: *** [all] Error 2 Error: Status 1 encountered during processing. I attach the Terminal output of both install and -d install automoc. Unfortunately I'm not able to reason the next steps out of the terminal logs. Thankfully waiting for more help, joachim P. S. My following $ sudo port -d install automoc ended with: collect2: ld returned 1 exit status make[2]: *** [automoc4] Error 1 make[1]: *** [CMakeFiles/automoc4.dir/all] Error 2 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/work/build" && /usr/bin/make -j1 all " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_automoc/work/build" && /usr/bin/make -j1 all " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for automoc): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. -- Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3 LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: MPort-automoc-log&dlog2.txt URL: From macports at russe.de Sat Feb 6 09:37:38 2010 From: macports at russe.de (Russe) Date: Sat, 6 Feb 2010 18:37:38 +0100 Subject: No application when installing gimp2 In-Reply-To: References: Message-ID: <05C4B6C5-F0B2-4F5F-8302-D85862313AD6@russe.de> Thanks for your hint about the gimp-app port. I installed this port and now there's the gimp application in the macports folder. Unfortunately when starting gimp (double click on the application) will crash after some seconds. The menu and the tools are visible for some seconds and then gimp crashes. As well I noticed another window starting with gimp which has the name "gimp-2.6" in the dock, this window will abort as well. Do you have any idea what's wrong here? Am 06.02.2010 um 12:14 schrieb Ryan Schmidt: > > On Feb 6, 2010, at 04:59, Russe wrote: > >> I'm new to macports and run into a problem when installing Gimp on >> my MacBook Pro 2.2 with OS X 10.5.8. >> >> First I installed macports itself and had no problems with. >> Because I don't like X11 I tried gimp2 with the variant no_x11 and >> quartz, therefore I used the command >> sudo port install gimp2 +no_x11 +quartz >> http://trac.macports.org/browser/trunk/dports/graphics/gimp2/Portfile >> >> 5 or 6 hours later the installation has been finished but there was >> no gimp application at my macports folder. >> Because I changed network connection during installation I removed >> all the stuff again with command >> sudo port -f uninstall installed >> Next installation ended as well without the application at the >> macports folder :( >> >> Do I need to install gimp as well or should be gimp2 enough? Is >> there any other installation needed to get Gimp running without X11? > > > Welcome to MacPorts! > > To install the gimp application, install the port gimp-app in > addition to the gimp2 port. > > To see what any port installs, use "port contents" (e.g. "port > contents gimp2"). > From macports at russe.de Sat Feb 6 09:40:08 2010 From: macports at russe.de (Russe) Date: Sat, 6 Feb 2010 18:40:08 +0100 Subject: No application when installing gimp2 In-Reply-To: <4B6D4F80.7010907@macports.org> References: <4B6D4F80.7010907@macports.org> Message-ID: <717813A9-2656-48B2-8472-7F7A962BEC39@russe.de> Hi Josh, where do I find this executable? Am 06.02.2010 um 12:16 schrieb Joshua Root: > On 2010-2-6 21:59 , Russe wrote: >> Hi, >> >> I'm new to macports and run into a problem when installing Gimp on my >> MacBook Pro 2.2 with OS X 10.5.8. >> >> First I installed macports itself and had no problems with. >> Because I don't like X11 I tried gimp2 with the variant no_x11 and >> quartz, therefore I used the command >> sudo port install gimp2 +no_x11 +quartz >> http://trac.macports.org/browser/trunk/dports/graphics/gimp2/Portfile >> >> 5 or 6 hours later the installation has been finished but there was >> no >> gimp application at my macports folder. >> Because I changed network connection during installation I removed >> all >> the stuff again with command >> sudo port -f uninstall installed >> Next installation ended as well without the application at the >> macports >> folder :( >> >> Do I need to install gimp as well or should be gimp2 enough? Is there >> any other installation needed to get Gimp running without X11? > > Having a native UI and being installed as an application bundle are > two > independent things. Did you try the executable that was installed? > > - Josh From jmr at macports.org Sat Feb 6 11:25:28 2010 From: jmr at macports.org (Joshua Root) Date: Sun, 07 Feb 2010 06:25:28 +1100 Subject: No application when installing gimp2 In-Reply-To: <717813A9-2656-48B2-8472-7F7A962BEC39@russe.de> References: <4B6D4F80.7010907@macports.org> <717813A9-2656-48B2-8472-7F7A962BEC39@russe.de> Message-ID: <4B6DC228.7060907@macports.org> On 2010-2-7 04:40 , Russe wrote: > Hi Josh, > where do I find this executable? port contents - Josh From landonf at macports.org Sat Feb 6 11:30:57 2010 From: landonf at macports.org (Landon Fuller) Date: Sat, 6 Feb 2010 11:30:57 -0800 Subject: Getting gcc4.4 to work with XCode In-Reply-To: <255C9F92-399E-4E01-AE1D-BAFA5AAAD9BE@los-alamos.net> References: <1066CE4F-A572-456F-8521-ECFB78165C25@macports.org> <32CF98AD-525E-4336-B8D7-91FB57730F44@macports.org> <255C9F92-399E-4E01-AE1D-BAFA5AAAD9BE@los-alamos.net> Message-ID: <3BA76D48-3A65-44D0-B507-9BCC829F4D85@macports.org> On Jan 31, 2010, at 8:50 PM, William B. Clodius wrote: > I believe that the version of gcc that I have in /usr/local was from the High Performance Computing website a couple ;years ago, when, as often happens with me, I got distracted. The version in /alt/local has the appropriate date to be from the macport distribution, I suspect that it determined that /usr/local was not from macport and /alt/local was it's fallback in that case. > > As I understand the different comments it is probably inadvisable to override the XCode gcc with the macport gcc. It is probably possible to compile an older version of gfortran and its libraries so that they work with the XCode gcc, but as the newest versions of gfortran are intended to work with the comparable version of gcc it is probably not advisable to try a new gfortran version with the XCode gcc. So it looks like i should use more standard tools, makefiles and perhaps cmake. For the moment I don't need a bleeding edge gcc, so I am going to wait until gcc 4.5 has been officially released before I play with that. You can also install a custom Xcode plugin that will allow you to select an alternative compiler from within Xcode. I've attached the plugin that PLBlocks[1] installs in /Developer/Library/Xcode/Plug-ins. It should also be possible to install the plugin in ~/Library/Application Support/Apple/Developer Tools/Plug-ins. You can modify the "GCC 4.2 (Plausible Blocks).xcplugin/Contents/Resources/GCC 4.2.xcspec" file to reference your own compiler version; it may be possible to ship these custom compiler plugins with the MacPorts GCC versions so that they work out of the box with Xcode, but I'll leave that as an exercise for the GCC port maintainers. The compiler will show up like so: http://plblocks.googlecode.com/svn/wiki/images/plblocks-select-compiler.png -landonf -------------- next part -------------- A non-text attachment was scrubbed... Name: GCC 4.2 (Plausible Blocks).xcplugin.zip Type: application/zip Size: 1707 bytes Desc: not available URL: -------------- next part -------------- [1] http://code.google.com/p/plblocks/ From talklists at newgeo.com Sat Feb 6 11:50:09 2010 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 6 Feb 2010 11:50:09 -0800 Subject: Apache2 php error logging In-Reply-To: <56cc1b0a1002060609n71ecbc71ua97deac40fa6e4e2@mail.gmail.com> References: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> <56cc1b0a1002060529u3ede28cid3e84d032564aa84@mail.gmail.com> <56cc1b0a1002060609n71ecbc71ua97deac40fa6e4e2@mail.gmail.com> Message-ID: <950520FD-5E77-43FB-869E-15C2D7ACD8D2@newgeo.com> You could probably nuke the script and redstart Apache, it should recreate itself with the correct permission. At least, that's exactly how my error and access logs behave. When I roll them I essentilly move them, sleep apache, restart apache gracefully, and gzip them. I've never had a log not recrete on lack of existance. Then again, I've always sent php errors to the error log in Apache since the errors often time are related, or helpful to see http data errors alongside. And I do all that by hand because logroller has bnot Bern updated in years and the unbuilt Apache log piping mechanism causes Apache to crash. I filed a bug report but Apache seems to not take notice. -- Scott (Sent from a mobile device) On Feb 6, 2010, at 6:09 AM, Jasper Frumau wrote: > When I chmod 777 the file it started logging. I guess Apache is in a > different group.... Well all is well now and save as al is taking > place locally. > > On Sat, Feb 6, 2010 at 4:29 PM, Jasper Frumau > wrote: > Well > > $ sudo chown root:admin php-scripts.log > > did not help either to get the logging going. It must be something > else. But what? > > > > On Sat, Feb 6, 2010 at 4:10 PM, Jasper Frumau > wrote: > I adjusted my php.ini in opt/local/etc/php5/php.ini to log php > errors to /var/log/php-scripts.log : > > $php -i | grep error_log > error_log => /var/log/php-scripts.log => /var/log/php-scripts.log > PHP Warning: Unknown: It is not safe to rely on the system's > timezone settings. You are *required* to use the date.timezone > setting or the date_default_timezone_set() function. In case you > used any of those methods and you are still getting this warning, > you most likely misspelled the timezone identifier. We selected > 'Europe/Moscow' for 'MSK/3.0/no DST' instead in Unknown on line 0 > > $ php -i | grep log_errors > log_errors => On => On > log_errors_max_len => 1024 => 1024 > > And in php.ini I have error_reporting = E_ALL & ~E_STRICT > > $ pwd > /var/log > $ ls -l | grep php > -rw-r--r-- 1 root wheel 0 Nov 1 12:35 php-scripts.log > > > In a folder where I try to run a copy of Joomla! I keep on getting > white screens on the index.php so I assume I get PHP errors. Apache > is running and so is MYSQL (other Wordpress site is running > locally)... The php-scripts.log is not populated with errors at all > though. Is it ht e php-scripts/.log file permissions perhaps? > > > > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Sat Feb 6 11:50:25 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 13:50:25 -0600 Subject: No application when installing gimp2 In-Reply-To: <05C4B6C5-F0B2-4F5F-8302-D85862313AD6@russe.de> References: <05C4B6C5-F0B2-4F5F-8302-D85862313AD6@russe.de> Message-ID: <886357A9-01FC-4A91-B4A6-EBFEBD9C7B11@macports.org> On Feb 6, 2010, at 11:37, Russe wrote: > Thanks for your hint about the gimp-app port. I installed this port and now there's the gimp application in the macports folder. > > Unfortunately when starting gimp (double click on the application) will crash after some seconds. The menu and the tools are visible for some seconds and then gimp crashes. As well I noticed another window starting with gimp which has the name "gimp-2.6" in the dock, this window will abort as well. > > Do you have any idea what's wrong here? I'm afraid not. There are a number of bugs filed about gimp ports, which you can find in our issue tracker, but I'm not sure if yours is the same as any of them. From ryandesign at macports.org Sat Feb 6 11:54:12 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 13:54:12 -0600 Subject: Apache2 php error logging In-Reply-To: <950520FD-5E77-43FB-869E-15C2D7ACD8D2@newgeo.com> References: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> <56cc1b0a1002060529u3ede28cid3e84d032564aa84@mail.gmail.com> <56cc1b0a1002060609n71ecbc71ua97deac40fa6e4e2@mail.gmail.com> <950520FD-5E77-43FB-869E-15C2D7ACD8D2@newgeo.com> Message-ID: On Feb 6, 2010, at 13:50, Scott Haneda wrote: > On Feb 6, 2010, at 6:09 AM, Jasper Frumau wrote: > >> On Sat, Feb 6, 2010 at 4:29 PM, Jasper Frumau wrote: >> >>> $ sudo chown root:admin php-scripts.log >>> >>> did not help either to get the logging going. It must be something else. But what? >> >> When I chmod 777 the file it started logging. I guess Apache is in a different group.... Well all is well now and save as al is taking place locally. Yes, apache runs as _www; see the relevant line in httpd.conf. > You could probably nuke the script and redstart Apache, it should recreate itself with the correct permission. > > At least, that's exactly how my error and access logs behave. When I roll them I essentilly move them, sleep apache, restart apache gracefully, and gzip them. I've never had a log not recrete on lack of existance. Then again, I've always sent php errors to the error log in Apache since the errors often time are related, or helpful to see http data errors alongside. > > And I do all that by hand because logroller has bnot Bern updated in years and the unbuilt Apache log piping mechanism causes Apache to crash. I filed a bug report but Apache seems to not take notice. I used to like cronolog for this, but I had some trouble with it last time I tried. It was months ago and I don't remember the specifics, but there may have been crashing involved. From ryandesign at macports.org Sat Feb 6 11:59:41 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 13:59:41 -0600 Subject: Dovecot 1.2.10 fails to start In-Reply-To: <64CBD918-EE24-4E0D-B003-437C11C779C1@dxradio.demon.co.uk> References: <8BF820D5-AC2E-4B40-8E68-ABEACC6D5CBF@dxradio.demon.co.uk> <13124264-1E9E-44BF-8FE9-22E0A94DE93B@macports.org> <64CBD918-EE24-4E0D-B003-437C11C779C1@dxradio.demon.co.uk> Message-ID: <46A708C1-44DD-4D13-9238-14747BE7B410@macports.org> On Feb 6, 2010, at 06:42, Mark Hattam wrote: > Ah OK ... it doesn't go away on its own. It's been there a long time through lots of reboots. > > iMac:dovecot mark$ ls -la /opt/local/var/run/dovecot/ > total 8 > drwxr-xr-x 6 root admin 204 5 Feb 17:51 . > drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. > srw------- 1 root wheel 0 5 Feb 17:51 auth-worker.552 > -rwxrwxrwx 1 root admin 0 30 Aug 23:43 dict-server > drwxr-x--- 3 root dovecot 102 5 Feb 17:51 login > -rw------- 1 root admin 4 5 Feb 17:51 master.pid Note also that dict-server is shown as a regular file (line begins with "-"). > iMac:dovecot mark$ sudo rm dict-server > > iMac:dovecot mark$ sudo port deactivate dovecot at 1.1.16_0+darwin_10 > ---> Deactivating dovecot @1.1.16_0+darwin_10 > > to ensure nothing is running that oughtn't be > > iMac:~ mark$ sudo port activate dovecot at 1.2.10_0 > ---> Activating dovecot @1.2.10_0 > > make the above changes to dovecot.conf > iMac:~ mark$ sudo vi /opt/local/etc/dovecot/dovecot.conf > > run the new version again > iMac:~ mark$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.dovecot.plist Note that deactivating a port and rebooting would not have unloaded the plist for you. If the plist was loaded, you should unload it before deactivating the port. It might be a good idea for MacPorts base to do this automatically, but it doesn't at present. In any case, it appears you were able to get dovecot stopped and its old socket file deleted, so that's good. > Now I see > iMac:dovecot mark$ sudo ls -la /opt/local/var/run/dovecot/ > Password: > total 16 > drwxr-xr-x 7 root admin 238 6 Feb 12:32 . > drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. > srw------- 1 root wheel 0 6 Feb 12:32 auth-worker.64 > srwxrwxrwx 1 root admin 0 6 Feb 12:32 dict-server > lrwx------ 1 root admin 35 6 Feb 12:32 dovecot.conf -> /opt/local/etc/dovecot/dovecot.conf > drwxr-x--- 3 root dovecot 102 6 Feb 12:32 login > -rw------- 1 root admin 3 6 Feb 12:32 master.pid Note that now dict-server is marked as a socket link like it should be (line begins with "s"). > So dovecot 1.2.10 is now running without chucking errors into system.log or mail.log which appears to be good. Great! From ryandesign at macports.org Sat Feb 6 12:07:07 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 14:07:07 -0600 Subject: automoc install failed on OSX 10.4 intel In-Reply-To: References: Message-ID: On Feb 6, 2010, at 09:06, Joachim Osnabryg wrote: > Am 06.02.2010, 11:52 Uhr, schrieb Ryan Schmidt: >> It looks like you're running into this issue; a workaround is suggested in the ticket: >> http://trac.macports.org/ticket/21708 > > Thank you Ryan for being helpful! > I hope that you or other can give me further help! It looks like the relevant error in your log is: can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/libz.1.dylib This is a problem unique to Tiger that affected many ports. I think the proper fix had to do with making sure the library is named on the link line (e.g. making sure "-lzlib" is specified in LDFLAGS). But that would involve editing the Portfile or maybe the Makefile, and a simpler fix is to just go into /Developer/SDKs/MacOSX10.4u.sdk and make a symlink "opt" there pointing to /opt, like this: sudo ln -s /opt /Developer/SDKs/MacOSX10.4u.sdk/opt Once you're done building the port, it would be cleanest to remove these symlinks again, but keep this trick in mind as you may need it for other ports if you encounter a message beginning with "can't open dynamic library: /Developer/SDKs/MacOSX10.4u.sdk/opt/local" again. Or I suppose you could leave the symlink there. It probably won't hurt anything. From jasperfrumau at gmail.com Sat Feb 6 12:16:48 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sat, 6 Feb 2010 23:16:48 +0300 Subject: Apache2 php error logging In-Reply-To: <950520FD-5E77-43FB-869E-15C2D7ACD8D2@newgeo.com> References: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> <56cc1b0a1002060529u3ede28cid3e84d032564aa84@mail.gmail.com> <56cc1b0a1002060609n71ecbc71ua97deac40fa6e4e2@mail.gmail.com> <950520FD-5E77-43FB-869E-15C2D7ACD8D2@newgeo.com> Message-ID: <56cc1b0a1002061216t5eb6b327l3e5003125db1ae49@mail.gmail.com> On Sat, Feb 6, 2010 at 10:50 PM, Scott Haneda wrote: > You could probably nuke the script and redstart Apache, it should recreate > itself with the correct permission. > > At least, that's exactly how my error and access logs behave. When I roll > them I essentilly move them, sleep apache, restart apache gracefully, and > gzip them. I've never had a log not recrete on lack of existance. Then > again, I've always sent php errors to the error log in Apache since the > errors often time are related, or helpful to see http data errors alongside. > I guess I could do this as well. On some other shared hosts I work with they do the same. Do I just adjust the path in php.ini and write PHP errors to the same error.log as Apache writes its errors to? > And I do all that by hand because logroller has bnot Bern updated in years > and the unbuilt Apache log piping mechanism causes Apache to crash. I filed > a bug report but Apache seems to not take notice. > > -- > Scott > (Sent from a mobile device) > > On Feb 6, 2010, at 6:09 AM, Jasper Frumau wrote: > > When I chmod 777 the file it started logging. I guess Apache is in a > different group.... Well all is well now and save as al is taking place > locally. > > On Sat, Feb 6, 2010 at 4:29 PM, Jasper Frumau < > jasperfrumau at gmail.com> wrote: > >> Well >> >> $ sudo chown root:admin php-scripts.log >> >> did not help either to get the logging going. It must be something else. >> But what? >> >> >> >> On Sat, Feb 6, 2010 at 4:10 PM, Jasper Frumau < >> jasperfrumau at gmail.com> wrote: >> >>> I adjusted my php.ini in opt/local/etc/php5/php.ini to log php errors to >>> /var/log/php-scripts.log : >>> >>> $php -i | grep error_log >>> error_log => /var/log/php-scripts.log => /var/log/php-scripts.log >>> PHP Warning: Unknown: It is not safe to rely on the system's timezone >>> settings. You are *required* to use the date.timezone setting or the >>> date_default_timezone_set() function. In case you used any of those methods >>> and you are still getting this warning, you most likely misspelled the >>> timezone identifier. We selected 'Europe/Moscow' for 'MSK/3.0/no DST' >>> instead in Unknown on line 0 >>> >>> $ php -i | grep log_errors >>> log_errors => On => On >>> log_errors_max_len => 1024 => 1024 >>> >>> And in php.ini I have error_reporting = E_ALL & ~E_STRICT >>> >>> $ pwd >>> /var/log >>> $ ls -l | grep php >>> -rw-r--r-- 1 root wheel 0 Nov 1 12:35 php-scripts.log >>> >>> >>> In a folder where I try to run a copy of Joomla! I keep on getting white >>> screens on the index.php so I assume I get PHP errors. Apache is running and >>> so is MYSQL (other Wordpress site is running locally)... The php-scripts.log >>> is not populated with errors at all though. Is it ht e php-scripts/.log file >>> permissions perhaps? >>> >>> >>> >>> >> > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasperfrumau at gmail.com Sat Feb 6 12:17:56 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sat, 6 Feb 2010 23:17:56 +0300 Subject: Apache2 php error logging In-Reply-To: References: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> <56cc1b0a1002060529u3ede28cid3e84d032564aa84@mail.gmail.com> <56cc1b0a1002060609n71ecbc71ua97deac40fa6e4e2@mail.gmail.com> <950520FD-5E77-43FB-869E-15C2D7ACD8D2@newgeo.com> Message-ID: <56cc1b0a1002061217v4a9b6917jf4d51ee7f75cf0ab@mail.gmail.com> On Sat, Feb 6, 2010 at 10:54 PM, Ryan Schmidt wrote: > > On Feb 6, 2010, at 13:50, Scott Haneda wrote: > > > On Feb 6, 2010, at 6:09 AM, Jasper Frumau wrote: > > > >> On Sat, Feb 6, 2010 at 4:29 PM, Jasper Frumau wrote: > >> > >>> $ sudo chown root:admin php-scripts.log > >>> > >>> did not help either to get the logging going. It must be something > else. But what? > >> > >> When I chmod 777 the file it started logging. I guess Apache is in a > different group.... Well all is well now and save as al is taking place > locally. > > Yes, apache runs as _www; see the relevant line in httpd.conf. > Will look that up. Thought so. Thanks Ryan. > > > You could probably nuke the script and redstart Apache, it should > recreate itself with the correct permission. > > > > At least, that's exactly how my error and access logs behave. When I roll > them I essentilly move them, sleep apache, restart apache gracefully, and > gzip them. I've never had a log not recrete on lack of existance. Then > again, I've always sent php errors to the error log in Apache since the > errors often time are related, or helpful to see http data errors alongside. > > > > And I do all that by hand because logroller has bnot Bern updated in > years and the unbuilt Apache log piping mechanism causes Apache to crash. I > filed a bug report but Apache seems to not take notice. > > I used to like cronolog for this, but I had some trouble with it last time > I tried. It was months ago and I don't remember the specifics, but there may > have been crashing involved. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From talklists at newgeo.com Sat Feb 6 13:17:05 2010 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 6 Feb 2010 13:17:05 -0800 Subject: Apache2 php error logging In-Reply-To: References: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> <56cc1b0a1002060529u3ede28cid3e84d032564aa84@mail.gmail.com> <56cc1b0a1002060609n71ecbc71ua97deac40fa6e4e2@mail.gmail.com> <950520FD-5E77-43FB-869E-15C2D7ACD8D2@newgeo.com> Message-ID: On Feb 6, 2010, at 11:54 AM, Ryan Schmidt wrote: >> And I do all that by hand because logroller has bnot Bern updated >> in years and the unbuilt Apache log piping mechanism causes Apache >> to crash. I filed a bug report but Apache seems to not take notice. > > I used to like cronolog for this, but I had some trouble with it > last time I tried. It was months ago and I don't remember the > specifics, but there may have been crashing involved. Amidst all that terrible iPhone auto correct mess I banged out above, when I stated logroller I meant chronolog. Version 1.6.2 was released in 2002. That's either really well executed code, or I'm missing out on whatever has taken it's place as the mainstream log roller of today. There is a beta Apache module for cronolog, which is intriguing, though I'm betting that beta timeframe exceeds gmails :) .the last mailing list post is from around 2004. With your potential crash, my possibly related Apache initgroups issue, I simply do not feel comfortable deploying cronolog in production. There are also some very Apache specific "Known Bugs" which are of concern. Cronolog is extremely well regarded though. Perhaps I should just stick with the tried and true hand rolling method most seem to go with. I've never really liked sleeping Apache for an arbitrary 30 seconds to let it finish requests. I would bet I miss a few log lines here and there. Kind of a strange scenario, http logging by nature is huge, but for myself, I need to keep at least a years to provide more meaningful and acurate stats than something like Google Analytics. Analytics augments stats well, but it's not accurate by nature, and not all my users even know what a include statement is, let alone a footer file/function/ class statement. And there are of course the static HTML sites with thousads of files. A pre-compressed stream of log data sent to sqlite may be a project worth entertaining. Sqlite should be insignificantly larger than the log file itself, and once in a database, your flexibility goes way up with regard to what you can do to the data. Then again, risk of data corruption also goes way up with databases, wheras there is little risk to text file corruption, and even a little log file corruption yeilds relatively workable data. If anyone has any suggestions on other Apache log rolling methods, I'm very interested. I'm doing about a GB a day uncompressed per machine. Gzipped and the size is marginal, megabytes at most. There must be a way to have Apache do on the fly log comprssion? My log stats app can parse most compressed formats, it's the CPU load/ time and disk I/O while gziping a GB that is a killer. If I could do on the fly compression, I would only need log rolling per virtual host of about 1MB so users can debug by watching their personal logs. Thanks for the input, I appreciate it. -- Scott (Sent from a mobile device) From talklists at newgeo.com Sat Feb 6 13:36:09 2010 From: talklists at newgeo.com (Scott Haneda) Date: Sat, 6 Feb 2010 13:36:09 -0800 Subject: Apache2 php error logging Message-ID: <2E731ED8-D080-4447-9DC8-ED668F1CA1E2@newgeo.com> On Feb 6, 2010, at 12:16 PM, Jasper Frumau wrote: > On Sat, Feb 6, 2010 at 10:50 PM, Scott Haneda > wrote: > You could probably nuke the script and redstart Apache, it should > recreate itself with the correct permission. > > At least, that's exactly how my error and access logs behave. When I > roll them I essentilly move them, sleep apache, restart apache > gracefully, and gzip them. I've never had a log not recrete on lack > of existance. Then again, I've always sent php errors to the error > log in Apache since the errors often time are related, or helpful to > see http data errors alongside. > > I guess I could do this as well. On some other shared hosts I work > with they do the same. Do I just adjust the path in php.ini and > write PHP errors to the same error.log as Apache writes its errors to? You know, I'm not sure. I always just leave the php.ini at default in that setting and that is where it logs. Maybe load phpInfo(); and see if you can still see the default value. I believe your php logging levels, like E_* play a role here as to what gets logged to screen/browser/stdout as well. More good info here: http://www.php.net/manual/en/function.error-reporting.php And also related to some of your other questions. http://php.net/manual/en/errorfunc.configuration.php If you move aside you php.ini and put a copy of php.ini(development), then look at your phpIfo(); output, it will tell you. I suspect the log path is just commented ou in the ini default filet. You could skip the loading of the php.ini and if your cool with diff or grep, just compare the ini sample files MacPorts installed. php.ini for me, sends logging to Apache's error_log. It always has. When I get back to my computer and off my phone I will confirm. -- Scott (Sent from a mobile device) -------------- next part -------------- An HTML attachment was scrubbed... URL: From tim.visher at gmail.com Sat Feb 6 17:05:46 2010 From: tim.visher at gmail.com (Tim Visher) Date: Sat, 6 Feb 2010 20:05:46 -0500 Subject: Is it possible to install previous versions of software via MacPorts? Message-ID: Hello Everyone, I was interested a little while ago in installing a previous version of emacs and I couldn't figure out how to get MacPorts to do that. Is this something that MacPorts supports? -- In Christ, Timmy V. http://burningones.com/ http://five.sentenc.es/ - Spend less time on e-mail From jmr at macports.org Sat Feb 6 17:14:22 2010 From: jmr at macports.org (Joshua Root) Date: Sun, 07 Feb 2010 12:14:22 +1100 Subject: Is it possible to install previous versions of software via MacPorts? In-Reply-To: References: Message-ID: <4B6E13EE.4030507@macports.org> On 2010-2-7 12:05 , Tim Visher wrote: > Hello Everyone, > > I was interested a little while ago in installing a previous version > of emacs and I couldn't figure out how to get MacPorts to do that. Is > this something that MacPorts supports? - Josh From dports at ambulatoryclam.net Sat Feb 6 17:20:35 2010 From: dports at ambulatoryclam.net (Dan Ports) Date: Sat, 6 Feb 2010 17:20:35 -0800 Subject: Is it possible to install previous versions of software via MacPorts? In-Reply-To: References: Message-ID: <20100207012035.GE71433@ambulatoryclam.net> On Sat, Feb 06, 2010 at 08:05:46PM -0500, Tim Visher wrote: > I was interested a little while ago in installing a previous version > of emacs and I couldn't figure out how to get MacPorts to do that. Is > this something that MacPorts supports? Not sure how previous you were looking for, but also note that there's a emacs22 port if that helps. Dan -- Dan R. K. Ports MIT CSAIL http://drkp.net/ From gdr at integrable-solutions.net Sat Feb 6 17:22:37 2010 From: gdr at integrable-solutions.net (Gabriel Dos Reis) Date: Sat, 6 Feb 2010 19:22:37 -0600 Subject: cyrus-sasl2 build error Message-ID: <206fcf961002061722q7b88f47cvb31ff85ad96a122e@mail.gmail.com> cyrus-sasl2 fails to build properly: ---> Building cyrus-sasl2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23" && /usr/bin/make -j1 all " returned error 2 Command output: if /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/opt/local/include -I/opt/local/include -Wall -W -O2 -arch i386 -MT pluginviewer.o -MD -MP -MF ".deps/pluginviewer.Tpo" \ -c -o pluginviewer.o `test -f 'pluginviewer.c' || echo './'`pluginviewer.c; \ then mv -f ".deps/pluginviewer.Tpo" ".deps/pluginviewer.Po"; \ else rm -f ".deps/pluginviewer.Tpo"; exit 1; \ fi pluginviewer.c: In function 'sasl_my_log': pluginviewer.c:171: warning: unused parameter 'context' pluginviewer.c: In function 'sasl_getopt': pluginviewer.c:220: warning: unused parameter 'context' pluginviewer.c:221: warning: unused parameter 'plugin_name' pluginviewer.c: In function 'main': pluginviewer.c:440: warning: passing argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:465: warning: passing argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:494: warning: passing argument 2 of 'getsubopt' from incompatible pointer type pluginviewer.c:676: warning: pointer targets in passing argument 8 of 'sasl_listmech' differ in signedness pluginviewer.c:769: warning: pointer targets in passing argument 8 of 'sasl_listmech' differ in signedness pluginviewer.c: At top level: pluginviewer.c:138: warning: 'ip_subopts' defined but not used pluginviewer.c:283: warning: 'osfail' defined but not used /bin/sh ../libtool --mode=link /usr/bin/gcc-4.0 -Wall -W -O2 -arch i386 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o pluginviewer pluginviewer.o ../lib/libsasl2.la -lresolv -lresolv -lpam /usr/bin/gcc-4.0 -Wall -W -O2 -arch i386 -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib -o .libs/pluginviewer pluginviewer.o -L../lib/.libs -lsasl2 -ldl -lresolv -lresolv -lpam -lresolv -lresolv -lpam Undefined symbols: "_auxprop_plugin_info", referenced from: _main in pluginviewer.o _main in pluginviewer.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [pluginviewer] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 From ryandesign at macports.org Sat Feb 6 18:06:01 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 20:06:01 -0600 Subject: cyrus-sasl2 build error In-Reply-To: <206fcf961002061722q7b88f47cvb31ff85ad96a122e@mail.gmail.com> References: <206fcf961002061722q7b88f47cvb31ff85ad96a122e@mail.gmail.com> Message-ID: <9044E81B-DB6C-4902-99FC-9D7359962DC1@macports.org> On Feb 6, 2010, at 19:22, Gabriel Dos Reis wrote: > cyrus-sasl2 fails to build properly: ...only if a previous version of cyrus-sasl2 is already installed. > Undefined symbols: > "_auxprop_plugin_info", referenced from: > _main in pluginviewer.o > _main in pluginviewer.o > ld: symbol(s) not found This is http://trac.macports.org/ticket/20194 Deactivate your existing cyrus-sasl2, then clean it and install again. sudo port deactivate cyrus-sasl2 sudo port clean cyrus-sasl2 sudo port install cyrus-sasl2 From gdr at integrable-solutions.net Sat Feb 6 18:11:53 2010 From: gdr at integrable-solutions.net (Gabriel Dos Reis) Date: Sat, 6 Feb 2010 20:11:53 -0600 Subject: cyrus-sasl2 build error In-Reply-To: <9044E81B-DB6C-4902-99FC-9D7359962DC1@macports.org> References: <206fcf961002061722q7b88f47cvb31ff85ad96a122e@mail.gmail.com> <9044E81B-DB6C-4902-99FC-9D7359962DC1@macports.org> Message-ID: <206fcf961002061811i418dce14l2e67f42c7bdb19a4@mail.gmail.com> On Sat, Feb 6, 2010 at 8:06 PM, Ryan Schmidt wrote: > On Feb 6, 2010, at 19:22, Gabriel Dos Reis wrote: > >> cyrus-sasl2 fails to build properly: > > ...only if a previous version of cyrus-sasl2 is already installed. > >> Undefined symbols: >> ?"_auxprop_plugin_info", referenced from: >> ? ? ?_main in pluginviewer.o >> ? ? ?_main in pluginviewer.o >> ld: symbol(s) not found > > This is > > http://trac.macports.org/ticket/20194 > > Deactivate your existing cyrus-sasl2, then clean it and install again. Aha! Thanks for the pointer and suggestion. Yes, the workaround works for me. Thanks! From ryandesign at macports.org Sat Feb 6 18:37:53 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 20:37:53 -0600 Subject: automoc install failed on OSX 10.4 intel In-Reply-To: References: Message-ID: <49D3AD69-55C3-4665-8628-34B5D8E2E83A@macports.org> Remember to Reply All so we keep this discussion on the mailing list and in the archives. On Feb 6, 2010, at 19:38, Joachim Kreimer-de Fries wrote: > Am 06.02.2010, 21:07 Uhr, schrieb Ryan Schmidt: > >> This is a problem unique to Tiger that affected many ports. I think the proper fix had to do with making sure the library is named on the link line (e.g. making sure "-lzlib" is specified in LDFLAGS). But that would involve editing the Portfile or maybe the Makefile, and a simpler fix is to just go into /Developer/SDKs/MacOSX10.4u.sdk and make a symlink "opt" there pointing to /opt, like this: >> sudo ln -s /opt /Developer/SDKs/MacOSX10.4u.sdk/opt > > Hi, I did this and after this, $ sudo port install automoc > > run without errors. Great! > So I'm very thankful. Supposing you are belonging to the MacPorts developers, I propose to integrate this in a way into the port or to give in the presentation/specification of this port (perhaps also others) this advice, too (to prevent other users of MacOS10.4 to get the frustration). So we don't forget, I have filed a bug report for this problem: http://trac.macports.org/ticket/23584 Hopefully in the future I will have time to reproduce this problem on Tiger and work on the proper solution. But please understand that users of Tiger will encounter increasing frustration with MacPorts as time goes on, as port maintainers and software developers test with Tiger less and less frequently because it is years out of date now. If possible, please upgrade to Snow Leopard. I'm glad I did. > Encouraged I than run $ sudo port -d install kile-devel > > which is the aim of my endeavor. It now seemed long to go well, but unfortunately it ended after long installing and configuring processes with: > > -- Installing ./html/tutorial.html > -- Installing ./html/up.png > /bin/sh: line 1: gtkdoc-rebase: command not found This is: https://bugzilla.gnome.org/show_bug.cgi?id=562310 I have filed a ticket for this problem so that we can fix it: http://trac.macports.org/ticket/23583 In the mean time, install the gtk-doc port to work around it. From ryandesign at macports.org Sat Feb 6 19:08:01 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 6 Feb 2010 21:08:01 -0600 Subject: Apache2 php error logging In-Reply-To: References: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> <56cc1b0a1002060529u3ede28cid3e84d032564aa84@mail.gmail.com> <56cc1b0a1002060609n71ecbc71ua97deac40fa6e4e2@mail.gmail.com> <950520FD-5E77-43FB-869E-15C2D7ACD8D2@newgeo.com> Message-ID: <76889A91-E417-43B6-9874-3ECAAC417A7A@macports.org> On Feb 6, 2010, at 15:17, Scott Haneda wrote: > Version 1.6.2 was released in 2002. That's either really well executed code, or I'm missing out on whatever has taken it's place as the mainstream log roller of today. Judging by the age of things on its web site, I guess the author has probably become too busy with other projects to devote time to cronolog. :( > There is a beta Apache module for cronolog, which is intriguing, though I'm betting that beta timeframe exceeds gmails :) .the last mailing list post is from around 2004. > > With your potential crash, my possibly related Apache initgroups issue, I simply do not feel comfortable deploying cronolog in production. There are also some very Apache specific "Known Bugs" which are of concern. > > Cronolog is extremely well regarded though. > > Perhaps I should just stick with the tried and true hand rolling method most seem to go with. I've never really liked sleeping Apache for an arbitrary 30 seconds to let it finish requests. I would bet I miss a few log lines here and there. So sleep 5 minutes then, or 15 minutes. Surely no HTTP request will last that long. Then you can process the old logs. I've never heard of anybody doing log rotation by hand as a permanent solution. Then again I haven't surveyed many webmasters. But it seems like something a script should be able to do properly. I used cronolog in production years ago but haven't been serving any web sites recently so haven't looked into the current state of log rotation. apache2 of course comes with the rotatelogs script which theoretically must be good for something, but I don't remember anything about it, having used cronolog for so long. > A pre-compressed stream of log data sent to sqlite may be a project worth entertaining. Sqlite should be insignificantly larger than the log file itself, and once in a database, your flexibility goes way up with regard to what you can do to the data. I would imagine the disk and CPU overhead of using a database for logging would not be negligible, otherwise more people would be doing it and apache might offer a built-in feature for that. (Or does it?) It might not be an unmanageable overhead, and for small sites it might be ok, but I would take some careful measurements before and after to see what the penalty really is. > There must be a way to have Apache do on the fly log comprssion? My log stats app can parse most compressed formats, it's the CPU load/time and disk I/O while gziping a GB that is a killer. I'm not sure if there's a way to compress on-the-fly. There's an entry in the cronolog FAQ about how this is not currently available. Even if it were, I have a feeling it would adversely affect the compression ratio; I think the compression ratio is achieved by taking large blocks of data and compressing them, not by compressing individual lines. Any CPU load impact that gzipping your daily log file has should be mitigated by using "nice". Not sure what to do about disk I/O though. We had our server do log processing overnight when the server was least busy. From jasperfrumau at gmail.com Sat Feb 6 23:19:55 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sun, 7 Feb 2010 10:19:55 +0300 Subject: Apache2 php error logging In-Reply-To: <2E731ED8-D080-4447-9DC8-ED668F1CA1E2@newgeo.com> References: <2E731ED8-D080-4447-9DC8-ED668F1CA1E2@newgeo.com> Message-ID: <56cc1b0a1002062319i25893503p51ce4396579ee3d1@mail.gmail.com> On Sun, Feb 7, 2010 at 12:36 AM, Scott Haneda wrote: > > On Feb 6, 2010, at 12:16 PM, Jasper Frumau wrote: > > On Sat, Feb 6, 2010 at 10:50 PM, Scott Haneda wrote: >> >> You could probably nuke the script and redstart Apache, it should recreate itself with the correct permission. >> At least, that's exactly how my error and access logs behave. When I roll them I essentilly move them, sleep apache, restart apache gracefully, and gzip them. I've never had a log not recrete on lack of existance. Then again, I've always sent php errors to the error log in Apache since the errors often time are related, or helpful to see http data errors alongside. > > I guess I could do this as well. On some other shared hosts I work with they do the same. Do I just adjust the path in php.ini and write PHP errors to the same error.log as Apache writes its errors to? > > You know, I'm not sure. I always just leave the php.ini at default in that setting and that is where it logs. > Maybe load phpInfo(); and see if you can still see the default value. Yeah well that is: error_log/var/log/php-scripts.log/var/log/php-scripts.log So that has already been changed by me in the php.ini . > > I believe your php logging levels, like E_* play a role here as to what gets logged to screen/browser/stdout as well. More good info here: > http://www.php.net/manual/en/function.error-reporting.php > And also related to some of your other questions. > http://php.net/manual/en/errorfunc.configuration.php Checked that out before. More on PHP Error functions in php scripts than on real configuration. I checked http://php.net/log-errors and read details in php.ini itself > If you move aside you php.ini and put a copy of php.ini(development), then look at your phpIfo(); output, it will tell you. > I suspect the log path is just commented ou in the ini default filet. Yes, comment out, both in production and development inis: $ cat php.ini-production | grep error_log ; server-specific log, STDERR, or a location specified by the error_log ; Set maximum length of log_errors. In error_log information about the source is ;error_log = php_errors.log ;error_log = syslog $ cat php.ini-production | grep error_log ; server-specific log, STDERR, or a location specified by the error_log ; Set maximum length of log_errors. In error_log information about the source is ;error_log = php_errors.log ;error_log = syslog And here as I use it: $ cat php.ini | grep error_log ; server-specific log, STDERR, or a location specified by the error_log ; Set maximum length of log_errors. In error_log information about the source is error_log = /var/log/php-scripts.log ;error_log = syslog > You could skip the loading of the php.ini and if your cool with diff or grep, just compare the ini sample files MacPorts installed. I use grep as a search tool, but have not used it to compare yet. Never used diff. Will check them out asap.. > php.ini for me, sends logging to Apache's error_log. It always has. Yes, well do I understand that commenting it out will send it the Apache error log? http://lists.macosforge.org/pipermail/macports-users/2007-September/005668.htmlseems to indicate that .. Sidenote: I still have a white screen of death in opt/local/apache2/htdocs/folder/ The error reporting is turned of, logging turned on but no new errors reported... > When I get back to my computer and off my phone I will confirm. > -- > Scott > (Sent from a mobile device) -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasperfrumau at gmail.com Sat Feb 6 23:49:41 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sun, 7 Feb 2010 10:49:41 +0300 Subject: Apache2 php error logging In-Reply-To: <56cc1b0a1002062319i25893503p51ce4396579ee3d1@mail.gmail.com> References: <2E731ED8-D080-4447-9DC8-ED668F1CA1E2@newgeo.com> <56cc1b0a1002062319i25893503p51ce4396579ee3d1@mail.gmail.com> Message-ID: <56cc1b0a1002062349w2c4d61dex5422af2154ba6e11@mail.gmail.com> Well I found out there was logging on the cause of the white screen. It isn't a PHP issue anymore: ::1 - - [07/Feb/2010:10:42:50 +0300] "GET /img/index.php HTTP/1.1" 500 - WWW Consortium mentions: *10.5.1 500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request.* Why is another issue. To get back to the PHP error logging issues, I might comment out error_log in my php.ini and see if the error will be stored in Apache's error_log in /opt/local/apache2/logs/error_log ... > > > You know, I'm not sure. I always just leave the php.ini at default in > that setting and that is where it logs. > > Maybe load phpInfo(); and see if you can still see the default value. > > Yeah well that is: > > > error_log/var/log/php-scripts.log/var/log/php-scripts.log > > So that has already been changed by me in the php.ini . > > > > > > I believe your php logging levels, like E_* play a role here as to what > gets logged to screen/browser/stdout as well. More good info here: > > http://www.php.net/manual/en/function.error-reporting.php > > And also related to some of your other questions. > > http://php.net/manual/en/errorfunc.configuration.php > > Checked that out before. More on PHP Error functions in php scripts than on > real configuration. > > I checked http://php.net/log-errors and read details in php.ini itself > > > > > If you move aside you php.ini and put a copy of php.ini(development), > then look at your phpIfo(); output, it will tell you. > > I suspect the log path is just commented ou in the ini default filet. > > Yes, comment out, both in production and development inis: > > $ cat php.ini-production | grep error_log > ; server-specific log, STDERR, or a location specified by the error_log > ; Set maximum length of log_errors. In error_log information about the > source is > ;error_log = php_errors.log > ;error_log = syslog > $ cat php.ini-production | grep error_log > ; server-specific log, STDERR, or a location specified by the error_log > ; Set maximum length of log_errors. In error_log information about the > source is > ;error_log = php_errors.log > ;error_log = syslog > > And here as I use it: > > $ cat php.ini | grep error_log > ; server-specific log, STDERR, or a location specified by the error_log > ; Set maximum length of log_errors. In error_log information about the > source is > > error_log = /var/log/php-scripts.log > ;error_log = syslog > > > > > > You could skip the loading of the php.ini and if your cool with diff or > grep, just compare the ini sample files MacPorts installed. > > I use grep as a search tool, but have not used it to compare yet. Never > used diff. Will check them out asap.. > > > php.ini for me, sends logging to Apache's error_log. It always has. > > Yes, well do I understand that commenting it out will send it the Apache > error log? > > > http://lists.macosforge.org/pipermail/macports-users/2007-September/005668.htmlseems to indicate that .. > > Sidenote: I still have a white screen of death in > opt/local/apache2/htdocs/folder/ The error reporting is turned of, logging > turned on but no new errors reported... > > > > > When I get back to my computer and off my phone I will confirm. > > -- > > Scott > > (Sent from a mobile device) > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at dxradio.demon.co.uk Sun Feb 7 01:18:48 2010 From: mark at dxradio.demon.co.uk (Mark Hattam) Date: Sun, 7 Feb 2010 09:18:48 +0000 Subject: Apache2 php error logging In-Reply-To: <76889A91-E417-43B6-9874-3ECAAC417A7A@macports.org> References: <56cc1b0a1002060510n124db0e4iea592cf155ded40d@mail.gmail.com> <56cc1b0a1002060529u3ede28cid3e84d032564aa84@mail.gmail.com> <56cc1b0a1002060609n71ecbc71ua97deac40fa6e4e2@mail.gmail.com> <950520FD-5E77-43FB-869E-15C2D7ACD8D2@newgeo.com> <76889A91-E417-43B6-9874-3ECAAC417A7A@macports.org> Message-ID: <863E682B-790C-431D-BBB9-AAAFCE36EB26@dxradio.demon.co.uk> On 7 Feb 2010, at 03:08, Ryan Schmidt wrote: >> There is a beta Apache module for cronolog, which is intriguing, though I'm betting that beta timeframe exceeds gmails :) .the last mailing list post is from around 2004. >> >> With your potential crash, my possibly related Apache initgroups issue, I simply do not feel comfortable deploying cronolog in production. There are also some very Apache specific "Known Bugs" which are of concern. >> >> Cronolog is extremely well regarded though. >> >> Perhaps I should just stick with the tried and true hand rolling method most seem to go with. I've never really liked sleeping Apache for an arbitrary 30 seconds to let it finish requests. I would bet I miss a few log lines here and there. > > So sleep 5 minutes then, or 15 minutes. Surely no HTTP request will last that long. Then you can process the old logs. > > I've never heard of anybody doing log rotation by hand as a permanent solution. Then again I haven't surveyed many webmasters. But it seems like something a script should be able to do properly. I used cronolog in production years ago but haven't been serving any web sites recently so haven't looked into the current state of log rotation. > > apache2 of course comes with the rotatelogs script which theoretically must be good for something, but I don't remember anything about it, having used cronolog for so long. > >> There must be a way to have Apache do on the fly log comprssion? My log stats app can parse most compressed formats, it's the CPU load/time and disk I/O while gziping a GB that is a killer. > > I'm not sure if there's a way to compress on-the-fly. There's an entry in the cronolog FAQ about how this is not currently available. Even if it were, I have a feeling it would adversely affect the compression ratio; I think the compression ratio is achieved by taking large blocks of data and compressing them, not by compressing individual lines. > > Any CPU load impact that gzipping your daily log file has should be mitigated by using "nice". Not sure what to do about disk I/O though. We had our server do log processing overnight when the server was least busy. Rotating logs daily is easy enough in Apache2 http.conf ErrorLog "|/opt/local/apache2/bin/rotatelogs /opt/local/apache2/logs/error.%Y.%m.%d.log 86400" LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog "|/opt/local/apache2/bin/rotatelogs /opt/local/apache2/logs/access.%Y.%m.%d.log 86400" combined Clearly you could rotate more often with an hourly rotation and suitable filenaming strategy. Mark From jasperfrumau at gmail.com Sun Feb 7 03:33:29 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sun, 7 Feb 2010 14:33:29 +0300 Subject: Apache2 php error logging In-Reply-To: <56cc1b0a1002062349w2c4d61dex5422af2154ba6e11@mail.gmail.com> References: <2E731ED8-D080-4447-9DC8-ED668F1CA1E2@newgeo.com> <56cc1b0a1002062319i25893503p51ce4396579ee3d1@mail.gmail.com> <56cc1b0a1002062349w2c4d61dex5422af2154ba6e11@mail.gmail.com> Message-ID: <56cc1b0a1002070333v135ea996h4b08ff783c064436@mail.gmail.com> On Sun, Feb 7, 2010 at 10:49 AM, Jasper Frumau wrote: > Well I found out there was logging on the cause of the white screen. It > isn't a PHP issue anymore: > ::1 - - [07/Feb/2010:10:42:50 +0300] "GET /img/index.php HTTP/1.1" 500 - > WWW Consortium mentions: > *10.5.1 500 Internal Server Error > The server encountered an unexpected condition which prevented it from > fulfilling the request.* > Why is another issue. > Errors solved. FTP layer in Joomla's configuration.php had to be deactivated as I have no FTP running on my Server. What FTP program do you guys recommend? > > To get back to the PHP error logging issues, I might comment out error_log > in my php.ini and see if the error will be stored in Apache's error_log in > /opt/local/apache2/logs/error_log ... Will work on this some more when I have solved some other issues... > > > > > >> > You know, I'm not sure. I always just leave the php.ini at default in >> that setting and that is where it logs. >> > Maybe load phpInfo(); and see if you can still see the default value. >> >> Yeah well that is: >> >> >> error_log/var/log/php-scripts.log/var/log/php-scripts.log >> >> So that has already been changed by me in the php.ini . >> >> >> > >> > I believe your php logging levels, like E_* play a role here as to what >> gets logged to screen/browser/stdout as well. More good info here: >> > http://www.php.net/manual/en/function.error-reporting.php >> > And also related to some of your other questions. >> > http://php.net/manual/en/errorfunc.configuration.php >> >> Checked that out before. More on PHP Error functions in php scripts than >> on real configuration. >> >> I checked http://php.net/log-errors and read details in php.ini itself >> >> >> >> > If you move aside you php.ini and put a copy of php.ini(development), >> then look at your phpIfo(); output, it will tell you. >> > I suspect the log path is just commented ou in the ini default filet. >> >> Yes, comment out, both in production and development inis: >> >> $ cat php.ini-production | grep error_log >> ; server-specific log, STDERR, or a location specified by the error_log >> ; Set maximum length of log_errors. In error_log information about the >> source is >> ;error_log = php_errors.log >> ;error_log = syslog >> $ cat php.ini-production | grep error_log >> ; server-specific log, STDERR, or a location specified by the error_log >> ; Set maximum length of log_errors. In error_log information about the >> source is >> ;error_log = php_errors.log >> ;error_log = syslog >> >> And here as I use it: >> >> $ cat php.ini | grep error_log >> ; server-specific log, STDERR, or a location specified by the error_log >> ; Set maximum length of log_errors. In error_log information about the >> source is >> >> error_log = /var/log/php-scripts.log >> ;error_log = syslog >> >> >> >> >> > You could skip the loading of the php.ini and if your cool with diff or >> grep, just compare the ini sample files MacPorts installed. >> >> I use grep as a search tool, but have not used it to compare yet. Never >> used diff. Will check them out asap.. >> >> > php.ini for me, sends logging to Apache's error_log. It always has. >> >> Yes, well do I understand that commenting it out will send it the Apache >> error log? >> >> >> http://lists.macosforge.org/pipermail/macports-users/2007-September/005668.htmlseems to indicate that .. >> >> Sidenote: I still have a white screen of death in >> opt/local/apache2/htdocs/folder/ The error reporting is turned of, logging >> turned on but no new errors reported... >> >> >> >> > When I get back to my computer and off my phone I will confirm. >> > -- >> > Scott >> > (Sent from a mobile device) >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sawtdk at gmail.com Sun Feb 7 04:10:06 2010 From: sawtdk at gmail.com (Sophus August Tuxen) Date: Sun, 7 Feb 2010 13:10:06 +0100 Subject: can't start gnome-session Message-ID: <94E85713-35FF-44F6-8CD2-9177F76F57B0@gmail.com> Hi! I quite new to macports and can't seem to start a gnome-session. When i run the command: 'gnome-session' in terminal I get the following message: Failed to start message bus: launchd's environment variable DBUS_LAUNCHD_SESSION_BUS_SOCKET is empty, but should contain a socket path. EOF in dbus-launch reading address from bus daemon I have both dbus-session and dbus-system loaded. Anyone have a solution?? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mk-lists at email.de Sun Feb 7 05:15:13 2010 From: mk-lists at email.de (=?iso-8859-15?Q?Marko_K=E4ning?=) Date: Sun, 07 Feb 2010 14:15:13 +0100 Subject: How to make KDE3 run? How make .kde directory accessible? Message-ID: <1310238984@web.de> Hi, I installed KDE via MacPorts, which seems to have succeeded, but now I don't know HOW TO actually RUN it and other applications in that environment (like kmymoney - which compiled and installed successfully already before I got KDE installed). Also MacPorts installed a .kde directory in my users directory, but with ownership of the root-user! That means, I cannot access it at all. Funnily enough my administrator user (who is NOT root, but has full admin permissions) CAN NOT change the ownership of said .kde diretory to the unprivileged user... What can be done about this? Greets, Marko From michael.hieb at celoso.net Sun Feb 7 05:51:57 2010 From: michael.hieb at celoso.net (Michael Hieb) Date: Sun, 07 Feb 2010 13:51:57 +0000 Subject: MAC OSX 10.6 configd overwrites DNS and routing from OpenVPN Message-ID: <4B6EC57D.5060807@celoso.net> Apologies if this is covered elsewhere. I've looked and found no definitive answers. Problem: Using standard install macports openvpn2: OpenVPN creates a tunnel on a virtual network interface tap0 which is configured via DHCP. Once up a script is called to update the routing tables and set DNS. On linux and windows this works and is very stable because static routing configurations are employed. On Mac OS X v10.6 routing configurations are dynamic and managed by configd. Once the virtual interface comes up the routing tables and DNS can be changed, but after a short while, configd will come along and change the routing and DNS configurations and break the VPN. This is covered in some detail in this article. http://www.afp548.com/article.php?story=20041015131913324 Question: How to write the DNS and routing entries into preferences at the time OpenVPN comes up so that they will persist when configd updates the system? Details: 1. Commands used by OpenVPN script to update the routing table and DNS /usr/sbin/ipconfig set "$dev" DHCP /usr/sbin/scutil < From talklists at newgeo.com Sun Feb 7 05:52:39 2010 From: talklists at newgeo.com (Scott Haneda) Date: Sun, 7 Feb 2010 05:52:39 -0800 Subject: Apache2 php error logging In-Reply-To: <56cc1b0a1002070333v135ea996h4b08ff783c064436@mail.gmail.com> References: <2E731ED8-D080-4447-9DC8-ED668F1CA1E2@newgeo.com> <56cc1b0a1002062319i25893503p51ce4396579ee3d1@mail.gmail.com> <56cc1b0a1002062349w2c4d61dex5422af2154ba6e11@mail.gmail.com> <56cc1b0a1002070333v135ea996h4b08ff783c064436@mail.gmail.com> Message-ID: <7C938E4C-33F6-435B-9219-DF7CAC987D09@newgeo.com> On Feb 7, 2010, at 3:33 AM, Jasper Frumau wrote: > Errors solved. FTP layer in Joomla's configuration.php had to be > deactivated as I have no FTP running on my Server. What FTP program > do you guys recommend? That very much depends on your needs. I'm always surprised by the amount of FireFox users that use an FTP plugin in browser. Or, FileZilla, an open desktop FTP client. On Mac I personally use Interarchy. I feel it curreny is the best of the offerings. A quick breakdown: Mimics the Finder, no left/right local/remote files methodology. In my tests, Interarchy is the fastest at moving data up and down, with reliable resume, if the remote supports it. From plain scp on the command line or unencrypted FTP on the command line, Interarchy is fast. At home, GB ether to GB (Same LAN), I've been disk bound before network bound. This can cause issues as there is no max upload speed setting. I saturate my outbound and can't do anything else. "throttled", ipfw, or your router can help solve that. Supports the most protocols, I believe. FTP, ssh, FTP w/ SSL/TLS, Amazon S3, Dav, AFP, http, SFTP, anything you want to connect to, you can. One downside is all settings apply to all hosts. If one server needs passive and another does not, you are stuck with one or the other for that session. I find very few Mac FTP clients allow per host settings though. Luckily, you can edit a preference file and set every preference to a specific host, solving this problem, but there is no GUI for this. You can mount any connection as a desktop viewable volume. It's as if your local, not slow, beachball the finder, like OS X does. Interarchy is simple and clean yet highly powerful. If you know how to manipulate files and directories in the finder, you already know how to use Interarchy. Of course, with the above you get scheduling of up/down. "Droplets" where you save a "file" that is preconfigured to send a file wherever you like. Keychain integration, solid transfers monitor, growl support, excellent transcript showing raw commands... On the downside, version 9 saw the removal of it's built in traffic watcher, which was an excellent front end to tcpdump like output. It was to be spawned into a new standalone free product which has never materialized. Though you can run older versions simultaneously. It's been a long wait for version 10, and version 9 saw, I believe only one update since release. Not enough activity and zero feature updates during a versions lifecycle never sat well with me. It is stable and does what was advertised, but I would have liked to have seen a few bones thrown my way in the last 2 years. This obviously is paid software. On the MacPorts side, I believe you will find mostly CLI apps, or an occasional X11 app. Depending on your needs, this may work for you, and it's always a good idea to have a CLI FTP handy for debugging new connections. Next paid contender would be Panic's Transmit. Transmit is the FTP app with all the shine and polish as usual. Transmit supports near all protocols as well. However, the showstopper for me is the left/right window of local/remote files. You can sort of toggle that off, but it's still a bit strange feeling. I've heard rumors of a pretty substancial version update release due soon. Unison (Panic's Usenet Reader) shipped, I bet Transmit is next. For paid apps, those are the only two I reccomend. On the free side is Cyberduck. In my opinion, pretty darn close to Transmit. Looking over the website, I would say the app progressed quickly and looks pretty good. Oh. There is also Fetch, probably the first OS 9 FTP client on the scene. I'm pretty sure the developer won the million bucks on Who Wants To Be A Millionaire. I don't know the state of Fetch, though I do know had I won a million I may be inclined to take a long break from my app as well. :) I think that leaves FileZilla Desktop and FireFTP extension for FireFox. Look at some screenshots, for lite use, I suppose. Daily use, I could not see myself pulling it off with those apps. If you are pure ssh with newer FTP servers to connect to... Check out MacFuse to allow attaching remote connections to the local file system. Just like Interarchy does, but that is all it does. There's a ton of choice, all with fully functioning demos or open/ free. Download a few and see what suits you. I'm going to strongly look into the next release of Transmit, in the meantime, Interarchy is the app I see and use every day. -- Scott (Sent from a mobile device) From jasperfrumau at gmail.com Sun Feb 7 05:58:57 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sun, 7 Feb 2010 16:58:57 +0300 Subject: ProFTPD | Add group and user FTP Message-ID: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> I just added ProFTPD and I am adjusting the ProFTPD configuration file. I need to add ftp user and group. I went to system preferences > accounts and added group ftp. When I wanted to add user ftp it said the name was already reserved. I decided to abort and remove newly created group fpt.. So I guess a user ftp is already there. How can I check this from the command line? I am reading man dseditgroup as groupadd/useradd does not seem to be a valid command on my Mac. Haven't found a way to list all groups on the system yet though... -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasperfrumau at gmail.com Sun Feb 7 06:05:45 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sun, 7 Feb 2010 17:05:45 +0300 Subject: Apache2 php error logging In-Reply-To: <7C938E4C-33F6-435B-9219-DF7CAC987D09@newgeo.com> References: <2E731ED8-D080-4447-9DC8-ED668F1CA1E2@newgeo.com> <56cc1b0a1002062319i25893503p51ce4396579ee3d1@mail.gmail.com> <56cc1b0a1002062349w2c4d61dex5422af2154ba6e11@mail.gmail.com> <56cc1b0a1002070333v135ea996h4b08ff783c064436@mail.gmail.com> <7C938E4C-33F6-435B-9219-DF7CAC987D09@newgeo.com> Message-ID: <56cc1b0a1002070605s1563abffhde5c37327fea3eac@mail.gmail.com> On Sun, Feb 7, 2010 at 4:52 PM, Scott Haneda wrote: > On Feb 7, 2010, at 3:33 AM, Jasper Frumau wrote: > > Errors solved. FTP layer in Joomla's configuration.php had to be >> deactivated as I have no FTP running on my Server. What FTP program do you >> guys recommend? >> > > That very much depends on your needs. I'm always surprised by the amount of > FireFox users that use an FTP plugin in browser. Or, FileZilla, an open > desktop FTP client. > > On Mac I personally use Interarchy. I feel it curreny is the best of the > offerings. A quick breakdown: > > Mimics the Finder, no left/right local/remote files methodology. > I am kind of used to that though... > > In my tests, Interarchy is the fastest at moving data up and down, with > reliable resume, if the remote supports it. From plain scp on the command > line or unencrypted FTP on the command line, Interarchy is fast. At home, > GB ether to GB (Same LAN), I've been disk bound before network bound. > > This can cause issues as there is no max upload speed setting. I saturate > my outbound and can't do anything else. "throttled", ipfw, or your router > can help solve that. > > Supports the most protocols, I believe. FTP, ssh, FTP w/ SSL/TLS, Amazon > S3, Dav, AFP, http, SFTP, anything you want to connect to, you can. > > One downside is all settings apply to all hosts. If one server needs > passive and another does not, you are stuck with one or the other for that > session. I find very few Mac FTP clients allow per host settings though. > > Luckily, you can edit a preference file and set every preference to a > specific host, solving this problem, but there is no GUI for this. > > You can mount any connection as a desktop viewable volume. It's as if your > local, not slow, beachball the finder, like OS X does. > > Interarchy is simple and clean yet highly powerful. If you know how to > manipulate files and directories in the finder, you already know how to use > Interarchy. > > Of course, with the above you get scheduling of up/down. "Droplets" where > you save a "file" that is preconfigured to send a file wherever you like. > Keychain integration, solid transfers monitor, growl support, excellent > transcript showing raw commands... > > On the downside, version 9 saw the removal of it's built in traffic > watcher, which was an excellent front end to tcpdump like output. It was to > be spawned into a new standalone free product which has never materialized. > Though you can run older versions simultaneously. > > It's been a long wait for version 10, and version 9 saw, I believe only one > update since release. Not enough activity and zero feature updates during a > versions lifecycle never sat well with me. It is stable and does what was > advertised, but I would have liked to have seen a few bones thrown my way in > the last 2 years. > > This obviously is paid software. On the MacPorts side, I believe you will > find mostly CLI apps, or an occasional X11 app. Depending on your needs, > this may work for you, and it's always a good idea to have a CLI FTP handy > for debugging new connections. > > Next paid contender would be Panic's Transmit. Transmit is the FTP app with > all the shine and polish as usual. > > Transmit supports near all protocols as well. However, the showstopper for > me is the left/right window of local/remote files. You can sort of toggle > that off, but it's still a bit strange feeling. > Never heard off.. Will check it out too... > > I've heard rumors of a pretty substancial version update release due soon. > Unison (Panic's Usenet Reader) shipped, I bet Transmit is next. > > For paid apps, those are the only two I reccomend. > > On the free side is Cyberduck. In my opinion, pretty darn close to > Transmit. Looking over the website, I would say the app progressed quickly > and looks pretty good. > Tried it. Didn't like the interface very much... > > Oh. There is also Fetch, probably the first OS 9 FTP client on the scene. > I'm pretty sure the developer won the million bucks on Who Wants To Be A > Millionaire. I don't know the state of Fetch, though I do know had I won a > million I may be inclined to take a long break from my app as well. :) > > I think that leaves FileZilla Desktop and FireFTP extension for FireFox. > Look at some screenshots, for lite use, I suppose. Daily use, I could not > see myself pulling it off with those apps. > > If you are pure ssh with newer FTP servers to connect to... Check out > MacFuse to allow attaching remote connections to the local file system. Just > like Interarchy does, but that is all it does. > Sounds interesting as well! > > There's a ton of choice, all with fully functioning demos or open/free. > Download a few and see what suits you. I'm going to strongly look into the > next release of Transmit, in the meantime, Interarchy is the app I see and > use every day. Thanks for all these tips!!! I am overwhelmed! I will check Interarchy as well on eor two others . As a client I use Filezilla, For an FTP server, which I was actually looking for I am going to give ProFTPD a try. I will check if Interarchy can do that was well.. Thanks again! > > > -- Scott > (Sent from a mobile device) > -------------- next part -------------- An HTML attachment was scrubbed... URL: From osna at jpberlin.de Sun Feb 7 06:41:53 2010 From: osna at jpberlin.de (Joachim Osnabryg) Date: Sun, 07 Feb 2010 15:41:53 +0100 Subject: automoc install failed on OSX 10.4 intel References: <49D3AD69-55C3-4665-8628-34B5D8E2E83A@macports.org> Message-ID: Am 07.02.2010, 03:37 Uhr, schrieb Ryan Schmidt: > Remember to Reply All so we keep this discussion on the mailing list and > in the archives. Of course, thanks, it made it unintentionally. >> Hi, I did this and after this, $ sudo port install automoc >> run without errors. > > Great! So this part should be in order now. > Hopefully in the future I will have time to reproduce this problem on > Tiger and work on the proper solution. But please understand that users > of Tiger will encounter increasing frustration with MacPorts as time > goes on, as port maintainers and software developers test with Tiger > less and less frequently because it is years out of date now. If > possible, please upgrade to Snow Leopard. I'm glad I did. OK, I'll consider that after your advice. (When switching from MS Windows to MacOSX Tiger, years ago, I had the hope that the OS upgrade necessities of Apple-Mac being less frequently necessary/advisable.) >> Encouraged I than run $ sudo port -d install kile-devel ? >> unfortunately it ended after long installing and configuring processes >> with: ? >> /bin/sh: line 1: gtkdoc-rebase: command not found > In the mean time, install the gtk-doc port to work around it. So I did, it has finished without errors just now. I'm proceeding as said in the terminal with: sudo port install python_select sudo python_select python26 Done. Have I understood well, makes it sense to proceed now again with $ sudo port install kile-devel with a chance of success without errors? I mean without studying the: > https://bugzilla.gnome.org/show_bug.cgi?id=562310 > http://trac.macports.org/ticket/23583 isn't it ????? And a last question due to my meager knowledge of Unix and MacPorts: The message within the terminal output when installing gtk-doc port: ###################################################################### # As MacPorts does not currently have a post-deactivate hook, # you will need to ensure that you manually remove the catalog # entry for this port when you uninstall it. To do so, run # "xmlcatmgr remove nextCatalog /opt/local/share/xsl/docbook-xsl/catalog.xml". ###################################################################### ? is not relevant for the time being, only if once uninstalling gtk-doc port, right? Thanks again with regards, joachim -- Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3 LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger From jasperfrumau at gmail.com Sun Feb 7 06:44:14 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sun, 7 Feb 2010 17:44:14 +0300 Subject: ProFTPD | Add group and user FTP In-Reply-To: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> References: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> Message-ID: <56cc1b0a1002070644s530dd05cv2dacb57ba8695b86@mail.gmail.com> When I ran: $proftpd -t I got: Checking syntax of configuration file 192.168.10.189 - PRIVS_ROOT: unable to seteuid(): Operation not permitted 192.168.10.189 - PRIVS_ROOT: unable to setegid(): Operation not permitted 192.168.10.189 - PRIVS_RELINQUISH: unable to seteuid(PR_ROOT_UID): Operation not permitted 192.168.10.189 - PRIVS_RELINQUISH: unable to setegid(session.gid): Operation not permitted 192.168.10.189 - PRIVS_RELINQUISH: unable to seteuid(session.uid): Operation not permitted 192.168.10.189 - mod_delay/0.6: error opening DelayTable '/opt/local/var/run/proftpd/proftpd.delay': No such file or directory Syntax check complete. Clearly no privileges to run the prftpd test. I went to system preferences > accounts and added group ftp with me as user in it. Then I adjusted proftpd.conf and changed user to me (jasper) and group to ftp. # Set the user and group under which the server will run. User jasper Group ftp Then I ran proftpd -t again, but I still got the same errors. The I added the following command: $ id uid=501(jasper) gid=20(staff) groups=20(staff),101(com.apple.sharepoint.group.1),401(com.apple.access_screensharing),204(_developer),100 (_lpoperator),98(_lpadmin),81(_appserveradm),80(admin),79(_appserverusr),61(localaccounts),12(everyone) I do not see the group ftp added to the list. I did add it using the Mac;s GUI for accounts. Strange .... Then I ran: $ sudo proftpd -t Checking syntax of configuration file Syntax check complete. well still a bit confused here. Will work on it again when I have cleared my head... On Sun, Feb 7, 2010 at 4:58 PM, Jasper Frumau wrote: > I just added ProFTPD and I am adjusting the ProFTPD configuration file. I > need to add ftp user and group. I went to system preferences > accounts and > added group ftp. When I wanted to add user ftp it said the name was already > reserved. I decided to abort and remove newly created group fpt.. So I guess > a user ftp is already there. How can I check this from the command line? I > am reading man dseditgroup as groupadd/useradd does not seem to be a valid > command on my Mac. Haven't found a way to list all groups on the system yet > though... > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasperfrumau at gmail.com Sun Feb 7 07:47:11 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sun, 7 Feb 2010 18:47:11 +0300 Subject: ProFTPD | Add group and user FTP In-Reply-To: References: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> <56cc1b0a1002070644s530dd05cv2dacb57ba8695b86@mail.gmail.com> Message-ID: <56cc1b0a1002070747l3dfccdb4vc27c5f3046495bbb@mail.gmail.com> On Sun, Feb 7, 2010 at 6:19 PM, Glenn English wrote: > > On Feb 7, 2010, at 7:44 AM, Jasper Frumau wrote: > > > I just added ProFTPD and I am adjusting the ProFTPD configuration file. I > need to add ftp user and group. I went to system preferences > accounts and > added group ftp. When I wanted to add user ftp it said the name was already > reserved. I decided to abort and remove newly created group fpt.. So I guess > a user ftp is already there. > > My understanding is that users 'ftp' and 'anonymous' are reserved for > anonymous FTP, and are therefore disallowed for real users. I see. > They aren't real in that they aren't in the passwd file, but there is a > /home/ftp directory, There is now home/ftp directory on my Mac. I have: $ pwd /opt/local/bin $ ls | grep ftp ftpcount ftpdctl ftptop ftpwho Found those with hints in man proftpd > created by the FTP server (I don't do anon FTP myself). > I guess U could turn that off (comment it out) too. I just use this local FTP server to run some OS CMS locally for testing > > > How can I check this from the command line? > > 'cat /etc/passwd' -- the user names are the first thing in the lines. > That's how it works on other unices, anyway. OS X seems to have put my > username somewhere else; there are lots of names there, but I'm not in that > list. Mine isn't either > Ask Google?? > Will continue doing online research on showing ftp and ordinary user groups in OSX. Thanks for the tips Glenn! > > -- > Glenn English > ghe at slsware.com > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasperfrumau at gmail.com Sun Feb 7 08:06:37 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sun, 7 Feb 2010 19:06:37 +0300 Subject: ProFTPD | Add group and user FTP In-Reply-To: <56cc1b0a1002070747l3dfccdb4vc27c5f3046495bbb@mail.gmail.com> References: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> <56cc1b0a1002070644s530dd05cv2dacb57ba8695b86@mail.gmail.com> <56cc1b0a1002070747l3dfccdb4vc27c5f3046495bbb@mail.gmail.com> Message-ID: <56cc1b0a1002070806s30fe2dcclfd43d17ef6a71965@mail.gmail.com> On Sun, Feb 7, 2010 at 6:47 PM, Jasper Frumau wrote: > > > On Sun, Feb 7, 2010 at 6:19 PM, Glenn English wrote: > >> >> On Feb 7, 2010, at 7:44 AM, Jasper Frumau wrote: >> >> > I just added ProFTPD and I am adjusting the ProFTPD configuration file. >> I need to add ftp user and group. I went to system preferences > accounts >> and added group ftp. When I wanted to add user ftp it said the name was >> already reserved. I decided to abort and remove newly created group fpt.. So >> I guess a user ftp is already there. >> >> My understanding is that users 'ftp' and 'anonymous' are reserved for >> anonymous FTP, and are therefore disallowed for real users. > > > I see. > > >> They aren't real in that they aren't in the passwd file, but there is a >> /home/ftp directory, > > > There is now home/ftp directory on my Mac. I have: > > $ pwd > /opt/local/bin > $ ls | grep ftp > ftpcount > ftpdctl > ftptop > ftpwho > > Found those with hints in man proftpd > > > >> created by the FTP server (I don't do anon FTP myself). >> > > I guess U could turn that off (comment it out) too. I just use this local > FTP server to run some OS CMS locally for testing > >> >> > How can I check this from the command line? >> >> 'cat /etc/passwd' -- the user names are the first thing in the lines. >> That's how it works on other unices, anyway. OS X seems to have put my >> username somewhere else; there are lots of names there, but I'm not in that >> list. > > > Mine isn't either > When I checked /etc/passwd one more time I read: cat /etc/passwd ## # User Database # # Note that this file is consulted directly only when the system is running # in single-user mode. At other times this information is provided by # Open Directory. # # This file will not be consulted for authentication unless the BSD local node # is enabled via /Applications/Utilities/Directory Utility.app # # See the DirectoryService(8) man page for additional information about # Open Directory. I cannot find an app Directory Utility in my Snow Leopard apps though. I am reading more about Open Directory and Mac now... -------------- next part -------------- An HTML attachment was scrubbed... URL: From osna at jpberlin.de Sun Feb 7 09:48:59 2010 From: osna at jpberlin.de (Joachim Osnabryg) Date: Sun, 07 Feb 2010 18:48:59 +0100 Subject: How to remove inactive ports? Message-ID: In the http://guide.macports.org/ I can't find, how to uninstall incactive ports. I see, when upgrading on or all, one can use $ port -u upgrade outdatet (or a single port), but if I forgot to set the -u option, it serves nothing making another $ port -u upgrade ? So I have e. g.: $ port installed The following ports are currently installed: apple-gcc42-devel @5564_0+darwin_8 (active) apr @1.3.9_1 (active) apr-util @1.3.9_1 (active) [?] automake @1.10.2_0 automake @1.11.1_0 (active) automoc @0.9.88_1 (active) bison @2.4.1_0 (active) bzip2 @1.0.5_1 bzip2 @1.0.5_2 bzip2 @1.0.5_3+darwin (active) [? ?] In the given cutout, I suppose that automake @1.10.2_0 bzip2 @1.0.5_1 bzip2 @1.0.5_2 are not longer used by other ports, so they could be removed, isn't it? With which command can the inactive (meanwhile updated) ports be removed? joachim -- MacBook Pro intel OSX 10.4.11 Tiger From ryandesign at macports.org Sun Feb 7 09:51:21 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 7 Feb 2010 11:51:21 -0600 Subject: How to remove inactive ports? In-Reply-To: References: Message-ID: On Feb 7, 2010, at 11:48, Joachim Osnabryg wrote: > With which command can the inactive (meanwhile updated) ports be removed? The simplest available command would be: sudo port uninstall inactive You may also be interested in the port_cutleaves command (which can be installed by installing the port_cutleaves port) which will guide you through removing ports you no longer need, including inactive ports and any others that are not referenced as a dependency by any other port. From ryandesign at macports.org Sun Feb 7 09:55:20 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 7 Feb 2010 11:55:20 -0600 Subject: automoc install failed on OSX 10.4 intel In-Reply-To: References: <49D3AD69-55C3-4665-8628-34B5D8E2E83A@macports.org> Message-ID: <37C687E5-B3A5-45E1-906C-13B020977452@macports.org> On Feb 7, 2010, at 08:41, Joachim Osnabryg wrote: >> Hopefully in the future I will have time to reproduce this problem on Tiger and work on the proper solution. But please understand that users of Tiger will encounter increasing frustration with MacPorts as time goes on, as port maintainers and software developers test with Tiger less and less frequently because it is years out of date now. If possible, please upgrade to Snow Leopard. I'm glad I did. > > OK, I'll consider that after your advice. (When switching from MS Windows to MacOSX Tiger, years ago, I had the hope that the OS upgrade necessities of Apple-Mac being less frequently necessary/advisable.) On the contrary, I've found Windows users are often reluctant to upgrade their operating systems, while Mac users upgrade rather quickly. New releases of Mac OS X are typically faster than older ones, aside from having new features, so after the initial period of adjustment, it should be quite advantageous to upgrade. Of course, before upgrading the OS, first check that all the non-MacPorts third-party software you use is compatible with Snow Leopard, and also check the MacPorts issue tracker for tickets on any of the ports you use to see if there are any Snow Leopard-related problems. > Done. Have I understood well, makes it sense to proceed now again with > $ sudo port install kile-devel > with a chance of success without errors? > > I mean without studying the: >> https://bugzilla.gnome.org/show_bug.cgi?id=562310 >> http://trac.macports.org/ticket/23583 > isn't it ????? Sure, go ahead. > And a last question due to my meager knowledge of Unix and MacPorts: > The message within the terminal output when installing gtk-doc port: > ###################################################################### > # As MacPorts does not currently have a post-deactivate hook, > # you will need to ensure that you manually remove the catalog > # entry for this port when you uninstall it. To do so, run > # "xmlcatmgr remove nextCatalog /opt/local/share/xsl/docbook-xsl/catalog.xml". > ###################################################################### > > ? is not relevant for the time being, only if once uninstalling gtk-doc port, right? Not gtk-doc -- docbook-xsl. From jasperfrumau at gmail.com Sun Feb 7 09:59:03 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sun, 7 Feb 2010 20:59:03 +0300 Subject: ProFTPD | Add group and user FTP In-Reply-To: <56cc1b0a1002070806s30fe2dcclfd43d17ef6a71965@mail.gmail.com> References: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> <56cc1b0a1002070644s530dd05cv2dacb57ba8695b86@mail.gmail.com> <56cc1b0a1002070747l3dfccdb4vc27c5f3046495bbb@mail.gmail.com> <56cc1b0a1002070806s30fe2dcclfd43d17ef6a71965@mail.gmail.com> Message-ID: <56cc1b0a1002070959k6f61234aya32e268913181db3@mail.gmail.com> When I try to connect to ProFTPD locally I get: $ ftp jasper at localhost Trying ::1... ftp: Can't connect to `::1': Connection refused Trying fe80::1%lo0... ftp: Can't connect to `fe80::1%lo0': Connection refused Trying 127.0.0.1... Connected to localhost. 220 ProFTPD 1.3.2c Server (ProFTPD Default Installation) [127.0.0.1] 331 Password required for jasper Password: 530 Login incorrect. ftp: Login failed ftp> exit 221 Goodbye. I used my standard account password so maybe that is not the one to use. Which one is it then? The I Googled some more and: $ cd /etc/ Jaspers-MacBook-Pro:etc jasper$ ls | grep ftp ftpd.conf ftpusers Jaspers-MacBook-Pro:etc jasper$ cat ftpusers # list of users disallowed any ftp access. # read by ftpd(8). Administrator administrator root uucp daemon unknown www I am not in this list so not disallowed access. And I am in th ftp group: $ dseditgroup ftp dsAttrTypeStandard:GeneratedUID - 7BD526DC-7116-445E-969C-9D7B78B31BE8 dsAttrTypeStandard:RecordName - ftp dsAttrTypeStandard:AppleMetaNodeLocation - /Local/Default dsAttrTypeStandard:RealName - ftp dsAttrTypeStandard:RecordType - dsRecTypeStandard:Groups dsAttrTypeStandard:GroupMembers - 408B96E2-6AEE-44B8-B39E-F9870C5A9E09 dsAttrTypeStandard:Password - * dsAttrTypeStandard:GroupMembership - jasper dsAttrTypeStandard:PrimaryGroupID - 503 I checked ftpd.conf: $ sudo cat /etc/ftpd.conf # match umask from Mac OS X Server ftpd umask all 022 Nothing special there.... So what password do I need and where is it stored? On Sun, Feb 7, 2010 at 7:06 PM, Jasper Frumau wrote: > On Sun, Feb 7, 2010 at 6:47 PM, Jasper Frumau wrote: > >> >> >> On Sun, Feb 7, 2010 at 6:19 PM, Glenn English wrote: >> >>> >>> On Feb 7, 2010, at 7:44 AM, Jasper Frumau wrote: >>> >>> > I just added ProFTPD and I am adjusting the ProFTPD configuration file. >>> I need to add ftp user and group. I went to system preferences > accounts >>> and added group ftp. When I wanted to add user ftp it said the name was >>> already reserved. I decided to abort and remove newly created group fpt.. So >>> I guess a user ftp is already there. >>> >>> My understanding is that users 'ftp' and 'anonymous' are reserved for >>> anonymous FTP, and are therefore disallowed for real users. >> >> >> I see. >> >> >>> They aren't real in that they aren't in the passwd file, but there is a >>> /home/ftp directory, >> >> >> There is now home/ftp directory on my Mac. I have: >> >> $ pwd >> /opt/local/bin >> $ ls | grep ftp >> ftpcount >> ftpdctl >> ftptop >> ftpwho >> >> Found those with hints in man proftpd >> >> >> >>> created by the FTP server (I don't do anon FTP myself). >>> >> >> I guess U could turn that off (comment it out) too. I just use this local >> FTP server to run some OS CMS locally for testing >> >>> >>> > How can I check this from the command line? >>> >>> 'cat /etc/passwd' -- the user names are the first thing in the lines. >>> That's how it works on other unices, anyway. OS X seems to have put my >>> username somewhere else; there are lots of names there, but I'm not in that >>> list. >> >> >> Mine isn't either >> > > When I checked /etc/passwd one more time I read: > > cat /etc/passwd > ## > # User Database > # > # Note that this file is consulted directly only when the system is running > # in single-user mode. At other times this information is provided by > # Open Directory. > # > # This file will not be consulted for authentication unless the BSD local > node > # is enabled via /Applications/Utilities/Directory Utility.app > # > # See the DirectoryService(8) man page for additional information about > # Open Directory. > > I cannot find an app Directory Utility in my Snow Leopard apps though. I am > reading more about Open Directory and Mac now... > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Sun Feb 7 10:00:32 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 7 Feb 2010 12:00:32 -0600 Subject: How to make KDE3 run? How make .kde directory accessible? In-Reply-To: <1310238984@web.de> References: <1310238984@web.de> Message-ID: <602EF836-A7AC-4F78-B56B-412AE79E3DE4@macports.org> On Feb 7, 2010, at 07:15, Marko K?ning wrote: > I installed KDE via MacPorts, which seems to have succeeded, but now I don't know HOW TO actually RUN it and other applications in that environment (like kmymoney - which compiled and installed successfully already before I got KDE installed). > > Also MacPorts installed a .kde directory in my users directory, but with ownership of the root-user! That means, I cannot access it at all. Funnily enough my administrator user (who is NOT root, but has full admin permissions) CAN NOT change the ownership of said .kde diretory to the unprivileged user... What can be done about this? I don't know what the correct solution to this problem is, having not tried to use KDE before, but if you want to change the ownership of the directory, have you tried to do so using sudo in the terminal? For example: sudo chown -R $(id -u):$(id -g) ~/.kde I'm surprised a port would install something in your home directory. That's not really proper. From jmr at macports.org Sun Feb 7 10:10:36 2010 From: jmr at macports.org (Joshua Root) Date: Mon, 08 Feb 2010 05:10:36 +1100 Subject: How to remove inactive ports? In-Reply-To: References: Message-ID: <4B6F021C.3030605@macports.org> On 2010-2-8 04:51 , Ryan Schmidt wrote: > On Feb 7, 2010, at 11:48, Joachim Osnabryg wrote: > >> With which command can the inactive (meanwhile updated) ports be removed? > > The simplest available command would be: > > sudo port uninstall inactive There's also the example given in the man page: port -u uninstall - Josh From ryandesign at macports.org Sun Feb 7 10:15:53 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 7 Feb 2010 12:15:53 -0600 Subject: Apache2 php error logging In-Reply-To: <7C938E4C-33F6-435B-9219-DF7CAC987D09@newgeo.com> References: <2E731ED8-D080-4447-9DC8-ED668F1CA1E2@newgeo.com> <56cc1b0a1002062319i25893503p51ce4396579ee3d1@mail.gmail.com> <56cc1b0a1002062349w2c4d61dex5422af2154ba6e11@mail.gmail.com> <56cc1b0a1002070333v135ea996h4b08ff783c064436@mail.gmail.com> <7C938E4C-33F6-435B-9219-DF7CAC987D09@newgeo.com> Message-ID: <806B7E3E-F626-4504-8D90-CD24FAF3BAC8@macports.org> On Feb 7, 2010, at 07:52, Scott Haneda wrote: > On Mac I personally use Interarchy. I feel it curreny is the best of the offerings. A quick breakdown: I used to use Interarchy years ago, and Anarchie before it. I didn't like all the bloat it grew over the years, nor the price tag. > Next paid contender would be Panic's Transmit. Transmit is the FTP app with all the shine and polish as usual. I used Transmit too, but got upset when, right after I bought a license, I reported a bug, which got fixed, but only in the next paid version. Have I mentioned I'm not a fan of software you have to pay for? > On the free side is Cyberduck. In my opinion, pretty darn close to Transmit. Looking over the website, I would say the app progressed quickly and looks pretty good. CyberDuck is what I've used for awhile now. I wouldn't call it fantastic, but it's been good enough that I haven't wanted to look for an alternative. > Oh. There is also Fetch, probably the first OS 9 FTP client on the scene. I'm pretty sure the developer won the million bucks on Who Wants To Be A Millionaire. I don't know the state of Fetch, though I do know had I won a million I may be inclined to take a long break from my app as well. :) Ah, Fetch. The longest-running FTP client I know. It predates OS 9 by quite a bit. Heck, it predates System 7 by two years. Not free, by the way. From ryandesign at macports.org Sun Feb 7 10:18:36 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 7 Feb 2010 12:18:36 -0600 Subject: How to remove inactive ports? In-Reply-To: <4B6F021C.3030605@macports.org> References: <4B6F021C.3030605@macports.org> Message-ID: <8B572958-04F7-4AA2-9598-53DD4FE77801@macports.org> On Feb 7, 2010, at 12:10, Joshua Root wrote: > There's also the example given in the man page: > > port -u uninstall I've suggested once before that we remove the "-u" option for uninstall, since it is so disastrously dissimilar to the "-u" option for upgrade, and identical to "sudo port uninstall inactive", which we should recommend users use instead since it's much clearer what will happen. What do you think? From brad at pixilla.com Sun Feb 7 10:25:56 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Sun, 7 Feb 2010 10:25:56 -0800 Subject: MAC OSX 10.6 configd overwrites DNS and routing from OpenVPN In-Reply-To: <4B6EC57D.5060807@celoso.net> References: <4B6EC57D.5060807@celoso.net> Message-ID: <2CFB058B-91E9-4FDC-9C21-9F5B58EFFB17@pixilla.com> Have you looked into networksetup? man networksetup // Brad On Feb 7, 2010, at 5:51 AM, Michael Hieb wrote: > Apologies if this is covered elsewhere. I've looked and found no > definitive answers. > > Problem: > > Using standard install macports openvpn2: OpenVPN creates a tunnel > on a virtual network interface tap0 which is configured via DHCP. > Once up a script is called to update the routing tables and set DNS. > On linux and windows this works and is very stable because static > routing configurations are employed. On Mac OS X v10.6 routing > configurations are dynamic and managed by configd. Once the virtual > interface comes up the routing tables and DNS can be changed, but > after a short while, configd will come along and change the routing > and DNS configurations and break the VPN. > > This is covered in some detail in this article. > http://www.afp548.com/article.php?story=20041015131913324 > > Question: How to write the DNS and routing entries into preferences > at the time OpenVPN comes up so that they will persist when configd > updates the system? > > Details: > > 1. Commands used by OpenVPN script to update the routing table and DNS > > /usr/sbin/ipconfig set "$dev" DHCP > > /usr/sbin/scutil < d.init > get State:/Network/Service/DHCP-$dev/DNS > d.add SupplementalMatchDomains * $domain_name > set State:/Network/Service/DHCP-$dev/DNS > EOF > > Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: Sun Feb 7 11:19:36 2010 / > sbin/route add -net 192.168.120.1 192.168.1.1 255.255.255.255 > Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: add net 192.168.120.1: > gateway 192.168.1.1 > Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: Sun Feb 7 11:19:36 2010 / > sbin/route delete -net 0.0.0.0 192.168.1.1 0.0.0.0 > Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: delete net 0.0.0.0: > gateway 192.168.1.1 > Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: Sun Feb 7 11:19:36 2010 / > sbin/route add -net 0.0.0.0 192.168.110.1 0.0.0.0 > Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: add net 0.0.0.0: gateway > 192.168.110.1 > > 2. Every looks good for a few minutes > > MacBook-Pro:~ user$ netstat -r > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.110.1 UGSc 0 0 tap0 > default 192.168.110.1 UGScI 41 88 tap0 > 127 localhost UCS 0 0 lo0 > localhost localhost UH 0 0 lo0 > 169.254 link#5 UCS 0 0 en1 > 192.168.1 link#5 UC 1 0 en1 > 192.168.1.1 0:1e:e5:86:79:22 UHLWI 1 17 en1 1187 > 192.168.1.101 localhost UHS 0 0 lo0 > 192.168.110 link#7 UCS 2 0 tap0 > 192.168.110.1 0:17:3f:9b:e3:e2 UHLWI 43 8 tap0 1182 > 192.168.110.3 0:1c:c0:f:90:3b UHLWI 12 137213 tap0 454 > 192.168.110.29 localhost UHS 0 0 lo0 > 192.168.120.1/32 192.168.1.1 UGSc 1 0 en1 > > MacBook-Pro:~ user$ sudo scutil --dnsDNS configuration > > resolver #1 > domain : celoso.net > search domain[0] : celoso.net > nameserver[0] : 208.67.222.222 > nameserver[1] : 208.67.220.220 > nameserver[2] : 4.2.2.3 > order : 200000 > > resolver #2 > domain : celoso.net > nameserver[0] : 192.168.110.3 > nameserver[1] : 192.168.110.3 > order : 100400 > > 3. Then something will trigger configd to update the DNS or routing > tables, the only evidence of which I have been able to find is the > following message in the system.log > > Feb 7 11:20:34 MacBook-Pro configd[13]: network configuration changed. > > 4. And either the DNS or routing tables will be changed e.g. > > MacBook-Pro:~ user$ sudo /usr/sbin/scutil --dns > Password: > DNS configuration > > resolver #1 > domain : celoso.net > search domain[0] : celoso.net > nameserver[0] : 208.67.222.222 > nameserver[1] : 208.67.220.220 > nameserver[2] : 4.2.2.3 > order : 200000 > > resolver #2 > domain : local > options : mdns > timeout : 2 > order : 300000 > > MacBook-Pro:~ user$ netstat -r > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 192.168.1.1 UGSc 0 0 en1 > default 192.168.110.1 UGScI 52 81 tap0 > 127 localhost UCS 0 0 lo0 > localhost localhost UH 0 0 lo0 > 169.254 link#5 UCS 0 0 en1 > 192.168.1 link#5 UC 1 0 en1 > 192.168.1.1 0:1e:e5:86:79:22 UHLWI 1 17 en1 1196 > 192.168.1.101 localhost UHS 0 0 lo0 > 192.168.110 link#7 UCS 2 0 tap0 > 192.168.110.1 0:17:3f:9b:e3:e2 UHLWI 54 5 tap0 1199 > 192.168.110.3 0:1c:c0:f:90:3b UHLWI 0 34 tap0 1161 > 192.168.110.29 localhost UHS 0 0 lo0 > 192.168.120.1/32 192.168.1.1 UGSc 1 0 en1 > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From rj at cyclaero.com Sun Feb 7 10:32:29 2010 From: rj at cyclaero.com (Dr. Rolf Jansen) Date: Sun, 7 Feb 2010 16:32:29 -0200 Subject: How to remove inactive ports? In-Reply-To: <4B6F021C.3030605@macports.org> References: <4B6F021C.3030605@macports.org> Message-ID: <7AA9061B-F073-49B8-8997-7EE22B9708CB@cyclaero.com> Am 07.02.2010 um 16:10 schrieb Joshua Root: > On 2010-2-8 04:51 , Ryan Schmidt wrote: >> On Feb 7, 2010, at 11:48, Joachim Osnabryg wrote: >> >>> With which command can the inactive (meanwhile updated) ports be >>> removed? >> >> The simplest available command would be: >> >> sudo port uninstall inactive > > There's also the example given in the man page: > > port -u uninstall I am not a native english speaker, and perhaps therefore "To uninstall all installed but inactive ports, use -u." sounded to me like "uninstall -u" would remove everything except inactive ports. Needless to say, that I never used this crazy command. Perhaps it would not harm to make the description more clear to non- native speakers. How about: "To uninstall all installed inactive ports, use -u." Best regards Rolf From michael.hieb at celoso.net Sun Feb 7 10:53:58 2010 From: michael.hieb at celoso.net (Michael Hieb) Date: Sun, 07 Feb 2010 18:53:58 +0000 Subject: MAC OSX 10.6 configd overwrites DNS and routing from OpenVPN In-Reply-To: <2CFB058B-91E9-4FDC-9C21-9F5B58EFFB17@pixilla.com> References: <4B6EC57D.5060807@celoso.net> <2CFB058B-91E9-4FDC-9C21-9F5B58EFFB17@pixilla.com> Message-ID: <4B6F0C46.1030903@celoso.net> Yes. I may have missed a trick, so tell me if you think I got it wrong. 1. Can be used to change DNS setting permanently for interfaces which exist in the configd configuration, e.g. Ethernet/Airport 2. Cannot be used to put default routing in the configd configuration. What you need (and I haven't been able to figure out how to do this) is a way to use networksetup to tell configd about the tap interface and what DNS and routing are associated with the tap interface. Sort of like what you can do in the dynamic configuration with ifconfig and scutil which works until configd comes along and clobbers your settings. So networksetup will do things like networksetup --setdnsserver [ETHERNET|AIRPORT] x.x.x.x When what you want is something like networksetup --setdnsserver [TAP] x.x.x.x networksetup -setdefaultroute [TAP] g.g.g.g If you see what I mean... On 07/02/2010 18:25, Bradley Giesbrecht wrote: > Have you looked into networksetup? > > man networksetup > > > // Brad > > On Feb 7, 2010, at 5:51 AM, Michael Hieb wrote: > >> Apologies if this is covered elsewhere. I've looked and found no >> definitive answers. >> >> Problem: >> >> Using standard install macports openvpn2: OpenVPN creates a tunnel on >> a virtual network interface tap0 which is configured via DHCP. Once >> up a script is called to update the routing tables and set DNS. On >> linux and windows this works and is very stable because static >> routing configurations are employed. On Mac OS X v10.6 routing >> configurations are dynamic and managed by configd. Once the virtual >> interface comes up the routing tables and DNS can be changed, but >> after a short while, configd will come along and change the routing >> and DNS configurations and break the VPN. >> >> This is covered in some detail in this article. >> http://www.afp548.com/article.php?story=20041015131913324 >> >> Question: How to write the DNS and routing entries into preferences >> at the time OpenVPN comes up so that they will persist when configd >> updates the system? >> >> Details: >> >> 1. Commands used by OpenVPN script to update the routing table and DNS >> >> /usr/sbin/ipconfig set "$dev" DHCP >> >> /usr/sbin/scutil <> d.init >> get State:/Network/Service/DHCP-$dev/DNS >> d.add SupplementalMatchDomains * $domain_name >> set State:/Network/Service/DHCP-$dev/DNS >> EOF >> >> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: Sun Feb 7 11:19:36 2010 >> /sbin/route add -net 192.168.120.1 192.168.1.1 255.255.255.255 >> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: add net 192.168.120.1: >> gateway 192.168.1.1 >> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: Sun Feb 7 11:19:36 2010 >> /sbin/route delete -net 0.0.0.0 192.168.1.1 0.0.0.0 >> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: delete net 0.0.0.0: >> gateway 192.168.1.1 >> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: Sun Feb 7 11:19:36 2010 >> /sbin/route add -net 0.0.0.0 192.168.110.1 0.0.0.0 >> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: add net 0.0.0.0: gateway >> 192.168.110.1 >> >> 2. Every looks good for a few minutes >> >> MacBook-Pro:~ user$ netstat -r >> Routing tables >> >> Internet: >> Destination Gateway Flags Refs Use Netif Expire >> default 192.168.110.1 UGSc 0 0 tap0 >> default 192.168.110.1 UGScI 41 88 tap0 >> 127 localhost UCS 0 0 lo0 >> localhost localhost UH 0 0 lo0 >> 169.254 link#5 UCS 0 0 en1 >> 192.168.1 link#5 UC 1 0 en1 >> 192.168.1.1 0:1e:e5:86:79:22 UHLWI 1 17 en1 1187 >> 192.168.1.101 localhost UHS 0 0 lo0 >> 192.168.110 link#7 UCS 2 0 tap0 >> 192.168.110.1 0:17:3f:9b:e3:e2 UHLWI 43 8 tap0 1182 >> 192.168.110.3 0:1c:c0:f:90:3b UHLWI 12 137213 tap0 454 >> 192.168.110.29 localhost UHS 0 0 lo0 >> 192.168.120.1/32 192.168.1.1 UGSc 1 0 en1 >> >> MacBook-Pro:~ user$ sudo scutil --dnsDNS configuration >> >> resolver #1 >> domain : celoso.net >> search domain[0] : celoso.net >> nameserver[0] : 208.67.222.222 >> nameserver[1] : 208.67.220.220 >> nameserver[2] : 4.2.2.3 >> order : 200000 >> >> resolver #2 >> domain : celoso.net >> nameserver[0] : 192.168.110.3 >> nameserver[1] : 192.168.110.3 >> order : 100400 >> >> 3. Then something will trigger configd to update the DNS or routing >> tables, the only evidence of which I have been able to find is the >> following message in the system.log >> >> Feb 7 11:20:34 MacBook-Pro configd[13]: network configuration changed. >> >> 4. And either the DNS or routing tables will be changed e.g. >> >> MacBook-Pro:~ user$ sudo /usr/sbin/scutil --dns >> Password: >> DNS configuration >> >> resolver #1 >> domain : celoso.net >> search domain[0] : celoso.net >> nameserver[0] : 208.67.222.222 >> nameserver[1] : 208.67.220.220 >> nameserver[2] : 4.2.2.3 >> order : 200000 >> >> resolver #2 >> domain : local >> options : mdns >> timeout : 2 >> order : 300000 >> >> MacBook-Pro:~ user$ netstat -r >> Routing tables >> >> Internet: >> Destination Gateway Flags Refs Use Netif Expire >> default 192.168.1.1 UGSc 0 0 en1 >> default 192.168.110.1 UGScI 52 81 tap0 >> 127 localhost UCS 0 0 lo0 >> localhost localhost UH 0 0 lo0 >> 169.254 link#5 UCS 0 0 en1 >> 192.168.1 link#5 UC 1 0 en1 >> 192.168.1.1 0:1e:e5:86:79:22 UHLWI 1 17 en1 1196 >> 192.168.1.101 localhost UHS 0 0 lo0 >> 192.168.110 link#7 UCS 2 0 tap0 >> 192.168.110.1 0:17:3f:9b:e3:e2 UHLWI 54 5 tap0 1199 >> 192.168.110.3 0:1c:c0:f:90:3b UHLWI 0 34 tap0 1161 >> 192.168.110.29 localhost UHS 0 0 lo0 >> 192.168.120.1/32 192.168.1.1 UGSc 1 0 en1 >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad at pixilla.com Sun Feb 7 10:53:04 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Sun, 7 Feb 2010 10:53:04 -0800 Subject: ProFTPD | Add group and user FTP In-Reply-To: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> References: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> Message-ID: On Feb 7, 2010, at 5:58 AM, Jasper Frumau wrote: > I just added ProFTPD and I am adjusting the ProFTPD configuration > file. I need to add ftp user and group. I went to system preferences > > accounts and added group ftp. When I wanted to add user ftp it > said the name was already reserved. I decided to abort and remove > newly created group fpt.. So I guess a user ftp is already there. > How can I check this from the command line? I am reading man > dseditgroup as groupadd/useradd does not seem to be a valid command > on my Mac. Haven't found a way to list all groups on the system yet > though... In Terminal.app do: $ dscl . list /Users $ dscl . list /Groups Does the proftpd port not add system a user and group to run as? If not and they are required I think this should be added to the portfile. Also, you can probably just add _ftp for a user which is the osx naming convention for non-login users. Take a look at all the names beginning with underscores from the output of the commands I listed. // Brad From osna at jpberlin.de Sun Feb 7 11:00:07 2010 From: osna at jpberlin.de (Joachim Osnabryg) Date: Sun, 07 Feb 2010 20:00:07 +0100 Subject: kile-devel & deps ports failing on Tiger OSX 10.4-intel Message-ID: With the help of Ryan Schmidt - see thread "automoc install failed on OSX 10.4 intel" - ? >>> simpler fix is to just go into /Developer/SDKs/MacOSX10.4u.sdk and >>> make a symlink "opt" there pointing to /opt, like this: >>> sudo ln -s /opt /Developer/SDKs/MacOSX10.4u.sdk/opt ? I could $ sudo port install automoc without errors. > Great! Hopefully I went ahead then with another $ sudo port install kile-devel but there were many many errors and warnings, ending with: ------------ Warning: the following items did not execute (for soprano): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: kdebase4-runtime kdelibs4 soprano kdelibs4-experimental kdepimlibs4 akonadi boost boost-jam gpgme gnupg libusb libgpg-error pth libical openldap icu oxygen-icons qimageblitz kdegraphics4 chmlib djvulibre exiv2 libspectre poppler gtk2 atk pango openjpeg poppler-data qca sane-backends libusb-compat Error: Status 1 encountered during processing. ----------- Given the Library Dependencies: kdelibs4, kdebase4-runtime, kdegraphics4, I prefered then to go ahead stepwise, first installing the => kdelibs4 port, which unfurtunately ended with: ------------------- Warning: the following items did not execute (for soprano): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: soprano Error: Status 1 encountered during processing. ---------------------- (I'm attaching the last part of the debug output - after the first error - as .txt) Being at a loss also with this, I asked again, what I could do further to overcome this problem for the kdelibs4 port - on the way to finally getting kile-devel installed. Or do you regard my stepwise approach useless, so that I should make another try to install the kile-devel port at once and, when failing, send you the whole terminal output? Or better to give up now? joachim -- Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3 LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: MPort-kdelibs4-dlog-X.txt URL: From brad at pixilla.com Sun Feb 7 11:06:43 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Sun, 7 Feb 2010 11:06:43 -0800 Subject: MAC OSX 10.6 configd overwrites DNS and routing from OpenVPN In-Reply-To: <4B6F0C46.1030903@celoso.net> References: <4B6EC57D.5060807@celoso.net> <2CFB058B-91E9-4FDC-9C21-9F5B58EFFB17@pixilla.com> <4B6F0C46.1030903@celoso.net> Message-ID: <8740EB51-C652-4F24-94A4-099ADCDE11BE@pixilla.com> On Feb 7, 2010, at 10:53 AM, Michael Hieb wrote: > Yes. I may have missed a trick, so tell me if you think I got it > wrong. > > 1. Can be used to change DNS setting permanently for interfaces > which exist in the configd configuration, e.g. Ethernet/Airport > 2. Cannot be used to put default routing in the configd configuration. > > What you need (and I haven't been able to figure out how to do this) > is a way to use networksetup to tell configd about the tap interface > and what DNS and routing are associated with the tap interface. Sort > of like what you can do in the dynamic configuration with ifconfig > and scutil which works until configd comes along and clobbers your > settings. > > So networksetup will do things like > > networksetup --setdnsserver [ETHERNET|AIRPORT] x.x.x.x > > When what you want is something like > > networksetup --setdnsserver [TAP] x.x.x.x > networksetup -setdefaultroute [TAP] g.g.g.g > > If you see what I mean... Yes. Also a quick look at osx server and I see they are using vpnd but we may still be able to discover something there. BTW, you want openvpn because with vpnd you cannot connect to some other vpn device? That is my reason. vpnd does not appear to support as many remote configurations. I needed ipsec and it didn't look promising with vpnd. // Brad From osna at jpberlin.de Sun Feb 7 11:13:11 2010 From: osna at jpberlin.de (Joachim Osnabryg) Date: Sun, 07 Feb 2010 20:13:11 +0100 Subject: automoc install failed on OSX 10.4 intel In-Reply-To: <37C687E5-B3A5-45E1-906C-13B020977452@macports.org> References: <49D3AD69-55C3-4665-8628-34B5D8E2E83A@macports.org> <37C687E5-B3A5-45E1-906C-13B020977452@macports.org> Message-ID: Am 07.02.2010, 18:55 Uhr, schrieb Ryan Schmidt: > Sure, go ahead. I did it, without success, though. I'm posting the report under the subject "kile-devel & deps ports failing on Tiger OSX 10.4-intel" on this list, because this is the underlying, proper subject. Please read and answer to it! Thanks again, for your help so far. joachim -- Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3 LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger From brad at pixilla.com Sun Feb 7 11:41:34 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Sun, 7 Feb 2010 11:41:34 -0800 Subject: Dovecot 1.2.10 fails to start In-Reply-To: <64CBD918-EE24-4E0D-B003-437C11C779C1@dxradio.demon.co.uk> References: <8BF820D5-AC2E-4B40-8E68-ABEACC6D5CBF@dxradio.demon.co.uk> <13124264-1E9E-44BF-8FE9-22E0A94DE93B@macports.org> <64CBD918-EE24-4E0D-B003-437C11C779C1@dxradio.demon.co.uk> Message-ID: <8138ADF7-CD9D-4EFC-B106-0A17E909A8A4@pixilla.com> On Feb 6, 2010, at 4:42 AM, Mark Hattam wrote: > On 6 Feb 2010, at 10:43, Ryan Schmidt wrote: > >> >> On Feb 5, 2010, at 12:01, Mark Hattam wrote: >> >>> sudo port upgrade'd Dovecot to 1.2.10 from 1.1.16 >>> >>> upgrade appeared to go OK, but then found Dovecot 1.2.10 unable to >>> start up >>> >>> Feb 5 17:39:42 iMac com.apple.launchd[1] >>> (org.macports.dovecot[389]): Exited with exit code: 2 >>> Feb 5 17:39:42 iMac org.macports.dovecot[401]: Error: Error in >>> configuration file /opt/local/etc/dovecot/dovecot.conf line 87: >>> Unknown setting: ssl_disable >>> Feb 5 17:39:42 iMac org.macports.dovecot[401]: Fatal: Invalid >>> configuration in /opt/local/etc/dovecot/dovecot.conf >>> >>> OK ... that's easy to change ... compare with dovecot-example.conf >>> and notice the subtle change >>> >>> less dovecot-example.conf >>> # SSL/TLS support: yes, no, required. >>> #ssl = yes >>> >>> less dovecot.conf >>> # Disable SSL/TLS support. >>> ssl_disable = yes >>> >>> So comment out the >>> ssl_disable line and add the ssl line (with no) >>> >>> >>> HOWEVER, that just led to this error >>> >>> Feb 5 17:44:12 iMac com.apple.launchd[1] >>> (org.macports.dovecot[448]): Exited with exit code: 2 >>> Feb 5 17:44:12 iMac org.macports.dovecot[462]: Last died with >>> error (see error log for more information): Socket already >>> exists: /opt/local/var/run/dovecot/dict-server >>> Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: / >>> opt/local/var/run/dovecot/dict-server >>> >>> >>> But the error log just says the same thing >>> Feb 5 17:44:12 iMac dovecot[464]: Dovecot v1.2.10 starting up >>> (core dumps disabled) >>> Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: / >>> opt/local/var/run/dovecot/dict-server >>> >>> >>> Googling the error, suggests that this is a known problem with a >>> patch in Oct 2008 >>> >>> But how to apply the patch? >>> >>> [Gone back to 1.1.16 so I can write this] >> >> I'm sorry you're having difficulties. Unfortunately I don't know >> anything about dovecot; I just committed the update that was >> attached to a ticket. If there is a patch we should be applying, >> can you refer me to the appropriate URL? Have you already contacted >> the developers of dovecot for assistance? They should know better >> than I how to get their software working. >> >> Off the top of my head, to the error "Socket already exists" -- >> does it? If so, why? Is dovecot running? If so, stop it, make sure >> the socket doesn't exist anymore (delete it if it doesn't go away >> on its own), then start dovecot again. Does it now start cleanly? > > > Ah OK ... it doesn't go away on its own. It's been there a long time > through lots of reboots. > > iMac:dovecot mark$ ls -la /opt/local/var/run/dovecot/ > total 8 > drwxr-xr-x 6 root admin 204 5 Feb 17:51 . > drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. > srw------- 1 root wheel 0 5 Feb 17:51 auth-worker.552 > -rwxrwxrwx 1 root admin 0 30 Aug 23:43 dict-server > drwxr-x--- 3 root dovecot 102 5 Feb 17:51 login > -rw------- 1 root admin 4 5 Feb 17:51 master.pid > > iMac:dovecot mark$ sudo rm dict-server > > iMac:dovecot mark$ sudo port deactivate dovecot at 1.1.16_0+darwin_10 > ---> Deactivating dovecot @1.1.16_0+darwin_10 > > to ensure nothing is running that oughtn't be > > iMac:~ mark$ sudo port activate dovecot at 1.2.10_0 > ---> Activating dovecot @1.2.10_0 > > make the above changes to dovecot.conf > iMac:~ mark$ sudo vi /opt/local/etc/dovecot/dovecot.conf > > run the new version again > iMac:~ mark$ sudo launchctl load -w /Library/LaunchDaemons/ > org.macports.dovecot.plist > > Now I see > iMac:dovecot mark$ ls -la /opt/local/var/run/dovecot/ > total 16 > drwxr-xr-x 7 root admin 238 6 Feb 12:32 . > drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. > srw------- 1 root wheel 0 6 Feb 12:32 auth-worker.64 > srwxrwxrwx 1 root admin 0 6 Feb 12:32 dict-server > > ls: /opt/local/var/run/dovecot//dovecot.conf: Permission denied > lrwx------ 1 root admin 35 6 Feb 12:32 dovecot.conf > drwxr-x--- 3 root dovecot 102 6 Feb 12:32 login > -rw------- 1 root admin 3 6 Feb 12:32 master.pid > > repeated with sudo > > iMac:dovecot mark$ sudo ls -la /opt/local/var/run/dovecot/ > Password: > total 16 > drwxr-xr-x 7 root admin 238 6 Feb 12:32 . > drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. > srw------- 1 root wheel 0 6 Feb 12:32 auth-worker.64 > srwxrwxrwx 1 root admin 0 6 Feb 12:32 dict-server > lrwx------ 1 root admin 35 6 Feb 12:32 dovecot.conf -> /opt/ > local/etc/dovecot/dovecot.conf > drwxr-x--- 3 root dovecot 102 6 Feb 12:32 login > -rw------- 1 root admin 3 6 Feb 12:32 master.pid > > So dovecot 1.2.10 is now running without chucking errors into > system.log or mail.log which appears to be good. Sorry, I meant to try to help you out with this but ended up with a day of flames. I use dovecot and may have been the person who submitted the update patch. Is dovecot 1.2 working for you now? Were you using virtual users? If so did the mailbox locations change? Mine did, dovecot 1.2 added a subdir "mailboxes" which I could not figure out why and ended up just moving all my mailboxes into this new subdir to get things working. I'm working on a dovecot-sieve port if your interested. If you are I'll share my portfile with you. I wouldn't mind having another set of eyes working on dovecot-sieve with me. I have no sieve experience. My dovecot-sieve port currently installs fine so mostly I just need to work on some sieve scripts to test it and then I want to put together a dovecot-managesieve port. // Brad From brad at pixilla.com Sun Feb 7 11:56:35 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Sun, 7 Feb 2010 11:56:35 -0800 Subject: MAC OSX 10.6 configd overwrites DNS and routing from OpenVPN In-Reply-To: <4B6F0C46.1030903@celoso.net> References: <4B6EC57D.5060807@celoso.net> <2CFB058B-91E9-4FDC-9C21-9F5B58EFFB17@pixilla.com> <4B6F0C46.1030903@celoso.net> Message-ID: <9EA8DCEA-4A44-42DD-98CD-8267139DBC49@pixilla.com> I'm reading this now and might be worth looking at although it's old. http://openvpn.net/archive/openvpn-users/2006-10/msg00120.html // Brad On Feb 7, 2010, at 10:53 AM, Michael Hieb wrote: > Yes. I may have missed a trick, so tell me if you think I got it > wrong. > > 1. Can be used to change DNS setting permanently for interfaces > which exist in the configd configuration, e.g. Ethernet/Airport > 2. Cannot be used to put default routing in the configd configuration. > > What you need (and I haven't been able to figure out how to do this) > is a way to use networksetup to tell configd about the tap interface > and what DNS and routing are associated with the tap interface. Sort > of like what you can do in the dynamic configuration with ifconfig > and scutil which works until configd comes along and clobbers your > settings. > > So networksetup will do things like > > networksetup --setdnsserver [ETHERNET|AIRPORT] x.x.x.x > > When what you want is something like > > networksetup --setdnsserver [TAP] x.x.x.x > networksetup -setdefaultroute [TAP] g.g.g.g > > If you see what I mean... > > On 07/02/2010 18:25, Bradley Giesbrecht wrote: >> >> Have you looked into networksetup? >> >> man networksetup >> >> >> // Brad >> >> On Feb 7, 2010, at 5:51 AM, Michael Hieb wrote: >> >>> Apologies if this is covered elsewhere. I've looked and found no >>> definitive answers. >>> >>> Problem: >>> >>> Using standard install macports openvpn2: OpenVPN creates a tunnel >>> on a virtual network interface tap0 which is configured via DHCP. >>> Once up a script is called to update the routing tables and set >>> DNS. On linux and windows this works and is very stable because >>> static routing configurations are employed. On Mac OS X v10.6 >>> routing configurations are dynamic and managed by configd. Once >>> the virtual interface comes up the routing tables and DNS can be >>> changed, but after a short while, configd will come along and >>> change the routing and DNS configurations and break the VPN. >>> >>> This is covered in some detail in this article. >>> http://www.afp548.com/article.php?story=20041015131913324 >>> >>> Question: How to write the DNS and routing entries into >>> preferences at the time OpenVPN comes up so that they will persist >>> when configd updates the system? >>> >>> Details: >>> >>> 1. Commands used by OpenVPN script to update the routing table and >>> DNS >>> >>> /usr/sbin/ipconfig set "$dev" DHCP >>> >>> /usr/sbin/scutil <>> d.init >>> get State:/Network/Service/DHCP-$dev/DNS >>> d.add SupplementalMatchDomains * $domain_name >>> set State:/Network/Service/DHCP-$dev/DNS >>> EOF >>> >>> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: Sun Feb 7 11:19:36 >>> 2010 /sbin/route add -net 192.168.120.1 192.168.1.1 255.255.255.255 >>> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: add net 192.168.120.1: >>> gateway 192.168.1.1 >>> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: Sun Feb 7 11:19:36 >>> 2010 /sbin/route delete -net 0.0.0.0 192.168.1.1 0.0.0.0 >>> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: delete net 0.0.0.0: >>> gateway 192.168.1.1 >>> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: Sun Feb 7 11:19:36 >>> 2010 /sbin/route add -net 0.0.0.0 192.168.110.1 0.0.0.0 >>> Feb 7 11:19:36 MacBook-Pro org.openvpn[44]: add net 0.0.0.0: >>> gateway 192.168.110.1 >>> >>> 2. Every looks good for a few minutes >>> >>> MacBook-Pro:~ user$ netstat -r >>> Routing tables >>> >>> Internet: >>> Destination Gateway Flags Refs Use Netif Expire >>> default 192.168.110.1 UGSc 0 0 tap0 >>> default 192.168.110.1 UGScI 41 88 tap0 >>> 127 localhost UCS 0 0 lo0 >>> localhost localhost UH 0 0 lo0 >>> 169.254 link#5 UCS 0 0 en1 >>> 192.168.1 link#5 UC 1 0 en1 >>> 192.168.1.1 0:1e:e5:86:79:22 UHLWI 1 17 en1 1187 >>> 192.168.1.101 localhost UHS 0 0 lo0 >>> 192.168.110 link#7 UCS 2 0 tap0 >>> 192.168.110.1 0:17:3f:9b:e3:e2 UHLWI 43 8 tap0 1182 >>> 192.168.110.3 0:1c:c0:f:90:3b UHLWI 12 137213 tap0 454 >>> 192.168.110.29 localhost UHS 0 0 lo0 >>> 192.168.120.1/32 192.168.1.1 UGSc 1 0 en1 >>> >>> MacBook-Pro:~ user$ sudo scutil --dnsDNS configuration >>> >>> resolver #1 >>> domain : celoso.net >>> search domain[0] : celoso.net >>> nameserver[0] : 208.67.222.222 >>> nameserver[1] : 208.67.220.220 >>> nameserver[2] : 4.2.2.3 >>> order : 200000 >>> >>> resolver #2 >>> domain : celoso.net >>> nameserver[0] : 192.168.110.3 >>> nameserver[1] : 192.168.110.3 >>> order : 100400 >>> >>> 3. Then something will trigger configd to update the DNS or >>> routing tables, the only evidence of which I have been able to >>> find is the following message in the system.log >>> >>> Feb 7 11:20:34 MacBook-Pro configd[13]: network configuration >>> changed. >>> >>> 4. And either the DNS or routing tables will be changed e.g. >>> >>> MacBook-Pro:~ user$ sudo /usr/sbin/scutil --dns >>> Password: >>> DNS configuration >>> >>> resolver #1 >>> domain : celoso.net >>> search domain[0] : celoso.net >>> nameserver[0] : 208.67.222.222 >>> nameserver[1] : 208.67.220.220 >>> nameserver[2] : 4.2.2.3 >>> order : 200000 >>> >>> resolver #2 >>> domain : local >>> options : mdns >>> timeout : 2 >>> order : 300000 >>> >>> MacBook-Pro:~ user$ netstat -r >>> Routing tables >>> >>> Internet: >>> Destination Gateway Flags Refs Use Netif Expire >>> default 192.168.1.1 UGSc 0 0 en1 >>> default 192.168.110.1 UGScI 52 81 tap0 >>> 127 localhost UCS 0 0 lo0 >>> localhost localhost UH 0 0 lo0 >>> 169.254 link#5 UCS 0 0 en1 >>> 192.168.1 link#5 UC 1 0 en1 >>> 192.168.1.1 0:1e:e5:86:79:22 UHLWI 1 17 en1 1196 >>> 192.168.1.101 localhost UHS 0 0 lo0 >>> 192.168.110 link#7 UCS 2 0 tap0 >>> 192.168.110.1 0:17:3f:9b:e3:e2 UHLWI 54 5 tap0 1199 >>> 192.168.110.3 0:1c:c0:f:90:3b UHLWI 0 34 tap0 1161 >>> 192.168.110.29 localhost UHS 0 0 lo0 >>> 192.168.120.1/32 192.168.1.1 UGSc 1 0 en1 >>> _______________________________________________ >>> macports-users mailing list >>> macports-users at lists.macosforge.org >>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at dxradio.demon.co.uk Sun Feb 7 12:32:44 2010 From: mark at dxradio.demon.co.uk (Mark Hattam) Date: Sun, 7 Feb 2010 20:32:44 +0000 Subject: Dovecot 1.2.10 fails to start In-Reply-To: <8138ADF7-CD9D-4EFC-B106-0A17E909A8A4@pixilla.com> References: <8BF820D5-AC2E-4B40-8E68-ABEACC6D5CBF@dxradio.demon.co.uk> <13124264-1E9E-44BF-8FE9-22E0A94DE93B@macports.org> <64CBD918-EE24-4E0D-B003-437C11C779C1@dxradio.demon.co.uk> <8138ADF7-CD9D-4EFC-B106-0A17E909A8A4@pixilla.com> Message-ID: <5A65C03D-429B-4F00-A2D8-58A5C1A68A92@dxradio.demon.co.uk> On 7 Feb 2010, at 19:41, Bradley Giesbrecht wrote: > > On Feb 6, 2010, at 4:42 AM, Mark Hattam wrote: > >> On 6 Feb 2010, at 10:43, Ryan Schmidt wrote: >> >>> >>> On Feb 5, 2010, at 12:01, Mark Hattam wrote: >>> >>>> sudo port upgrade'd Dovecot to 1.2.10 from 1.1.16 >>>> >>>> upgrade appeared to go OK, but then found Dovecot 1.2.10 unable to start up >>>> >>>> Feb 5 17:39:42 iMac com.apple.launchd[1] (org.macports.dovecot[389]): Exited with exit code: 2 >>>> Feb 5 17:39:42 iMac org.macports.dovecot[401]: Error: Error in configuration file /opt/local/etc/dovecot/dovecot.conf line 87: Unknown setting: ssl_disable >>>> Feb 5 17:39:42 iMac org.macports.dovecot[401]: Fatal: Invalid configuration in /opt/local/etc/dovecot/dovecot.conf >>>> >>>> OK ... that's easy to change ... compare with dovecot-example.conf and notice the subtle change >>>> >>>> less dovecot-example.conf >>>> # SSL/TLS support: yes, no, required. >>>> #ssl = yes >>>> >>>> less dovecot.conf >>>> # Disable SSL/TLS support. >>>> ssl_disable = yes >>>> >>>> So comment out the >>>> ssl_disable line and add the ssl line (with no) >>>> >>>> >>>> HOWEVER, that just led to this error >>>> >>>> Feb 5 17:44:12 iMac com.apple.launchd[1] (org.macports.dovecot[448]): Exited with exit code: 2 >>>> Feb 5 17:44:12 iMac org.macports.dovecot[462]: Last died with error (see error log for more information): Socket already exists: /opt/local/var/run/dovecot/dict-server >>>> Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server >>>> >>>> >>>> But the error log just says the same thing >>>> Feb 5 17:44:12 iMac dovecot[464]: Dovecot v1.2.10 starting up (core dumps disabled) >>>> Feb 5 17:44:12 iMac dovecot[464]: Fatal: Socket already exists: /opt/local/var/run/dovecot/dict-server >>>> >>>> >>>> Googling the error, suggests that this is a known problem with a patch in Oct 2008 >>>> >>>> But how to apply the patch? >>>> >>>> [Gone back to 1.1.16 so I can write this] >>> >>> I'm sorry you're having difficulties. Unfortunately I don't know anything about dovecot; I just committed the update that was attached to a ticket. If there is a patch we should be applying, can you refer me to the appropriate URL? Have you already contacted the developers of dovecot for assistance? They should know better than I how to get their software working. >>> >>> Off the top of my head, to the error "Socket already exists" -- does it? If so, why? Is dovecot running? If so, stop it, make sure the socket doesn't exist anymore (delete it if it doesn't go away on its own), then start dovecot again. Does it now start cleanly? >> >> >> Ah OK ... it doesn't go away on its own. It's been there a long time through lots of reboots. >> >> iMac:dovecot mark$ ls -la /opt/local/var/run/dovecot/ >> total 8 >> drwxr-xr-x 6 root admin 204 5 Feb 17:51 . >> drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. >> srw------- 1 root wheel 0 5 Feb 17:51 auth-worker.552 >> -rwxrwxrwx 1 root admin 0 30 Aug 23:43 dict-server >> drwxr-x--- 3 root dovecot 102 5 Feb 17:51 login >> -rw------- 1 root admin 4 5 Feb 17:51 master.pid >> >> iMac:dovecot mark$ sudo rm dict-server >> >> iMac:dovecot mark$ sudo port deactivate dovecot at 1.1.16_0+darwin_10 >> ---> Deactivating dovecot @1.1.16_0+darwin_10 >> >> to ensure nothing is running that oughtn't be >> >> iMac:~ mark$ sudo port activate dovecot at 1.2.10_0 >> ---> Activating dovecot @1.2.10_0 >> >> make the above changes to dovecot.conf >> iMac:~ mark$ sudo vi /opt/local/etc/dovecot/dovecot.conf >> >> run the new version again >> iMac:~ mark$ sudo launchctl load -w /Library/LaunchDaemons/org.macports.dovecot.plist >> >> Now I see >> iMac:dovecot mark$ ls -la /opt/local/var/run/dovecot/ >> total 16 >> drwxr-xr-x 7 root admin 238 6 Feb 12:32 . >> drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. >> srw------- 1 root wheel 0 6 Feb 12:32 auth-worker.64 >> srwxrwxrwx 1 root admin 0 6 Feb 12:32 dict-server >> >> ls: /opt/local/var/run/dovecot//dovecot.conf: Permission denied >> lrwx------ 1 root admin 35 6 Feb 12:32 dovecot.conf >> drwxr-x--- 3 root dovecot 102 6 Feb 12:32 login >> -rw------- 1 root admin 3 6 Feb 12:32 master.pid >> >> repeated with sudo >> >> iMac:dovecot mark$ sudo ls -la /opt/local/var/run/dovecot/ >> Password: >> total 16 >> drwxr-xr-x 7 root admin 238 6 Feb 12:32 . >> drwxr-xr-x 4 root admin 136 21 Nov 02:50 .. >> srw------- 1 root wheel 0 6 Feb 12:32 auth-worker.64 >> srwxrwxrwx 1 root admin 0 6 Feb 12:32 dict-server >> lrwx------ 1 root admin 35 6 Feb 12:32 dovecot.conf -> /opt/local/etc/dovecot/dovecot.conf >> drwxr-x--- 3 root dovecot 102 6 Feb 12:32 login >> -rw------- 1 root admin 3 6 Feb 12:32 master.pid >> >> So dovecot 1.2.10 is now running without chucking errors into system.log or mail.log which appears to be good. > > Sorry, I meant to try to help you out with this but ended up with a day of flames. > > I use dovecot and may have been the person who submitted the update patch. Is dovecot 1.2 working for you now? > > Were you using virtual users? > > If so did the mailbox locations change? > Mine did, dovecot 1.2 added a subdir "mailboxes" which I could not figure out why and ended up just moving all my mailboxes into this new subdir to get things working. > > I'm working on a dovecot-sieve port if your interested. If you are I'll share my portfile with you. I wouldn't mind having another set of eyes working on dovecot-sieve with me. I have no sieve experience. > > My dovecot-sieve port currently installs fine so mostly I just need to work on some sieve scripts to test it and then I want to put together a dovecot-managesieve port. > > > // Brad Hi Brad Yes it's running fine now. The subtle change in dovecot.conf I could suss out by the error, and if I'd known to delete the zero byte dict-server file, it'd have been fixed quicker. But it's fixed now. I'm not using virtual users - though I would like to have a public read-only archive of emails served up. I can get most of that working, but SquirrelMail's search doesn't work. I use Maildir rather than mbox and that's all working the same as it did before. The only change I had to make was the SSL=no rather than SSL-disable=yes in the conf. In totality, I use getmail to received mail using SDPS from my ISP's POP3 server That gets passed to MailDrop which sends it to DSPAM using xfilter line in .mailfilter DSPAM returns it to Maildrop which filters the mail into required Maildir directories DSPAM uses a MySQL database which is clean-up'd daily using DSPAM's MySQL script. So all the Macs and PCs here have the same server based mail, all have their Junk filtering turned off, and SquirrelMail serves it up as webmail (with the exception of "search" for a non-admin user). Mark From ghe at slsware.com Sun Feb 7 13:02:38 2010 From: ghe at slsware.com (Glenn English) Date: Sun, 7 Feb 2010 14:02:38 -0700 Subject: ProFTPD | Add group and user FTP In-Reply-To: <56cc1b0a1002070959k6f61234aya32e268913181db3@mail.gmail.com> References: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> <56cc1b0a1002070644s530dd05cv2dacb57ba8695b86@mail.gmail.com> <56cc1b0a1002070747l3dfccdb4vc27c5f3046495bbb@mail.gmail.com> <56cc1b0a1002070806s30fe2dcclfd43d17ef6a71965@mail.gmail.com> <56cc1b0a1002070959k6f61234aya32e268913181db3@mail.gmail.com> Message-ID: <791E1D3C-0D3F-4228-9FDF-6C82D5E8A9B0@slsware.com> On Feb 7, 2010, at 10:59 AM, Jasper Frumau wrote: > When I try to connect to ProFTPD locally I get: > > $ ftp jasper at localhost > Trying ::1... > ftp: Can't connect to `::1': Connection refused > Trying fe80::1%lo0... > ftp: Can't connect to `fe80::1%lo0': Connection refused > Trying 127.0.0.1... > Connected to localhost. > 220 ProFTPD 1.3.2c Server (ProFTPD Default Installation) [127.0.0.1] > 331 Password required for jasper > Password: > 530 Login incorrect. > ftp: Login failed > ftp> exit > 221 Goodbye. > > I used my standard account password so maybe that is not the one to use. Which one is it then? I just built and installed proFTPd with Porticus, then went to configure it with Webmin. As soon as I told Webmin where the executable and the config files were (/opt/local/sbin and /o/l/etc), it showed a button to start proFTPd. I did, tried to log in from another host (Linux) on the LAN, and you're right. It doesn't work: > ghe at lanserver:~$ ftp asw > Connected to air.slsware.wif. > 220 ProFTPD 1.3.2c Server (ProFTPD Default Installation) [192.168.3.160] > Name (asw:root): ghe > 331 Password required for ghe > Password: > 530 Login incorrect. > Login failed. > Remote system type is UNIX. > Using binary mode to transfer files. > ftp> bye > 221 Goodbye. So I downloaded pureFTPd from: http://www.versiontracker.com/php/dlpage.php?id=45509&db=mac&pid=45509&kind=&lnk=http%3A%2F%2Fjeanmatthieu.free.fr%2Fpureftpd%2Fpkg%2FPureFTPd-Manager-1.8.dmg It's also an FTP server of some repute. I had to 'touch' a log file for it, but after that, it was happy (Snow Leopard) and did a login: > ghe at lanserver:~$ ftp asw > Connected to air.slsware.wif. > 220---------- Welcome to Pure-FTPd [TLS] ---------- > 220-Local time is now 13:39. Server port: 21. > 220-This is a private system - No anonymous login > 220-IPv6 connections are also welcome on this server. > 220 You will be disconnected after 15 minutes of inactivity. > Name (asw:root): ghe > 331 User ghe OK. Password required > Password: > 230-User ghe has group access to: com.appl ghe wheel everyone localacc > 230- _appserv admin _appserv _lpadmin _lpopera _develop staff > 230 OK. Current directory is /Users/ghe > Remote system type is UNIX. > Using binary mode to transfer files. And the 2 or 3 FTP commands I tried worked. It's almost certainly possible to get proFTPD going, but this one is a lot less trouble, and it's got a good reputation. ProFTPD's log file says it can't bind to port 21. I suspect something's bent in the port because it can, and it does. It just can't seem to verify a password. PureFTPd comes with a GUI manager/initial configger, too. Nice, but mildly frustrating way to spend a snowy Sunday morning. Good luck... -- Glenn English ghe at slsware.com From mk-lists at email.de Sun Feb 7 13:05:18 2010 From: mk-lists at email.de (=?iso-8859-15?Q?Marko_K=E4ning?=) Date: Sun, 07 Feb 2010 22:05:18 +0100 Subject: How to make KDE3 run? How make .kde directory accessible? Message-ID: <1310469173@web.de> Hi Ryan, > sudo chown -R $(id -u):$(id -g) ~/.kde thanks for the hint! I should have known! :) I had to use sudo in various other occasions, but forgot it this time. Now it works!!! Greets, Marko From mk-lists at email.de Sun Feb 7 13:08:10 2010 From: mk-lists at email.de (=?iso-8859-15?Q?Marko_K=E4ning?=) Date: Sun, 07 Feb 2010 22:08:10 +0100 Subject: kmymoney doesn't work Message-ID: <1310469853@web.de> Now that I installed KDE3 and ran kdeinit before calling kmymoney ALL WORKS FINE (except a strange problem with aqbanking which cannot get the bank's sysid)! But the main point so far was to get KMM itself up and running, which it does now. From josephlobosco at gmail.com Sun Feb 7 13:09:54 2010 From: josephlobosco at gmail.com (Joseph Lobosco) Date: Sun, 07 Feb 2010 16:09:54 -0500 Subject: Setup Trouble Message-ID: <4B6F2C22.9050801@gmail.com> Hello, I am new to the MacPorts world. I tried to install several applications via ports and receive this error. http://pastebin.com/m2605033 Any help would be appreciated. From jmr at macports.org Sun Feb 7 13:21:56 2010 From: jmr at macports.org (Joshua Root) Date: Mon, 08 Feb 2010 08:21:56 +1100 Subject: Setup Trouble In-Reply-To: <4B6F2C22.9050801@gmail.com> References: <4B6F2C22.9050801@gmail.com> Message-ID: <4B6F2EF4.5090004@macports.org> On 2010-2-8 08:09 , Joseph Lobosco wrote: > Hello, I am new to the MacPorts world. > > I tried to install several applications via ports and receive this error. > > http://pastebin.com/m2605033 > > Any help would be appreciated. As I already said on IRC: - Josh From robert.a.hearn at dartmouth.edu Sun Feb 7 14:13:18 2010 From: robert.a.hearn at dartmouth.edu (Bob Hearn) Date: Sun, 7 Feb 2010 14:13:18 -0800 Subject: Problems installing CGAL on Snow Leopard In-Reply-To: <41DED10B-5E50-4C38-8788-4174160CB5B0@dartmouth.edu> References: <41DED10B-5E50-4C38-8788-4174160CB5B0@dartmouth.edu> Message-ID: <8425D8AF-5A6D-4DCB-8CA9-BCE453838068@dartmouth.edu> I see there are few other reports of issues with CGAL here, but if I understand correctly (I'm new to macports), it looks as if there are now no open tickets. Also, the errors I'm getting are different. Initially I think I had an issue with /usr/local, but I uninstalled all my ports, moved /usr/local to /usr/local-off, and did a fresh cgal install. From what I can tell, all the dependent modules built successfully. I'm running 10.6.2 on a late MacBook Pro (model ID MacBookPro2,2). This is what I get: ... ---> Attempting to fetch cgal-3.5.1.tar.gz from http://distfiles.macports.org/cgal ---> Verifying checksum(s) for cgal ---> Extracting cgal ---> Configuring cgal ---> Building cgal Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/work/cgal-3.5.1" && /usr/bin/make -j2 " returned error 2 Command output: CORE::Realbase_for::operator-() constin all_files.o CORE::Real::Real(CORE::BigFloat const&)in all_files.o CORE::Realbase_for::operator-() constin all_files.o CORE::Realbase_for::Realbase_for(CORE::BigRat const&)in all_files.o CORE::AddSubRep::computeExactFlags() in all_files.o CORE::AddSubRep::computeExactFlags() in all_files.o CORE::AddSubRep::computeExactFlags() in all_files.o CORE::AddSubRep::computeExactFlags() in all_files.o CORE::real_div::eval(CORE::RealRep const&, CORE::RealRep const&, CORE::extLong const&)in all_files.o CORE::real_div::eval(CORE::RealRep const&, CORE::RealRep const&, CORE::extLong const&)in all_files.o CORE::real_div::eval(CORE::RealRep const&, CORE::RealRep const&, CORE::extLong const&)in all_files.o CORE::real_div::eval(CORE::RealRep const&, CORE::RealRep const&, CORE::extLong const&)in all_files.o CORE::real_div::eval(CORE::RealRep const&, CORE::RealRep const&, CORE::extLong const&)in all_files.o "___gmpq_set_si", referenced from: CORE::ExprRep::reduceToZero() in all_files.o CORE::ExprRep::reduceToZero() in all_files.o CORE::Realbase_for::BigRatValue() constin all_files.o CORE::Realbase_for::ULV_E(CORE::extLong&, CORE::extLong&, CORE::extLong&, CORE::extLong&, CORE::extLong&, CORE::extLong&) constin all_files.o "___gmpq_set_z", referenced from: CORE::Realbase_for::BigRatValue() constin all_files.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [lib/libCGAL_Core.4.0.1.dylib] Error 1 make[1]: *** [src/CGALCore/CMakeFiles/CGAL_Core.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Linking CXX shared library ../../lib/libCGAL_PDB.dylib ld: warning: in /Library/Frameworks//gmp.framework/gmp, file is not of required architecture ld: warning: duplicate dylib /opt/local/lib/libboost_thread-mt.dylib [100%] Built target CGAL_PDB make: *** [all] Error 2 ------- Any help would be appreciated! Thanks, Bob Hearn -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at pbw.id.au Sun Feb 7 15:47:53 2010 From: lists at pbw.id.au (Peter B. West) Date: Mon, 8 Feb 2010 09:47:53 +1000 Subject: ProFTPD | Add group and user FTP In-Reply-To: <56cc1b0a1002070806s30fe2dcclfd43d17ef6a71965@mail.gmail.com> References: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> <56cc1b0a1002070644s530dd05cv2dacb57ba8695b86@mail.gmail.com> <56cc1b0a1002070747l3dfccdb4vc27c5f3046495bbb@mail.gmail.com> <56cc1b0a1002070806s30fe2dcclfd43d17ef6a71965@mail.gmail.com> Message-ID: On 08/02/2010, at 2:06 AM, Jasper Frumau wrote: > On Sun, Feb 7, 2010 at 6:47 PM, Jasper Frumau wrote: > > ... > 'cat /etc/passwd' -- the user names are the first thing in the lines. That's how it works on other unices, anyway. OS X seems to have put my username somewhere else; there are lots of names there, but I'm not in that list. > > Mine isn't either > > When I checked /etc/passwd one more time I read: > > cat /etc/passwd > ## > # User Database > # > # Note that this file is consulted directly only when the system is running > # in single-user mode. At other times this information is provided by > # Open Directory. > # > # This file will not be consulted for authentication unless the BSD local node > # is enabled via /Applications/Utilities/Directory Utility.app > # > # See the DirectoryService(8) man page for additional information about > # Open Directory. > > I cannot find an app Directory Utility in my Snow Leopard apps though. I am reading more about Open Directory and Mac now... Access through System Preferences, Accounts. Login Options. Then in Network Account Server either Edit or Join, then Open Directory Utility. Unlock and authenticate. Peter From talklists at newgeo.com Sun Feb 7 16:41:43 2010 From: talklists at newgeo.com (Scott Haneda) Date: Sun, 7 Feb 2010 16:41:43 -0800 Subject: Apache2 php error logging In-Reply-To: <56cc1b0a1002070605s1563abffhde5c37327fea3eac@mail.gmail.com> References: <2E731ED8-D080-4447-9DC8-ED668F1CA1E2@newgeo.com> <56cc1b0a1002062319i25893503p51ce4396579ee3d1@mail.gmail.com> <56cc1b0a1002062349w2c4d61dex5422af2154ba6e11@mail.gmail.com> <56cc1b0a1002070333v135ea996h4b08ff783c064436@mail.gmail.com> <7C938E4C-33F6-435B-9219-DF7CAC987D09@newgeo.com> <56cc1b0a1002070605s1563abffhde5c37327fea3eac@mail.gmail.com> Message-ID: <77679EA9-8F84-430B-B342-48658EF98401@newgeo.com> On Feb 7, 2010, at 6:05 AM, Jasper Frumau wrote: > Thanks for all these tips!!! I am overwhelmed! I will check > Interarchy as well on eor two others . As a client I use Filezilla, > For an FTP server, which I was actually looking for I am going to > give ProFTPD a try. I will check if Interarchy can do that was well.. I'm a big fan of pureFTPd, it is easy to configure, all set via one command at startup, so no config file. (you can use one if you want, it's converted to a one line startup command) It is used in some massively large installations, and has active development. The developer, from what I can gather, builds and tests for OS X, which is a huge plus. The Portfile, which I've been maintaining, is up to date and installs as far as I know, correctly to MacPorts approved locations. PureFTPd is also localized to many languages. If you are inclined to skip MacPorts, there is a full GUI based, OS X native installer and manager called pureFTPd manager. I think an Apple Design Award app. It may be a few small versions out of date, but makes admin a snap. The manager must be run on the server, which is a small inconvenience, though if you use MySql for the backend, which I believe you can do in the manager, then the one thing you do most, managing users, can be done remotely. I really like the MacPorts version, and using MySql with it once configured, creates a trivial server to add/manage your users in. It is also fast at auth and transfers. Muchbfaster than OS X's built in FTP for sure. The last I saw on the users mailing list was a call for which FTP apps worked or did not work with pureFTPd. I don't think there were any that were not resolved. Pure and Pro are both solid, I've found Pure to be easier, and implied by their user base to be capable of handling larger ISP type installs, with docs catering to ISP setup. Some reading for you to help you make the decision based on your needs: http://www.webhostingtalk.com/showthread.php?t=120868 http://www.linuxquestions.org/questions/linux-server-73/pure-ftp-vs-pro-ftp-626947/ A lot of comments on vsftpd for security and it's ability to chroot users without plugins. I've never seen a plugin for Pure, and chroot is there, easily enabled, and highly customizable per user, server wide, virtual hosted, or static hosted with either system users, database backed users, or internal Pam based users Good luck. -- Scott (Sent from a mobile device) From talklists at newgeo.com Sun Feb 7 16:49:28 2010 From: talklists at newgeo.com (Scott Haneda) Date: Sun, 7 Feb 2010 16:49:28 -0800 Subject: How to remove inactive ports? In-Reply-To: References: Message-ID: <0C10BBE0-E298-4335-8143-0F49074133CC@newgeo.com> On Feb 7, 2010, at 9:51 AM, Ryan Schmidt wrote: > You may also be interested in the port_cutleaves command (which can > be installed by installing the port_cutleaves port) which will guide > you through removing ports you no longer need, including inactive > ports and any others that are not referenced as a dependency by any > other port. Port port_cutleaves is referenced significantly on MacPorts. It appears solid and dies what it needs to do. I've never used it before. Willit allow the removal of master ports not in use, plus whatever dependency cruft that may lurking around? If so, this is valuable, how come it is not built into MacPorts? Or perhaps that is in fact a longer term goal? -- Scott (Sent from a mobile device) From talklists at newgeo.com Sun Feb 7 17:15:23 2010 From: talklists at newgeo.com (Scott Haneda) Date: Sun, 7 Feb 2010 17:15:23 -0800 Subject: automoc install failed on OSX 10.4 intel In-Reply-To: <37C687E5-B3A5-45E1-906C-13B020977452@macports.org> References: <49D3AD69-55C3-4665-8628-34B5D8E2E83A@macports.org> <37C687E5-B3A5-45E1-906C-13B020977452@macports.org> Message-ID: On Feb 7, 2010, at 9:55 AM, Ryan Schmidt wrote: > On the contrary, I've found Windows users are often reluctant to > upgrade their operating systems, while Mac users upgrade rather > quickly. New releases of Mac OS X are typically faster than older > ones, aside from having new features, so after the initial period of > adjustment, it should be quite advantageous to upgrade. Of course, > before upgrading the OS, first check that all the non-MacPorts third- > party software you use is compatible with Snow Leopard, and also > check the MacPorts issue tracker for tickets on any of the ports you > use to see if there are any Snow Leopard-related problems. Everything you said is indeed spot on with my findings as well. Windows users typically thinking I'm crazy for all the full system updates I do. I think OS X has seen what, 3 or more major OS updates while XP is the dominant OS sitting at somewhere around 10 years or older? I get excited to upgrade, to see bugs nukes, to get "the snap" of OS 9 back. I rarely dread it. Machines going from 10.3 to 10.6 (2 major versions or more) are trouble, as I know I will find an old copy of WordPerfect or similar running in Classic mode the client still uses. Things at the application level tend to break more on OS X, but an architecture change every handful of years will to do that to you :) What I find compelling, is the rapidity in which application developers repair their apps, usually to great time and expense, often times for no update fees. Command line apps, and most MacPorts type apps are more resiliant to this, perhaps because they lack a GUI and are recompiled by the user. I am always amazed that in most cases, a major OS version bump brings me *more* performance, not more harware requirements. And noticeable performance, not just spec points on a marketing/bullet list. 10.5 on the old school iMac's (just a few supported, but noteworthy nonetheless), that just amazes me. Snow Leopard was the biggest performance bump I've felt aside from the 10.0 era, which I consider an Alpha, and stuck around on OS 9 anyway. I even feel relatively comfortable "upgrade installing" Snow Leopard, whereas I usually do a clean install. Snow Leopard installs so darn fast too; I think I am in and out, once I uncheck additional fonts and printers, in about the time it takes me to download and install Developer Tools. Unless I'm blind, I don't see dev tools on Snow's installer, which would be nice, though keeping the image on a SAN has been my new way to deal with most large installers. Boot times, wow, Snow really worked on that, it may be faster than coming out of a deep hibernate type sleep mode. -- Scott (Sent from a mobile device) From talklists at newgeo.com Sun Feb 7 17:47:55 2010 From: talklists at newgeo.com (Scott Haneda) Date: Sun, 7 Feb 2010 17:47:55 -0800 Subject: Apache2 php error logging In-Reply-To: <806B7E3E-F626-4504-8D90-CD24FAF3BAC8@macports.org> References: <2E731ED8-D080-4447-9DC8-ED668F1CA1E2@newgeo.com> <56cc1b0a1002062319i25893503p51ce4396579ee3d1@mail.gmail.com> <56cc1b0a1002062349w2c4d61dex5422af2154ba6e11@mail.gmail.com> <56cc1b0a1002070333v135ea996h4b08ff783c064436@mail.gmail.com> <7C938E4C-33F6-435B-9219-DF7CAC987D09@newgeo.com> <806B7E3E-F626-4504-8D90-CD24FAF3BAC8@macports.org> Message-ID: On Feb 7, 2010, at 10:15 AM, Ryan Schmidt wrote: > On Feb 7, 2010, at 07:52, Scott Haneda wrote: > >> On Mac I personally use Interarchy. I feel it curreny is the best >> of the offerings. A quick breakdown: > > I used to use Interarchy years ago, and Anarchie before it. I didn't > like all the bloat it grew over the years, nor the price tag. Me too. Anarchie user, and what was it...skins or themes, I made some goofy ones. I too feel it is too expensive but on the merit of you should not release an app at that cost and have only one dot update to address bugs. It did change developers a while back, perhaps that brought with it a new line of thought and some ramp up time to learn the code, or rip it apart. I believe there was some family tragedy as well, so I take that into consideration. Bloat I would say is gone. With removal of the traffic watcher, what bloat are you in disapproval of? CyberDuck looks pretty heavy to me in their website screenshots. I'm going to give CyberDuck a weeks try starting next project. I hope it works out. I'd love to move to an open FTP. I may also try to migrate to MacFuse, but it refuses to talk to some ftpd's, just showing me zero byte files in the "ls". I do look at the price based on my usage. It paid for itself in a short days work for how often I use it. > >> Next paid contender would be Panic's Transmit. Transmit is the FTP >> app with all the shine and polish as usual. > > I used Transmit too, but got upset when, right after I bought a > license, I reported a bug, which got fixed, but only in the next > paid version. Have I mentioned I'm not a fan of software you have to > pay for? I got burned by Panic too. Their mp3 player, which I spent considerable time reporting bugs against, to eventually buy, to eventually have the rug pulled out from under me as it was discontinued. Then I did not learn my lesson with Unison, bought it, to crash stopping bugs, and support going ignored. I think Panic focuses on one app at a time, and you hope your support needs are parallel with whatever app they are working on. It seems Coda steals from their other apps dev time. Yet here I am, with some pretty good dialog with them, albeit general, that the next TBA Transmit will be a great app. I'll give it one more go. But I feel ya, most definitely. The OSS apps just lack polish in my opinion, and I simply do not know that type of development to give back and improve. CyberDuck looks as close to commercial quality software I've seen though. > >> On the free side is Cyberduck. In my opinion, pretty darn close to >> Transmit. Looking over the website, I would say the app progressed >> quickly and looks pretty good. > > CyberDuck is what I've used for awhile now. I wouldn't call it > fantastic, but it's been good enough that I haven't wanted to look > for an alternative. Does it stay out of your way? I want transparent FTP. I don't need to know I'm in an FTP app. I want to be able to slim it down to the main window and a transfer monitor. I do a lot of "edit with (insert text editor)". This means I don't want to see much of the app. Make a sound when I remote save, and I will be happy. Can you configure bookmarks to, for example: ftp.example.com: no passive, tls commands and data, use list -a ftp.other.example.com: use passive, no tls, custom port range ftp.all.default.hosts.example.com: a sane set of defaults. So host based configs for settings of each remote ftpd and their oddities. > >> Oh. There is also Fetch, probably the first OS 9 FTP client on the >> scene. I'm pretty sure the developer won the million bucks on Who >> Wants To Be A Millionaire. I don't know the state of Fetch, though >> I do know had I won a million I may be inclined to take a long >> break from my app as well. :) > > Ah, Fetch. The longest-running FTP client I know. It predates OS 9 > by quite a bit. Heck, it predates System 7 by two years. Not free, > by the way. Isn't there a free version, as in cost? I seem to recall the 8-bit running dog icon version around system 8 era, was free of charge, everyone used it, I never recall paying for much Internet based software in OS 8 days. Wasn't Claris Emailer free of charge as well? I did buy webstar, EIMS, quickDNS, and Rumpus. Running a server on OS 8 was not cheap. I wasn't ready for the command line back then :). I learned protocol principles, which was great, but came at steep cost. -- Scott (Sent from a mobile device) From talklists at newgeo.com Sun Feb 7 17:52:35 2010 From: talklists at newgeo.com (Scott Haneda) Date: Sun, 7 Feb 2010 17:52:35 -0800 Subject: How to remove inactive ports? In-Reply-To: <8B572958-04F7-4AA2-9598-53DD4FE77801@macports.org> References: <4B6F021C.3030605@macports.org> <8B572958-04F7-4AA2-9598-53DD4FE77801@macports.org> Message-ID: <18332ED3-BE23-4BB7-8F51-9CBD205F4C9E@newgeo.com> On Feb 7, 2010, at 10:18 AM, Ryan Schmidt wrote: > On Feb 7, 2010, at 12:10, Joshua Root wrote: > >> There's also the example given in the man page: >> >> port -u uninstall > > I've suggested once before that we remove the "-u" option for > uninstall, since it is so disastrously dissimilar to the "-u" option > for upgrade, and identical to "sudo port uninstall inactive", which > we should recommend users use instead since it's much clearer what > will happen. What do you think? I use "sudo port uninstall inactive" because I can remember it in my head. I have to "man port" to read the -options, especially -u. I like what makes my work easier. "sudo port uninstall inactive" is longer to type, but less time than reading the man page. -- Scott (Sent from a mobile device) From raimue at macports.org Sun Feb 7 18:49:27 2010 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 08 Feb 2010 03:49:27 +0100 Subject: How to remove inactive ports? In-Reply-To: <8B572958-04F7-4AA2-9598-53DD4FE77801@macports.org> References: <4B6F021C.3030605@macports.org> <8B572958-04F7-4AA2-9598-53DD4FE77801@macports.org> Message-ID: <4B6F7BB7.5050204@macports.org> On 2010-02-07 19:18 , Ryan Schmidt wrote: > > On Feb 7, 2010, at 12:10, Joshua Root wrote: > >> There's also the example given in the man page: >> >> port -u uninstall > > I've suggested once before that we remove the "-u" option for > uninstall, since it is so disastrously dissimilar to the "-u" option > for upgrade, and identical to "sudo port uninstall inactive", which > we should recommend users use instead since it's much clearer what > will happen. What do you think? I mainly agree. But I would also propose to move -u to the local flags and make it upgrade specific only with a new name. It would no longer be a global flag as it is only used by one action. As reminder, local options are those listed after the name of the action with two dashes, global options are listed between 'port' and the name of the action being a single character starting with a single dash. port [global options] [local options] ... Rainer From raimue at macports.org Sun Feb 7 19:39:32 2010 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Mon, 08 Feb 2010 04:39:32 +0100 Subject: How to make KDE3 run? How make .kde directory accessible? In-Reply-To: <1310238984@web.de> References: <1310238984@web.de> Message-ID: <4B6F8774.1050903@macports.org> On 2010-02-07 14:15 , Marko K?ning wrote: > I installed KDE via MacPorts, which seems to have succeeded, but now > I don't know HOW TO actually RUN it and other applications in that > environment (like kmymoney - which compiled and installed > successfully already before I got KDE installed). > > Also MacPorts installed a .kde directory in my users directory, but > with ownership of the root-user! That means, I cannot access it at > all. Funnily enough my administrator user (who is NOT root, but has > full admin permissions) CAN NOT change the ownership of said .kde > diretory to the unprivileged user... What can be done about this? Was this really being installed by the port in the installation process? Please check with 'port provides' if this path is really part of the port in question. $ port provides ~/.kde/some_file Alternatively, grep 'port contents' for this path. $ port contents |grep '\.kde3' Rainer From Daniel.Simon at itn.liu.se Sun Feb 7 22:15:00 2010 From: Daniel.Simon at itn.liu.se (Daniel Simon) Date: Mon, 8 Feb 2010 07:15:00 +0100 Subject: No sound/audio in KDE4 Message-ID: Glad to hear I'm not alone, but sorry to hear you're having trouble, too. Amarok 2 (KDE's media player) is listed on MacPorts as part of the KDE4 packages. So . . . sound MUST be supported in KDE4 if there's no not on Amarok saying "no sound", right? I'm trying a fresh install using "port -d install qt4-mac +no_demos +no_examples" followed by "port -d install amarok". I want to save a bit of time on the qt4-mac install. Anyone else out there get Amarok to work? I'll let you know if I have any luck. /Daniel From ryandesign at macports.org Sun Feb 7 23:36:27 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 8 Feb 2010 01:36:27 -0600 Subject: How to remove inactive ports? In-Reply-To: <4B6F7BB7.5050204@macports.org> References: <4B6F021C.3030605@macports.org> <8B572958-04F7-4AA2-9598-53DD4FE77801@macports.org> <4B6F7BB7.5050204@macports.org> Message-ID: <8A39A29C-AA59-4812-B4AD-CA4CEC3B5B76@macports.org> On Feb 7, 2010, at 20:49, Rainer M?ller wrote: > On 2010-02-07 19:18 , Ryan Schmidt wrote: >> >> On Feb 7, 2010, at 12:10, Joshua Root wrote: >> >>> There's also the example given in the man page: >>> >>> port -u uninstall >> >> I've suggested once before that we remove the "-u" option for >> uninstall, since it is so disastrously dissimilar to the "-u" option >> for upgrade, and identical to "sudo port uninstall inactive", which >> we should recommend users use instead since it's much clearer what >> will happen. What do you think? > > I mainly agree. But I would also propose to move -u to the local flags > and make it upgrade specific only with a new name. It would no longer be > a global flag as it is only used by one action. > > As reminder, local options are those listed after the name of the action > with two dashes, global options are listed between 'port' and the name > of the action being a single character starting with a single dash. > > port [global options] [local options] ... Makes sense to me that it should be a local option for the upgrade command. I just hate how this will make it longer to type, and break muscle memory for existing MacPorts users. From ryandesign at macports.org Mon Feb 8 00:02:45 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 8 Feb 2010 02:02:45 -0600 Subject: How to remove inactive ports? In-Reply-To: <0C10BBE0-E298-4335-8143-0F49074133CC@newgeo.com> References: <0C10BBE0-E298-4335-8143-0F49074133CC@newgeo.com> Message-ID: <99878B88-A8F1-4CD1-9B30-DF3D0FE5A12B@macports.org> On Feb 7, 2010, at 18:49, Scott Haneda wrote: > On Feb 7, 2010, at 9:51 AM, Ryan Schmidt wrote: > >> You may also be interested in the port_cutleaves command (which can be installed by installing the port_cutleaves port) which will guide you through removing ports you no longer need, including inactive ports and any others that are not referenced as a dependency by any other port. > > Port port_cutleaves is referenced significantly on MacPorts. It appears solid and dies what it needs to do. I've never used it before. > > Willit allow the removal of master ports not in use, plus whatever dependency cruft that may lurking around? Not sure what you mean by "master ports", but its purpose is, as I said, to help you identify and uninstall ports you no longer need. Read the README and give it a try. http://trac.macports.org/browser/contrib/port_cutleaves/README > If so, this is valuable, how come it is not built into MacPorts? Or perhaps that is in fact a longer term goal? cutleaves should be integrated into MacPorts base when it is "good enough". I already think it works fine, except that it has a memory leak somewhere. (tclsh memory usage goes up by several hundred K for each port uninstalled, until it quits at the end.) rdeps should be integrated, too, when good enough. It at least says so in the script itself. ("Once "good enough", integrate into port"). rdeps is very slow; I have a feeling it could stand some improvement there. http://trac.macports.org/browser/contrib/port-rdeps/port-rdeps From ryandesign at macports.org Mon Feb 8 00:18:24 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 8 Feb 2010 02:18:24 -0600 Subject: Problems installing CGAL on Snow Leopard In-Reply-To: <8425D8AF-5A6D-4DCB-8CA9-BCE453838068@dartmouth.edu> References: <41DED10B-5E50-4C38-8788-4174160CB5B0@dartmouth.edu> <8425D8AF-5A6D-4DCB-8CA9-BCE453838068@dartmouth.edu> Message-ID: On Feb 7, 2010, at 16:13, Bob Hearn wrote: > I see there are few other reports of issues with CGAL here, but if I understand correctly (I'm new to macports), it looks as if there are now no open tickets. Also, the errors I'm getting are different. > > Initially I think I had an issue with /usr/local, but I uninstalled all my ports, moved /usr/local to /usr/local-off, and did a fresh cgal install. From what I can tell, all the dependent modules built successfully. > > I'm running 10.6.2 on a late MacBook Pro (model ID MacBookPro2,2). > > This is what I get: > ld: warning: in /Library/Frameworks//gmp.framework/gmp, file is not of required architecture What's this /Library/Frameworks/gmp.framework? My gmp port doesn't provide that, so I don't think it came from MacPorts, but I think it is interfering with your build, just like what you had in /usr/local probably was. Move it aside, clean cgal, try again. From jasperfrumau at gmail.com Mon Feb 8 06:08:05 2010 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Mon, 8 Feb 2010 17:08:05 +0300 Subject: ProFTPD | Add group and user FTP In-Reply-To: References: <56cc1b0a1002070558y5edcdc5bn4aa4109d79b86170@mail.gmail.com> <56cc1b0a1002070644s530dd05cv2dacb57ba8695b86@mail.gmail.com> <56cc1b0a1002070747l3dfccdb4vc27c5f3046495bbb@mail.gmail.com> <56cc1b0a1002070806s30fe2dcclfd43d17ef6a71965@mail.gmail.com> Message-ID: <56cc1b0a1002080608y63af69c5gc60bcfdbc2de1a94@mail.gmail.com> I found the right intel via Google on installing ProFTPD on OSX @ http://www.unibia.com/unibianet/os-x/install-proftpd This particular piece of information made my day: "ProFTPD will by default use PAM to get system account information. This first needs to be enabled in OS X, otherwise users will not be able to log in with ProFTPD. The built in OS X FTP server utilizes the "/private/etc/pam.d/ftpd" authentication module. While ProFTPD is looking for "/private/etc/pam.d/ftp". Using the terminal, we will make a copy of the OS X FTP PAM module for ProFTPD." ProFTPD looks for /private/etc/pam.d/ftp. To make ProFTPD happy you can: $ sudo cp /private/etc/pam.d/ftpd /private/etc/pam.d/ftp Password: And then voila! ftp jasper at localhost Trying ::1... ftp: Can't connect to `::1': Connection refused Trying fe80::1%lo0... ftp: Can't connect to `fe80::1%lo0': Connection refused Trying 127.0.0.1... Connected to localhost. 220 ProFTPD 1.3.2c Server (ProFTPD Default Installation) [127.0.0.1] 331 Password required for jasper Password: 230 User jasper logged in Remote system type is UNIX. Using binary mode to transfer files. ftp> It would be useful if a tip on this is given after the MacPort proftpd has been built or if the building/compiling of ProFTPD is adjusted to look for pam where OSX has it stored under. Anyways, happy I got it working... On Mon, Feb 8, 2010 at 2:47 AM, Peter B. West wrote: > > On 08/02/2010, at 2:06 AM, Jasper Frumau wrote: > > > On Sun, Feb 7, 2010 at 6:47 PM, Jasper Frumau > wrote: > > > > > ... > > 'cat /etc/passwd' -- the user names are the first thing in the lines. > That's how it works on other unices, anyway. OS X seems to have put my > username somewhere else; there are lots of names there, but I'm not in that > list. > > > > Mine isn't either > > > > When I checked /etc/passwd one more time I read: > > > > cat /etc/passwd > > ## > > # User Database > > # > > # Note that this file is consulted directly only when the system is > running > > # in single-user mode. At other times this information is provided by > > # Open Directory. > > # > > # This file will not be consulted for authentication unless the BSD local > node > > # is enabled via /Applications/Utilities/Directory Utility.app > > # > > # See the DirectoryService(8) man page for additional information about > > # Open Directory. > > > > I cannot find an app Directory Utility in my Snow Leopard apps though. I > am reading more about Open Directory and Mac now... > > Access through System Preferences, Accounts. Login Options. Then in Network > Account Server either Edit or Join, then Open Directory Utility. Unlock and > authenticate. > > Peter > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From osna at jpberlin.de Mon Feb 8 06:46:28 2010 From: osna at jpberlin.de (Joachim) Date: Mon, 08 Feb 2010 15:46:28 +0100 Subject: kile-devel & deps ports failing on Tiger OSX 10.4-intel In-Reply-To: References: Message-ID: Am 07.02.2010, 20:00 Uhr, schrieb Joachim Osnabryg = me: > Hopefully I went ahead then with another $ sudo port install kile-devel > but there were many many errors and warnings, ending with: ------------ Warning: the following items did not execute (for soprano): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: kdebase4-runtime kdelibs4 soprano kdelibs4-experimental kdepimlibs4 akonadi boost boost-jam gpgme gnupg libusb libgpg-error pth libical openldap icu oxygen-icons qimageblitz kdegraphics4 chmlib djvulibre exiv2 libspectre poppler gtk2 atk pango openjpeg poppler-data qca sane-backends libusb-compat Error: Status 1 encountered during processing. ----------- Given the Library Dependencies: kdelibs4, kdebase4-runtime, kdegraphics4, I prefered then to go ahead stepwise, first installing the => kdelibs4 port, which unfurtunately ended with: ------------------- Warning: the following items did not execute (for soprano): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: soprano Error: Status 1 encountered during processing. ---------------------- (I'm attaching the last part of the debug output - after the first error - as .txt) Being at a loss also with this, I asked again, what I could do further to overcome this problem for the kdelibs4 port - on the way to finally getting kile-devel installed. Or do you regard my stepwise approach useless, so that I should make another try to install the kile-devel port at once and, when failing, send you the whole terminal output? Or better to give up now? Thankful for advice, joachim -- Mac BacicTeX 2009 - TeXShop 2.29 / TeXworks 0.2.3 LyX 1.6.5 - MacBook Pro intel OSX 10.4.11 Tiger From robert.a.hearn at dartmouth.edu Mon Feb 8 09:29:16 2010 From: robert.a.hearn at dartmouth.edu (Bob Hearn) Date: Mon, 8 Feb 2010 09:29:16 -0800 Subject: Problems installing CGAL on Snow Leopard In-Reply-To: References: <41DED10B-5E50-4C38-8788-4174160CB5B0@dartmouth.edu> <8425D8AF-5A6D-4DCB-8CA9-BCE453838068@dartmouth.edu> Message-ID: On Feb 8, 2010, at 12:18 AM, Ryan Schmidt wrote: > On Feb 7, 2010, at 16:13, Bob Hearn wrote: > >> I see there are few other reports of issues with CGAL here, but if I understand correctly (I'm new to macports), it looks as if there are now no open tickets. Also, the errors I'm getting are different. >> >> Initially I think I had an issue with /usr/local, but I uninstalled all my ports, moved /usr/local to /usr/local-off, and did a fresh cgal install. From what I can tell, all the dependent modules built successfully. >> >> I'm running 10.6.2 on a late MacBook Pro (model ID MacBookPro2,2). >> >> This is what I get: > > >> ld: warning: in /Library/Frameworks//gmp.framework/gmp, file is not of required architecture > > What's this /Library/Frameworks/gmp.framework? My gmp port doesn't provide that, so I don't think it came from MacPorts, but I think it is interfering with your build, just like what you had in /usr/local probably was. Move it aside, clean cgal, try again. Ah, now why did that not strike me as odd? Yes, that fixed it! Thank you very much. Bob -------------- next part -------------- An HTML attachment was scrubbed... URL: From payam.minoofar at meissner.com Mon Feb 8 11:55:41 2010 From: payam.minoofar at meissner.com (Payam Minoofar) Date: Mon, 8 Feb 2010 11:55:41 -0800 Subject: kde4libs-experimental Message-ID: Ok, I have been making some headway with this, but it still craps out on me. I'm compiling it as a universal on a Snow Leopard iMac. I hope I am pasting the relevant errors from debug mode below: First: DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/texinfo DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port texinfo. DEBUG: Requested variant i386 is not provided by port texinfo. DEBUG: Requested variant macosx is not provided by port texinfo. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/lzmautils ... DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port hunspell. DEBUG: Requested variant i386 is not provided by port hunspell. DEBUG: Requested variant macosx is not provided by port hunspell. DEBUG: No need to upgrade! hunspell 1.2.8_1 >= hunspell 1.2.8_1 DEBUG: No need to upgrade! enchant 1.5.0_1 >= enchant 1.5.0_1 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/aspell-dict-en DEBUG: epoch: in tree: 0 installed: 0 DEBUG: aspell-dict-en 6.0_0 exists in the ports tree DEBUG: aspell-dict-en 6.0_0 is the latest installed DEBUG: aspell-dict-en 6.0_0 is active DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/aspell-dict-en DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port aspell-dict-en. DEBUG: Requested variant i386 is not provided by port aspell-dict-en. DEBUG: Requested variant macosx is not provided by port aspell-dict-en. DEBUG: No need to upgrade! aspell-dict-en 6.0_0 >= aspell-dict-en 6.0_0 DEBUG: No need to upgrade! kdelibs4 4.3.5_0 >= kdelibs4 4.3.5_0 ---> Computing dependencies for kdelibs4-experimental DEBUG: Searching for dependency: qt4-mac DEBUG: Found Dependency: receipt exists for qt4-mac DEBUG: Searching for dependency: kdelibs4 DEBUG: Didn't find receipt, going to depspec regex for: kdelibs4 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/kde/kdelibs4 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/kde/kdelibs4 DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/kde4-1.0.tcl DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/cmake-1.0.tcl DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port kdelibs4. DEBUG: Requested variant i386 is not provided by port kdelibs4. DEBUG: Requested variant macosx is not provided by port kdelibs4. DEBUG: Executing variant universal provides universal DEBUG: Searching for dependency: cmake DEBUG: Found Dependency: receipt exists for cmake _____________________________________________________________________ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.5 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.5/kdecore /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/kdecore /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/kdecore/CMakeFiles/kdecore.dir/DependInfo.cmake --color= Linking CXX executable ../../bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build/nepomuk/rcgen && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/nepomuk-rcgen.dir/link.txt --verbose=1 /usr/bin/g++-4.2 -arch x86_64 -arch i386 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -O2 -arch x86_64 -arch i386 -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -Wl,-search_paths_first -headerpad_max_install_names -L/opt/local/lib -arch x86_64 -arch i386 CMakeFiles/nepomuk-rcgen.dir/nepomuk-rcgen_automoc.o CMakeFiles/nepomuk-rcgen.dir/codegenerator.o CMakeFiles/nepomuk-rcgen.dir/fastcode.o CMakeFiles/nepomuk-rcgen.dir/property.o CMakeFiles/nepomuk-rcgen.dir/rcgen.o CMakeFiles/nepomuk-rcgen.dir/resourceclass.o CMakeFiles/nepomuk-rcgen.dir/safecode.o CMakeFiles/nepomuk-rcgen.dir/ontologyparser.o CMakeFiles/nepomuk-rcgen.dir/qrc_templates.o -o ../../bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen -L/opt/local/lib -F/opt/local/libexec/qt4-mac/lib -framework QtCore -lpthread -F/opt/local/libexec/qt4-mac/lib -framework QtDBus /opt/local/lib/libsoprano.dylib ld: warning: in /opt/local/lib/libsoprano.dylib, file is not of required architecture Undefined symbols for architecture i386: "Soprano::Statement::predicate() const", referenced from: OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o _____________________________________________________________________________ ... "Soprano::Error::ErrorCache::setError(QString const&, int) const", referenced from: Soprano::Iterator::current() constin ontologyparser.o Soprano::Iterator::next()in ontologyparser.o "Soprano::PluginManager::instance()", referenced from: OntologyParser::parse(QString const&) in ontologyparser.o "Soprano::Node::uri() const", referenced from: OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o "Soprano::Node::literal() const", referenced from: OntologyParser::parse(QString const&) in ontologyparser.o OntologyParser::parse(QString const&) in ontologyparser.o "Soprano::LiteralValue::toInt() const", referenced from: OntologyParser::parse(QString const&) in ontologyparser.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//cchAEaF0.out (No such file or directory) make[2]: *** [bin/nepomuk-rcgen.app/Contents/MacOS/nepomuk-rcgen] Error 1 make[1]: *** [nepomuk/rcgen/CMakeFiles/nepomuk-rcgen.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... Scanning dependencies of target kdecore __________________________________________________________ and near the end: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.5/kdecore/compression/kbzip2filter.cpp:143: error: 'bzDecompress' was not declared in this scope /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.5/kdecore/compression/kbzip2filter.cpp: In member function 'virtual KFilterBase::Result KBzip2Filter::compress(bool)': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/kdelibs-4.3.5/kdecore/compression/kbzip2filter.cpp:163: error: 'bzCompress' was not declared in this scope lipo: can't figure out the architecture type of: /var/tmp//ccLLBzRN.out make[2]: *** [kdecore/CMakeFiles/kdecore.dir/compression/kbzip2filter.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2 make: *** [all] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build" && /usr/bin/make -j2 all " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build" && /usr/bin/make -j2 all " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for kdelibs4): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: kdelibs4 Error: Status 1 encountered during processing. To report a bug, see [payam-imac:~/Downloads/samba-3.4.5/source3] payam% DEBUG: Merging existing variants into variants DEBUG:: Too many arguments. DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/texinfo __________________ Payam Minoofar, Ph.D. Scientist Meissner Filtration Products 4181 Calle Tesoro Camarillo, CA 93012 +1 805 388 9911 ext. 159 +1 805 388 5948 fax payam.minoofar at meissner.com -------------- next part -------------- A non-text attachment was scrubbed... Name: Payam Minoofar.vcf Type: text/directory Size: 28368 bytes Desc: Payam Minoofar.vcf URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00001..txt URL: From ryandesign at macports.org Mon Feb 8 13:30:46 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 8 Feb 2010 15:30:46 -0600 Subject: kde4libs-experimental In-Reply-To: References: Message-ID: <2B5F2949-6378-4A45-A88B-2C8E97044F76@macports.org> On Feb 8, 2010, at 13:55, Payam Minoofar wrote: > Ok, I have been making some headway with this, but it still craps out on me. I'm compiling it as a universal on a Snow Leopard iMac. I hope I am pasting the relevant errors from debug mode below: > ld: warning: in /opt/local/lib/libsoprano.dylib, file is not of required architecture You need to compile soprano universal first. From mk-lists at email.de Mon Feb 8 14:01:54 2010 From: mk-lists at email.de (=?UTF-8?Q?Marko_K=C3=A4ning?=) Date: Mon, 8 Feb 2010 23:01:54 +0100 (CET) Subject: How to make KDE3 run? How make .kde directory accessible? Message-ID: <6586456.148305.1265666514214.JavaMail.fmail@mwmweb012> An HTML attachment was scrubbed... URL: From ryandesign at macports.org Mon Feb 8 14:59:28 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 8 Feb 2010 16:59:28 -0600 Subject: How to make KDE3 run? How make .kde directory accessible? In-Reply-To: <6586456.148305.1265666514214.JavaMail.fmail@mwmweb012> References: <6586456.148305.1265666514214.JavaMail.fmail@mwmweb012> Message-ID: <971A709D-FB11-4101-8C82-4B3F790CA724@macports.org> On Feb 8, 2010, at 16:01, Marko K?ning wrote: > Nevertheless I think it would be good, to include port 'kde' as a dependency for kmymoney, since the latter runs only properly with it, eventhough it is compilable/installable without it. > But where is the sense to install something which can't be run? Could you file a ticket for that, please? > Who is the maintainer of the kmymoney port anyway? "port info kmymoney" shows it has no maintainer. > I think it would be worthwhile to update it to a somewhat more current release... You should file a ticket for that, too. Instructions for filing tickets are here: http://guide.macports.org/chunked/project.html From mk-lists at email.de Mon Feb 8 15:28:57 2010 From: mk-lists at email.de (=?UTF-8?Q?Marko_K=C3=A4ning?=) Date: Tue, 9 Feb 2010 00:28:57 +0100 (CET) Subject: KDE4 port? Message-ID: <8959038.1322055.1265671737972.JavaMail.fmail@mwmweb011> What is the analogon to port 'kde3' for KDE version 4? I found many kde4 library and application ports in the database, but couldn't find something like a port called 'kde4' which I'd have expected to exist. Any hints? From mk-lists at email.de Mon Feb 8 16:00:01 2010 From: mk-lists at email.de (=?UTF-8?Q?Marko_K=C3=A4ning?=) Date: Tue, 9 Feb 2010 01:00:01 +0100 (CET) Subject: Howto avoid console for X11 application Message-ID: <920111.1326006.1265673601215.JavaMail.fmail@mwmweb010> Hi, ? when I run kmymoney (which is a kde3 app) a bash windows is always opened with lots of debug and status info showing up from kde as well as kmymoney itself. How can I avoid/suppress this? Probably I cannot circumvent the existence of such a window, but I'd love to have it at least minimized - if possible. Any hints? ? Greets, Marko From nicos_pavlov at users.sourceforge.net Mon Feb 8 16:12:49 2010 From: nicos_pavlov at users.sourceforge.net (Nicolas Pavillon) Date: Tue, 9 Feb 2010 01:12:49 +0100 Subject: KDE4 port? In-Reply-To: <8959038.1322055.1265671737972.JavaMail.fmail@mwmweb011> References: <8959038.1322055.1265671737972.JavaMail.fmail@mwmweb011> Message-ID: <8C572DC8-C01A-4B8E-B61A-824DE6631825@users.sourceforge.net> Hello, To my knowledge, you don't have any kde3 port in Macports. KDE is made out of different parts, and the ones you need to install depend on your needs. Installing kdelibs4 will give you the basic framework for applications, and kdebase4 will provide the KDE basic applications, such as dolphin or kappfinder. Having a kde4 port would not mean much, since it would require to define a default behaviour to provide to users, and potentially installing many things they don't need. If you want kde for a specific application, Macports will anyway install the needed components. Cheers, Nicolas On Feb 9, 2010, at 12:28 AM, Marko K?ning wrote: > What is the analogon to port 'kde3' for KDE version 4? > > I found many kde4 library and application ports in the database, but couldn't find something like a port called 'kde4' which I'd have expected to exist. > > Any hints? > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From mk-lists at email.de Mon Feb 8 17:16:20 2010 From: mk-lists at email.de (=?UTF-8?Q?Marko_K=C3=A4ning?=) Date: Tue, 9 Feb 2010 02:16:20 +0100 (CET) Subject: KDE4 port? In-Reply-To: <8959038.1322055.1265671737972.JavaMail.fmail@mwmweb011> References: <8959038.1322055.1265671737972.JavaMail.fmail@mwmweb011> Message-ID: <655952.1329643.1265678180540.JavaMail.fmail@mwmweb010> Hi Nicholas, >To my knowledge, you don't have any kde3 port in Macports Well, my experience with kmymoney was that without port 'kde' (the KDE Desktop bundle being actually version 3.5.10_0) installed it would NOT run. I therefore assumed that I'd need some 'kde4' port, which would in turn require ports 'kde(acessibility|base|libs|network|pim|utils)4' instead. But who knows, I just got kmymoney running by trial and error. :) Marko From payam.minoofar at meissner.com Tue Feb 9 10:59:36 2010 From: payam.minoofar at meissner.com (Payam Minoofar) Date: Tue, 9 Feb 2010 10:59:36 -0800 Subject: kde4libs-experimental In-Reply-To: <2B5F2949-6378-4A45-A88B-2C8E97044F76@macports.org> References: <2B5F2949-6378-4A45-A88B-2C8E97044F76@macports.org> Message-ID: <519BD925-EAC4-4201-BC5C-2A669BC66110@meissner.com> On Feb 8, 2010, at 1:30 PM, Ryan Schmidt wrote: > On Feb 8, 2010, at 13:55, Payam Minoofar wrote: > >> Ok, I have been making some headway with this, but it still craps out on me. I'm compiling it as a universal on a Snow Leopard iMac. I hope I am pasting the relevant errors from debug mode below: > >> ld: warning: in /opt/local/lib/libsoprano.dylib, file is not of required architecture > > You need to compile soprano universal first. Thank you, as always. So, i executed sudo port upgrade --enforce-variants soprano +universal and I got stuck with Strigi. In the process of trying to build strigi as a universal build, I caught these errors in debug mode, and I hope they are relevant: -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - found -- Found Qt-Version 4.6.1 ** Qt4 is found. Support for Qt4 GUI client is enabled -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig .... -- Configuring incomplete, errors occurred! Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_OSX_ARCHITECTURES="x86_64;i386" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev -DICONV_INCLUDE_DIR:PATH=/opt/local/include -DICONV_LIBRARIES:FILEPATH=/opt/local/lib/libiconv.dylib -DLIBXML2_INCLUDE_DIR:PATH=/opt/local/include/libxml2 -DLIBXML2_LIBRARIES:FILEPATH=/opt/local/lib/libxml2.dylib " returned error 1 DEBUG: Backtrace: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_strigi/work/strigi-0.6.3" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_OSX_ARCHITECTURES="x86_64;i386" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev -DICONV_INCLUDE_DIR:PATH=/opt/local/include -DICONV_LIBRARIES:FILEPATH=/opt/local/lib/libiconv.dylib -DLIBXML2_INCLUDE_DIR:PATH=/opt/local/include/libxml2 -DLIBXML2_LIBRARIES:FILEPATH=/opt/local/lib/libxml2.dylib " returned error 1 while executing "$procedure $targetname" Warning: the following items did not execute (for strigi): org.macports.destroot org.macports.configure org.macports.build DEBUG: couldn't read file "/opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl": no such file or directory while executing "source [file join $dir pkgIndex.tcl]" Error: Unable to upgrade port: 1 To report a bug, see [payam-imac:~] payam% port provides /opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl /opt/local/share/macports/Tcl/darwintrace1.0/pkgIndex.tcl does not exist. [payam-imac:~] payam% From payam.minoofar at meissner.com Tue Feb 9 11:10:52 2010 From: payam.minoofar at meissner.com (Payam Minoofar) Date: Tue, 9 Feb 2010 11:10:52 -0800 Subject: strigi +universal Message-ID: <8D673A3B-F0FD-4B12-979C-D927CCAB2158@meissner.com> I can reproduce the bug here: https://trac.macports.org/ticket/22041#comment:3 Has anyone managed to build strigi as a universal binary? From Daniel.Simon at itn.liu.se Tue Feb 9 11:35:28 2010 From: Daniel.Simon at itn.liu.se (Daniel Simon) Date: Tue, 9 Feb 2010 20:35:28 +0100 Subject: No sound/audio in KDE4 (SOLVED) In-Reply-To: <4324dbec1002050447w178d62d4j60d4eaf3f54806f2@mail.gmail.com> References: <039DF7D9-05D0-4213-B8CB-2B30C9351C88@itn.liu.se> <4324dbec1002050447w178d62d4j60d4eaf3f54806f2@mail.gmail.com> Message-ID: <9E3AC33C-AEF2-4DD6-86EA-AAC6ABE5496B@itn.liu.se> SOLVED! The standard install of KDE4 through MacPorts uses Qt's phonon system, which in turn uses the native QuickTime as a backend. As it states at http://mac.kde.org/?id=download , if QuickTime can't play it, phonon can't play it. The solution is to install the Xiph (ogg) QuickTime component (http://www.xiph.org/quicktime/) to allow QuickTime to play ogg files. Installing Perian (http://perian.org/) wouldn't hurt, either. There should be a note during the port install process saying that this step is necessary since much of KDE's audio is in ogg format. Happy KDE-ing! /Daniel On 5 Feb 2010, at 13.47, Richard DeLaurell wrote: I haven't been able to get the sound to work either. All of the kdegames are silent. If you do a "port search kde" you will see that all of the pertinent ports for kde 3.5 say, "No KDE sound support" in the description, so sound was obviously problematic with that version. On the other hand, the kde 4 port descriptions do not say that. Perhaps someone with more knowledge than me could tell us whether sound is supposed to work in kde4 or not? Richard MacPorts 1.8.2 Darwin 9.8.0 OS X 10.5.8 Xcode 3.1.2 On Fri, Feb 5, 2010 at 4:39 AM, Daniel Simon > wrote: Anyone?! Has anyone gotten a KDE4 app installed that can produce sound? Amarok? How did you do it? I tried installing kdemultimedia4. Installed properly (without kmix), but no change in sound. Tried installing phonon directly. Installed properly, no change in sound. Thanks, /Daniel Simon On 2 Feb 2010, at 8.21, Daniel Simon wrote: I've installed kdegames4 and kdeedu4 successfully (the programs all run fine) but there's no sound/audio. In particular, trying klettres from kdeedu4 produces no sound. On the other hand, if I go into to the qtdemo application and load the phonon test app, I do hear the test sound. So, QT can produce sound, but KDE can't. I've looked in the logs in Console.app, but don't see anything when I try to call a sound from a KDE app. I installed kdegames4 and kdeedu4 roughly following this protocol: http://lists.macosforge.org/pipermail/macports-users/2010-January/018527.html Anyone have any suggestions? System info: iBook G3 500 MHz and PowerBook G4 700 MHz (compiled on PB, tested on both, same result) OS X 10.4.11 (latest) XCode 2.5 MacPorts-1.8.2-10.4-Tiger (after selfupdate) Thanks! _______________________________________________ macports-users mailing list macports-users at lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From allan at almartin.co.uk Tue Feb 9 16:21:11 2010 From: allan at almartin.co.uk (Allan Rowe) Date: Wed, 10 Feb 2010 00:21:11 +0000 Subject: Issue with iconv on 10.4 Message-ID: I cannot seem to get iconv working on my mac. Tiger 10.4.11 Apache 2 php5.3 both installed via macports with no issues on installation. I am using Zend Framework and this requires iconv. So I installed p5-text-iconv via macports sudo port install p5-text-iconv Installed fine, no errors reported. However PHP5 doesn't seem to be accessing it. If I run the following commands I get these results. man p5-text-iconv No manual entry for p5-text-iconv apropos p5-text-iconv p5-text-iconv: nothing appropriate which p5-text-iconv no p5-text-iconv in /opt/subversion/bin/ /Library/Frameworks/ Python.framework/Versions/2.6/bin /bin /sbin /usr/bin /usr/sbin /opt/ local/bin locate p5-text-iconv /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/ p5-text-iconv /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/ p5-text-iconv/Portfile not sure what this means. can anyone help me get this running? Thanks in advance Allan Rowe BA (Hons) Web Developer Email: allan at almartin.co.uk Mobile: 07967 147438 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmr at macports.org Tue Feb 9 16:31:44 2010 From: jmr at macports.org (Joshua Root) Date: Wed, 10 Feb 2010 11:31:44 +1100 Subject: Issue with iconv on 10.4 In-Reply-To: References: Message-ID: <4B71FE70.3000506@macports.org> On 2010-2-10 11:21 , Allan Rowe wrote: > I cannot seem to get iconv working on my mac. > > Tiger 10.4.11 > Apache 2 > php5.3 > > both installed via macports with no issues on installation. > > I am using Zend Framework and this requires iconv. > > So I installed p5-text-iconv via macports > > sudo port install p5-text-iconv > > Installed fine, no errors reported. > However PHP5 doesn't seem to be accessing it. As per its description, p5-text-iconv is a "Perl interface to iconv() codeset conversion function". You appear to actually want php5-iconv. > If I run the following commands I get these results. > > man p5-text-iconv > No manual entry for p5-text-iconv > > apropos p5-text-iconv > p5-text-iconv: nothing appropriate > > which p5-text-iconv > no p5-text-iconv in /opt/subversion/bin/ > /Library/Frameworks/Python.framework/Versions/2.6/bin /bin /sbin > /usr/bin /usr/sbin /opt/local/bin > > locate p5-text-iconv > /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-text-iconv > /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-text-iconv/Portfile You can always see what a port installed and where with the 'contents' action, e.g. `port contents p5-text-iconv`. - Josh From ryandesign at macports.org Tue Feb 9 16:48:07 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 9 Feb 2010 18:48:07 -0600 Subject: No sound/audio in KDE4 (SOLVED) In-Reply-To: <9E3AC33C-AEF2-4DD6-86EA-AAC6ABE5496B@itn.liu.se> References: <039DF7D9-05D0-4213-B8CB-2B30C9351C88@itn.liu.se> <4324dbec1002050447w178d62d4j60d4eaf3f54806f2@mail.gmail.com> <9E3AC33C-AEF2-4DD6-86EA-AAC6ABE5496B@itn.liu.se> Message-ID: On Feb 9, 2010, at 13:35, Daniel Simon wrote: > The standard install of KDE4 through MacPorts uses Qt's phonon system, which in turn uses the native QuickTime as a backend. As it states at http://mac.kde.org/?id=download , if QuickTime can't play it, phonon can't play it. > > The solution is to install the Xiph (ogg) QuickTime component (http://www.xiph.org/quicktime/) to allow QuickTime to play ogg files. Installing Perian (http://perian.org/) wouldn't hurt, either. > > There should be a note during the port install process saying that this step is necessary since much of KDE's audio is in ogg format. Could you please file a ticket requesting this change? From awmartin at gmail.com Tue Feb 9 20:00:22 2010 From: awmartin at gmail.com (awmartin) Date: Tue, 9 Feb 2010 20:00:22 -0800 (PST) Subject: install of old version of php5-postgresql also installs newest mysql5? Message-ID: <27525953.post@talk.nabble.com> I'm attempting to install an older version of the php5-postgresql extension (v 5.3.0_2) using portfile found at http://trac.macports.org/browser/trunk/dports/php/php5-postgresql/Portfile?rev=54571 When I download the Portfile and run 'sudo port install +postgresql83', the installer attempts to install the latest version of mysql5, which is version 5.1.42_0. I don't want this to happen, since I need MySQL version 5.0 for Rails. I don't understand what the Postgre PHP extention has to do with MySQL. What can I do to install php5-postgresql without installing the newest version of MySQL? Thanks. -- View this message in context: http://old.nabble.com/install-of-old-version-of-php5-postgresql-also-installs-newest-mysql5--tp27525953p27525953.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From ryandesign at macports.org Tue Feb 9 21:22:05 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 9 Feb 2010 23:22:05 -0600 Subject: install of old version of php5-postgresql also installs newest mysql5? In-Reply-To: <27525953.post@talk.nabble.com> References: <27525953.post@talk.nabble.com> Message-ID: <586A7C76-D3E6-4063-BCF2-38327D38FE03@macports.org> On Feb 9, 2010, at 22:00, awmartin wrote: > I'm attempting to install an older version of the php5-postgresql extension > (v 5.3.0_2) using portfile found at > http://trac.macports.org/browser/trunk/dports/php/php5-postgresql/Portfile?rev=54571 What's the matter with the current version? I guess you're trying to use PHP 5.3.0 instead of 5.3.1? If so, what's the matter with 5.3.1? > When I download the Portfile and run 'sudo port install +postgresql83', the > installer attempts to install the latest version of mysql5, which is version > 5.1.42_0. I don't want this to happen, since I need MySQL version 5.0 for > Rails. Rails doesn't work with MySQL 5.1.x? > I don't understand what the Postgre PHP extention has to do with MySQL. Shouldn't have anything to do with it. Unless you are using php5 @5.3.0_1+mysql5 or earlier, in which case php5-postgresql depends on php5 which depends on mysql5 which therefore gets updated. php5 @5.3.0_2 moved database support out of the main php5 port and into separate ports like php5-mysql and php5-postgresql. > What > can I do to install php5-postgresql without installing the newest version of > MySQL? Use the -n switch. sudo port -n install php5-postgresql +postgresql83 From awmartin at gmail.com Tue Feb 9 21:29:13 2010 From: awmartin at gmail.com (awmartin) Date: Tue, 9 Feb 2010 21:29:13 -0800 (PST) Subject: install of old version of php5-postgresql also installs newest mysql5? In-Reply-To: <586A7C76-D3E6-4063-BCF2-38327D38FE03@macports.org> References: <586A7C76-D3E6-4063-BCF2-38327D38FE03@macports.org> Message-ID: <27526350.post@talk.nabble.com> Apparently, the version of Rails I was using didn't agree with MySQL 5.1 for some reason. I think it was originally the MySQL gem. I side-stepped the whole issue by installing Rails 2.3.4, then installing the latest versions without the +mysql5 variant for php5. I knew about the removal of other packages from php itself, which is why I wanted the php5-postgresql module. Thanks for the reply, it helps very much to understand the workings of dependencies more fully and the -n switch. -- View this message in context: http://old.nabble.com/Re%3A-install-of-old-version-of-php5-postgresql-also-installs-newest-mysql5--tp27526315p27526350.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From ryandesign at macports.org Tue Feb 9 21:50:14 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 9 Feb 2010 23:50:14 -0600 Subject: install of old version of php5-postgresql also installs newest mysql5? In-Reply-To: <586A7C76-D3E6-4063-BCF2-38327D38FE03@macports.org> References: <27525953.post@talk.nabble.com> <586A7C76-D3E6-4063-BCF2-38327D38FE03@macports.org> Message-ID: On Feb 9, 2010, at 23:22, Ryan Schmidt wrote: > On Feb 9, 2010, at 22:00, awmartin wrote: > >> I don't understand what the Postgre PHP extention has to do with MySQL. > > Shouldn't have anything to do with it. Unless you are using php5 @5.3.0_1+mysql5 or earlier, in which case php5-postgresql depends on php5 which depends on mysql5 which therefore gets updated. php5 @5.3.0_2 moved database support out of the main php5 port and into separate ports like php5-mysql and php5-postgresql. MacPorts can also sometimes get confused about dependencies. Consider the case when you have php5 @5.3.0_1+mysql5 installed (which depends on mysql5) and also php5 @5.3.0_2 or later (which doesn't) -- only one of these is active, but they're both installed. All mysql5 knows is that it was installed because of php5; it doesn't know which of the php5s brought it in. Basically if you at any time had a php5 that depended on mysql5, MacPorts considers mysql5 a dependency of php5, even if in the mean time you've upgraded to a php5 that no longer depends on mysql5. The workaround is to uninstall all versions of php5, then reinstall the one you want. This will clear out the relationship between php5 and mysql5. (Whew!) From jmr at macports.org Tue Feb 9 21:57:19 2010 From: jmr at macports.org (Joshua Root) Date: Wed, 10 Feb 2010 16:57:19 +1100 Subject: install of old version of php5-postgresql also installs newest mysql5? In-Reply-To: References: <27525953.post@talk.nabble.com> <586A7C76-D3E6-4063-BCF2-38327D38FE03@macports.org> Message-ID: <4B724ABF.6010100@macports.org> On 2010-2-10 16:50 , Ryan Schmidt wrote: > MacPorts can also sometimes get confused about dependencies. Consider the case when you have php5 @5.3.0_1+mysql5 installed (which depends on mysql5) and also php5 @5.3.0_2 or later (which doesn't) -- only one of these is active, but they're both installed. All mysql5 knows is that it was installed because of php5; it doesn't know which of the php5s brought it in. Basically if you at any time had a php5 that depended on mysql5, MacPorts considers mysql5 a dependency of php5, even if in the mean time you've upgraded to a php5 that no longer depends on mysql5. Not quite. It considers php5 to be a dependent of mysql5. Dependencies for the purposes of upgrade are taken from the current portfile using the selected variants (those of the active version plus those specified on the command line). - Josh From alligator424 at free.fr Wed Feb 10 02:21:58 2010 From: alligator424 at free.fr (alligator424) Date: Wed, 10 Feb 2010 11:21:58 +0100 Subject: Error: Problem while installing p5-locale-gettext References: Message-ID: <553D4AC9-B125-4ACD-B899-32D2824B0C6F@free.fr> > > > > helo dear macport user list , > > i have problems with macport refusing to "port upgrade outdated" > and it seems that this is a known issue, though "port -d selfupdate" doesn't > correct the thing. > > the error is about p5-locale-gettext which fails to install. > > what list should I address before UNINSTALLING/REINSTALLING macport? > > when i do "port upgrade outdated": > > Command output: checking for gettext... no > checking for gettext in -I/opt/local/include -arch x86_64 -L/opt/local/lib > -lintl...gettext function not found. Please install libintl at Makefile.PL line > 18. > no > > Error: Problem while installing p5-locale-gettext > Before reporting a bug, first run the command again with the -d flag to get > complete output. > sh-3.2# > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sangshuduo at gmail.com Wed Feb 10 06:18:17 2010 From: sangshuduo at gmail.com (Shuduo Sang) Date: Wed, 10 Feb 2010 22:18:17 +0800 Subject: clutter-cairo port is broken on snow leopard Message-ID: this page lists clutter-cairo is incompatible on snow leopard. https://trac.macports.org/wiki/snc/snowleopard but seems no ticket to track progress. Is anyone working on it? thanks, Shuduo -------------- next part -------------- An HTML attachment was scrubbed... URL: From sangshuduo at gmail.com Wed Feb 10 07:57:12 2010 From: sangshuduo at gmail.com (Shuduo Sang) Date: Wed, 10 Feb 2010 23:57:12 +0800 Subject: clutter-cairo port is broken on snow leopard Message-ID: this page lists clutter-cairo is incompatible on snow leopard. https://trac.macports.org/wiki/snc/snowleopard but seems no ticket to track progress. Is anyone working on it? thanks, Shuduo -------------- next part -------------- An HTML attachment was scrubbed... URL: From terry at dop.com Wed Feb 10 10:43:14 2010 From: terry at dop.com (Terry Barnum) Date: Wed, 10 Feb 2010 10:43:14 -0800 Subject: imapsync couldn't find HMAC.pm or HMAC_MD5.pm Message-ID: <47E6C7C6-75ED-4491-A2BB-A7350BAEC281@dop.com> The imapsync port installed on a 10.6.2 Mac Pro without problem, launched and tried to connect to the two mail servers but then failed saying it couldn't find HMAC.pm or HMAC_MD5.pm. $RCSfile: imapsync,v $ $Revision: 1.303 $ $Date: 2010/01/20 04:12:52 $ Here is a [darwin] system (Darwin MASKED 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/ RELEASE_I386 i386) with perl 5.8.9 Mail::IMAPClient 3.19 IO::Socket 1.30 IO::Socket::SSL Digest::MD5 2.39 Digest::HMAC_MD5 Term::ReadKey Date::Manip and the module Mail::IMAPClient version used here is 3.19 Command line used: /opt/local/bin/imapsync --host1 MASKED --user1 MASKED --password1 MASKED --host2 MASKED --user2 MASKED --password2 MASKED --authmech2 PLAIN --tls2 --dry Temp directory is /tmp Turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1. TimeZone:[PST] Will try to use CRAM-MD5 authentication on host1 Will try to use PLAIN authentication on host2 Host1 imap server [MASKED] port [143] user [MASKED] Host2 imap server [MASKED] port [143] user [MASKED] Banner: * OK MASKED running EIMS X 3.3.9 Host MASKED says it has CAPABILITY for AUTHENTICATE CRAM-MD5 Can't locate Digest/HMAC.pm in @INC (@INC contains: /opt/local/lib/ perl5/site_perl/5.8.9/darwin-2level /opt/local/lib/perl5/site_perl/ 5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/ 5.8.9/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/ lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/darwin-2level /opt/ local/lib/perl5/5.8.9 .) at /opt/local/lib/perl5/5.8.9/Digest/ HMAC_MD5.pm line 6. BEGIN failed--compilation aborted at /opt/local/lib/perl5/5.8.9/Digest/ HMAC_MD5.pm line 6. Compilation failed in require at /opt/local/lib/perl5/vendor_perl/ 5.8.9/Mail/IMAPClient.pm line 2863. The way I got it to work was symlinking HMAC.pm and HMAC_MD5.pm from / System/Library/Perl/Extras/5.8.9/Digest/ Did I do something wrong in the port install? There are no variants other than universal. Thanks, -Terry Terry Barnum digital OutPost San Diego, CA http://www.dop.com 800/464-6434 From brad at pixilla.com Wed Feb 10 10:55:15 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Wed, 10 Feb 2010 10:55:15 -0800 Subject: imapsync couldn't find HMAC.pm or HMAC_MD5.pm In-Reply-To: <47E6C7C6-75ED-4491-A2BB-A7350BAEC281@dop.com> References: <47E6C7C6-75ED-4491-A2BB-A7350BAEC281@dop.com> Message-ID: On Feb 10, 2010, at 10:43 AM, Terry Barnum wrote: > The imapsync port installed on a 10.6.2 Mac Pro without problem, > launched and tried to connect to the two mail servers but then > failed saying it couldn't find HMAC.pm or HMAC_MD5.pm. > > $RCSfile: imapsync,v $ $Revision: 1.303 $ $Date: 2010/01/20 04:12:52 $ > Here is a [darwin] system (Darwin MASKED 10.2.0 Darwin Kernel > Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/ > RELEASE_I386 i386) > with perl 5.8.9 > Mail::IMAPClient 3.19 > IO::Socket 1.30 > IO::Socket::SSL > Digest::MD5 2.39 > Digest::HMAC_MD5 > Term::ReadKey > Date::Manip > and the module Mail::IMAPClient version used here is 3.19 > Command line used: > /opt/local/bin/imapsync --host1 MASKED --user1 MASKED --password1 > MASKED --host2 MASKED --user2 MASKED --password2 MASKED --authmech2 > PLAIN --tls2 --dry > Temp directory is /tmp > Turned ON syncinternaldates, will set the internal dates (arrival > dates) on host2 same as host1. > TimeZone:[PST] > Will try to use CRAM-MD5 authentication on host1 > Will try to use PLAIN authentication on host2 > Host1 imap server [MASKED] port [143] user [MASKED] > Host2 imap server [MASKED] port [143] user [MASKED] > Banner: * OK MASKED running EIMS X 3.3.9 > Host MASKED says it has CAPABILITY for AUTHENTICATE CRAM-MD5 > > Can't locate Digest/HMAC.pm in @INC (@INC contains: /opt/local/lib/ > perl5/site_perl/5.8.9/darwin-2level /opt/local/lib/perl5/site_perl/ > 5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ > vendor_perl/5.8.9/darwin-2level /opt/local/lib/perl5/vendor_perl/ > 5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/ > darwin-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/ > perl5/5.8.9/Digest/HMAC_MD5.pm line 6. > BEGIN failed--compilation aborted at /opt/local/lib/perl5/5.8.9/ > Digest/HMAC_MD5.pm line 6. > Compilation failed in require at /opt/local/lib/perl5/vendor_perl/ > 5.8.9/Mail/IMAPClient.pm line 2863. > > The way I got it to work was symlinking HMAC.pm and HMAC_MD5.pm > from /System/Library/Perl/Extras/5.8.9/Digest/ > > Did I do something wrong in the port install? There are no variants > other than universal. Below everything looks good to me. My guess is that you don't have / opt/local/lib/perl5/vendor_perl/5.8.9/ in your perl path. I don't use perl, only perl files others have written. I seem to remember a while back a few threads about perls env. Sorry, that's all I got right now. bash-3.2# port info imapsync imapsync @1.286 (mail) Variants: universal Description: imapsync is an IMAP synchronization, copy or migration tool. Synchronize mailboxes between two imap servers. It is especially good at IMAP migration. Homepage: http://www.linux-france.org/prj/imapsync/ Runtime Dependencies: perl5, p5-digest-md5, p5-mail-imapclient, p5- term-readkey, p5-io-socket-ssl, p5-datemanip, p5-digest-hmac Platforms: darwin License: unknown Maintainers: mww at macports.org bash-3.2# port search hmac p5-digest-hmac @1.01 (perl) Keyed-Hashing for Message Authentication rb-hmac @0.3 (ruby, security) Provides a common interface to HMAC functionality. Found 2 ports. bash-3.2# port contents p5-digest-hmac Port p5-digest-hmac contains: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level/ auto/Digest/HMAC/.packlist /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC.pm /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_MD5.pm /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_SHA1.pm /opt/local/share/man/man3/Digest::HMAC.3pm.gz /opt/local/share/man/man3/Digest::HMAC_MD5.3pm.gz /opt/local/share/man/man3/Digest::HMAC_SHA1.3pm.gz From talklists at newgeo.com Wed Feb 10 10:59:48 2010 From: talklists at newgeo.com (Scott Haneda) Date: Wed, 10 Feb 2010 10:59:48 -0800 Subject: p5-compress-zlib Message-ID: <84310576-3F7E-4F8B-8B9E-3943AF0BB45A@newgeo.com> What happened to p5-compress-zlib? I have a port that relies on it, tried to install that port, and get an error. Tring to install just the p5: $sudo port install p5-compress-zlib Error: Port p5-compress-zlib not found Before reporting a bug, first run the command again with the -d flag to get complete output. -- Scott * If you contact me off list replace talklists@ with scott@ * From brad at pixilla.com Wed Feb 10 11:08:34 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Wed, 10 Feb 2010 11:08:34 -0800 Subject: imapsync couldn't find HMAC.pm or HMAC_MD5.pm In-Reply-To: <47E6C7C6-75ED-4491-A2BB-A7350BAEC281@dop.com> References: <47E6C7C6-75ED-4491-A2BB-A7350BAEC281@dop.com> Message-ID: <436BA7E2-97F1-4980-8AB4-2A8E1C914789@pixilla.com> Sorry, ignore my last post. I'm dumber today then normal. The path to HMAC.pm on my system is in your path so I'd say you must not have port p5-digest-hmac installed. bash-3.2# port contents p5-digest-hmac Port p5-digest-hmac contains: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level/ auto/Digest/HMAC/.packlist /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC.pm /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_MD5.pm /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_SHA1.pm /opt/local/share/man/man3/Digest::HMAC.3pm.gz /opt/local/share/man/man3/Digest::HMAC_MD5.3pm.gz /opt/local/share/man/man3/Digest::HMAC_SHA1.3pm.gz Does "port info imapsync" show runtime dependancies on "p5-digest-hmac"? If not run "port sync" as you must not have the current port of imapsync. And then upgrade or uninstall and install imapsync. // Brad On Feb 10, 2010, at 10:43 AM, Terry Barnum wrote: > The imapsync port installed on a 10.6.2 Mac Pro without problem, > launched and tried to connect to the two mail servers but then > failed saying it couldn't find HMAC.pm or HMAC_MD5.pm. > > $RCSfile: imapsync,v $ $Revision: 1.303 $ $Date: 2010/01/20 04:12:52 $ > Here is a [darwin] system (Darwin MASKED 10.2.0 Darwin Kernel > Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/ > RELEASE_I386 i386) > with perl 5.8.9 > Mail::IMAPClient 3.19 > IO::Socket 1.30 > IO::Socket::SSL > Digest::MD5 2.39 > Digest::HMAC_MD5 > Term::ReadKey > Date::Manip > and the module Mail::IMAPClient version used here is 3.19 > Command line used: > /opt/local/bin/imapsync --host1 MASKED --user1 MASKED --password1 > MASKED --host2 MASKED --user2 MASKED --password2 MASKED --authmech2 > PLAIN --tls2 --dry > Temp directory is /tmp > Turned ON syncinternaldates, will set the internal dates (arrival > dates) on host2 same as host1. > TimeZone:[PST] > Will try to use CRAM-MD5 authentication on host1 > Will try to use PLAIN authentication on host2 > Host1 imap server [MASKED] port [143] user [MASKED] > Host2 imap server [MASKED] port [143] user [MASKED] > Banner: * OK MASKED running EIMS X 3.3.9 > Host MASKED says it has CAPABILITY for AUTHENTICATE CRAM-MD5 > > Can't locate Digest/HMAC.pm in @INC (@INC contains: /opt/local/lib/ > perl5/site_perl/5.8.9/darwin-2level /opt/local/lib/perl5/site_perl/ > 5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ > vendor_perl/5.8.9/darwin-2level /opt/local/lib/perl5/vendor_perl/ > 5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/ > darwin-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/ > perl5/5.8.9/Digest/HMAC_MD5.pm line 6. > BEGIN failed--compilation aborted at /opt/local/lib/perl5/5.8.9/ > Digest/HMAC_MD5.pm line 6. > Compilation failed in require at /opt/local/lib/perl5/vendor_perl/ > 5.8.9/Mail/IMAPClient.pm line 2863. > > The way I got it to work was symlinking HMAC.pm and HMAC_MD5.pm > from /System/Library/Perl/Extras/5.8.9/Digest/ > > Did I do something wrong in the port install? There are no variants > other than universal. > > Thanks, > -Terry > > Terry Barnum > digital OutPost > San Diego, CA > > http://www.dop.com > 800/464-6434 > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From brad at pixilla.com Wed Feb 10 11:11:16 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Wed, 10 Feb 2010 11:11:16 -0800 Subject: p5-compress-zlib In-Reply-To: <84310576-3F7E-4F8B-8B9E-3943AF0BB45A@newgeo.com> References: <84310576-3F7E-4F8B-8B9E-3943AF0BB45A@newgeo.com> Message-ID: <1B15E040-14E7-4DBB-8731-8F0970786893@pixilla.com> Was it possibly renamed p5-compress-raw-zlib? // Brad On Feb 10, 2010, at 10:59 AM, Scott Haneda wrote: > What happened to p5-compress-zlib? I have a port that relies on it, > tried to install that port, and get an error. Tring to install just > the p5: > > $sudo port install p5-compress-zlib > Error: Port p5-compress-zlib not found > Before reporting a bug, first run the command again with the -d flag > to get complete output. > > -- > Scott * If you contact me off list replace talklists@ with scott@ * > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From brad at pixilla.com Wed Feb 10 11:14:37 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Wed, 10 Feb 2010 11:14:37 -0800 Subject: p5-compress-zlib In-Reply-To: <84310576-3F7E-4F8B-8B9E-3943AF0BB45A@newgeo.com> References: <84310576-3F7E-4F8B-8B9E-3943AF0BB45A@newgeo.com> Message-ID: <6483342D-B50D-42C3-924A-CBFDA428D249@pixilla.com> Have a look here: http://trac.macports.org/ticket/22128 http://trac.macports.org/ticket/21167 // Brad On Feb 10, 2010, at 10:59 AM, Scott Haneda wrote: > What happened to p5-compress-zlib? I have a port that relies on it, > tried to install that port, and get an error. Tring to install just > the p5: > > $sudo port install p5-compress-zlib > Error: Port p5-compress-zlib not found > Before reporting a bug, first run the command again with the -d flag > to get complete output. > > -- > Scott * If you contact me off list replace talklists@ with scott@ * > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From terry at dop.com Wed Feb 10 11:46:52 2010 From: terry at dop.com (Terry Barnum) Date: Wed, 10 Feb 2010 11:46:52 -0800 Subject: imapsync couldn't find HMAC.pm or HMAC_MD5.pm In-Reply-To: <436BA7E2-97F1-4980-8AB4-2A8E1C914789@pixilla.com> References: <47E6C7C6-75ED-4491-A2BB-A7350BAEC281@dop.com> <436BA7E2-97F1-4980-8AB4-2A8E1C914789@pixilla.com> Message-ID: Thanks for the reply Brad. port info imapsync shows dependencies but not p5-digest-hmac. Only perl5, p5-digest-md5, p5-mail-imapclient, p5-term-readkey, p5-io- socket-ssl, p5-datemanip. Doing: sudo port -v selfupdate port outdated only shows the mysql5 port as being one minor release behind, nothing about imapsync. Does this mean that imapsync has a dependency on p5- digest-hmac but the port doesn't reflect this? Sorry if this is a silly thread, I'm still trying to learn. -Terry On Feb 10, 2010, at 11:08 AM, Bradley Giesbrecht wrote: > Sorry, ignore my last post. I'm dumber today then normal. > > The path to HMAC.pm on my system is in your path so I'd say you must > not have port p5-digest-hmac installed. > > bash-3.2# port contents p5-digest-hmac > Port p5-digest-hmac contains: > /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level/ > auto/Digest/HMAC/.packlist > /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC.pm > /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_MD5.pm > /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_SHA1.pm > /opt/local/share/man/man3/Digest::HMAC.3pm.gz > /opt/local/share/man/man3/Digest::HMAC_MD5.3pm.gz > /opt/local/share/man/man3/Digest::HMAC_SHA1.3pm.gz > > Does "port info imapsync" show runtime dependancies on "p5-digest- > hmac"? > > If not run "port sync" as you must not have the current port of > imapsync. And then upgrade or uninstall and install imapsync. > > // Brad > > On Feb 10, 2010, at 10:43 AM, Terry Barnum wrote: > >> The imapsync port installed on a 10.6.2 Mac Pro without problem, >> launched and tried to connect to the two mail servers but then >> failed saying it couldn't find HMAC.pm or HMAC_MD5.pm. >> >> $RCSfile: imapsync,v $ $Revision: 1.303 $ $Date: 2010/01/20 >> 04:12:52 $ >> Here is a [darwin] system (Darwin MASKED 10.2.0 Darwin Kernel >> Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/ >> RELEASE_I386 i386) >> with perl 5.8.9 >> Mail::IMAPClient 3.19 >> IO::Socket 1.30 >> IO::Socket::SSL >> Digest::MD5 2.39 >> Digest::HMAC_MD5 >> Term::ReadKey >> Date::Manip >> and the module Mail::IMAPClient version used here is 3.19 >> Command line used: >> /opt/local/bin/imapsync --host1 MASKED --user1 MASKED --password1 >> MASKED --host2 MASKED --user2 MASKED --password2 MASKED --authmech2 >> PLAIN --tls2 --dry >> Temp directory is /tmp >> Turned ON syncinternaldates, will set the internal dates (arrival >> dates) on host2 same as host1. >> TimeZone:[PST] >> Will try to use CRAM-MD5 authentication on host1 >> Will try to use PLAIN authentication on host2 >> Host1 imap server [MASKED] port [143] user [MASKED] >> Host2 imap server [MASKED] port [143] user [MASKED] >> Banner: * OK MASKED running EIMS X 3.3.9 >> Host MASKED says it has CAPABILITY for AUTHENTICATE CRAM-MD5 >> >> Can't locate Digest/HMAC.pm in @INC (@INC contains: /opt/local/lib/ >> perl5/site_perl/5.8.9/darwin-2level /opt/local/lib/perl5/site_perl/ >> 5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ >> vendor_perl/5.8.9/darwin-2level /opt/local/lib/perl5/vendor_perl/ >> 5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/ >> darwin-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/ >> perl5/5.8.9/Digest/HMAC_MD5.pm line 6. >> BEGIN failed--compilation aborted at /opt/local/lib/perl5/5.8.9/ >> Digest/HMAC_MD5.pm line 6. >> Compilation failed in require at /opt/local/lib/perl5/vendor_perl/ >> 5.8.9/Mail/IMAPClient.pm line 2863. >> >> The way I got it to work was symlinking HMAC.pm and HMAC_MD5.pm >> from /System/Library/Perl/Extras/5.8.9/Digest/ >> >> Did I do something wrong in the port install? There are no variants >> other than universal. >> >> Thanks, >> -Terry >> >> Terry Barnum >> digital OutPost >> San Diego, CA >> >> http://www.dop.com >> 800/464-6434 >> >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > Terry Barnum digital OutPost San Diego, CA http://www.dop.com 800/464-6434 From brad at pixilla.com Wed Feb 10 12:02:24 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Wed, 10 Feb 2010 12:02:24 -0800 Subject: imapsync couldn't find HMAC.pm or HMAC_MD5.pm In-Reply-To: References: <47E6C7C6-75ED-4491-A2BB-A7350BAEC281@dop.com> <436BA7E2-97F1-4980-8AB4-2A8E1C914789@pixilla.com> Message-ID: Sorry, I failed to notice I fixed imapsync in my local repository. I'll create an updated port to the newest version of imapsync and submit a diff to macports. I'll email the list ticket number shortly. // Brad On Feb 10, 2010, at 11:46 AM, Terry Barnum wrote: > Thanks for the reply Brad. > > port info imapsync shows dependencies but not p5-digest-hmac. Only > perl5, p5-digest-md5, p5-mail-imapclient, p5-term-readkey, p5-io- > socket-ssl, p5-datemanip. > > Doing: > sudo port -v selfupdate > port outdated > > only shows the mysql5 port as being one minor release behind, > nothing about imapsync. Does this mean that imapsync has a > dependency on p5-digest-hmac but the port doesn't reflect this? > > Sorry if this is a silly thread, I'm still trying to learn. > > -Terry > > On Feb 10, 2010, at 11:08 AM, Bradley Giesbrecht wrote: > >> Sorry, ignore my last post. I'm dumber today then normal. >> >> The path to HMAC.pm on my system is in your path so I'd say you >> must not have port p5-digest-hmac installed. >> >> bash-3.2# port contents p5-digest-hmac >> Port p5-digest-hmac contains: >> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level/ >> auto/Digest/HMAC/.packlist >> /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC.pm >> /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_MD5.pm >> /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_SHA1.pm >> /opt/local/share/man/man3/Digest::HMAC.3pm.gz >> /opt/local/share/man/man3/Digest::HMAC_MD5.3pm.gz >> /opt/local/share/man/man3/Digest::HMAC_SHA1.3pm.gz >> >> Does "port info imapsync" show runtime dependancies on "p5-digest- >> hmac"? >> >> If not run "port sync" as you must not have the current port of >> imapsync. And then upgrade or uninstall and install imapsync. >> >> // Brad >> >> On Feb 10, 2010, at 10:43 AM, Terry Barnum wrote: >> >>> The imapsync port installed on a 10.6.2 Mac Pro without problem, >>> launched and tried to connect to the two mail servers but then >>> failed saying it couldn't find HMAC.pm or HMAC_MD5.pm. >>> >>> $RCSfile: imapsync,v $ $Revision: 1.303 $ $Date: 2010/01/20 >>> 04:12:52 $ >>> Here is a [darwin] system (Darwin MASKED 10.2.0 Darwin Kernel >>> Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/ >>> RELEASE_I386 i386) >>> with perl 5.8.9 >>> Mail::IMAPClient 3.19 >>> IO::Socket 1.30 >>> IO::Socket::SSL >>> Digest::MD5 2.39 >>> Digest::HMAC_MD5 >>> Term::ReadKey >>> Date::Manip >>> and the module Mail::IMAPClient version used here is 3.19 >>> Command line used: >>> /opt/local/bin/imapsync --host1 MASKED --user1 MASKED --password1 >>> MASKED --host2 MASKED --user2 MASKED --password2 MASKED -- >>> authmech2 PLAIN --tls2 --dry >>> Temp directory is /tmp >>> Turned ON syncinternaldates, will set the internal dates (arrival >>> dates) on host2 same as host1. >>> TimeZone:[PST] >>> Will try to use CRAM-MD5 authentication on host1 >>> Will try to use PLAIN authentication on host2 >>> Host1 imap server [MASKED] port [143] user [MASKED] >>> Host2 imap server [MASKED] port [143] user [MASKED] >>> Banner: * OK MASKED running EIMS X 3.3.9 >>> Host MASKED says it has CAPABILITY for AUTHENTICATE CRAM-MD5 >>> >>> Can't locate Digest/HMAC.pm in @INC (@INC contains: /opt/local/lib/ >>> perl5/site_perl/5.8.9/darwin-2level /opt/local/lib/perl5/site_perl/ >>> 5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ >>> vendor_perl/5.8.9/darwin-2level /opt/local/lib/perl5/vendor_perl/ >>> 5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/ >>> darwin-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/ >>> perl5/5.8.9/Digest/HMAC_MD5.pm line 6. >>> BEGIN failed--compilation aborted at /opt/local/lib/perl5/5.8.9/ >>> Digest/HMAC_MD5.pm line 6. >>> Compilation failed in require at /opt/local/lib/perl5/vendor_perl/ >>> 5.8.9/Mail/IMAPClient.pm line 2863. >>> >>> The way I got it to work was symlinking HMAC.pm and HMAC_MD5.pm >>> from /System/Library/Perl/Extras/5.8.9/Digest/ >>> >>> Did I do something wrong in the port install? There are no >>> variants other than universal. >>> >>> Thanks, >>> -Terry >>> >>> Terry Barnum >>> digital OutPost >>> San Diego, CA >>> >>> http://www.dop.com >>> 800/464-6434 >>> >>> >>> _______________________________________________ >>> macports-users mailing list >>> macports-users at lists.macosforge.org >>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> > > Terry Barnum > digital OutPost > San Diego, CA > > http://www.dop.com > 800/464-6434 > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From talklists at newgeo.com Wed Feb 10 12:11:32 2010 From: talklists at newgeo.com (Scott Haneda) Date: Wed, 10 Feb 2010 12:11:32 -0800 Subject: p5-compress-zlib In-Reply-To: <6483342D-B50D-42C3-924A-CBFDA428D249@pixilla.com> References: <84310576-3F7E-4F8B-8B9E-3943AF0BB45A@newgeo.com> <6483342D-B50D-42C3-924A-CBFDA428D249@pixilla.com> Message-ID: <5DE6699E-C26B-495C-97D4-B9E2AC64E768@newgeo.com> Am I correct in that neither of those are committed or at least, are not available to users? -- Scott * If you contact me off list replace talklists@ with scott@ * On Feb 10, 2010, at 11:14 AM, Bradley Giesbrecht wrote: > Have a look here: > > http://trac.macports.org/ticket/22128 > > http://trac.macports.org/ticket/21167 > > // Brad > > On Feb 10, 2010, at 10:59 AM, Scott Haneda wrote: > >> What happened to p5-compress-zlib? I have a port that relies on it, tried to install that port, and get an error. Tring to install just the p5: >> >> $sudo port install p5-compress-zlib >> Error: Port p5-compress-zlib not found >> Before reporting a bug, first run the command again with the -d flag to get complete output. >> >> -- >> Scott * If you contact me off list replace talklists@ with scott@ * > From brad at pixilla.com Wed Feb 10 12:15:10 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Wed, 10 Feb 2010 12:15:10 -0800 Subject: imapsync couldn't find HMAC.pm or HMAC_MD5.pm In-Reply-To: References: <47E6C7C6-75ED-4491-A2BB-A7350BAEC281@dop.com> <436BA7E2-97F1-4980-8AB4-2A8E1C914789@pixilla.com> Message-ID: http://trac.macports.org/ticket/23651 // Brad On Feb 10, 2010, at 11:46 AM, Terry Barnum wrote: > Thanks for the reply Brad. > > port info imapsync shows dependencies but not p5-digest-hmac. Only > perl5, p5-digest-md5, p5-mail-imapclient, p5-term-readkey, p5-io- > socket-ssl, p5-datemanip. > > Doing: > sudo port -v selfupdate > port outdated > > only shows the mysql5 port as being one minor release behind, > nothing about imapsync. Does this mean that imapsync has a > dependency on p5-digest-hmac but the port doesn't reflect this? > > Sorry if this is a silly thread, I'm still trying to learn. > > -Terry > > On Feb 10, 2010, at 11:08 AM, Bradley Giesbrecht wrote: > >> Sorry, ignore my last post. I'm dumber today then normal. >> >> The path to HMAC.pm on my system is in your path so I'd say you >> must not have port p5-digest-hmac installed. >> >> bash-3.2# port contents p5-digest-hmac >> Port p5-digest-hmac contains: >> /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level/ >> auto/Digest/HMAC/.packlist >> /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC.pm >> /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_MD5.pm >> /opt/local/lib/perl5/vendor_perl/5.8.9/Digest/HMAC_SHA1.pm >> /opt/local/share/man/man3/Digest::HMAC.3pm.gz >> /opt/local/share/man/man3/Digest::HMAC_MD5.3pm.gz >> /opt/local/share/man/man3/Digest::HMAC_SHA1.3pm.gz >> >> Does "port info imapsync" show runtime dependancies on "p5-digest- >> hmac"? >> >> If not run "port sync" as you must not have the current port of >> imapsync. And then upgrade or uninstall and install imapsync. >> >> // Brad >> >> On Feb 10, 2010, at 10:43 AM, Terry Barnum wrote: >> >>> The imapsync port installed on a 10.6.2 Mac Pro without problem, >>> launched and tried to connect to the two mail servers but then >>> failed saying it couldn't find HMAC.pm or HMAC_MD5.pm. >>> >>> $RCSfile: imapsync,v $ $Revision: 1.303 $ $Date: 2010/01/20 >>> 04:12:52 $ >>> Here is a [darwin] system (Darwin MASKED 10.2.0 Darwin Kernel >>> Version 10.2.0: Tue Nov 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/ >>> RELEASE_I386 i386) >>> with perl 5.8.9 >>> Mail::IMAPClient 3.19 >>> IO::Socket 1.30 >>> IO::Socket::SSL >>> Digest::MD5 2.39 >>> Digest::HMAC_MD5 >>> Term::ReadKey >>> Date::Manip >>> and the module Mail::IMAPClient version used here is 3.19 >>> Command line used: >>> /opt/local/bin/imapsync --host1 MASKED --user1 MASKED --password1 >>> MASKED --host2 MASKED --user2 MASKED --password2 MASKED -- >>> authmech2 PLAIN --tls2 --dry >>> Temp directory is /tmp >>> Turned ON syncinternaldates, will set the internal dates (arrival >>> dates) on host2 same as host1. >>> TimeZone:[PST] >>> Will try to use CRAM-MD5 authentication on host1 >>> Will try to use PLAIN authentication on host2 >>> Host1 imap server [MASKED] port [143] user [MASKED] >>> Host2 imap server [MASKED] port [143] user [MASKED] >>> Banner: * OK MASKED running EIMS X 3.3.9 >>> Host MASKED says it has CAPABILITY for AUTHENTICATE CRAM-MD5 >>> >>> Can't locate Digest/HMAC.pm in @INC (@INC contains: /opt/local/lib/ >>> perl5/site_perl/5.8.9/darwin-2level /opt/local/lib/perl5/site_perl/ >>> 5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/ >>> vendor_perl/5.8.9/darwin-2level /opt/local/lib/perl5/vendor_perl/ >>> 5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/ >>> darwin-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/ >>> perl5/5.8.9/Digest/HMAC_MD5.pm line 6. >>> BEGIN failed--compilation aborted at /opt/local/lib/perl5/5.8.9/ >>> Digest/HMAC_MD5.pm line 6. >>> Compilation failed in require at /opt/local/lib/perl5/vendor_perl/ >>> 5.8.9/Mail/IMAPClient.pm line 2863. >>> >>> The way I got it to work was symlinking HMAC.pm and HMAC_MD5.pm >>> from /System/Library/Perl/Extras/5.8.9/Digest/ >>> >>> Did I do something wrong in the port install? There are no >>> variants other than universal. >>> >>> Thanks, >>> -Terry >>> >>> Terry Barnum >>> digital OutPost >>> San Diego, CA >>> >>> http://www.dop.com >>> 800/464-6434 >>> >>> >>> _______________________________________________ >>> macports-users mailing list >>> macports-users at lists.macosforge.org >>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> > > Terry Barnum > digital OutPost > San Diego, CA > > http://www.dop.com > 800/464-6434 > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From brad at pixilla.com Wed Feb 10 12:22:09 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Wed, 10 Feb 2010 12:22:09 -0800 Subject: p5-compress-zlib In-Reply-To: <5DE6699E-C26B-495C-97D4-B9E2AC64E768@newgeo.com> References: <84310576-3F7E-4F8B-8B9E-3943AF0BB45A@newgeo.com> <6483342D-B50D-42C3-924A-CBFDA428D249@pixilla.com> <5DE6699E-C26B-495C-97D4-B9E2AC64E768@newgeo.com> Message-ID: <7545C3A7-FFE3-44B8-ACBA-2FAE56E2A1F2@pixilla.com> The ticket says (closed defect: fixed). Your not seeing this on your system? bash-3.2# port info p5-io-compress p5-io-compress @2.024 (perl) Description: Perl interface to allow reading and writing of compressed data created with the zlib and bzip2 libraries. Homepage: http://search.cpan.org/dist/IO-Compress/ Library Dependencies: perl5, p5-compress-raw-bzip2, p5-compress-raw-zlib Platforms: darwin License: unknown Maintainers: narf_tm at macports.org, openmaintainer at macports.org On Feb 10, 2010, at 12:11 PM, Scott Haneda wrote: > Am I correct in that neither of those are committed or at least, are > not available to users? > -- > Scott * If you contact me off list replace talklists@ with scott@ * > > On Feb 10, 2010, at 11:14 AM, Bradley Giesbrecht wrote: > >> Have a look here: >> >> http://trac.macports.org/ticket/22128 >> >> http://trac.macports.org/ticket/21167 >> >> // Brad >> >> On Feb 10, 2010, at 10:59 AM, Scott Haneda wrote: >> >>> What happened to p5-compress-zlib? I have a port that relies on >>> it, tried to install that port, and get an error. Tring to >>> install just the p5: >>> >>> $sudo port install p5-compress-zlib >>> Error: Port p5-compress-zlib not found >>> Before reporting a bug, first run the command again with the -d >>> flag to get complete output. >>> >>> -- >>> Scott * If you contact me off list replace talklists@ with scott@ * >> > From ryandesign at macports.org Wed Feb 10 13:43:18 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 10 Feb 2010 15:43:18 -0600 Subject: clutter-cairo port is broken on snow leopard In-Reply-To: References: Message-ID: <94B27B20-E8CE-41EC-B653-4CC166242861@macports.org> On Feb 10, 2010, at 09:57, Shuduo Sang wrote: > this page lists clutter-cairo is incompatible on snow leopard. https://trac.macports.org/wiki/snc/snowleopard > but seems no ticket to track progress. I have filed a ticket: http://trac.macports.org/ticket/23655 From ryandesign at macports.org Wed Feb 10 13:46:45 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 10 Feb 2010 15:46:45 -0600 Subject: Error: Problem while installing p5-locale-gettext In-Reply-To: <553D4AC9-B125-4ACD-B899-32D2824B0C6F@free.fr> References: <553D4AC9-B125-4ACD-B899-32D2824B0C6F@free.fr> Message-ID: On Feb 10, 2010, at 04:21, alligator424 wrote: >> i have problems with macport refusing to "port upgrade outdated" >> and it seems that this is a known issue, though "port -d selfupdate" doesn't >> correct the thing. How did you decide this is a known issue? Is there a ticket number you were looking at, or an old mailing list post? Could you give us the URL? >> the error is about p5-locale-gettext which fails to install. >> >> what list should I address before UNINSTALLING/REINSTALLING macport? The macports-users list is the correct place to ask any questions about installing, using, and uninstalling MacPorts. >> when i do "port upgrade outdated": >> >> Command output: checking for gettext... no >> checking for gettext in -I/opt/local/include -arch x86_64 -L/opt/local/lib >> -lintl...gettext function not found. Please install libintl at Makefile.PL line >> 18. >> no Ok, you're building for x86_64. This suggests to me that you're probably on Snow Leopard. Have you recently upgraded to Snow Leopard from Leopard, and if so, did you uninstall and reinstall all ports at that time, as shown on the Migration page? If not, do that now. http://trac.macports.org/wiki/Migration From ryandesign at macports.org Wed Feb 10 13:47:57 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 10 Feb 2010 15:47:57 -0600 Subject: kde4libs-experimental In-Reply-To: <519BD925-EAC4-4201-BC5C-2A669BC66110@meissner.com> References: <2B5F2949-6378-4A45-A88B-2C8E97044F76@macports.org> <519BD925-EAC4-4201-BC5C-2A669BC66110@meissner.com> Message-ID: <73BD14E5-563F-40B6-9772-D1D53FB497B3@macports.org> On Feb 9, 2010, at 12:59, Payam Minoofar wrote: > On Feb 8, 2010, at 1:30 PM, Ryan Schmidt wrote: > >> On Feb 8, 2010, at 13:55, Payam Minoofar wrote: >> >>> Ok, I have been making some headway with this, but it still craps out on me. I'm compiling it as a universal on a Snow Leopard iMac. I hope I am pasting the relevant errors from debug mode below: >> >>> ld: warning: in /opt/local/lib/libsoprano.dylib, file is not of required architecture >> >> You need to compile soprano universal first. > > Thank you, as always. > > So, i executed sudo port upgrade --enforce-variants soprano +universal and I got stuck with Strigi. Sorry, strigi does not seem to be able to build universal at this time. http://trac.macports.org/ticket/22041 Anyone who has a solution should please post to that ticket. From sangshuduo at gmail.com Wed Feb 10 18:43:36 2010 From: sangshuduo at gmail.com (Shuduo Sang) Date: Thu, 11 Feb 2010 10:43:36 +0800 Subject: clutter-cairo port is broken on snow leopard In-Reply-To: <94B27B20-E8CE-41EC-B653-4CC166242861@macports.org> References: <94B27B20-E8CE-41EC-B653-4CC166242861@macports.org> Message-ID: On Thu, Feb 11, 2010 at 5:43 AM, Ryan Schmidt wrote: > > On Feb 10, 2010, at 09:57, Shuduo Sang wrote: > > > this page lists clutter-cairo is incompatible on snow leopard. > https://trac.macports.org/wiki/snc/snowleopard > > but seems no ticket to track progress. > > I have filed a ticket: > > http://trac.macports.org/ticket/23655 > > > thanks! CC me already. :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From russell.jones at physics.ox.ac.uk Thu Feb 11 05:26:29 2010 From: russell.jones at physics.ox.ac.uk (Russell Jones) Date: Thu, 11 Feb 2010 13:26:29 -0000 Subject: pgplot fails to build on 10.5.8 Message-ID: I've filed a ticket here: https://trac.macports.org/ticket/23668 Russell -------------- next part -------------- An HTML attachment was scrubbed... URL: From ratlaw at gmail.com Thu Feb 11 07:43:04 2010 From: ratlaw at gmail.com (Walter Scheper) Date: Thu, 11 Feb 2010 10:43:04 -0500 Subject: py25-modulegraph-devel: conflicting version information Message-ID: Hello all, I'm trying to build git-cola, an application that depends on py2app, which in turn depends on modulegraph. When I try to build the application it appears that modulegraph is reporting it's version as 0.7.3.dev which causes pgk_resources.py to raise a VersionConflict exception because it requires modulegraph>=0.7.3. The conflicting part comes in when I look at __version__ in modulegraph/__init__.py, which is set to 0.7.1. This leaves me with two questions: is the version of modulegraph that is installed 0.7.3 (as suggested by macports) or 0.7.1 (as suggested by __init__.py), and where exactly is pgk_resources.py dredging up 0.7.3.dev? Output of trying to build git-cola follows: $ make git-cola.app python setup.py build running build_translations running build running build_scripts python darwin/py2app-setup.py py2app Traceback (most recent call last): File "darwin/py2app-setup.py", line 34, in setup_requires=['py2app']) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py", line 112, in setup _setup_distribution = dist = klass(attrs) File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 260, in __init__ self.fetch_build_eggs(attrs.pop('setup_requires')) File "/opt/local/lib/python2.5/site-packages/setuptools/dist.py", line 284, in fetch_build_eggs parse_requirements(requires), installer=self.fetch_build_egg File "/opt/local/lib/python2.5/site-packages/pkg_resources.py", line 569, in resolve raise VersionConflict(dist,req) # XXX put more info here pkg_resources.VersionConflict: (modulegraph 0.7.3.dev (/opt/local/lib/python2.5/site-packages), Requirement.parse('modulegraph>=0.7.3')) make: *** [darwin] Error 1 Walter Scheper From talklists at newgeo.com Thu Feb 11 12:32:24 2010 From: talklists at newgeo.com (Scott Haneda) Date: Thu, 11 Feb 2010 12:32:24 -0800 Subject: Error installing p5-net-libidn Message-ID: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> I guess this is now one of the dependencies of a p5 that I have in an existing port that used to install: ---> Attempting to fetch Net-LibIDN-0.12.tar.gz from http://distfiles.macports.org/perl5 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 14262 100 14262 0 0 40505 0 --:--:-- --:--:-- --:--:-- 53018 ---> Verifying checksum(s) for p5-net-libidn DEBUG: Executing org.macports.checksum (p5-net-libidn) ---> Checksumming Net-LibIDN-0.12.tar.gz DEBUG: Correct (md5) checksum for Net-LibIDN-0.12.tar.gz DEBUG: Correct (sha1) checksum for Net-LibIDN-0.12.tar.gz DEBUG: Correct (rmd160) checksum for Net-LibIDN-0.12.tar.gz ---> Extracting p5-net-libidn DEBUG: Executing org.macports.extract (p5-net-libidn) ---> Extracting Net-LibIDN-0.12.tar.gz DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/perl5/Net-LibIDN-0.12.tar.gz DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work" && /usr/bin/gzip -dc /opt/local/var/macports/distfiles/perl5/Net-LibIDN-0.12.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (p5-net-libidn) ---> Applying patches to p5-net-libidn ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-net-libidn/files/patch-Makefile.PL.diff DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /usr/bin/patch -p0' patching file Makefile.PL Hunk #1 succeeded at 165 with fuzz 1 (offset -2 lines). DEBUG: Executing proc-post-org.macports.patch-patch-0 ---> Configuring p5-net-libidn DEBUG: Using compiler 'Mac OS X gcc 4.2' DEBUG: Executing org.macports.configure (p5-net-libidn) DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' LIBRARY_PATH='/opt/local/lib' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' C_INCLUDE_PATH='/opt/local/include' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor' ld: warning: in /opt/local/lib/libidn.dylib, file is not of required architecture Undefined symbols for architecture i386: "_idna_to_ascii_8z", referenced from: _main in ccxpo2bY.o ld: symbol(s) not found for architecture i386 collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//ccT291WR.out (No such file or directory) This module requires GNU Libidn, which could not be found. ---> Building p5-net-libidn DEBUG: Executing org.macports.build (p5-net-libidn) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /usr/bin/make -j2 all' make: *** No rule to make target `all'. Stop. Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /usr/bin/make -j2 all " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /usr/bin/make -j2 all " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for p5-net-libidn): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: p5-io-socket-ssl p5-net-libidn p5-net-ssleay p5-libwww-perl p5-crypt-ssleay p5-html-parser p5-html-tagset p5-uri p5-mail-spf p5-error p5-net-dns p5-digest-hmac p5-net-ip p5-netaddr-ip p5-version p5-mail-srs p5-net p5-authen-sasl p5-gssapi p5-crypt-des p5-digest p5-net-cidr-lite p5-net-ip-match-regexp p5-net-senderbase p5-net-syslog p5-perl-ldap p5-convert-asn1 p5-xml-parser p5-xml-sax-writer p5-text-iconv p5-xml-filter-buffertext p5-sys-syslog p5-tie-dbi p5-dbi p5-time-hires Error: Status 1 encountered during processing. To report a bug, see -- Scott * If you contact me off list replace talklists@ with scott@ * From ryandesign at macports.org Thu Feb 11 16:38:49 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 11 Feb 2010 18:38:49 -0600 Subject: Error installing p5-net-libidn In-Reply-To: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> Message-ID: <04E5F456-FE66-4B16-B220-8385B437F8AA@macports.org> On Feb 11, 2010, at 14:32, Scott Haneda wrote: > DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' LIBRARY_PATH='/opt/local/lib' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' C_INCLUDE_PATH='/opt/local/include' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' You're trying to build p5-net-libidn for the architecture x86_64. > DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor' > ld: warning: in /opt/local/lib/libidn.dylib, file is not of required architecture But its dependency libidn is installed for a different architecture. Rebuild libidn. The only way this should have happened is if you installed libidn while running Mac OS X 10.5 or earlier, then upgraded to Mac OS X 10.6 and tried to build p5-net-libidn. It could also happen if you deliberately set build_arch to, say, i386 in macports.conf before building libidn, then set it back to x86_64 afterward, but you probably wouldn't do that. From talklists at newgeo.com Thu Feb 11 17:14:39 2010 From: talklists at newgeo.com (Scott Haneda) Date: Thu, 11 Feb 2010 17:14:39 -0800 Subject: Error installing p5-net-libidn In-Reply-To: <04E5F456-FE66-4B16-B220-8385B437F8AA@macports.org> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <04E5F456-FE66-4B16-B220-8385B437F8AA@macports.org> Message-ID: <0403456F-E40B-410F-ADDC-16E014F7F487@newgeo.com> On Feb 11, 2010, at 4:38 PM, Ryan Schmidt wrote: > On Feb 11, 2010, at 14:32, Scott Haneda wrote: > >> DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' LIBRARY_PATH='/opt/local/lib' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' C_INCLUDE_PATH='/opt/local/include' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' > > You're trying to build p5-net-libidn for the architecture x86_64. This is a pretty clean install of 10.6, I have not done anything out of the ordinary. >> DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor' >> ld: warning: in /opt/local/lib/libidn.dylib, file is not of required architecture > > But its dependency libidn is installed for a different architecture. Rebuild libidn. How do I find out what installed libidn? > The only way this should have happened is if you installed libidn while running Mac OS X 10.5 or earlier, then upgraded to Mac OS X 10.6 and tried to build p5-net-libidn. No, I started with a clean system, downloaded developer tools, and had a clean MacPorts. > It could also happen if you deliberately set build_arch to, say, i386 in macports.conf before building libidn, then set it back to x86_64 afterward, but you probably wouldn't do that. This is what I have... # CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X 10.5 # and earlier, depending on the CPU type detected at runtime. On Mac OS X 10.6 # the default is x86_64 if the CPU supports it, i386 otherwise. #build_arch i386 I do not think I had libidn installed before I tried to install p5-net-libidn. I was only trying to get back into the ASSP port and it's dependencies, installing that list of dependencies kicked this up. What would be the easiest way to take all my currently installed ports and see which, if any, depend on libidn. Thank you. -- Scott * If you contact me off list replace talklists@ with scott@ * From talklists at newgeo.com Thu Feb 11 17:30:25 2010 From: talklists at newgeo.com (Scott Haneda) Date: Thu, 11 Feb 2010 17:30:25 -0800 Subject: Error installing p5-net-libidn In-Reply-To: <04E5F456-FE66-4B16-B220-8385B437F8AA@macports.org> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <04E5F456-FE66-4B16-B220-8385B437F8AA@macports.org> Message-ID: On Feb 11, 2010, at 4:38 PM, Ryan Schmidt wrote: > On Feb 11, 2010, at 14:32, Scott Haneda wrote: > >> DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' LIBRARY_PATH='/opt/local/lib' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' C_INCLUDE_PATH='/opt/local/include' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' > > You're trying to build p5-net-libidn for the architecture x86_64. > >> DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor' >> ld: warning: in /opt/local/lib/libidn.dylib, file is not of required architecture > > But its dependency libidn is installed for a different architecture. Rebuild libidn. > > The only way this should have happened is if you installed libidn while running Mac OS X 10.5 or earlier, then upgraded to Mac OS X 10.6 and tried to build p5-net-libidn. > > It could also happen if you deliberately set build_arch to, say, i386 in macports.conf before building libidn, then set it back to x86_64 afterward, but you probably wouldn't do that. So if I get this correct, I should just remove libidn, then p5-net-libidn will install fine? $port installed libidn The following ports are currently installed: libidn @1.15_0 (active) $sudo port uninstall libidn ---> Deactivating libidn @1.15_0 ---> Uninstalling libidn @1.15_0 $port installed libidn None of the specified ports are installed. $sudo port -d install p5-net-libidn 2>&1 | tee ~/Desktop/p5-net-libidn.txt Results: http://dl.dropbox.com/u/340087/drops/02.11.10/p5-net-libidn-fc9f6575-172724.txt Still seems to be trying to go 64 DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' So this means I need to add +univeral to libidn, and install it by hand ahead of time? How so I solve this so that end users need not worry about this, when they just want to `sudo port install ASSP`. -- Scott * If you contact me off list replace talklists@ with scott@ * From ryandesign at macports.org Thu Feb 11 17:50:01 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 11 Feb 2010 19:50:01 -0600 Subject: Error installing p5-net-libidn In-Reply-To: <0403456F-E40B-410F-ADDC-16E014F7F487@newgeo.com> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <04E5F456-FE66-4B16-B220-8385B437F8AA@macports.org> <0403456F-E40B-410F-ADDC-16E014F7F487@newgeo.com> Message-ID: <38DFB000-B90C-44D2-B7F6-F6168C866FA6@macports.org> On Feb 11, 2010, at 19:14, Scott Haneda wrote: > On Feb 11, 2010, at 4:38 PM, Ryan Schmidt wrote: > >> On Feb 11, 2010, at 14:32, Scott Haneda wrote: >> >>> DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' LIBRARY_PATH='/opt/local/lib' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' C_INCLUDE_PATH='/opt/local/include' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' >> >> You're trying to build p5-net-libidn for the architecture x86_64. > > This is a pretty clean install of 10.6, I have not done anything out of the ordinary. Right, x86_64 is the way things build by default on 10.6, but on 10.5 and earlier, things built i386 by default. >>> DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor' >>> ld: warning: in /opt/local/lib/libidn.dylib, file is not of required architecture >> >> But its dependency libidn is installed for a different architecture. Rebuild libidn. > > How do I find out what installed libidn? "port provides /opt/local/lib/libidn.dylib" shows that libidn.dylib was installed by the libidn port. >> The only way this should have happened is if you installed libidn while running Mac OS X 10.5 or earlier, then upgraded to Mac OS X 10.6 and tried to build p5-net-libidn. > > No, I started with a clean system, downloaded developer tools, and had a clean MacPorts. > >> It could also happen if you deliberately set build_arch to, say, i386 in macports.conf before building libidn, then set it back to x86_64 afterward, but you probably wouldn't do that. > > This is what I have... > # CPU architecture to compile for. Defaults to i386 or ppc on Mac OS X 10.5 > # and earlier, depending on the CPU type detected at runtime. On Mac OS X 10.6 > # the default is x86_64 if the CPU supports it, i386 otherwise. > #build_arch i386 > > I do not think I had libidn installed before I tried to install p5-net-libidn. I was only trying to get back into the ASSP port and it's dependencies, installing that list of dependencies kicked this up. Ok, then I can't explain why your libidn.dylib wouldn't be built x86_64. For what architecture is it built? lipo -info would tell you: "lipo -info /opt/local/lib/libidn.dylib" > What would be the easiest way to take all my currently installed ports and see which, if any, depend on libidn. "port dependents libidn" From ryandesign at macports.org Thu Feb 11 17:53:11 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 11 Feb 2010 19:53:11 -0600 Subject: Error installing p5-net-libidn In-Reply-To: References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <04E5F456-FE66-4B16-B220-8385B437F8AA@macports.org> Message-ID: <314EE8C2-41F3-4D60-B652-9AF791372C04@macports.org> On Feb 11, 2010, at 19:30, Scott Haneda wrote: > So if I get this correct, I should just remove libidn, then p5-net-libidn will install fine? I would have guessed so. > $port installed libidn > The following ports are currently installed: > libidn @1.15_0 (active) > > $sudo port uninstall libidn > ---> Deactivating libidn @1.15_0 > ---> Uninstalling libidn @1.15_0 > > $port installed libidn > None of the specified ports are installed. > > $sudo port -d install p5-net-libidn 2>&1 | tee ~/Desktop/p5-net-libidn.txt > > Results: > http://dl.dropbox.com/u/340087/drops/02.11.10/p5-net-libidn-fc9f6575-172724.txt Looks like you successfully built libidn again. Is it now built for x86_64? I suspect it is now. p5-net-libidn did not build because you did not clean it since the last attempt. > Still seems to be trying to go 64 Yes; everything you build on Snow Leopard should by default be built 64-bit. This is normal. What wasn't normal was that your libidn.dylib wasn't 64-bit for some reason. > DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' > > So this means I need to add +univeral to libidn, and install it by hand ahead of time? How so I solve this so that end users need not worry about this, when they just want to `sudo port install ASSP`. No, you don't need universal. You just need all the architectures to match, which, unless you mess with build_arch or install parts on 10.5 and parts on 10.6, should just happen automatically. From jmr at macports.org Thu Feb 11 17:53:57 2010 From: jmr at macports.org (Joshua Root) Date: Fri, 12 Feb 2010 12:53:57 +1100 Subject: py25-modulegraph-devel: conflicting version information In-Reply-To: References: Message-ID: <4B74B4B5.3010804@macports.org> On 2010-2-12 02:43 , Walter Scheper wrote: > Hello all, > > I'm trying to build git-cola, an application that depends on py2app, which in turn depends on modulegraph. When I try to build the application it appears that modulegraph is reporting it's version as 0.7.3.dev which causes pgk_resources.py to raise a VersionConflict exception because it requires modulegraph>=0.7.3. > > The conflicting part comes in when I look at __version__ in modulegraph/__init__.py, which is set to 0.7.1. > > This leaves me with two questions: is the version of modulegraph that is installed 0.7.3 (as suggested by macports) or 0.7.1 (as suggested by __init__.py), and where exactly is pgk_resources.py dredging up 0.7.3.dev? Ask upstream. If you download modulegraph 0.7.3 from pypi, you'll see that its __init__.py says the version is 0.7.1. 0.7.3.dev suggests that you may actually have py25-modulegraph-devel installed. - Josh From talklists at newgeo.com Thu Feb 11 18:45:15 2010 From: talklists at newgeo.com (Scott Haneda) Date: Thu, 11 Feb 2010 18:45:15 -0800 Subject: Error installing p5-net-libidn In-Reply-To: <314EE8C2-41F3-4D60-B652-9AF791372C04@macports.org> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <04E5F456-FE66-4B16-B220-8385B437F8AA@macports.org> <314EE8C2-41F3-4D60-B652-9AF791372C04@macports.org> Message-ID: <7C97C9EF-94CB-4DEE-98F8-CF6F9446FE9E@newgeo.com> On Feb 11, 2010, at 5:53 PM, Ryan Schmidt wrote: > On Feb 11, 2010, at 19:30, Scott Haneda wrote: > >> $port installed libidn >> The following ports are currently installed: >> libidn @1.15_0 (active) >> >> $sudo port uninstall libidn >> ---> Deactivating libidn @1.15_0 >> ---> Uninstalling libidn @1.15_0 >> >> $port installed libidn >> None of the specified ports are installed. >> >> $sudo port -d install p5-net-libidn 2>&1 | tee ~/Desktop/p5-net-libidn.txt >> >> Results: >> http://dl.dropbox.com/u/340087/drops/02.11.10/p5-net-libidn-fc9f6575-172724.txt > > Looks like you successfully built libidn again. Is it now built for x86_64? I suspect it is now. Yes, but I suspect it always was: $lipo -info /opt/local/lib/libidn.dylib Non-fat file: /opt/local/lib/libidn.dylib is architecture: x86_64 > p5-net-libidn did not build because you did not clean it since the last attempt. I just ran this: $sudo port -d clean p5-net-libidn So it should be cleaned now >> Still seems to be trying to go 64 > > Yes; everything you build on Snow Leopard should by default be built 64-bit. This is normal. What wasn't normal was that your libidn.dylib wasn't 64-bit for some reason. As far as I can tell, it was. >> DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' >> >> So this means I need to add +univeral to libidn, and install it by hand ahead of time? How so I solve this so that end users need not worry about this, when they just want to `sudo port install ASSP`. > > No, you don't need universal. You just need all the architectures to match, which, unless you mess with build_arch or install parts on 10.5 and parts on 10.6, should just happen automatically. I am leaning on something more obscure here now. $sudo port -d clean p5-net-libidn $sudo port -d install p5-net-libidn Does this output after the above command have anything to do with it? DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-net-libidn DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-net-libidn DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 System Arch: i386 is wrong If you have some steps you would like me to try, and I am doing something wrong this time around, let me know, I am happy to try them out. This is just my test machine, so I can be pretty aggressive with what I do on it. Thank you Ryan. -- Scott * If you contact me off list replace talklists@ with scott@ * From ryandesign at macports.org Thu Feb 11 19:23:13 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 11 Feb 2010 21:23:13 -0600 Subject: Error installing p5-net-libidn In-Reply-To: <7C97C9EF-94CB-4DEE-98F8-CF6F9446FE9E@newgeo.com> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <04E5F456-FE66-4B16-B220-8385B437F8AA@macports.org> <314EE8C2-41F3-4D60-B652-9AF791372C04@macports.org> <7C97C9EF-94CB-4DEE-98F8-CF6F9446FE9E@newgeo.com> Message-ID: On Feb 11, 2010, at 20:45, Scott Haneda wrote: >> Looks like you successfully built libidn again. Is it now built for x86_64? I suspect it is now. > > Yes, but I suspect it always was: > $lipo -info /opt/local/lib/libidn.dylib > Non-fat file: /opt/local/lib/libidn.dylib is architecture: x86_64 If libidn.dylib is x86_64, and you're building p5-net-libidn for x86_64, then the error message "warning: in /opt/local/lib/libidn.dylib, file is not of required architecture" does not make any sense. >> p5-net-libidn did not build because you did not clean it since the last attempt. > > I just ran this: > $sudo port -d clean p5-net-libidn > So it should be cleaned now And it still does not build? I can't think of another reason why, if the error message is staying the same. Let's try cleaning out everything and let's see the whole debug output. sudo port -f uninstall libidn sudo port clean libidn p5-net-libidn sudo port -d install p5-net-libidn build.jobs=1 2>&1 | tee ~/Desktop/p5-net-libidn.txt If that still doesn't build, I'll take a look at your p5-net-libidn.txt and compare it to mine. > Does this output after the above command have anything to do with it? > DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-net-libidn > DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-net-libidn > DEBUG: OS Platform: darwin > DEBUG: OS Version: 10.2.0 > DEBUG: Mac OS X Version: 10.6 > DEBUG: System Arch: i386 > > System Arch: i386 is wrong It's a little confusing, but this is not in fact wrong. System Arch will either be ppc (on any PowerPC Mac, 32-bit or 64-bit) or i386 (on any Intel Mac, 32-bit or 64-bit). This is not the same thing as build_arch. From jmr at macports.org Thu Feb 11 19:28:14 2010 From: jmr at macports.org (Joshua Root) Date: Fri, 12 Feb 2010 14:28:14 +1100 Subject: Error installing p5-net-libidn In-Reply-To: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> Message-ID: <4B74CACE.8020205@macports.org> On 2010-2-12 07:32 , Scott Haneda wrote: > ---> Configuring p5-net-libidn > DEBUG: Using compiler 'Mac OS X gcc 4.2' > DEBUG: Executing org.macports.configure (p5-net-libidn) > DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' LIBRARY_PATH='/opt/local/lib' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' C_INCLUDE_PATH='/opt/local/include' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' > DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor' > ld: warning: in /opt/local/lib/libidn.dylib, file is not of required architecture > Undefined symbols for architecture i386: > "_idna_to_ascii_8z", referenced from: > _main in ccxpo2bY.o > ld: symbol(s) not found for architecture i386 Why is it building for i386? - Josh From jmr at macports.org Thu Feb 11 19:30:02 2010 From: jmr at macports.org (Joshua Root) Date: Fri, 12 Feb 2010 14:30:02 +1100 Subject: Error installing p5-net-libidn In-Reply-To: <4B74CACE.8020205@macports.org> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <4B74CACE.8020205@macports.org> Message-ID: <4B74CB3A.30805@macports.org> On 2010-2-12 14:28 , Joshua Root wrote: > On 2010-2-12 07:32 , Scott Haneda wrote: >> ---> Configuring p5-net-libidn >> DEBUG: Using compiler 'Mac OS X gcc 4.2' >> DEBUG: Executing org.macports.configure (p5-net-libidn) >> DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' LIBRARY_PATH='/opt/local/lib' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' C_INCLUDE_PATH='/opt/local/include' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' >> DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor' >> ld: warning: in /opt/local/lib/libidn.dylib, file is not of required architecture >> Undefined symbols for architecture i386: >> "_idna_to_ascii_8z", referenced from: >> _main in ccxpo2bY.o >> ld: symbol(s) not found for architecture i386 > > Why is it building for i386? Answer: it's linking for i386 because there's no -arch x86_64 in LDFLAGS. - Josh From talklists at newgeo.com Thu Feb 11 19:32:50 2010 From: talklists at newgeo.com (Scott Haneda) Date: Thu, 11 Feb 2010 19:32:50 -0800 Subject: Error installing p5-net-libidn In-Reply-To: <4B74CB3A.30805@macports.org> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <4B74CACE.8020205@macports.org> <4B74CB3A.30805@macports.org> Message-ID: <4F540991-AFEF-43B9-8E0E-534D01C20E43@newgeo.com> On Feb 11, 2010, at 7:30 PM, Joshua Root wrote: > On 2010-2-12 14:28 , Joshua Root wrote: >> On 2010-2-12 07:32 , Scott Haneda wrote: >>> ---> Configuring p5-net-libidn >>> DEBUG: Using compiler 'Mac OS X gcc 4.2' >>> DEBUG: Executing org.macports.configure (p5-net-libidn) >>> DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' LIBRARY_PATH='/opt/local/lib' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' C_INCLUDE_PATH='/opt/local/include' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' >>> DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor' >>> ld: warning: in /opt/local/lib/libidn.dylib, file is not of required architecture >>> Undefined symbols for architecture i386: >>> "_idna_to_ascii_8z", referenced from: >>> _main in ccxpo2bY.o >>> ld: symbol(s) not found for architecture i386 >> >> Why is it building for i386? > > Answer: it's linking for i386 because there's no -arch x86_64 in LDFLAGS. So should I proceed with Ryan's steps in his third past email, or is this the bug in this scenario? -- Scott * If you contact me off list replace talklists@ with scott@ * From ryandesign at macports.org Thu Feb 11 19:36:59 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 11 Feb 2010 21:36:59 -0600 Subject: Error installing p5-net-libidn In-Reply-To: <4F540991-AFEF-43B9-8E0E-534D01C20E43@newgeo.com> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <4B74CACE.8020205@macports.org> <4B74CB3A.30805@macports.org> <4F540991-AFEF-43B9-8E0E-534D01C20E43@newgeo.com> Message-ID: On Feb 11, 2010, at 21:32, Scott Haneda wrote: > On Feb 11, 2010, at 7:30 PM, Joshua Root wrote: > >> On 2010-2-12 14:28 , Joshua Root wrote: >>> On 2010-2-12 07:32 , Scott Haneda wrote: >>>> ---> Configuring p5-net-libidn >>>> DEBUG: Using compiler 'Mac OS X gcc 4.2' >>>> DEBUG: Executing org.macports.configure (p5-net-libidn) >>>> DEBUG: Environment: CFLAGS='-O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch x86_64' MACOSX_DEPLOYMENT_TARGET='10.6' LIBRARY_PATH='/opt/local/lib' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' C_INCLUDE_PATH='/opt/local/include' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' CC='/usr/bin/gcc-4.2' >>>> DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-net-libidn/work/Net-LibIDN-0.12" && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor' >>>> ld: warning: in /opt/local/lib/libidn.dylib, file is not of required architecture >>>> Undefined symbols for architecture i386: >>>> "_idna_to_ascii_8z", referenced from: >>>> _main in ccxpo2bY.o >>>> ld: symbol(s) not found for architecture i386 >>> >>> Why is it building for i386? Oooh. I missed that. >> Answer: it's linking for i386 because there's no -arch x86_64 in LDFLAGS. > > So should I proceed with Ryan's steps in his third past email, or is this the bug in this scenario? Hmm. Well, the lack of -arch flags in LDFLAGS is a bug in MacPorts 1.8.0 through 1.8.2. You can install MacPorts from the 1.8 branch to get the fix for this. But I don't understand why it would default to i386. gcc should be defaulting to x86_64 on a 64-bit Mac running Snow Leopard. From drechsel at verkehrsplanung.com Fri Feb 12 01:30:11 2010 From: drechsel at verkehrsplanung.com (Wolf Drechsel) Date: Fri, 12 Feb 2010 10:30:11 +0100 Subject: changing to +universal variants Message-ID: <1FDE9046-E20C-49F7-9E1E-EE2B93815F0D@verkehrsplanung.com> Hello friends, my set of ports is mainly not the +universal variant. In order to be able to build inkscape for Intel as well, I'd like to reinstall all the ports I do have on my machine, but use the +universal variant instead. Is there an easy to handle routine for doing that - or do I have to check and reinstall each single port manually? Thanks and greetings, Wolf From ryandesign at macports.org Fri Feb 12 01:41:27 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 12 Feb 2010 03:41:27 -0600 Subject: changing to +universal variants In-Reply-To: <1FDE9046-E20C-49F7-9E1E-EE2B93815F0D@verkehrsplanung.com> References: <1FDE9046-E20C-49F7-9E1E-EE2B93815F0D@verkehrsplanung.com> Message-ID: On Feb 12, 2010, at 03:30, Wolf Drechsel wrote: > my set of ports is mainly not the +universal variant. > > In order to be able to build inkscape for Intel as well, I'd like to reinstall all the ports I do have on my machine, but use the +universal variant instead. > > Is there an easy to handle routine for doing that - or do I have to check and reinstall each single port manually? This should do it: sudo port -u upgrade --enforce-variants installed +universal From fukuda at computer.org Fri Feb 12 04:39:29 2010 From: fukuda at computer.org (Taka Fukuda) Date: Fri, 12 Feb 2010 04:39:29 -0800 Subject: The Latest List Message-ID: Hello, Seems like my previous question did not go out, so I am sending it again... ------------------------- Hi, I was a little surprised to know that people were talking about macport of Python-2.6.4, since I had just installed -2.6.3 to my Mac at office. Even more, I found "port list" gives -2.6.2 on my Mac at home. Apparently, port commands on these Macs are trying to access different servers. Could someone give me advice on how to access the latest list? Thanks, -- -- Taka Fukuda -- fukuda at computer.org From arno at alum.wpi.edu Fri Feb 12 04:44:47 2010 From: arno at alum.wpi.edu (Arno Hautala) Date: Fri, 12 Feb 2010 07:44:47 -0500 Subject: The Latest List In-Reply-To: References: Message-ID: <6adc49071002120444r61be84f1h5d168bd00d4668cc@mail.gmail.com> On Fri, Feb 12, 2010 at 07:39, Taka Fukuda wrote: > > Could someone give me advice on how to access the latest list? When was the last time that you ran "port selfupdate" ? -- arno s hautala /-| arno at alum.wpi.edu pgp eabb6fe6 d47c500f b2458f5d a7cc7abb f81c4e00 From talklists at newgeo.com Fri Feb 12 08:54:12 2010 From: talklists at newgeo.com (Scott Haneda) Date: Fri, 12 Feb 2010 08:54:12 -0800 Subject: The Latest List In-Reply-To: <6adc49071002120444r61be84f1h5d168bd00d4668cc@mail.gmail.com> References: <6adc49071002120444r61be84f1h5d168bd00d4668cc@mail.gmail.com> Message-ID: On Feb 12, 2010, at 4:44 AM, Arno Hautala wrote: > On Fri, Feb 12, 2010 at 07:39, Taka Fukuda > wrote: >> >> Could someone give me advice on how to access the latest list? > > When was the last time that you ran "port selfupdate" ? I've been wondering this for a while. Could a selfupdate version file be kept on a few mirrors? Then with a little checking code, MacPorts could run a pre selfupdate check prior to any users "port" command. Your port tree/version is out of date, you may want to run "port selfupdate'". Probably exit at that point and set a local file that determines the ignore state of that question. This way, the next run is not interfered with if they chose to not update for whatever reasons. I know this leans on interactive, which MacPorts appears to avoid, but with some thought, it could be a gentle reminder to be up to date. MacPorts is one of the few softwares I keep up to date at all times, ignoring my "if it ain't broke, don't fix it" mantra I apply to desktop apps, and usually the entire Mamp stack. Though I've been a lot more brave with Mamp since I started using MacPorts. Other than a few misplaced files, directories, includes, and sockets, it's all an amazingly smooth process. I'll jinx myself, but until MacPorts I was never able to bump php on a live server and have the only downtime amount to the time it takes graceful to do it's thing. I do test locally first before hitting up production though, not that brave :) -- Scott (Sent from a mobile device) -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Fri Feb 12 13:58:44 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 12 Feb 2010 15:58:44 -0600 Subject: The Latest List In-Reply-To: References: <6adc49071002120444r61be84f1h5d168bd00d4668cc@mail.gmail.com> Message-ID: <898E7AF0-8D3B-46D4-9B41-5C7A29B43698@macports.org> On Feb 12, 2010, at 10:54, Scott Haneda wrote: > On Feb 12, 2010, at 4:44 AM, Arno Hautala wrote: > >> On Fri, Feb 12, 2010 at 07:39, Taka Fukuda wrote: >>> >>> Could someone give me advice on how to access the latest list? >> >> When was the last time that you ran "port selfupdate" ? > > I've been wondering this for a while. Could a selfupdate version file be kept on a few mirrors? Then with a little checking code, MacPorts could run a pre selfupdate check prior to any users "port" command. > > Your port tree/version is out of date, you may want to run "port selfupdate'". MacPorts already prints this warning when appropriate: "port definitions are more than two weeks old, consider using selfupdate" See: http://trac.macports.org/browser/tags/release_1_8_2/base/src/macports1.0/macports.tcl#L784 From talklists at newgeo.com Fri Feb 12 14:32:09 2010 From: talklists at newgeo.com (Scott Haneda) Date: Fri, 12 Feb 2010 14:32:09 -0800 Subject: The Latest List In-Reply-To: <898E7AF0-8D3B-46D4-9B41-5C7A29B43698@macports.org> References: <6adc49071002120444r61be84f1h5d168bd00d4668cc@mail.gmail.com> <898E7AF0-8D3B-46D4-9B41-5C7A29B43698@macports.org> Message-ID: <699859F0-7041-4E0F-994A-3354A56681A7@newgeo.com> On Feb 12, 2010, at 1:58 PM, Ryan Schmidt wrote: > > On Feb 12, 2010, at 10:54, Scott Haneda wrote: > >> On Feb 12, 2010, at 4:44 AM, Arno Hautala wrote: >> >>> On Fri, Feb 12, 2010 at 07:39, Taka Fukuda wrote: >>>> >>>> Could someone give me advice on how to access the latest list? >>> >>> When was the last time that you ran "port selfupdate" ? >> >> I've been wondering this for a while. Could a selfupdate version file be kept on a few mirrors? Then with a little checking code, MacPorts could run a pre selfupdate check prior to any users "port" command. >> >> Your port tree/version is out of date, you may want to run "port selfupdate'". > > MacPorts already prints this warning when appropriate: > > "port definitions are more than two weeks old, consider using selfupdate" Rad, never knew it, I guess it is force of habit for me to run it more often than every two weeks. Good to know. -- Scott * If you contact me off list replace talklists@ with scott@ * From talklists at newgeo.com Fri Feb 12 14:42:27 2010 From: talklists at newgeo.com (Scott Haneda) Date: Fri, 12 Feb 2010 14:42:27 -0800 Subject: Error installing p5-net-libidn In-Reply-To: References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <4B74CACE.8020205@macports.org> <4B74CB3A.30805@macports.org> <4F540991-AFEF-43B9-8E0E-534D01C20E43@newgeo.com> Message-ID: <47551052-8B3C-416F-8B52-139392CCA89D@newgeo.com> On Feb 11, 2010, at 7:36 PM, Ryan Schmidt wrote: > Hmm. Well, the lack of -arch flags in LDFLAGS is a bug in MacPorts 1.8.0 through 1.8.2. You can install MacPorts from the 1.8 branch to get the fix for this. But I don't understand why it would default to i386. gcc should be defaulting to x86_64 on a 64-bit Mac running Snow Leopard. Recommended procedure? Open a ticket, open a ticket stub so someone more knowledgeable than me can fill in the blanks? In another email, Ryan wrote on February 11, 2010 7:36:59 PM PST > Hmm. Well, the lack of -arch flags in LDFLAGS is a bug in MacPorts > 1.8.0 through 1.8.2. You can install MacPorts from the 1.8 branch to > get the fix for this. But I don't understand why it would default to > i386. gcc should be defaulting to x86_64 on a 64-bit Mac running Snow > Leopard. Can you point me to docs or something that tells me how to so this? Is this like a CVD or git type of pull, or is there an easy way for me to move on this. I just want to be able to work it locally here, I will not release the Portfile until the official is out, which should solve this. Though I would love to know why it is defaulting to 1386 when I am clearly not on that architecture, and none of the other 12 or so p5's had issues, and there were about 6 or so more, which I suspect are going to go in clean as well. Any general guidance is appreciated. -- Scott * If you contact me off list replace talklists@ with scott@ * From ryandesign at macports.org Fri Feb 12 14:46:56 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 12 Feb 2010 16:46:56 -0600 Subject: Error installing p5-net-libidn In-Reply-To: <47551052-8B3C-416F-8B52-139392CCA89D@newgeo.com> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <4B74CACE.8020205@macports.org> <4B74CB3A.30805@macports.org> <4F540991-AFEF-43B9-8E0E-534D01C20E43@newgeo.com> <47551052-8B3C-416F-8B52-139392CCA89D@newgeo.com> Message-ID: <1BDE569E-3D08-43F4-963B-7F465E352FAA@macports.org> On Feb 12, 2010, at 16:42, Scott Haneda wrote: > On Feb 11, 2010, at 7:36 PM, Ryan Schmidt wrote: > >> Hmm. Well, the lack of -arch flags in LDFLAGS is a bug in MacPorts >> 1.8.0 through 1.8.2. You can install MacPorts from the 1.8 branch to >> get the fix for this. But I don't understand why it would default to >> i386. gcc should be defaulting to x86_64 on a 64-bit Mac running Snow >> Leopard. > > Can you point me to docs or something that tells me how to so this? Is this like a CVD or git type of pull, or is there an easy way for me to move on this. I just want to be able to work it locally here, I will not release the Portfile until the official is out, which should solve this. http://guide.macports.org/chunked/installing.macports.html#installing.macports.subversion Except instead of using http://svn.macports.org/repository/macports/trunk you can use http://svn.macports.org/repository/macports/branches/release_1_8 > Though I would love to know why it is defaulting to 1386 when I am clearly not on that architecture, and none of the other 12 or so p5's had issues, and there were about 6 or so more, which I suspect are going to go in clean as well. I am as baffled as you. I cannot explain why it's defaulting to i386 on your system in this case. Let us know if you find out why. From talklists at newgeo.com Fri Feb 12 15:03:34 2010 From: talklists at newgeo.com (Scott Haneda) Date: Fri, 12 Feb 2010 15:03:34 -0800 Subject: Error installing p5-net-libidn In-Reply-To: <1BDE569E-3D08-43F4-963B-7F465E352FAA@macports.org> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <4B74CACE.8020205@macports.org> <4B74CB3A.30805@macports.org> <4F540991-AFEF-43B9-8E0E-534D01C20E43@newgeo.com> <47551052-8B3C-416F-8B52-139392CCA89D@newgeo.com> <1BDE569E-3D08-43F4-963B-7F465E352FAA@macports.org> Message-ID: <0968CC1B-D9AD-4D2C-9FE9-94EDDF26CE75@newgeo.com> On Feb 12, 2010, at 2:46 PM, Ryan Schmidt wrote: > On Feb 12, 2010, at 16:42, Scott Haneda wrote: > >> On Feb 11, 2010, at 7:36 PM, Ryan Schmidt wrote: >> >> Though I would love to know why it is defaulting to 1386 when I am clearly not on that architecture, and none of the other 12 or so p5's had issues, and there were about 6 or so more, which I suspect are going to go in clean as well. > > I am as baffled as you. I cannot explain why it's defaulting to i386 on your system in this case. Let us know if you find out why. Are you on Intel, does it do it for you? Any other people with various systems mind trying? If you are, and please correct me if I am wrong, but you will want to run this sudo port -f uninstall libidn sudo port clean libidn p5-net-libidn sudo port -d install p5-net-libidn build.jobs=1 2>&1 | tee ~/Desktop/p5-net-libidn.txt I have two Mac Mini Intel Core 2 Duos here, one with and one without MacPorts, so I will get them both as test beds later this evening and report the p5-net-libidn.txt file back here. Thanks again. -- Scott * If you contact me off list replace talklists@ with scott@ * From ryandesign at macports.org Fri Feb 12 15:06:07 2010 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 12 Feb 2010 17:06:07 -0600 Subject: Error installing p5-net-libidn In-Reply-To: <0968CC1B-D9AD-4D2C-9FE9-94EDDF26CE75@newgeo.com> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <4B74CACE.8020205@macports.org> <4B74CB3A.30805@macports.org> <4F540991-AFEF-43B9-8E0E-534D01C20E43@newgeo.com> <47551052-8B3C-416F-8B52-139392CCA89D@newgeo.com> <1BDE569E-3D08-43F4-963B-7F465E352FAA@macports.org> <0968CC1B-D9AD-4D2C-9FE9-94EDDF26CE75@newgeo.com> Message-ID: <0F9C8A3D-3EC4-4F46-AE13-92DADB7A4C2F@macports.org> On Feb 12, 2010, at 17:03, Scott Haneda wrote: > On Feb 12, 2010, at 2:46 PM, Ryan Schmidt wrote: > >> On Feb 12, 2010, at 16:42, Scott Haneda wrote: >> >>> On Feb 11, 2010, at 7:36 PM, Ryan Schmidt wrote: >>> >>> Though I would love to know why it is defaulting to 1386 when I am clearly not on that architecture, and none of the other 12 or so p5's had issues, and there were about 6 or so more, which I suspect are going to go in clean as well. >> >> I am as baffled as you. I cannot explain why it's defaulting to i386 on your system in this case. Let us know if you find out why. > > Are you on Intel, does it do it for you? Any other people with various systems mind trying? > > If you are, and please correct me if I am wrong, but you will want to run this > sudo port -f uninstall libidn > sudo port clean libidn p5-net-libidn > sudo port -d install p5-net-libidn build.jobs=1 2>&1 | tee ~/Desktop/p5-net-libidn.txt Yes, I am on an Intel Core 2 Duo. (Snow Leopard doesn't run on PowerPC.) It defaults to x86_64 like it should. I tried those commands before I sent them to you and they work fine here. From talklists at newgeo.com Fri Feb 12 15:26:41 2010 From: talklists at newgeo.com (Scott Haneda) Date: Fri, 12 Feb 2010 15:26:41 -0800 Subject: Error installing p5-net-libidn In-Reply-To: <0F9C8A3D-3EC4-4F46-AE13-92DADB7A4C2F@macports.org> References: <9E3FF725-424C-4D85-9320-5757F597AEC2@newgeo.com> <4B74CACE.8020205@macports.org> <4B74CB3A.30805@macports.org> <4F540991-AFEF-43B9-8E0E-534D01C20E43@newgeo.com> <47551052-8B3C-416F-8B52-139392CCA89D@newgeo.com> <1BDE569E-3D08-43F4-963B-7F465E352FAA@macports.org> <0968CC1B-D9AD-4D2C-9FE9-94EDDF26CE75@newgeo.com> <0F9C8A3D-3EC4-4F46-AE13-92DADB7A4C2F@macports.org> Message-ID: On Feb 12, 2010, at 3:06 PM, Ryan Schmidt wrote: > > On Feb 12, 2010, at 17:03, Scott Haneda wrote: > >> On Feb 12, 2010, at 2:46 PM, Ryan Schmidt wrote: >> >>> On Feb 12, 2010, at 16:42, Scott Haneda wrote: >>> >>>> On Feb 11, 2010, at 7:36 PM, Ryan Schmidt wrote: >>>> >>>> Though I would love to know why it is defaulting to 1386 when I am clearly not on that architecture, and none of the other 12 or so p5's had issues, and there were about 6 or so more, which I suspect are going to go in clean as well. >>> >>> I am as baffled as you. I cannot explain why it's defaulting to i386 on your system in this case. Let us know if you find out why. >> >> Are you on Intel, does it do it for you? Any other people with various systems mind trying? >> >> If you are, and please correct me if I am wrong, but you will want to run this >> sudo port -f uninstall libidn >> sudo port clean libidn p5-net-libidn >> sudo port -d install p5-net-libidn build.jobs=1 2>&1 | tee ~/Desktop/p5-net-libidn.txt > > Yes, I am on an Intel Core 2 Duo. (Snow Leopard doesn't run on PowerPC.) It defaults to x86_64 like it should. I tried those commands before I sent them to you and they work fine here. Well I just diff'd macports.conf, sources.conf, and variants.comf with each respective *.default and all are identical. http://pastie.org/822642 Do you see anything out of whack in there? After I run some tests, we should know more. Any other files we may want to md5 compare on? I am not looking forward to nuking and reinstalling things, I sort of have them just how I want them. Could it be related to another p5? I did this: cd ~/macports/mail/ASSP sudo port -d install The only thing in there that matter in any way are: depends_run bin:perl:perl5.8 use_configure no I commented this out, as it is not needed: #configure {} Then I have all these to go in: depends_lib port:p5-io-compress \ port:p5-digest-md5 \ port:p5-digest-sha1 \ port:p5-email-mime-modifier \ port:p5-email-send \ port:p5-email-valid \ port:p5-file-readbackwards \ port:p5-io-socket-ssl \ port:p5-libwww-perl \ port:p5-mail-spf \ port:p5-mail-srs \ port:p5-net \ port:p5-net-cidr-lite \ port:p5-net-dns \ port:p5-net-ip-match-regexp \ port:p5-net-senderbase \ port:p5-net-syslog \ port:p5-perl-ldap \ port:p5-sys-syslog \ port:p5-tie-dbi \ port:p5-time-hires \ port:p5-io-socket-ssl \ port:p5-email-send \ port:p5-text-iconv \ port:p5-io-socket-inet6 Maybe it was a combo of those that messed something up? Just a random thought, as I am confused, this seems a lot deeper than that, as it is a compile time flag correct? That is part of core/base, and no port should be altering it? -- Scott * If you contact me off list replace talklists@ with scott@ * From anand.shashwat at gmail.com Fri Feb 12 16:53:45 2010 From: anand.shashwat at gmail.com (Shashwat Anand) Date: Sat, 13 Feb 2010 06:23:45 +0530 Subject: Issue in selfupdating macport on Snow Leopard Message-ID: I installed MacPorts-1.8.2 both from source and dmg. I also tried reinstalling rsync. Still I can't do a selfupdate. Here is the trace: Shashwat-Anands-MacBook-Pro:~ l0nwlf$ port Warning: No index(es) found! Have you synced your source indexes? MacPorts 1.8.2 Entering interactive mode... ("help" for help, "quit" to quit) [Users/l0nwlf] > quit Goodbye Shashwat-Anands-MacBook-Pro:~ l0nwlf$ sudo port -v selfupdate Warning: No index(es) found! Have you synced your source indexes? ---> Updating the ports tree Synchronizing local ports tree from rsync:// rsync.macports.org/release/ports/ rsync: failed to connect to rsync.macports.org: Operation timed out (60) rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-37.3/rsync/clientserver.c(105) [receiver=2.6.9] Error: Synchronization of the local ports tree failed doing rsync Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed Shashwat-Anands-MacBook-Pro:~ l0nwlf$ -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad at pixilla.com Fri Feb 12 17:48:55 2010 From: brad at pixilla.com (Bradley Giesbrecht) Date: Fri, 12 Feb 2010 17:48:55 -0800 Subject: #23312: Unable to detect PHP version In-Reply-To: References: <455c82e71001051202l606fbf93q73b2a245774f91a1@mail.gmail.com><455c82e71001060735h635a5381rcbc1948790f6c4df@mail.gmail.com><455c82e71001060840p4e68bfe0g4da66851676cce43@mail.gmail.com><51C0AA76-E64F-4ED0-8A70-4F63F093DD31@macports.org><455c82e71001060938p6d41984bo6b1303d6cf89f580@mail.gmail.com><2F6CA757-9D1C-485B-A227-0CA32A4098A1@macports.org><455c82e71001061829l7fc76d17kf262ba26bb488f46@mail.gmail.com><62188A5E-A6FA-47DF-ACE7-30D91833BCEE@macports.org><455c82e71001062010k4b4966bahceea71f2cee3383f@mail.gmail.com><455c82e71001062017q4cbb8574n6cca3b1f314fe6fd@mail.gmail.com><1CA36FB6-190F-4687-8236-F6621CB70DE0@macports.org><2FBF79D4-CFCB-46D2-A970-62AF9A1B7ECE@pixilla.com><4871BAB8-30DA-4093-87FF-F591E1BEAE8F@macports.org> <0A94B9BD-A491-43C3-A055-61D9A2C47B3B@pixilla.com> <6097165A-26A7-48E6-A422-C4C9E5E9D32D@pixilla.com> <9264CB1E-93EC-445F-889B-EEE38EDC2A9F@pixilla.com> Message-ID: <6A9949D0-2F6A-48AD-B7AB-3B7DEFAB5452@pixilla.com> Well, I do not have a head program in /opt/local/bin and I do have / opt/local/bin/perl5. What is the output of: port provides /opt/local/bin/head // Brad On Feb 12, 2010, at 9:37 AM, John Korchok wrote: > Hi Brad, > > head -n3 .bash_history > returns > Unknown option: n > Unknown option: 3 > > In answer to your previous questions: > > which head > returns > /opt/local/bin/head > > which perl > returns > /opt/local/bin/perl > > which perl5 > returns > no perl5 in /opt/local/bin /opt/local/sbin /bin /sbin /user/bin / > user/sbin > > env perl -e 'print `which head`' > returns > /opt/local/bin/head > > env perl5 -e 'print `which head`' > returns > env: perl5: No such file or directory > > John Korchok > > > > From: Bradley Giesbrecht [mailto:brad at pixilla.com] > Sent: Monday, February 08, 2010 2:12 AM > To: John Korchok > Subject: Re: #23312: Unable to detect PHP version > > Your head program doesn't like -n so something is wrong with that. > > Do this in Terminal: > cd > head -n3 .bash_history > > Do you get the first 3 lines of you .bash_history file or an error? > > Regardless you may be able to get around your "head" problem by > altering the portfile and to add the path to php-config which might > not need the head program to get the php version. > > But I really think you should probably solve the problem because > head may be used by a lot of other things you may need. > > If you want to try do this in Terminal: > > cd `port dir php5-oracle` > port extract > cd ./work/php-5.3.1/ext/oci8/ > phpize > ./configure --prefix=/opt/local --with-oci8=instantclient,/opt/local/ > lib/oracle --with-pdo-oci=instantclient,/opt/local/lib/oracle,10.1 -- > with-php-config=/opt/local/bin/php-config > > If that works and you want to use this instead of fixing head let me > know and I'll give you the one line to add to your php5-oracle > Portfile to add the path to php-config. > > > // Brad > > On Feb 6, 2010, at 6:04 PM, John Korchok wrote: > >> Hi Bradley, >> >> Thank you for taking the time to look into this. I don't have any >> problem with any other MacPorts installs and I use several. I have >> successfully installed the same configuration on a couple of Intel >> machines with no problem, though both those were also running >> Leopard. I thought I would first restate the error that I am >> getting. The errors seem to start with line 5 of the listing below, >> then when the routine for checking the PHP version is called, an >> unknown flag "n" is used, causing the install to halt: >> >> port install -f php5-oracle >> Password: >> ---> Computing dependencies for php5-oracle >> ---> Configuring php5-oracle >> Error: Target org.macports.configure returned: configure failure: >> shell command " cd "/opt/local/var/macports/build/ >> _opt_local_var_macports_sources_rsync >> .macports.org_release_ports_php_php5-oracle/work/php-5.3.1/ext/ >> oci8" && ./configure --prefix=/opt/local --with-oci8=instantclient,/ >> opt/local/lib/oracle --with-pdo-oci=instantclient,/opt/local/lib/ >> oracle,10.1 " returned error 1 >> Command output: checking for re2c... no >> configure: WARNING: You will need re2c 0.13.4 or later if you want >> to regenerate PHP parsers. >> checking for gawk... gawk >> checking for Oracle (OCI8) support... yes, shared >> checking PHP version... Unknown option: n >> Usage: head [-options] ... >> -m use method for the request (default is 'HEAD') >> -f make request even if head believes method is >> illegal >> -b Use the specified URL as base >> -t Set timeout value >> -i