From face at CentosPrime.COM Sun Apr 1 10:22:18 2012 From: face at CentosPrime.COM (Chris Janton) Date: Sun, 01 Apr 2012 10:22:18 -0700 Subject: mysql55 Message-ID: <1DF7351D-2FD8-4CF9-9779-D46AC84DBBF1@centosprime.com> Decided to give mysql55 a go. Switching from mysql5 Everything appeared to work just fine with the build. deactivated mysql5 and mysql5-server (forced due to some dependencies) installed mysql55 and mysql55-server port select mysql mysql55 mysql won't start due to the following problems, both stemming from my.cnf defaults that worked previously [mysqld] pid_file=/var/mysql If this line is included mysql fails to start complaining that /var/mysql is a directory, which is a true statement. If I comment out, or make 'pid_file=' then the pid file is created in the data directory. That's OK, I guess. I don't know why it stopped working. [mysqld] federated If this line is included (to enable the FEDERATED engine) mysql fails to start complaining about 'unknown option --federated' If I comment it out, mysql starts. How do I enable the FEDERATED engine in this case? Something missing in the build that allows it? After getting mysqld to start I did sudo port load mysql55-server Should 'port select mysql mysql55' or 'port select mysql-server mysql55-server' make the commands port load mysql-server choose the proper engine to start? or should I just deal with unloading/loading the server specifically? 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From nixon8890 at gmail.com Sun Apr 1 20:44:46 2012 From: nixon8890 at gmail.com (Nick Hughes) Date: Sun, 1 Apr 2012 23:44:46 -0400 Subject: Xcode 4.3.2 macports requirement (please add to FAQ) Message-ID: Folks, I was stumped on this for awhile trying to run: sudo port -d selfupdate I would keep getting this error: sudo port -d selfupdate configure: error: C compiler cannot create executables I uninstalled all prior versions of Xcode and reinstalled the new version from the App Store. I figured out these steps were necessary (and not really documented) to get "port -d selfupdate" to compile things again: 1. Make sure you click on the Xcode application icon in the Application folder after installing it 2. In Xcode, go to Preferences, then click DOWNLOAD, then click COMPONENTS 3. Click on "Install Command Line tools" 4. The command lines utilities will download and install. 5. At this point, you can now compile in the command line and therefore macports selfupdate should work. You may want to add this to the FAQ if it's not there. Nick -------------- next part -------------- An HTML attachment was scrubbed... URL: From larry.velazquez at gmail.com Sun Apr 1 22:35:32 2012 From: larry.velazquez at gmail.com (=?utf-8?Q?Lawrence_Vel=C3=A1zquez?=) Date: Mon, 2 Apr 2012 01:35:32 -0400 Subject: Xcode 4.3.2 macports requirement (please add to FAQ) In-Reply-To: References: Message-ID: On Apr 1, 2012, at 11:44 PM, Nick Hughes wrote: > You may want to add this to the FAQ if it's not there. The FAQ is a tad out of date, but this is mentioned in the guide. http://guide.macports.org/#installing.xcode.lion.43 vq From ximon at ximon.karoo.co.uk Mon Apr 2 00:05:09 2012 From: ximon at ximon.karoo.co.uk (ximon) Date: Mon, 2 Apr 2012 08:05:09 +0100 Subject: Xcode 4.3.2 macports requirement (please add to FAQ) In-Reply-To: References: Message-ID: Hmmm, After upgrading a little while ago to Xcode 4.3.1, I find I am unable to install the command line tools - an error message is displayed informing me that my developer account is "not in good standing" and needs to be updated. I followed the link to the member centre and logged in but there doesn't seem to be an account update procedure. I updated my profile but that didn't help either. Do I need to join one of the suggested (iOS, Mac or Safari) developer programs? Macports builds are working fine BTW, perhaps using the command line tools from the previous version, but I can see the day coming when installing a newer set of tools will be required to keep Macports up to date?. ximon. On 2 Apr 2012, at 06:35, Lawrence Vel?zquez wrote: > On Apr 1, 2012, at 11:44 PM, Nick Hughes wrote: > >> You may want to add this to the FAQ if it's not there. > > The FAQ is a tad out of date, but this is mentioned in the guide. > > http://guide.macports.org/#installing.xcode.lion.43 > > vq > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From edv-e at verkehrsplanung.com Mon Apr 2 00:36:23 2012 From: edv-e at verkehrsplanung.com (Drechsel Wolf) Date: Mon, 2 Apr 2012 09:36:23 +0200 Subject: port of ige-mac-bundler won't bundle gnumeric References: <4F775925.9090103@gmail.com> Message-ID: > I used "sudo port install" to install first gnumeric and then ige- > mac-bundler, apparently without error. > > But when I then downloaded and extracted the "definitions of > Gnumeric.app" and, in the Gnumerics folder thereby created, ran > > ige-mac-bundler Gnumeric.bundle > > I got error message: > > Traceback (most recent call last): > File "/opt/local/bin/ige-mac-bundler", line 5, in > import bundler.main > ImportError: No module named bundler.main I had exactly the same error with inkscape and using the local portfile from https://trac.macports.org/ticket/27794 Wolf From lanceboyle at qwest.net Mon Apr 2 01:38:58 2012 From: lanceboyle at qwest.net (Jerry) Date: Mon, 2 Apr 2012 01:38:58 -0700 Subject: A port is clashing with another program installed in /opt that is not a port Message-ID: Hi List, Today I installed MacPorts into Lion 10.7.3. I used the pkg installer and then typed: sudo xcode-select -switch /Applications/Xcode.app to expose Xcode 4.3.1 and then sudo port install py-spyder (Spyder is a python IDE for technical computing.) The installation failed with this error so that dbus and several other dependencies were not installed: ---------------------- Error: Target org.macports.activate returned: Image error: /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and does not belong to a registered port. Unable to activate port dbus. Use 'port -f activate dbus' to force the activation. Error: Failed to install dbus ---------------------- I looked at /Library/LaunchAgents/org.freedesktop.dbus-session.plist and found that it is an alias that points to /opt/openmodelica/Library/LaunchAgents/org.freedesktop.dbus-session.plist It turns that I had some time back installed Open Modelica using a .mpkg from a .dmg downloaded from http://openmodelica.org/, so that my /opt at the upper levels looks like this: /opt/local /opt/openmodelica If I take the suggestion by the MacPorts error message above to use 'port -f activate dbus' will this disturb anything with my Open Modelica installation? Thanks, Jerry From arno at alum.wpi.edu Mon Apr 2 06:14:07 2012 From: arno at alum.wpi.edu (Arno Hautala) Date: Mon, 2 Apr 2012 09:14:07 -0400 Subject: Xcode 4.3.2 macports requirement (please add to FAQ) In-Reply-To: References: Message-ID: On 2012-04-02, ximon wrote: > Hmmm, > > After upgrading a little while ago to Xcode 4.3.1, I find I am unable to > install the command line tools - an error message is displayed informing me > that my developer account is "not in good standing" and needs to be > updated. I followed the link to the member centre and logged in but there > doesn't seem to be an account update procedure. I updated my profile but > that didn't help either. > > Do I need to join one of the suggested (iOS, Mac or Safari) developer > programs? You shouldn't need to pay for a developer program in order to download the Command Line Tools. I do recall that this was an issue when 4.3.2 was first released, but it seemed to be corrected on Apple's side fairly quickly (I think it was only a few hours). You might try removing / logging out of your Apple ID or Developer ID, log back in, and try again. If you're still seeing the issue you should probably contact Apple's Developer support. -- arno s hautala /-| arno at alum.wpi.edu pgp b2c9d448 From arno at alum.wpi.edu Mon Apr 2 06:33:07 2012 From: arno at alum.wpi.edu (Arno Hautala) Date: Mon, 2 Apr 2012 09:33:07 -0400 Subject: A port is clashing with another program installed in /opt that is not a port In-Reply-To: References: Message-ID: On 2012-04-02, Jerry wrote: > > Error: Target org.macports.activate returned: Image error: > /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and > does not belong to a registered port. Unable to activate port dbus. Use > 'port -f activate dbus' to force the activation. > Error: Failed to install dbus > ---------------------- > > I looked at /Library/LaunchAgents/org.freedesktop.dbus-session.plist and > found that it is an alias that points to > > /opt/openmodelica/Library/LaunchAgents/org.freedesktop.dbus-session.plist > > It turns that I had some time back installed Open Modelica using a .mpkg > from a .dmg downloaded from http://openmodelica.org/, so that my /opt at the > upper levels looks like this: > > /opt/local > /opt/openmodelica > > If I take the suggestion by the MacPorts error message above to use 'port -f > activate dbus' will this disturb anything with my Open Modelica > installation? So, the issue isn't that anything is installed into /opt/openmodelica, it's that Open Modelica and MacPorts dbus want to install a launchd plist to the same place. I'm not familiar with Open Modelica, but it sounds like it installed it's own copy of dbus. It's possible that you could force the install without issue, but Open Modelica may be reliant on a specific version of dbus and run into issues when using the version supplied by MacPorts. The dbus port does supply a "+no_startupitem" variant which should skip installing the launchd plist. The launchd task isn't started by default anyway and I think I recall that ports that depend on dbus are usually intelligent enough to start it on their own if it's not running (corrections welcome). I certainly don't recall running into any issues with having not started the launchd task. So, your best bet is to clean dbus and reinstall it with the "+no_startupitem" variant. port clean dbus port install dbus +no_startupitem port install py-spyder It may also be worth while to report this issue to Open Modelica. I doubt that their launchd plist is required for operation. Better Solution: I notice that Open Modelica suggest using MacPorts to install their software. It may be best to remove the /opt/openmodelica directory, the launchd plist that linked to that directory, and any other OM files that you can find, and reinstall using MacPorts. That you have files in /opt/openmodelica, a dbus plist that is linked in a similar way to how MacPorts manages things, and that the developers suggest using MacPorts to manage your installation suggests that the binary release that they've provided was created by a MacPorts installation from a custom prefix. -- arno s hautala /-| arno at alum.wpi.edu pgp b2c9d448 From pixilla at macports.org Mon Apr 2 09:00:30 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Mon, 2 Apr 2012 09:00:30 -0700 Subject: mysql55 In-Reply-To: <1DF7351D-2FD8-4CF9-9779-D46AC84DBBF1@centosprime.com> References: <1DF7351D-2FD8-4CF9-9779-D46AC84DBBF1@centosprime.com> Message-ID: <8DFF19ED-55C3-46D1-A78F-6322B2FD4A05@macports.org> On Apr 1, 2012, at 10:22 AM, Chris Janton wrote: > How do I enable the FEDERATED engine in this case? Something missing in the build that allows it? I do not have any experience with federated tables. Perhaps installing the federated plugin will help. $ port contents mysql55 | grep ha_federated.so /opt/local/lib/mysql55/plugin/ha_federated.so > After getting mysqld to start I did > > sudo port load mysql55-server > > Should 'port select mysql mysql55' or 'port select mysql-server mysql55-server' make the commands > > port load mysql-server > > choose the proper engine to start? I have not thought about this. Maybe others more knowledgable will offer feedback. > or should I just deal with unloading/loading the server specifically? Probably. These questions are better answered buy people that understand "startupitems" and the intentions of "port select" better then I. Mysql55 is installed to not conflict with other mysql ports and in the future one should be able to have more then one version or fork of mysql installed and running at the same time. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From ryandesign at macports.org Mon Apr 2 10:45:24 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 2 Apr 2012 12:45:24 -0500 Subject: mysql55 In-Reply-To: <1DF7351D-2FD8-4CF9-9779-D46AC84DBBF1@centosprime.com> References: <1DF7351D-2FD8-4CF9-9779-D46AC84DBBF1@centosprime.com> Message-ID: <2830403F-70CB-4A21-B1C6-5AADF3C69577@macports.org> On Apr 1, 2012, at 12:22, Chris Janton wrote: > Decided to give mysql55 a go. Switching from mysql5 > > Everything appeared to work just fine with the build. > > deactivated mysql5 and mysql5-server (forced due to some dependencies) > > installed mysql55 and mysql55-server > > port select mysql mysql55 > > mysql won't start due to the following problems, both stemming from my.cnf defaults that worked previously > > [mysqld] > pid_file=/var/mysql > > If this line is included mysql fails to start complaining that /var/mysql is a directory, which is a true statement. If I comment out, or make > 'pid_file=' then the pid file is created in the data directory. That's OK, I guess. I don't know why it stopped working. The documentation says pid-file should be "The path name of the process ID file" (not the path of the directory it's in): http://dev.mysql.com/doc/refman/5.5/en/mysqld-safe.html#option_mysqld_safe_pid-file Perhaps mysql has improved its error reporting in this regard. > [mysqld] > federated > > If this line is included (to enable the FEDERATED engine) mysql fails to start complaining about 'unknown option --federated' > If I comment it out, mysql starts. > > How do I enable the FEDERATED engine in this case? Something missing in the build that allows it? My understanding from the documentation is that that should have worked: "The FEDERATED storage engine is not enabled by default in the running server; to enable FEDERATED, you must start the MySQL server binary using the --federated option." (Or presumably equivalently, putting "federated" in the my.cnf file) http://dev.mysql.com/doc/refman/5.5/en/federated-storage-engine.html Before refreshing my memory with the documentation, I thought I remembered from the early days of the 5.5/5.2 series that federated was always on. Maybe that changed at some point and we have to do something else now to enable it. If you can find out what that is, let us know. > After getting mysqld to start I did > > sudo port load mysql55-server > > Should 'port select mysql mysql55' or 'port select mysql-server mysql55-server' make the commands > > port load mysql-server > > choose the proper engine to start? or should I just deal with unloading/loading the server specifically? Good question. I don't know if we've ever thought about whether launchd plists should be managed by port select. I don't have a particular opinion about whether it would be useful or not, but if you think it is, maybe others do too. One potentially problematic scenario to consider, if we were to do that, is this: user selects mysql51, user uses your hypothetical "port load mysql-server" to start mysql51, user selects mysql55. Now mysql51 is still running, and the launchd id corresponding to it is mysql-server, but the launchd plist that's in place at the id mysql-server no longer refers to mysql51; it now refers to mysql55. So how do you stop the mysql51 server? You can't. You wouldn't have this problem if you had used "port load mysql51-server" in the first place, because you could then just "port unload mysql51-server" later to unload it. Admittedly it's pretty similar to another problem we already have: user installs port, user loads port, user uninstalls port; now the server is running but the plist that would let you stop it has been deleted. Perhaps both problems would be solved by making MacPorts refuse to remove a plist if it is loaded. This is related to: https://trac.macports.org/ticket/23677 From ryandesign at macports.org Mon Apr 2 10:52:14 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 2 Apr 2012 12:52:14 -0500 Subject: A port is clashing with another program installed in /opt that is not a port In-Reply-To: References: Message-ID: <23FA4C97-B747-4FA5-B3DA-C901DC7099BC@macports.org> On Apr 2, 2012, at 08:33, Arno Hautala wrote: > On 2012-04-02, Jerry wrote: >> >> Error: Target org.macports.activate returned: Image error: >> /Library/LaunchAgents/org.freedesktop.dbus-session.plist already exists and >> does not belong to a registered port. Unable to activate port dbus. Use >> 'port -f activate dbus' to force the activation. >> Error: Failed to install dbus >> ---------------------- >> >> I looked at /Library/LaunchAgents/org.freedesktop.dbus-session.plist and >> found that it is an alias that points to >> >> /opt/openmodelica/Library/LaunchAgents/org.freedesktop.dbus-session.plist >> >> It turns that I had some time back installed Open Modelica using a .mpkg >> from a .dmg downloaded from http://openmodelica.org/, so that my /opt at the >> upper levels looks like this: >> >> /opt/local >> /opt/openmodelica >> >> If I take the suggestion by the MacPorts error message above to use 'port -f >> activate dbus' will this disturb anything with my Open Modelica >> installation? > > So, the issue isn't that anything is installed into /opt/openmodelica, > it's that Open Modelica and MacPorts dbus want to install a launchd > plist to the same place. > > I'm not familiar with Open Modelica, but it sounds like it installed > it's own copy of dbus. It's possible that you could force the install > without issue, but Open Modelica may be reliant on a specific version > of dbus and run into issues when using the version supplied by > MacPorts. > > The dbus port does supply a "+no_startupitem" variant which should > skip installing the launchd plist. The launchd task isn't started by > default anyway and I think I recall that ports that depend on dbus are > usually intelligent enough to start it on their own if it's not > running (corrections welcome). I certainly don't recall running into > any issues with having not started the launchd task. There have been tons of reports over the years on the mailing list and in the issue tracker of problems resulting from users not reading and following the instructions the dbus port prints out: $ port notes dbus dbus has the following notes: ############################################################################ # Startup items have been generated that will aid in # starting dbus with launchd. They are disabled # by default. Execute the following command to start them, # and to cause them to launch at startup: # # sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist # launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist ############################################################################ I am not familiar with dbus and don't use software that uses dbus, so I don't know if it will auto-start these daemons, but I have no reason to believe it will; if the above steps were not necessary to perform manually, I doubt the maintainer of the port would have gone to the trouble of adding the note. > So, your best bet is to clean dbus and reinstall it with the > "+no_startupitem" variant. > > port clean dbus > port install dbus +no_startupitem > port install py-spyder > > > It may also be worth while to report this issue to Open Modelica. I > doubt that their launchd plist is required for operation. If Open Modelica does not require dbus to be started, then it is the Open Modelica packagers who should be changing their distribution to use the +no_startupitem variant. > Better Solution: > > I notice that Open Modelica suggest using MacPorts to install their > software. It may be best to remove the /opt/openmodelica directory, > the launchd plist that linked to that directory, and any other OM > files that you can find, and reinstall using MacPorts. I absolutely agree. > That you have files in /opt/openmodelica, a dbus plist that is linked > in a similar way to how MacPorts manages things, and that the > developers suggest using MacPorts to manage your installation suggests > that the binary release that they've provided was created by a > MacPorts installation from a custom prefix. Clearly. From jeremy at lavergne.gotdns.org Mon Apr 2 10:53:31 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Mon, 2 Apr 2012 12:53:31 -0500 Subject: A port is clashing with another program installed in /opt that is not a port In-Reply-To: <23FA4C97-B747-4FA5-B3DA-C901DC7099BC@macports.org> References: <23FA4C97-B747-4FA5-B3DA-C901DC7099BC@macports.org> Message-ID: > $ port notes dbus > dbus has the following notes: > ############################################################################ > # Startup items have been generated that will aid in > # starting dbus with launchd. They are disabled > # by default. Execute the following command to start them, > # and to cause them to launch at startup: > # > # sudo launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist > # launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist > ############################################################################ > > I am not familiar with dbus and don't use software that uses dbus, so I don't know if it will auto-start these daemons, but I have no reason to believe it will; if the above steps were not necessary to perform manually, I doubt the maintainer of the port would have gone to the trouble of adding the note. Would the maintainer have removed it if it was no longer necessary? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From arno at alum.wpi.edu Mon Apr 2 11:19:26 2012 From: arno at alum.wpi.edu (Arno Hautala) Date: Mon, 2 Apr 2012 14:19:26 -0400 Subject: A port is clashing with another program installed in /opt that is not a port In-Reply-To: <23FA4C97-B747-4FA5-B3DA-C901DC7099BC@macports.org> References: <23FA4C97-B747-4FA5-B3DA-C901DC7099BC@macports.org> Message-ID: On 2012-04-02, Ryan Schmidt wrote: > On Apr 2, 2012, at 08:33, Arno Hautala wrote: > >> The dbus port does supply a "+no_startupitem" variant which should >> skip installing the launchd plist. The launchd task isn't started by >> default anyway and I think I recall that ports that depend on dbus are >> usually intelligent enough to start it on their own if it's not >> running (corrections welcome). I certainly don't recall running into >> any issues with having not started the launchd task. > > There have been tons of reports over the years on the mailing list and in > the issue tracker of problems resulting from users not reading and following > the instructions the dbus port prints out: > > I am not familiar with dbus and don't use software that uses dbus, so I > don't know if it will auto-start these daemons, but I have no reason to > believe it will; if the above steps were not necessary to perform manually, > I doubt the maintainer of the port would have gone to the trouble of adding > the note. That's valid, I was just posting my experience that I don't recall ever actually needing to start dbus before using software that depended on it. Granted, that does not mean than dbus never needs to be started manually or by launchd, just that my anecdotal experience is negative in that regard. It's also entirely possible that the software that I've used that requires dbus doesn't actually need to depend on dbus or even that it uses a component of dbus that doesn't need to be started. -- arno s hautala /-| arno at alum.wpi.edu pgp b2c9d448 From punk.kish at gmail.com Mon Apr 2 12:54:33 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Mon, 2 Apr 2012 14:54:33 -0500 Subject: PostgreSQL 9.1 SPI Message-ID: I was hoping to try out the SPI extension with Postgres 9.1, which, per the documentation at http://www.postgresql.org/docs/9.1/static/contrib-spi.html is supposed to live under /to/contrib. But, in my /opt/local/share/postgresql91/contrib I don't have spi. Should I be able to get this via macports, or do I just download Pg sourcecode and look within that? -- Puneet Kishor From phildobbin at gmail.com Mon Apr 2 13:38:38 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Mon, 02 Apr 2012 21:38:38 +0100 Subject: PostgreSQL 9.1 SPI In-Reply-To: References: Message-ID: <4F7A0E4E.5010204@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/04/2012 20:54, Puneet Kishor wrote: > I was hoping to try out the SPI extension with Postgres 9.1, which, per the documentation at http://www.postgresql.org/docs/9.1/static/contrib-spi.html is supposed to live under /to/contrib. But, in my /opt/local/share/postgresql91/contrib I don't have spi. Should I be able to get this via macports, or do I just download Pg sourcecode and look within that? If it's not available on Mac Ports, you could try PGXN which is postgresql's answer to CPAN. Haven't checked that it's on there but I should think so. If it is, it's simply a case of installing the module when you've pointed it at the right location by all accounts. HTH, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPeg5KAAoJEKpMeDHWT5ADhOgIANYFg0k/zOyZItUfObvIUHr8 2Mr4Vb+EhjqELvk619Mh3SXpTO2RxOv1FmuRJtPiRF2RwuB2dbGm80nNp77yQ6wD tQYhbDMzKjffxy+piWco4AkoQzlmH6Ug7aX+5l9WL2dPCQUEbaLl0HxnLw0Pkth+ 5cg5HHCPSUjaUamIpRuqLIjxR2p5aIIQDkaqO5ArgiUta9HSs0r1oBUCFxAjI8wP qubub9lF2KB5EQ6/YxsvP7U6Av9FfXUiCxuWdMGzDUa2fedlT9GaN26o7pl/gOTk W5ztoFwPoYs5Q52raIYe7fujNE82mHBn9iIFNgYUv55Rr227QC/Q+a+9tMfFPFM= =vskx -----END PGP SIGNATURE----- From punk.kish at gmail.com Mon Apr 2 14:24:51 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Mon, 2 Apr 2012 16:24:51 -0500 Subject: PostgreSQL 9.1 SPI In-Reply-To: <4F7A0E4E.5010204@gmail.com> References: <4F7A0E4E.5010204@gmail.com> Message-ID: <16013421-DB8B-4025-9A47-C0C3AD5FB833@gmail.com> On Apr 2, 2012, at 3:38 PM, Phil Dobbin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 02/04/2012 20:54, Puneet Kishor wrote: >> I was hoping to try out the SPI extension with Postgres 9.1, which, per the documentation at http://www.postgresql.org/docs/9.1/static/contrib-spi.html is supposed to live under /to/contrib. But, in my /opt/local/share/postgresql91/contrib I don't have spi. Should I be able to get this via macports, or do I just download Pg sourcecode and look within that? > > If it's not available on Mac Ports, you could try PGXN which is > postgresql's answer to CPAN. > > Haven't checked that it's on there but I should think so. If it is, it's > simply a case of installing the module when you've pointed it at the > right location by all accounts. > Interesting... didn't even know of PGXN's existence. Sadly, SPI doesn't seem to exist on PGXN. And, it also requires installing PGXN client written in Python, which, hopefully shouldn't be any more difficult that macports, but I know nothing about Python. I downloaded the Pg source code, and that does come with the source for a boatload of contribs. But, to compile any of those extensions, I need to "run configure in the top level directory and then run `gmake all`". Well, I don't know the configure options that macports used when it installed Pg, and I don't have gmake. -- Puneet Kishor From phildobbin at gmail.com Mon Apr 2 14:40:08 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Mon, 02 Apr 2012 22:40:08 +0100 Subject: PostgreSQL 9.1 SPI In-Reply-To: <16013421-DB8B-4025-9A47-C0C3AD5FB833@gmail.com> References: <4F7A0E4E.5010204@gmail.com> <16013421-DB8B-4025-9A47-C0C3AD5FB833@gmail.com> Message-ID: <4F7A1CB8.6090407@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/04/2012 22:24, Puneet Kishor wrote: > > On Apr 2, 2012, at 3:38 PM, Phil Dobbin wrote: >> On 02/04/2012 20:54, Puneet Kishor wrote: >>> I was hoping to try out the SPI extension with Postgres 9.1, which, per the documentation at http://www.postgresql.org/docs/9.1/static/contrib-spi.html is supposed to live under /to/contrib. But, in my /opt/local/share/postgresql91/contrib I don't have spi. Should I be able to get this via macports, or do I just download Pg sourcecode and look within that? >> >> If it's not available on Mac Ports, you could try PGXN which is >> postgresql's answer to CPAN. >> >> Haven't checked that it's on there but I should think so. If it is, it's >> simply a case of installing the module when you've pointed it at the >> right location by all accounts. >> > > > Interesting... didn't even know of PGXN's existence. Sadly, SPI doesn't seem to exist on PGXN. And, it also requires installing PGXN client written in Python, which, hopefully shouldn't be any more difficult that macports, but I know nothing about Python. > > I downloaded the Pg source code, and that does come with the source for a boatload of contribs. But, to compile any of those extensions, I need to "run configure in the top level directory and then run `gmake all`". Well, I don't know the configure options that macports used when it installed Pg, and I don't have gmake. I compiled my own pgsql on OS X & it built very easily. The gmake I used, I installed from Mac Ports. But it would definitely wouldn't be advisable to re-run configure against the postgresql you have installed in /opt/local as you say. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPehy1AAoJEKpMeDHWT5ADzKgIANrVvjWURYb4pFxeNjvm57Qq zdeKq+wwMWgVd3oikH/ucfGHgbqyVDZgBhMMUoPEDer8zL40g0/AgdrIlev4w9mV zh5u3GcWIUkTMZAvjsHdZyCZJiGhwjz5J+rPi86pWS1QIW+W0e9/BvNg6VnwvK6s Hfi1VDXgK1SotDhCsNcwszrEJUiS1733FNqBBnz1xxB9aN6LKYE7eI57ZtmLxGx/ 3fi5T/8CmQZpLIFBfbcHO4wccOIvg9S58e/8XzKDNoDLENynk/BNEEKMJ3W5eblY emvxb1ZfdJGtp0AJLozW+9VqwnuniHbmy4Pv8Ne+RyngNxl17pzyfneS2M+0C0o= =/ngc -----END PGP SIGNATURE----- From punk.kish at gmail.com Mon Apr 2 17:19:01 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Mon, 2 Apr 2012 19:19:01 -0500 Subject: PostgreSQL 9.1 SPI In-Reply-To: <4F7A1CB8.6090407@gmail.com> References: <4F7A0E4E.5010204@gmail.com> <16013421-DB8B-4025-9A47-C0C3AD5FB833@gmail.com> <4F7A1CB8.6090407@gmail.com> Message-ID: <9E8891D9-5841-4C0B-BD9C-DF8407AA4A41@gmail.com> On Apr 2, 2012, at 4:40 PM, Phil Dobbin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 02/04/2012 22:24, Puneet Kishor wrote: >> >> On Apr 2, 2012, at 3:38 PM, Phil Dobbin wrote: > >>> On 02/04/2012 20:54, Puneet Kishor wrote: >>>> I was hoping to try out the SPI extension with Postgres 9.1, which, per the documentation at http://www.postgresql.org/docs/9.1/static/contrib-spi.html is supposed to live under /to/contrib. But, in my /opt/local/share/postgresql91/contrib I don't have spi. Should I be able to get this via macports, or do I just download Pg sourcecode and look within that? >>> >>> If it's not available on Mac Ports, you could try PGXN which is >>> postgresql's answer to CPAN. >>> >>> Haven't checked that it's on there but I should think so. If it is, it's >>> simply a case of installing the module when you've pointed it at the >>> right location by all accounts. >>> >> >> >> Interesting... didn't even know of PGXN's existence. Sadly, SPI doesn't seem to exist on PGXN. And, it also requires installing PGXN client written in Python, which, hopefully shouldn't be any more difficult that macports, but I know nothing about Python. >> >> I downloaded the Pg source code, and that does come with the source for a boatload of contribs. But, to compile any of those extensions, I need to "run configure in the top level directory and then run `gmake all`". Well, I don't know the configure options that macports used when it installed Pg, and I don't have gmake. > > > I compiled my own pgsql on OS X & it built very easily. The gmake I > used, I installed from Mac Ports. But it would definitely wouldn't be > advisable to re-run configure against the postgresql you have installed > in /opt/local as you say. > Yes, which is a significant issue with a port manager. If it provides what you want, life is good. If it doesn't, you have to either get it to, or potentially run afoul of it. Hopefully, I will get other suggestions. -- Puneet Kishor From allbery.b at gmail.com Mon Apr 2 18:56:50 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Mon, 2 Apr 2012 21:56:50 -0400 Subject: PostgreSQL 9.1 SPI In-Reply-To: References: Message-ID: On Mon, Apr 2, 2012 at 15:54, Puneet Kishor wrote: > I was hoping to try out the SPI extension with Postgres 9.1, which, per > the documentation at > http://www.postgresql.org/docs/9.1/static/contrib-spi.html is supposed to > live under /to/contrib. But, in my > /opt/local/share/postgresql91/contrib I don't have spi. Should I be able to > get this via macports, or do I just download Pg sourcecode and look within > that? > Looks like it might be possible to simply add SPI to the list of contribs built along with postgresql91: "sudo port edit postgresql91" and add "spi" to the string on the "set contribs" line. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From jerome.yanga at gmail.com Mon Apr 2 19:18:12 2012 From: jerome.yanga at gmail.com (Jerome Yanga) Date: Mon, 2 Apr 2012 19:18:12 -0700 Subject: fuse4x-kext build fails during ntfs-3g install Message-ID: I run the command below to install ntfs-3g and I get an error. # port install ntfs-3g ---> Computing dependencies for ntfs-3g ---> Dependencies to be installed: fuse4x fuse4x-kext ---> Building fuse4x-kext Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install fuse4x-kext Log for fuse4x-kext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_fuse_fuse4x-kext/fuse4x-kext/main.log Error: The following dependencies were not installed: fuse4x fuse4x-kext Error: Status 1 encountered during processing. To report a bug, see # sw_vers ProductName: Mac OS X ProductVersion: 10.7.3 BuildVersion: 11D50d # xcodebuild -version Xcode 4.3.2 Build version 4E2002 # port version Version: 2.0.4 The log says: You have not agreed to the Xcode license agreements, please run xcodebuild standalone from within a Terminal window to review and agree to the Xcode license agreements. When I try to run "xcodebuild" from root's home directory, I get the error below. "# xcodebuild xcodebuild: error: The directory /private/var/root does not contain an Xcode project." FYI, I have been able to install other applications such as "watch" using port. Please be nice to the newbie. Regards, j From jeremy at lavergne.gotdns.org Mon Apr 2 19:22:29 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Mon, 2 Apr 2012 21:22:29 -0500 Subject: fuse4x-kext build fails during ntfs-3g install In-Reply-To: References: Message-ID: > When I try to run "xcodebuild" from root's home directory, I get the > error below. Don't invoke "xcodebuild", but instead "xcodebuild -license": https://trac.macports.org/wiki/ProblemHotlist#xcode-eula I hope that error message has been updated but simply not released to the users yet. Sorry about the misleading text. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From jerome.yanga at gmail.com Mon Apr 2 19:26:55 2012 From: jerome.yanga at gmail.com (Jerome Yanga) Date: Mon, 2 Apr 2012 19:26:55 -0700 Subject: fuse4x-kext build fails during ntfs-3g install In-Reply-To: References: Message-ID: Thank you. That worked. Regards, j On Mon, Apr 2, 2012 at 7:22 PM, Jeremy Lavergne wrote: >> When I try to run "xcodebuild" from root's home directory, I get the >> error below. > > Don't invoke "xcodebuild", but instead "xcodebuild -license": > https://trac.macports.org/wiki/ProblemHotlist#xcode-eula > > I hope that error message has been updated but simply not released to the users yet. Sorry about the misleading text. > From punk.kish at gmail.com Mon Apr 2 19:36:31 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Mon, 2 Apr 2012 21:36:31 -0500 Subject: configuring and automatically launching postgresql91-server Message-ID: <5A658800-3050-4414-9AC1-DE1360C9B917@gmail.com> I just reinstalled postgresql91-server, and am revisiting a question I asked a few months ago. I am looking for the correct way for configuring and launching postgresql automatically when computer starts. Per an email thread from Dec 20, Bradley Giesbrecht advised that I should copy /opt/local/share/postgresql90/postgresql.conf.sample to /opt/local/etc/postgresql.conf and edit it to suit my needs. Well, turns out there is a copy of postgresql.conf under my postgresql data directory as well. I init-ed a db cluster at /Volumes/mydisk/Data/db/postgresql91/defaultdb, and a whole bunch of .conf files are under this defaultdb directory. So, which .conf file am I supposed to use? The one under defaultdb is owned by 'postgres' user, so I can't really edit that. Additionally, even though I have done `sudo port load postgresql91-server` (as well as `sudo port load apache2`), I get the message that the port file is already loaded, yet the program doesn't really start. Suggestions? -- Puneet Kishor From punk.kish at gmail.com Mon Apr 2 19:47:47 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Mon, 2 Apr 2012 21:47:47 -0500 Subject: configuring and automatically launching postgresql91-server In-Reply-To: <5A658800-3050-4414-9AC1-DE1360C9B917@gmail.com> References: <5A658800-3050-4414-9AC1-DE1360C9B917@gmail.com> Message-ID: <20AD44B4-D462-460E-96D7-38EC6A9E5F93@gmail.com> On Apr 2, 2012, at 9:36 PM, Puneet Kishor wrote: > I just reinstalled postgresql91-server, and am revisiting a question I asked a few months ago. I am looking for the correct way for configuring and launching postgresql automatically when computer starts. > > Per an email thread from Dec 20, Bradley Giesbrecht advised that I should copy /opt/local/share/postgresql90/postgresql.conf.sample to /opt/local/etc/postgresql.conf and edit it to suit my needs. Well, turns out there is a copy of postgresql.conf under my postgresql data directory as well. I init-ed a db cluster at /Volumes/mydisk/Data/db/postgresql91/defaultdb, and a whole bunch of .conf files are under this defaultdb directory. > > So, which .conf file am I supposed to use? The one under defaultdb is owned by 'postgres' user, so I can't really edit that. > > Additionally, even though I have done `sudo port load postgresql91-server` (as well as `sudo port load apache2`), I get the message that the port file is already loaded, yet the program doesn't really start. > > Suggestions? > > Looking at the contents of org.macports.postgresql91-server.plist, I see it calls postgresql91-server.wrapper (in the same directory). That wrapper has the path to the db and logfile hard coded like so #!/bin/sh # # MacPorts generated daemondo support script # # # Init # prefix=/opt/local PGCTL=/opt/local/lib/postgresql91/bin/pg_ctl # # Start # Start() { su postgres -c "${PGCTL} -D ${POSTGRESQL91DATA:=/opt/local/var/db/postgresql91/defaultdb} start -l /opt/local/var/log/postgresql91/postgres.log Obviously, this is not what I want. I can easily edit this file, but that is not what I should be doing, right? I shouldn't be tinkering with macports installed bits and bobs, but edit and config only stuff that belongs to me. Suggestions? -- Puneet Kishor From dports at macports.org Mon Apr 2 22:42:03 2012 From: dports at macports.org (Dan Ports) Date: Mon, 2 Apr 2012 22:42:03 -0700 Subject: PostgreSQL 9.1 SPI In-Reply-To: References: Message-ID: <20120403054203.GB6660@ambulatoryclam.net> There have been a lot of requests to include various Postgres contrib modules in the postgresql* ports: http://trac.macports.org/ticket/13952 http://trac.macports.org/ticket/14880 http://trac.macports.org/ticket/26472 http://trac.macports.org/ticket/26577 http://trac.macports.org/ticket/28091 I don't think we've heard anything from the maintainers in response to those requests, and I'm not really familiar enough with the contrib tree to know which modules we want to include. It's possible, though, that we should break off some of thse from the main port and install them as subports now that we've got the ability to do so. The spi contrib module seems like it'd be a weird choice for a port, though, since I thought its value was mostly as an example for how to use the SPI API, not something you'd use directly. Dan -- Dan R. K. Ports MIT CSAIL http://drkp.net/ From dports at macports.org Mon Apr 2 23:19:07 2012 From: dports at macports.org (Dan Ports) Date: Mon, 2 Apr 2012 23:19:07 -0700 Subject: fuse4x-kext build fails during ntfs-3g install In-Reply-To: References: Message-ID: <20120403054907.GC6660@ambulatoryclam.net> On Mon, Apr 02, 2012 at 09:22:29PM -0500, Jeremy Lavergne wrote: > Don't invoke "xcodebuild", but instead "xcodebuild -license": > https://trac.macports.org/wiki/ProblemHotlist#xcode-eula > > I hope that error message has been updated but simply not released to the users yet. Sorry about the misleading text. That error message actually comes from xcodebuild directly, not from us. We don't actually do anything to check whether the user has accepted the EULA. It'd be nice to do that, but there isn't a convenient command-line way to check whether the user has accepted it (short of running xcodebuild and checking if it fails). Dan -- Dan R. K. Ports MIT CSAIL http://drkp.net/ From ryandesign at macports.org Mon Apr 2 23:37:30 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 3 Apr 2012 01:37:30 -0500 Subject: fuse4x-kext build fails during ntfs-3g install In-Reply-To: <20120403054907.GC6660@ambulatoryclam.net> References: <20120403054907.GC6660@ambulatoryclam.net> Message-ID: <3F68E4CA-2C4A-407B-8AC1-A53AAB2EA979@macports.org> On Apr 3, 2012, at 01:19, Dan Ports wrote: >> I hope that error message has been updated but simply not released to the users yet. Sorry about the misleading text. > > That error message actually comes from xcodebuild directly, not from > us. In that case, I hope that error message has been updated (in xcodebuild) and simply not released to users yet (in the form of a new version of Xcode or OS X, whatever product provides it). From sam.kuper at uclmail.net Mon Apr 2 23:52:18 2012 From: sam.kuper at uclmail.net (Sam Kuper) Date: Tue, 3 Apr 2012 07:52:18 +0100 Subject: FFmbc port? Message-ID: I know (and am grateful!) that FFmpeg is available via MacPorts. However, FFmbc[1] is allegedly[2] better than FFmpeg for rewrapping AVCHD files. I wonder if FFmbc might be added to MacPorts? Many thanks, Sam [1] http://code.google.com/p/ffmbc/ [2] http://lightworks.wikidot.com/avchd-workflow#toc5 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sam.kuper at uclmail.net Tue Apr 3 00:13:48 2012 From: sam.kuper at uclmail.net (Sam Kuper) Date: Tue, 3 Apr 2012 08:13:48 +0100 Subject: FFmbc port? In-Reply-To: References: Message-ID: On 3 April 2012 07:52, Sam Kuper wrote: > I know (and am grateful!) that FFmpeg is available via MacPorts. > > However, FFmbc[1] is allegedly[2] better than FFmpeg for rewrapping AVCHD files. > > I wonder if FFmbc might be added to MacPorts? Ah, I was behind the curve: http://lists.macosforge.org/pipermail/macports-users/2011-December/026635.html https://trac.macports.org/ticket/32799 Sam From phildobbin at gmail.com Tue Apr 3 03:06:54 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Tue, 03 Apr 2012 11:06:54 +0100 Subject: configuring and automatically launching postgresql91-server In-Reply-To: <5A658800-3050-4414-9AC1-DE1360C9B917@gmail.com> References: <5A658800-3050-4414-9AC1-DE1360C9B917@gmail.com> Message-ID: <4F7ACBBE.6030306@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/04/2012 03:36, Puneet Kishor wrote: > I just reinstalled postgresql91-server, and am revisiting a > question I asked a few months ago. I am looking for the correct way > for configuring and launching postgresql automatically when > computer starts. > > Per an email thread from Dec 20, Bradley Giesbrecht advised that I > should copy /opt/local/share/postgresql90/postgresql.conf.sample to > /opt/local/etc/postgresql.conf and edit it to suit my needs. Well, > turns out there is a copy of postgresql.conf under my postgresql > data directory as well. I init-ed a db cluster at > /Volumes/mydisk/Data/db/postgresql91/defaultdb, and a whole bunch > of .conf files are under this defaultdb directory. > > So, which .conf file am I supposed to use? The one under defaultdb > is owned by 'postgres' user, so I can't really edit that. > > Additionally, even though I have done `sudo port load > postgresql91-server` (as well as `sudo port load apache2`), I get > the message that the port file is already loaded, yet the program > doesn't really start. > > Suggestions? I use a System Pref Pane from: Very straightforward & if any problems do arise the maintainer has a page on GitHub where he is more than happy to answer any questions & provide assistance: Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPesu8AAoJEKpMeDHWT5ADJC4H/3pQlu8MMqvQs+2lqM+8cQro h+mQ/2gMG77NbKlcV3x4WLqEnHpCMqhIQy/LRqBMGxum9mZaLGuX6Xvf5KT6rjEc +HKLUkL0I6/Vg2Fu7eceBuly2V96134LcBOTAE8aPwY9w5eyzq7z/C4M2e4wrrp/ 6k/G+9ELYKSBZSRWjbj4kMRSDq5p/KLBm82OqX0Od66clpMstOHuSkLOBcquXvu1 c/Xn4NdPYAeyxiTAqmLyK88xIqKKar5l+IlCqHxzkkfbH6di2x4/MSbC98A4nQXp Md9T0cCwSzRRWXfH8Upj60DuaTjm0iwHcN2b2efhlACiw3whDmZEvM7q06Mmuv4= =kn50 -----END PGP SIGNATURE----- From punk.kish at gmail.com Tue Apr 3 04:18:13 2012 From: punk.kish at gmail.com (Mr. Puneet Kishor) Date: Tue, 3 Apr 2012 06:18:13 -0500 Subject: PostgreSQL 9.1 SPI In-Reply-To: <20120403054203.GB6660@ambulatoryclam.net> References: <20120403054203.GB6660@ambulatoryclam.net> Message-ID: On Apr 3, 2012, at 12:42 AM, Dan Ports wrote: > The spi contrib module seems like it'd be a weird choice for a port, > though, since I thought its value was mostly as an example for how to > use the SPI API, not something you'd use directly. I am interested in the timetravel capability of SPI as documented in F.39.2 at http://www.postgresql.org/docs/9.1/static/contrib-spi.html -- Puneet Kishor From iqgrande at gmail.com Tue Apr 3 06:23:57 2012 From: iqgrande at gmail.com (Anthony Michael Agelastos) Date: Tue, 3 Apr 2012 07:23:57 -0600 Subject: How to Rebuild All Items Dependent on Updated Port Message-ID: <282E58D7-89B3-4529-BE26-1D269851EC27@gmail.com> Hello: How do I rebuild all installed ports dependent on a specific port? Overall, I'd like MacPorts to update the outdated ports and then rebuild the ports that used the outdated ports so everything was compiled with the latest versions of everything. I apologize if this is documented; I did not see it. Kind regards, Anthony From rlhamil at smart.net Tue Apr 3 07:24:00 2012 From: rlhamil at smart.net (Richard L. Hamilton) Date: Tue, 3 Apr 2012 10:24:00 -0400 Subject: How to Rebuild All Items Dependent on Updated Port In-Reply-To: <282E58D7-89B3-4529-BE26-1D269851EC27@gmail.com> References: <282E58D7-89B3-4529-BE26-1D269851EC27@gmail.com> Message-ID: <7DA45911-0643-4364-9963-A245753B22FF@smart.net> On Apr 3, 2012, at 9:23 AM, Anthony Michael Agelastos wrote: > Hello: > > How do I rebuild all installed ports dependent on a specific port? Overall, I'd like MacPorts to update the outdated ports and then rebuild the ports that used the outdated ports so everything was compiled with the latest versions of everything. I apologize if this is documented; I did not see it. From the friendly man page for port: To upgrade portname and the ports that depend on it: port -R upgrade libiconv From sam.kuper at uclmail.net Tue Apr 3 12:44:58 2012 From: sam.kuper at uclmail.net (Sam Kuper) Date: Tue, 3 Apr 2012 20:44:58 +0100 Subject: Shenidam Message-ID: I'll be needing to sync various audio recordings in the future - typical HDSLR type workflow with external recorder[0] - and could potentially use DualEyes[1], but would prefer to use FOSS if possible. I see that someone has written a GPL licensed alternative called Shenidam[2]. Is Shenidam a viable candidate for being ported into MacPorts? If so, would anyone here like to (help me to, given that I'm totally inexperienced with C/C++ and got myself into a bit of a tangle last time I tried to make a local portfile?) make this happen? I'm not sure I ought to volunteer to maintain a port that I don't understand, but what I'm trying to say is that although I'd like to be helped, I'd also like to help :) Many thanks, Sam [0] Yes, the syncing could be done manually, but some of the clips don't have claps, so automated assistance from DualEyes/Shenidam/similar would be welcome. [1] http://www.singularsoftware.com/dualeyes.html [2] http://ubuntuforums.org/showthread.php?t=1727387 also: http://www.shenidam.org and also: https://github.com/stendardo/shenidam From face at CentosPrime.COM Tue Apr 3 12:59:16 2012 From: face at CentosPrime.COM (Chris Janton) Date: Tue, 03 Apr 2012 12:59:16 -0700 Subject: port select and load/unload was Re: mysql55 In-Reply-To: <2830403F-70CB-4A21-B1C6-5AADF3C69577@macports.org> References: <1DF7351D-2FD8-4CF9-9779-D46AC84DBBF1@centosprime.com> <2830403F-70CB-4A21-B1C6-5AADF3C69577@macports.org> Message-ID: <31ECD2FF-C6BE-4CD2-9BEF-BD68762AA8ED@CentosPrime.COM> On 2012-04-02 , at 10:45 , Ryan Schmidt wrote: > > Good question. I don't know if we've ever thought about whether launchd plists should be managed by port select. I don't have a particular opinion about whether it would be useful or not, but if you think it is, maybe others do too. > > One potentially problematic scenario to consider, if we were to do that, is this: user selects mysql51, user uses your hypothetical "port load mysql-server" to start mysql51, user selects mysql55. Now mysql51 is still running, and the launchd id corresponding to it is mysql-server, but the launchd plist that's in place at the id mysql-server no longer refers to mysql51; it now refers to mysql55. So how do you stop the mysql51 server? You can't. You wouldn't have this problem if you had used "port load mysql51-server" in the first place, because you could then just "port unload mysql51-server" later to unload it. > > Admittedly it's pretty similar to another problem we already have: user installs port, user loads port, user uninstalls port; now the server is running but the plist that would let you stop it has been deleted. I simply wasn't sure if the 'port select' mechanism was intended to be quite so far reaching. As an 'administrator' I should know which applications I have running as daemons, so making me keep track of them is what I would expect. I think that it is perfectly acceptable that I should be able to do sudo port unload mysql5-server sudo port load mysql55-server as part of what I need to do to change versions. 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From ryandesign at macports.org Tue Apr 3 13:15:14 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 3 Apr 2012 15:15:14 -0500 Subject: Shenidam In-Reply-To: References: Message-ID: On Apr 3, 2012, at 14:44, Sam Kuper wrote: > Is Shenidam a viable candidate for being ported into MacPorts? I'll see if I can make a port. From ryandesign at macports.org Tue Apr 3 13:24:57 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 3 Apr 2012 15:24:57 -0500 Subject: How to Rebuild All Items Dependent on Updated Port In-Reply-To: <7DA45911-0643-4364-9963-A245753B22FF@smart.net> References: <282E58D7-89B3-4529-BE26-1D269851EC27@gmail.com> <7DA45911-0643-4364-9963-A245753B22FF@smart.net> Message-ID: <4E570B8A-9A19-42AD-98D7-181D1EEC6874@macports.org> On Apr 3, 2012, at 09:24, Richard L. Hamilton wrote: > > On Apr 3, 2012, at 9:23 AM, Anthony Michael Agelastos wrote: > >> Hello: >> >> How do I rebuild all installed ports dependent on a specific port? Overall, I'd like MacPorts to update the outdated ports and then rebuild the ports that used the outdated ports so everything was compiled with the latest versions of everything. I apologize if this is documented; I did not see it. > > From the friendly man page for port: > > To upgrade portname and the ports that depend on it: > > port -R upgrade libiconv It's usually not necessary, however (and if you find a case where it was necessary, let us know so we can increase the revisions of the ports that actually need to be rebuilt). From face at CentosPrime.COM Tue Apr 3 13:26:24 2012 From: face at CentosPrime.COM (Chris Janton) Date: Tue, 03 Apr 2012 13:26:24 -0700 Subject: mysql55 In-Reply-To: References: <1DF7351D-2FD8-4CF9-9779-D46AC84DBBF1@centosprime.com> Message-ID: On 2012-04-02 , at 09:41 , Bradley Giesbrecht wrote: > > This appears to work. > > /opt/local/etc/mysql55/my.cnf > ... > [mysqld] > plugin-load = federated=ha_federated.so > federated Yes, that works. This works as well from a properly privileged database user mysql -e "INSTALL PLUGIN federated SONAME 'ha_federated.so'" -u db-user -p now the plugin is in the list of plugins which can be enabled via the configuration file. Thanks! p.s. make sure you run 'mysql_upgrade' after installing mysql55 8) ---------------------------------- Chris Janton - face at CentosPrime dot COM Netminder for Opus1.COM From pixilla at macports.org Tue Apr 3 13:52:34 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Tue, 3 Apr 2012 13:52:34 -0700 Subject: port select and load/unload was Re: mysql55 In-Reply-To: <31ECD2FF-C6BE-4CD2-9BEF-BD68762AA8ED@CentosPrime.COM> References: <1DF7351D-2FD8-4CF9-9779-D46AC84DBBF1@centosprime.com> <2830403F-70CB-4A21-B1C6-5AADF3C69577@macports.org> <31ECD2FF-C6BE-4CD2-9BEF-BD68762AA8ED@CentosPrime.COM> Message-ID: <3C12C9D5-6574-4476-A564-D78A9B674859@macports.org> On Apr 3, 2012, at 12:59 PM, Chris Janton wrote: > On 2012-04-02 , at 10:45 , Ryan Schmidt wrote: >> >> Good question. I don't know if we've ever thought about whether launchd plists should be managed by port select. I don't have a particular opinion about whether it would be useful or not, but if you think it is, maybe others do too. >> >> One potentially problematic scenario to consider, if we were to do that, is this: user selects mysql51, user uses your hypothetical "port load mysql-server" to start mysql51, user selects mysql55. Now mysql51 is still running, and the launchd id corresponding to it is mysql-server, but the launchd plist that's in place at the id mysql-server no longer refers to mysql51; it now refers to mysql55. So how do you stop the mysql51 server? You can't. You wouldn't have this problem if you had used "port load mysql51-server" in the first place, because you could then just "port unload mysql51-server" later to unload it. >> >> Admittedly it's pretty similar to another problem we already have: user installs port, user loads port, user uninstalls port; now the server is running but the plist that would let you stop it has been deleted. > > I simply wasn't sure if the 'port select' mechanism was intended to be quite so far reaching. > > As an 'administrator' I should know which applications I have running as daemons, so making me keep track of them is what I would expect. > > I think that it is perfectly acceptable that I should be able to do > > sudo port unload mysql5-server > sudo port load mysql55-server > > as part of what I need to do to change versions. If you want to access that same databases you may want to move your databases from their default location and make changes to the socket and datadir vars in etc/mysql5/my.cnf and etc/mysql55/my.cnf. This is what I have done to allow test the various mysqls, mysql55, percona and mariadb against the same databases. Of course, you do not want to run them both at the same time if you point them at the same datadir and socket. There could be some issues changing versions. I believe there are changes to the databases mysql uses. I believe mysql 5.1 had problems attempting to access the performance_schema database. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From saiwing at berkeley.edu Tue Apr 3 17:54:05 2012 From: saiwing at berkeley.edu (saiwingy) Date: Tue, 3 Apr 2012 17:54:05 -0700 (PDT) Subject: /usr/local question Message-ID: <33545041.post@talk.nabble.com> Since MacPorts is not compatible with /usr/local, every time I install/update ports I had to sudo mv /usr/local /usr/local.bak and then after I am done building macports stuff I would move it back. This works fine but is kind of cumbersome and sometimes the moved /usr/local directory triggers a lot of mdutil activities. What do people do to automate this, or to make the process easier? Thanks! -- View this message in context: http://old.nabble.com/-usr-local-question-tp33545041p33545041.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From jeremy at lavergne.gotdns.org Tue Apr 3 17:57:00 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Tue, 3 Apr 2012 19:57:00 -0500 Subject: /usr/local question In-Reply-To: <33545041.post@talk.nabble.com> References: <33545041.post@talk.nabble.com> Message-ID: <03EF91B0-4225-42BF-BB06-AAC6FC74BA5D@lavergne.gotdns.org> > Since MacPorts is not compatible with /usr/local, every time I install/update > ports I had to > > sudo mv /usr/local /usr/local.bak > > and then after I am done building macports stuff I would move it back. This > works fine but is kind of cumbersome and sometimes the moved /usr/local > directory triggers a lot of mdutil activities. What do people do to automate > this, or to make the process easier? Thanks! One of the first things I do on a new system is disable Spotlight. That being said, you should be able to tell Spotlight not to scan /usr -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From phildobbin at gmail.com Tue Apr 3 18:13:13 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 04 Apr 2012 02:13:13 +0100 Subject: /usr/local question In-Reply-To: <33545041.post@talk.nabble.com> References: <33545041.post@talk.nabble.com> Message-ID: <4F7BA029.8010307@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/04/2012 01:54, saiwingy wrote: > Since MacPorts is not compatible with /usr/local, every time I install/update > ports I had to > > sudo mv /usr/local /usr/local.bak > > and then after I am done building macports stuff I would move it back. This > works fine but is kind of cumbersome and sometimes the moved /usr/local > directory triggers a lot of mdutil activities. What do people do to automate > this, or to make the process easier? Thanks! Personally I have never moved /usr/local in regards to any operation I have ever carried out with Mac Ports & I've suffered no ill effects. Also I still do, on occasion, install certain things into /usr/local for various reasons & that again has never interfered with anything in /opt/local. I am very careful however that I take into account what goes where & what possible conflicts may arise with this arrangement & have daily dealings with similar set-ups with apt & yum on different OS's. Cheers, Phil.. - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPe6AnAAoJEKpMeDHWT5ADrBgIAM1mmYn8FPvK4zu6zrUERnbt EPgGWJ21mh3fqN1NSEEM7Ch0XRGTmtxiK/KMWfze4i1BYweuWjQeelcyUvagKztx V0sLoau1k8TBiWfy0hxso0ON2Y5O29RfegcQphQdeDx9i57Nbi4oj1fREGxueOff KWqi/d9M4rgUdVcwvCCPxT4jlZ4iHHd5kS34JhIpEd9hHIE6aumjuSop5vlvltmv KomowSJI1FqwLTHlvhwVSXdmBkO5+9J5z8QXB5XSxrT4mO/tvyNz7NSy+QltCbth gC4kHWR2MRHNvwdSC0qZ276Ny+klWkSExyCxhf/HwMRByPNgurDGFeh+0qMvZhM= =i7IG -----END PGP SIGNATURE----- From phildobbin at gmail.com Tue Apr 3 18:15:29 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 04 Apr 2012 02:15:29 +0100 Subject: /usr/local question In-Reply-To: <03EF91B0-4225-42BF-BB06-AAC6FC74BA5D@lavergne.gotdns.org> References: <33545041.post@talk.nabble.com> <03EF91B0-4225-42BF-BB06-AAC6FC74BA5D@lavergne.gotdns.org> Message-ID: <4F7BA0B1.6010600@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/04/2012 01:57, Jeremy Lavergne wrote: >> Since MacPorts is not compatible with /usr/local, every time I install/update >> ports I had to >> >> sudo mv /usr/local /usr/local.bak >> >> and then after I am done building macports stuff I would move it back. This >> works fine but is kind of cumbersome and sometimes the moved /usr/local >> directory triggers a lot of mdutil activities. What do people do to automate >> this, or to make the process easier? Thanks! > > One of the first things I do on a new system is disable Spotlight. That being said, you should be able to tell Spotlight not to scan /usr Me too. I find it useless, annoying & that it takes up far too much cpu for its own good :-) Cheers, Phil... But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPe6CuAAoJEKpMeDHWT5ADPEsH/jOr7jilDwn29QpazPp5/bNe 09MOOsbwxpDMIc/bPK2NiYOGpsFjwsoyLZ0oSG40Svllbpg6s58j7REzmsqeqTPQ 7S0G9AMJ6N8MwYLA/BfXrWZ05q9TTM0XEBuhkduPUvWoQbd2BAV+zRL9fBQqxrQn Ia+Ro/aj82Hbki+cepmawOEssVplRhKGykcu0z8dUEyhgP3IcmpGEXxwdM0SXEID 7oM6hN3yAAr0EEgznsfLSm3ggBJ8fN1BG07RjJ6hsNcXdO7tnv9blybXLn0mUYQ5 B08DK74g9whayb+t/0B20tBM66GP0YSwYFZesD2+ZyJLV3wXNzw5vsc0gTVSf0c= =nsMa -----END PGP SIGNATURE----- From ryandesign at macports.org Tue Apr 3 20:40:20 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 3 Apr 2012 22:40:20 -0500 Subject: /usr/local question In-Reply-To: <33545041.post@talk.nabble.com> References: <33545041.post@talk.nabble.com> Message-ID: <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> On Apr 3, 2012, at 19:54, saiwingy wrote: > Since MacPorts is not compatible with /usr/local, every time I install/update > ports I had to > > sudo mv /usr/local /usr/local.bak > > and then after I am done building macports stuff I would move it back. This > works fine but is kind of cumbersome and sometimes the moved /usr/local > directory triggers a lot of mdutil activities. What do people do to automate > this, or to make the process easier? Thanks! We don't install things in /usr/local. Why do you want to install things there? From hans at stare.cz Tue Apr 3 22:44:53 2012 From: hans at stare.cz (Jan Stary) Date: Wed, 4 Apr 2012 07:44:53 +0200 Subject: /usr/local question In-Reply-To: <33545041.post@talk.nabble.com> References: <33545041.post@talk.nabble.com> Message-ID: <20120404054452.GA7563@www.stare.cz> On Apr 03 17:54:05, saiwingy wrote: > > Since MacPorts is not compatible with /usr/local, every time I install/update > ports I had to > > sudo mv /usr/local /usr/local.bak Why would you move /usr/local? Macports live under /opt/local by default and have nothing to do with /usr/local. From ryandesign at macports.org Tue Apr 3 23:38:16 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 4 Apr 2012 01:38:16 -0500 Subject: /usr/local question In-Reply-To: <20120404054452.GA7563@www.stare.cz> References: <33545041.post@talk.nabble.com> <20120404054452.GA7563@www.stare.cz> Message-ID: <8BE7CF88-EC6E-4586-B7DF-4FDB857551A1@macports.org> On Apr 4, 2012, at 00:44, Jan Stary wrote: > On Apr 03 17:54:05, saiwingy wrote: >> >> Since MacPorts is not compatible with /usr/local, every time I install/update >> ports I had to >> >> sudo mv /usr/local /usr/local.bak > > Why would you move /usr/local? > Macports live under /opt/local by default > and have nothing to do with /usr/local. Having things installed in /usr/local often interferes with MacPorts, so we do not support users using MacPorts while there are things in /usr/local, and suggest users move or remove /usr/local. From ryandesign at macports.org Tue Apr 3 23:45:52 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 4 Apr 2012 01:45:52 -0500 Subject: Shenidam In-Reply-To: References: Message-ID: On Apr 3, 2012, at 15:15, Ryan Schmidt wrote: > On Apr 3, 2012, at 14:44, Sam Kuper wrote: > >> Is Shenidam a viable candidate for being ported into MacPorts? > > I'll see if I can make a port. I can't quite get it working. Here's what I've got so far: https://trac.macports.org/ticket/33891 If someone else can finish it I'd appreciate it. From saiwing at berkeley.edu Wed Apr 4 00:45:42 2012 From: saiwing at berkeley.edu (Saiwing Yeung) Date: Wed, 4 Apr 2012 00:45:42 -0700 Subject: /usr/local question In-Reply-To: <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> References: <33545041.post@talk.nabble.com> <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> Message-ID: <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> On Apr 3, 2012, at 8:40 PM, Ryan Schmidt wrote: > On Apr 3, 2012, at 19:54, saiwingy wrote: > >> Since MacPorts is not compatible with /usr/local, every time I install/update >> ports I had to >> >> sudo mv /usr/local /usr/local.bak >> >> and then after I am done building macports stuff I would move it back. This >> works fine but is kind of cumbersome and sometimes the moved /usr/local >> directory triggers a lot of mdutil activities. What do people do to automate >> this, or to make the process easier? Thanks! > > We don't install things in /usr/local. Why do you want to install things there? I don't install things there, but there are things in there (mostly from Mac OS) that I'd like to keep and use. From sam.kuper at uclmail.net Wed Apr 4 01:16:18 2012 From: sam.kuper at uclmail.net (Sam Kuper) Date: Wed, 4 Apr 2012 09:16:18 +0100 Subject: Shenidam In-Reply-To: References: Message-ID: On 4 April 2012 07:45, Ryan Schmidt wrote: > On Apr 3, 2012, at 15:15, Ryan Schmidt wrote: >> On Apr 3, 2012, at 14:44, Sam Kuper wrote: >>> Is Shenidam a viable candidate for being ported into MacPorts? >> >> I'll see if I can make a port. > > I can't quite get it working. Here's what I've got so far: > > https://trac.macports.org/ticket/33891 > > If someone else can finish it I'd appreciate it. Thanks Ryan! I'll try to take a look at this later in the week. Not sure I'll be able to get any further than you did (I've much less expertise!) but it can't hurt to try :) Thanks again, Sam From hans at stare.cz Wed Apr 4 01:43:36 2012 From: hans at stare.cz (Jan Stary) Date: Wed, 4 Apr 2012 10:43:36 +0200 Subject: /usr/local question In-Reply-To: <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> <8BE7CF88-EC6E-4586-B7DF-4FDB857551A1@macports.org> Message-ID: <20120404084336.GA5581@www.stare.cz> > >> Since MacPorts is not compatible with /usr/local, every time I install/update > >> ports I had to > >> > >> sudo mv /usr/local /usr/local.bak > > > > Why would you move /usr/local? > > Macports live under /opt/local by default > > and have nothing to do with /usr/local. > > Having things installed in /usr/local often interferes with MacPorts, so we do not support users using MacPorts while there are things in /usr/local, and suggest users move or remove /usr/local. Remove /usr/local? I must have missed this in the documentation, can you point me please? I thought the whole reason for living under /opt/local was *not* to interfere with /usr/local. How exactly does having /usr/local interfere? Things from macports silently picking up things from /usr/local? Is that the problem? > I don't install things there, but there are things in there > (mostly from Mac OS) that I'd like to keep and use. Yes, I have things in /usr/local too - stuff that is _not_ in macports (otherwise I would just install it from macports - and have it installed under /opt/local), and local admin tools. It would be a PITA to make that disappear during every macports action (not that it's very often) ... From jonesc at hep.phy.cam.ac.uk Wed Apr 4 02:12:26 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Wed, 04 Apr 2012 10:12:26 +0100 Subject: /usr/local question In-Reply-To: <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> References: <33545041.post@talk.nabble.com> <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> Message-ID: <4F7C107A.4040205@hep.phy.cam.ac.uk> Hi, > I don't install things there, but there are things in there (mostly from Mac OS) that I'd like to keep and use. I might be wrong but I understand OS X itself does not put anything in /usr/local. Anything you might have there has probably come from other third party applications you have installed, not the system itsdelf. Chris From jonesc at hep.phy.cam.ac.uk Wed Apr 4 02:17:23 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Wed, 04 Apr 2012 10:17:23 +0100 Subject: /usr/local question In-Reply-To: <20120404084336.GA5581@www.stare.cz> References: <20120404084336.GA5581@www.stare.cz> Message-ID: <4F7C11A3.60809@hep.phy.cam.ac.uk> Hi, > I thought the whole reason for living under /opt/local was *not* to > interfere with /usr/local. How exactly does having /usr/local interfere? > Things from macports silently picking up things from /usr/local? > Is that the problem? The issue is some packages have hard coded dependencies to look for things in /usr/local, and will use them if found. Most packages are developed on linux OSes, where /user/local is quite normal and thus they just consider this the 'right thing to do'... In principle packages should provide options to avoid this, and when they do MacPorts can use them, but not all do. >> I don't install things there, but there are things in there >> (mostly from Mac OS) that I'd like to keep and use. > > Yes, I have things in /usr/local too - stuff that is _not_ > in macports (otherwise I would just install it from macports - and > have it installed under /opt/local), and local admin tools. > It would be a PITA to make that disappear during every > macports action (not that it's very often) ... Perhaps the best advice is, if you find a package you need not in MacPorts, to build a port file for it and submit it for inclusion ;) Chris > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From phildobbin at gmail.com Wed Apr 4 03:22:23 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 04 Apr 2012 11:22:23 +0100 Subject: /usr/local question In-Reply-To: <4F7C11A3.60809@hep.phy.cam.ac.uk> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> Message-ID: <4F7C20DF.7030804@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/04/2012 10:17, Chris Jones wrote: >> I thought the whole reason for living under /opt/local was *not* >> to interfere with /usr/local. How exactly does having /usr/local >> interfere? Things from macports silently picking up things from >> /usr/local? Is that the problem? > > The issue is some packages have hard coded dependencies to look > for things in /usr/local, and will use them if found. Most packages > are developed on linux OSes, where /user/local is quite normal and > thus they just consider this the 'right thing to do'... In > principle packages should provide options to avoid this, and when > they do MacPorts can use them, but not all do. > >>> I don't install things there, but there are things in there >>> (mostly from Mac OS) that I'd like to keep and use. >> >> Yes, I have things in /usr/local too - stuff that is _not_ in >> macports (otherwise I would just install it from macports - and >> have it installed under /opt/local), and local admin tools. It >> would be a PITA to make that disappear during every macports >> action (not that it's very often) ... > > Perhaps the best advice is, if you find a package you need not in > MacPorts, to build a port file for it and submit it for inclusion > ;) OS X's flavour of *nix is based on FreeBSD. Linux uses /usr/local & /opt/local for users convenience for installing third-party software & tries to make sure these directories are not overwritten by any vendor supplied software update. In theory you could make your yourself another directory under /usr & call it whatever you like & do exactly the same thing but unless you have a very reason for doing so & know what you're doing, it's an ill advised idea. For the general purposes of safely installing the software you require & for general upkeep of the health & efficiency of your system, Mac Ports does a great job & should be used as directed by its authors as was intended unless you have good reason not to. Just my two bob. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPfCDdAAoJEKpMeDHWT5ADgBkIALBKkZnS8ScQHxOGFsiIbVxA 2S/75pqKIr1WXXgXbU76RWLFC/3aCAvqo966CVvzeUqOzCEavxMNG+rTst0Ubpba 2EZ/7X5fgPE4zBDLhL0XYSlqtgTBlFaCd/AKxoOOPpAYONqjeZSWPTCRXpGnwYKK ryBIvwuafG044K0nzle5VyZAxdUYlRJcqySHRIWtA83uwdsWoZd+YzrkKWKZdPOu 7JVOxpSFSafi4xzdQgOZPzQYedr8TMispCi7eGW2bc//+pEPoZ8rSzLtIkyIMmIH jy79Bkn8RCGFRtMzUCaryxrz2U3EtBIjDEBT8wFWj8E0vFIwaO+9MYJay1+lmJg= =hqZ2 -----END PGP SIGNATURE----- From mparchet at sunrise.ch Wed Apr 4 07:17:22 2012 From: mparchet at sunrise.ch (Michael Parchet) Date: Wed, 04 Apr 2012 16:17:22 +0200 Subject: /usr/local question In-Reply-To: <8BE7CF88-EC6E-4586-B7DF-4FDB857551A1@macports.org> References: <33545041.post@talk.nabble.com> <20120404054452.GA7563@www.stare.cz> <8BE7CF88-EC6E-4586-B7DF-4FDB857551A1@macports.org> Message-ID: <4F7C57F2.5010204@sunrise.ch> Le 04.04.12 08:38, Ryan Schmidt a ?crit : Hello, The macport home directory is opt/local not usr/local Best regards mparchet > On Apr 4, 2012, at 00:44, Jan Stary wrote: > >> On Apr 03 17:54:05, saiwingy wrote: >>> Since MacPorts is not compatible with /usr/local, every time I install/update >>> ports I had to >>> >>> sudo mv /usr/local /usr/local.bak >> Why would you move /usr/local? >> Macports live under /opt/local by default >> and have nothing to do with /usr/local. > Having things installed in /usr/local often interferes with MacPorts, so we do not support users using MacPorts while there are things in /usr/local, and suggest users move or remove /usr/local. > > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From allbery.b at gmail.com Wed Apr 4 07:40:57 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 4 Apr 2012 10:40:57 -0400 Subject: /usr/local question In-Reply-To: <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> References: <33545041.post@talk.nabble.com> <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> Message-ID: On Wed, Apr 4, 2012 at 03:45, Saiwing Yeung wrote: > On Apr 3, 2012, at 8:40 PM, Ryan Schmidt wrote: > > On Apr 3, 2012, at 19:54, saiwingy wrote: > >> Since MacPorts is not compatible with /usr/local, every time I > install/update > > > > We don't install things in /usr/local. Why do you want to install things > there? > > I don't install things there, but there are things in there (mostly from > Mac OS) that I'd like to keep and use. Apple doesn't install anything under /usr/local; it can only come from third party stuff. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From hans at stare.cz Wed Apr 4 07:51:32 2012 From: hans at stare.cz (Jan Stary) Date: Wed, 4 Apr 2012 16:51:32 +0200 Subject: /usr/local question In-Reply-To: <4F7C11A3.60809@hep.phy.cam.ac.uk> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> Message-ID: <20120404145131.GA25159@www.stare.cz> On Apr 04 10:17:23, Chris Jones wrote: > Hi, > > >I thought the whole reason for living under /opt/local was *not* to > >interfere with /usr/local. How exactly does having /usr/local interfere? > >Things from macports silently picking up things from /usr/local? > >Is that the problem? > > The issue is some packages have hard coded dependencies to look for > things in /usr/local, and will use them if found. Yes. > Most packages are > developed on linux OSes, where /user/local is quite normal and thus > they just consider this the 'right thing to do'... In principle > packages should provide options to avoid this, and when they do > MacPorts can use them, but not all do. Isn't that a task of the port maintainer then to patch such a software so that any interference with /usr/local can be avoided? I just find it quite extreme to expect the user to not have /usr/local around. The reason macports uses /opt/local (if I am not wrong) is that macports realizes that people *do* have /usr/local around. > >>I don't install things there, but there are things in there > >>(mostly from Mac OS) that I'd like to keep and use. I don't think that MacOS itself installs anything under /usr/local > >Yes, I have things in /usr/local too - stuff that is _not_ > >in macports (otherwise I would just install it from macports - and > >have it installed under /opt/local), and local admin tools. > >It would be a PITA to make that disappear during every > >macports action (not that it's very often) ... > > Perhaps the best advice is, if you find a package you need not in > MacPorts, to build a port file for it and submit it for inclusion ;) Agreed. I try to create ports for thing that I miss. But sometimes I just install from the vanilla targzip, if only for the intermediate tome before I get to creating a macport for it :-) Jan From dluke at geeklair.net Wed Apr 4 07:57:56 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Wed, 4 Apr 2012 10:57:56 -0400 Subject: /usr/local question In-Reply-To: <20120404145131.GA25159@www.stare.cz> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> Message-ID: On Apr 4, 2012, at 10:51 AM, Jan Stary wrote: >> Most packages are >> developed on linux OSes, where /user/local is quite normal and thus >> they just consider this the 'right thing to do'... In principle >> packages should provide options to avoid this, and when they do >> MacPorts can use them, but not all do. > > Isn't that a task of the port maintainer then > to patch such a software so that any interference > with /usr/local can be avoided? the problem lies with the apple-supplied complier toolchain, there is no 'good' solution to the issue. (there are several things that might work, or could work, but no one of the volunteers who maintain MacPorts has tried implementing any of them as far as I know) > I just find it quite extreme to expect the user to not have > /usr/local around. The reason macports uses /opt/local (if I am > not wrong) is that macports realizes that people *do* have > /usr/local around. I, personally, have had /usr/local around for forever. The issue is that if you don't know it can interfere (and can't diagnose and fix any instances when it does), it's very difficult to help you if/when you have problems. So, the 'safe' advice we give people is "don't do that" > Agreed. I try to create ports for thing that I miss. > But sometimes I just install from the vanilla targzip, > if only for the intermediate tome before I get to > creating a macport for it :-) For me, the biggest reason to buy into always creating ports for things that I need that aren't in macports is the ease with which I can _uninstall_ the software if/when I no longer want it (easy upgrading is a plus too, but of course I started using macports before it could upgrade software ;-) ). -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From hans at stare.cz Wed Apr 4 08:16:04 2012 From: hans at stare.cz (Jan Stary) Date: Wed, 4 Apr 2012 17:16:04 +0200 Subject: /usr/local question In-Reply-To: References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> Message-ID: <20120404151603.GA18313@www.stare.cz> > > I just find it quite extreme to expect the user to not have > > /usr/local around. The reason macports uses /opt/local (if I am > > not wrong) is that macports realizes that people *do* have > > /usr/local around. > > I, personally, have had /usr/local around for forever. The issue is that if you don't know it can interfere (and can't diagnose and fix any instances when it does), it's very difficult to help you if/when you have problems. > > So, the 'safe' advice we give people is "don't do that" OK, I can understand that. Did I really miss this bit in the documentation? Can someone point me please? I believe it should be clearly stated in the Guide. From jeremy at lavergne.gotdns.org Wed Apr 4 08:22:37 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 4 Apr 2012 10:22:37 -0500 Subject: /usr/local question In-Reply-To: <20120404151603.GA18313@www.stare.cz> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> Message-ID: <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> > OK, I can understand that. Did I really miss this bit > in the documentation? Can someone point me please? > I believe it should be clearly stated in the Guide. It is not in the Guide, however the FAQ wiki page references it: https://trac.macports.org/wiki/FAQ#defaultprefix -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From hans at stare.cz Wed Apr 4 08:32:40 2012 From: hans at stare.cz (Jan Stary) Date: Wed, 4 Apr 2012 17:32:40 +0200 Subject: /usr/local question In-Reply-To: <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> Message-ID: <20120404153239.GA13328@www.stare.cz> On Apr 04 10:22:37, Jeremy Lavergne wrote: > > OK, I can understand that. Did I really miss this bit > > in the documentation? Can someone point me please? > > I believe it should be clearly stated in the Guide. > > It is not in the Guide, however the FAQ wiki page references it: > https://trac.macports.org/wiki/FAQ#defaultprefix Yes, that's what I have read. But that just says why macports uses /opt/local: because it cannot use /usr/local, for the reasons listed. This here is something *different*: namely, that (1) There might still be problems if the user has /usr/local around. (2) So the user should not have /usr/local around None of that is mentioned at the above link. From jeremy at lavergne.gotdns.org Wed Apr 4 08:34:48 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 4 Apr 2012 10:34:48 -0500 Subject: /usr/local question In-Reply-To: <20120404153239.GA13328@www.stare.cz> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> Message-ID: <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> > Yes, that's what I have read. But that just says why macports > uses /opt/local: because it cannot use /usr/local, for the reasons listed. > > This here is something *different*: namely, that > > (1) There might still be problems if the user has /usr/local around. ? Some software (especially auto* tools from Gnu) look in /usr/local as a default location ? /usr/local tends to be a bad choice to have taken over by a non-system port system ? gcc considers /usr/local to be a standard system directory, causing (at least) the include directory to be unable to appear early in the list of include directories, and hence causing MacPorts-installed items to be difficult to use properly for items which need them (where another version is installed elsewhere, like/usr/X11R6) > (2) So the user should not have /usr/local around > > None of that is mentioned at the above link. It isn't explicitly stated but it is implied. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From hans at stare.cz Wed Apr 4 08:55:18 2012 From: hans at stare.cz (Jan Stary) Date: Wed, 4 Apr 2012 17:55:18 +0200 Subject: /usr/local question In-Reply-To: <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> Message-ID: <20120404155518.GA6801@www.stare.cz> On Apr 04 10:34:48, Jeremy Lavergne wrote: > > Yes, that's what I have read. But that just says why macports > > uses /opt/local: because it cannot use /usr/local, for the reasons listed. > > > > This here is something *different*: namely, that > > > > (1) There might still be problems if the user has /usr/local around. > > ? Some software (especially auto* tools from Gnu) look in /usr/local as a default location > ? /usr/local tends to be a bad choice to have taken over by a non-system port system > ? gcc considers /usr/local to be a standard system directory, causing (at least) the include directory to be unable to appear early in the list of include directories, and hence causing MacPorts-installed items to be difficult to use properly for items which need them (where another version is installed elsewhere, like/usr/X11R6) Yes; I _have_ read it. The FAQ lists these as the reasons why macports uses /opt/local as its prefix. Perhaps I need to state my comment more explicitly: there are TWO DIFFERENT issues: (1) It would be a problem if macports used /usr/local as its prefix; so it doesn't - it uses /opt/local instead (2) Even with macports using /opt/local as its prefix, it is STILL A PROBLEM to have /usr/local around. The link above talks about (1), but not (2). > It isn't explicitly stated but it is implied. No it's not; on the contrary, it is implied that using the prefix of /opt/local instead of /usr/local SOLVES the three issues listed above, which it does not. In fact, I believe it is a good candidate for a FAQ immediately following https://trac.macports.org/wiki/FAQ#defaultprefix: Q: "So given that macports uses /opt/local as its prefix, I can use /usr/local freely without worying about interference?" A: No, not really. (etc) From saiwing at berkeley.edu Wed Apr 4 09:16:25 2012 From: saiwing at berkeley.edu (Saiwing Yeung) Date: Wed, 4 Apr 2012 09:16:25 -0700 Subject: /usr/local question In-Reply-To: <4F7C107A.4040205@hep.phy.cam.ac.uk> References: <33545041.post@talk.nabble.com> <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> <4F7C107A.4040205@hep.phy.cam.ac.uk> Message-ID: <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> oh... I didn't know that. I just took a look in my /usr/local, and found a whole bunch of stuff for texlive, and then various programs that I remember installing. is there a recommended place for me to put these programs? On Apr 4, 2012, at 2:12 AM, Chris Jones wrote: > Hi, > >> I don't install things there, but there are things in there (mostly from Mac OS) that I'd like to keep and use. > > I might be wrong but I understand OS X itself does not put anything in /usr/local. Anything you might have there has probably come from other third party applications you have installed, not the system itsdelf. > > Chris From ryandesign at macports.org Wed Apr 4 09:18:23 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 4 Apr 2012 11:18:23 -0500 Subject: /usr/local question In-Reply-To: <20120404155518.GA6801@www.stare.cz> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> <20120404155518.GA6801@www.stare.cz> Message-ID: <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> On Apr 4, 2012, at 10:55, Jan Stary wrote: > In fact, I believe it is a good candidate for a FAQ immediately > following https://trac.macports.org/wiki/FAQ#defaultprefix: > > Q: "So given that macports uses /opt/local as its prefix, > I can use /usr/local freely without worying about interference?" > > A: No, not really. (etc) The wiki is editable by everybody; feel free to add this. From ryandesign at macports.org Wed Apr 4 09:19:44 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 4 Apr 2012 11:19:44 -0500 Subject: /usr/local question In-Reply-To: <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> References: <33545041.post@talk.nabble.com> <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> <4F7C107A.4040205@hep.phy.cam.ac.uk> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> Message-ID: <055F6E91-1B2E-4D36-92AB-AA729F14215F@macports.org> On Apr 4, 2012, at 11:16, Saiwing Yeung wrote: > oh... I didn't know that. I just took a look in my /usr/local, and found a whole bunch of stuff for texlive, and then various programs that I remember installing. > > is there a recommended place for me to put these programs? Any other place on the hard drive that doesn't already have a defined meaning. So any prefix other than /, /usr, /usr/local, /opt/local or /sw should be fine. From ghe at slsware.com Wed Apr 4 09:20:50 2012 From: ghe at slsware.com (Glenn English) Date: Wed, 4 Apr 2012 10:20:50 -0600 Subject: /usr/local question In-Reply-To: <20120404155518.GA6801@www.stare.cz> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> <20120404155518.GA6801@www.stare.cz> Message-ID: On Apr 4, 2012, at 9:55 AM, Jan Stary wrote: > Q: "So given that macports uses /opt/local as its prefix, > I can use /usr/local freely without worying about interference?" > > A: No, not really. (etc) I'd really like to see an expansion of that "etc". I use Linux extensively for my servers and Macs when I'm trying to be a human. /usr/local has been around for quite a while in the *nix world (it's even in the default $PATH), and I use it a little on the Macs. I can't think of what the problem is -- (seems to) work fine here :-) -- Glenn English From jeremy at lavergne.gotdns.org Wed Apr 4 09:26:14 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 4 Apr 2012 11:26:14 -0500 Subject: /usr/local question In-Reply-To: References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> <20120404155518.GA6801@www.stare.cz> Message-ID: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> > I use Linux extensively for my servers and Macs when I'm trying to be a human. /usr/local has been around for quite a while in the *nix world (it's even in the default $PATH), and I use it a little on the Macs. I can't think of what the problem is -- (seems to) work fine here :-) I don't see /usr/local in my system's default for $PATH, either on 10.6 or 10.7. /usr/local is horrible because it takes precedence over everything else on your system. As was pointed out: * some software (especially auto* tools from Gnu) look in /usr/local as a default location * gcc considers /usr/local to be a standard system directory, causing (at least) the include directory to be unable to appear early in the list of include directories, and hence causing MacPorts-installed items to be difficult to use properly for items which need them (where another version is installed elsewhere, like/usr/X11R6) This means incorrect libraries and headers that magically find their way in there via other installers will be used instead of the software that was actually intended. Incompatible software (e.g. ppc on x86_64) might be installed there and you can see why that would break things. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From ryandesign at macports.org Wed Apr 4 09:27:33 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 4 Apr 2012 11:27:33 -0500 Subject: /usr/local question In-Reply-To: References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> <20120404155518.GA6801@www.stare.cz> Message-ID: <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> On Apr 4, 2012, at 11:20, Glenn English wrote: > > On Apr 4, 2012, at 9:55 AM, Jan Stary wrote: > >> Q: "So given that macports uses /opt/local as its prefix, >> I can use /usr/local freely without worying about interference?" >> >> A: No, not really. (etc) > > I'd really like to see an expansion of that "etc". > > I use Linux extensively for my servers and Macs when I'm trying to be a human. /usr/local has been around for quite a while in the *nix world (it's even in the default $PATH), and I use it a little on the Macs. I can't think of what the problem is -- (seems to) work fine here :-) Because /usr/local is searched by default by the compiler and we do not know how to turn that off, MacPorts ports might try to link with libraries you've installed in /usr/local. From ghe at slsware.com Wed Apr 4 10:20:19 2012 From: ghe at slsware.com (Glenn English) Date: Wed, 4 Apr 2012 11:20:19 -0600 Subject: /usr/local question In-Reply-To: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> <20120404155518.GA6801@www.stare.cz> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> Message-ID: On Apr 4, 2012, at 10:26 AM, Jeremy Lavergne wrote: > I don't see /usr/local in my system's default for $PATH, either on 10.6 or 10.7. Sorry. Maybe I should have said, "the default *nix $PATH". I don't know about others. OTOH, here's my user $PATH on 10.7.3: /usr/local/bin:/usr/bin:/bin:/usr/games. I'd always assumed that MacPorts put itself in /opt/local so there wouldn't be a problem with libs and bins that had the same names on the *nix systems they were originally written for. I thought that was very clever of them. -- Glenn English From saiwing at berkeley.edu Wed Apr 4 10:30:27 2012 From: saiwing at berkeley.edu (Saiwing Yeung) Date: Wed, 4 Apr 2012 10:30:27 -0700 Subject: /usr/local question In-Reply-To: <055F6E91-1B2E-4D36-92AB-AA729F14215F@macports.org> References: <33545041.post@talk.nabble.com> <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> <4F7C107A.4040205@hep.phy.cam.ac.uk> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <055F6E91-1B2E-4D36-92AB-AA729F14215F@macports.org> Message-ID: <7C764DC5-729E-4044-88B6-1C926CE18115@berkeley.edu> On Apr 4, 2012, at 9:19 AM, Ryan Schmidt wrote: > On Apr 4, 2012, at 11:16, Saiwing Yeung wrote: > >> oh... I didn't know that. I just took a look in my /usr/local, and found a whole bunch of stuff for texlive, and then various programs that I remember installing. >> >> is there a recommended place for me to put these programs? > > Any other place on the hard drive that doesn't already have a defined meaning. So any prefix other than /, /usr, /usr/local, /opt/local or /sw should be fine. Thanks! In addition, I agree with Jan Stary that it would be nice to amend the #defaultprefix: section in the FAQ. If possible, it would also be nice to also add this to the "A port fails to build. What should I do?" section in the FAQ, as the section title of #defaultprefix is "Why is /opt/local the default install location for MacPorts?" and if a port fails to build for me, I probably wouldn't realize that pertinent information is in that section. From raimue at macports.org Wed Apr 4 10:30:35 2012 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Wed, 04 Apr 2012 19:30:35 +0200 Subject: /usr/local question In-Reply-To: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> <20120404155518.GA6801@www.stare.cz> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> Message-ID: <4F7C853B.40807@macports.org> On 04/04/2012 06:26 PM, Jeremy Lavergne wrote: >> I use Linux extensively for my servers and Macs when I'm trying to be a human. /usr/local has been around for quite a while in the *nix world (it's even in the default $PATH), and I use it a little on the Macs. I can't think of what the problem is -- (seems to) work fine here :-) > > I don't see /usr/local in my system's default for $PATH, either on 10.6 or 10.7. /usr/local should be listed in /etc/paths and thus, would be in your default $PATH. I don't think anything changed on that in any recent Mac OS X release. I guess you removed it yourself on purpose? Rainer From jeremy at lavergne.gotdns.org Wed Apr 4 10:38:49 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 4 Apr 2012 12:38:49 -0500 Subject: /usr/local question In-Reply-To: <4F7C853B.40807@macports.org> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> <20120404155518.GA6801@www.stare.cz> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <4F7C853B.40807@macports.org> Message-ID: > /usr/local should be listed in /etc/paths and thus, would be in your > default $PATH. I don't think anything changed on that in any recent Mac > OS X release. > > I guess you removed it yourself on purpose? I do have it completely override in my dot files, but I checked /etc/profile and /etc/bashrc while I didn't think to check /etc/paths. Sorry about that. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From ghe at slsware.com Wed Apr 4 10:42:23 2012 From: ghe at slsware.com (Glenn English) Date: Wed, 4 Apr 2012 11:42:23 -0600 Subject: /usr/local question In-Reply-To: <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> <20120404155518.GA6801@www.stare.cz> <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> Message-ID: <2B9C3F3F-0998-490C-967B-F0546ECC2879@slsware.com> On Apr 4, 2012, at 10:27 AM, Ryan Schmidt wrote: > Because /usr/local is searched by default by the compiler and we do not know how to turn that off, MacPorts ports might try to link with libraries you've installed in /usr/local. Ah! Thank you; that makes sense. I'll try to stay away from installing libraries there. I just looked, and all that's in mine is perl, python, and ruby -- I'll also keep in mind your explanation when something goes odd with a MacPorts build. Is that default search part of the compiler code, or is it because of $PATH? If Apple doesn't use /usr/local libraries, why would they have anything to do with a compiler that forces that search? That'd result in a lot on badly bent code lying around. This might be overkill, but have you considered adding code to your scripts to mv /usr/local to /usr/localqw (and back at the end)? Or maybe just the lib dir? -- Glenn English From ryandesign at macports.org Wed Apr 4 11:22:18 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 4 Apr 2012 13:22:18 -0500 Subject: /usr/local question In-Reply-To: <2B9C3F3F-0998-490C-967B-F0546ECC2879@slsware.com> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> <20120404155518.GA6801@www.stare.cz> <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> <2B9C3F3F-0998-490C-967B-F0546ECC2879@slsware.com> Message-ID: <0F7FC290-A8E7-477A-AE92-32096DA95111@macports.org> On Apr 4, 2012, at 12:42, Glenn English wrote: > > On Apr 4, 2012, at 10:27 AM, Ryan Schmidt wrote: > >> Because /usr/local is searched by default by the compiler and we do not know how to turn that off, MacPorts ports might try to link with libraries you've installed in /usr/local. > > Ah! Thank you; that makes sense. I'll try to stay away from installing libraries there. > > I just looked, and all that's in mine is perl, python, and ruby -- I'll also keep in mind your explanation when something goes odd with a MacPorts build. > > Is that default search part of the compiler code, or is it because of $PATH? It is code in the compiler. It's not related to $PATH. > If Apple doesn't use /usr/local libraries, why would they have anything to do with a compiler that forces that search? That'd result in a lot on badly bent code lying around. The definition of /usr/local is a directory where users put things they've compiled themselves; things that did not come from the OS vendor. Therefore it is right for Apple to not ship anything in /usr/local, and it's perhaps even reasonable for them to ship a compiler that looks there for dependencies. I didn't think this was an Apple-specific thing; I thought that's just how GCC works, but I don't know for sure. > This might be overkill, but have you considered adding code to your scripts to mv /usr/local to /usr/localqw (and back at the end)? Or maybe just the lib dir? I had not considered that. But MacPorts is not always installed as root; when not root, it would not have permission to do that. Also, moving /usr/local is likely to break whatever's installed there. I think the user needs to be the one to understand the consequences of their actions of installing things in /usr/local and be the one to take responsibility for uninstalling those items. Not everything in /usr/local is necessarily a problem. But we do not want to spend our time analyzing what rogue software is and isn't a problem; we have real actual MacPorts issues that we want to spend our time solving that don't involve rogue software. If a user reports a problem, and the error message or log contents point to something existing in /usr/local, our response will be to make the user remove /usr/local and try again. I might not be opposed to MacPorts printing a warning if anything is found in /usr/local/{bin,etc,include,lib,libexec,man,sbin,share,var}. But I would probably only want to print that if a port actually failed to build. From phildobbin at gmail.com Wed Apr 4 11:40:57 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 04 Apr 2012 19:40:57 +0100 Subject: /usr/local question In-Reply-To: <7C764DC5-729E-4044-88B6-1C926CE18115@berkeley.edu> References: <33545041.post@talk.nabble.com> <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> <4F7C107A.4040205@hep.phy.cam.ac.uk> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <055F6E91-1B2E-4D36-92AB-AA729F14215F@macports.org> <7C764DC5-729E-4044-88B6-1C926CE18115@berkeley.edu> Message-ID: <4F7C95B9.6030309@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/04/2012 18:30, Saiwing Yeung wrote: > On Apr 4, 2012, at 9:19 AM, Ryan Schmidt wrote: >> On Apr 4, 2012, at 11:16, Saiwing Yeung wrote: >> >>> oh... I didn't know that. I just took a look in my /usr/local, and found a whole bunch of stuff for texlive, and then various programs that I remember installing. >>> >>> is there a recommended place for me to put these programs? >> >> Any other place on the hard drive that doesn't already have a defined meaning. So any prefix other than /, /usr, /usr/local, /opt/local or /sw should be fine. > > Thanks! > > In addition, I agree with Jan Stary that it would be nice to amend the #defaultprefix: section in the FAQ. If possible, it would also be nice to also add this to the "A port fails to build. What should I do?" section in the FAQ, as the section title of #defaultprefix is "Why is /opt/local the default install location for MacPorts?" and if a port fails to build for me, I probably wouldn't realize that pertinent information is in that section. If you want to install in directories other than /usr/local to avoid any conflicts with Mac Ports, you could use the other *nix location $HOME/bin. On most, if not all, Linux distros that PATH is already present in ~/.bashrc. You'd probably have to create the directory in /Users/yourname as well as add the above line to your bash_profile but I use $HOME/bin a lot on OS X & Linux. It also has the added advantage of not having to use sudo when installing stuff. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPfJW2AAoJEKpMeDHWT5AD/iAIAIVHGason4hfmufPOKocPpMI M1A+Bx8M3GjnMXr75nhC4mYA8h+t5Qh8tbMido5Rtne4CVazpynCPp6CA4N4nUBF iKgiiRP1Ab/+Erl1+rFVsELAtsxWvTI1VSFi/quwUJpNiFLwsS6PG37fcCfUV6uC D9KhFhcgUNz7SEhEvfQlTZXw35CEAOXX8uZNP6SAPEAZ8nSoHe0HsQg8ee3lWa7O VALRvhSXRDdXS29GMugY7/ERLNo35ooNGpz5lgIxOEV3Gjs+41gPtBw8GeC9P3uH ohBiwHEYrkTuRaCBDz7cym/I4uhkRmfaIfHf8sumvAwETY9T3UpE7Q3LQRI6mgg= =FwLK -----END PGP SIGNATURE----- From phildobbin at gmail.com Wed Apr 4 11:44:23 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 04 Apr 2012 19:44:23 +0100 Subject: /usr/local question In-Reply-To: <4F7C95B9.6030309@gmail.com> References: <33545041.post@talk.nabble.com> <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> <4F7C107A.4040205@hep.phy.cam.ac.uk> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <055F6E91-1B2E-4D36-92AB-AA729F14215F@macports.org> <7C764DC5-729E-4044-88B6-1C926CE18115@berkeley.edu> <4F7C95B9.6030309@gmail.com> Message-ID: <4F7C9687.5000508@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/04/2012 19:40, Phil Dobbin wrote: > On 04/04/2012 18:30, Saiwing Yeung wrote: >> On Apr 4, 2012, at 9:19 AM, Ryan Schmidt wrote: >>> On Apr 4, 2012, at 11:16, Saiwing Yeung wrote: >>> >>>> oh... I didn't know that. I just took a look in my >>>> /usr/local, and found a whole bunch of stuff for texlive, and >>>> then various programs that I remember installing. >>>> >>>> is there a recommended place for me to put these programs? >>> >>> Any other place on the hard drive that doesn't already have a >>> defined meaning. So any prefix other than /, /usr, /usr/local, >>> /opt/local or /sw should be fine. > >> Thanks! > >> In addition, I agree with Jan Stary that it would be nice to >> amend the #defaultprefix: section in the FAQ. If possible, it >> would also be nice to also add this to the "A port fails to >> build. What should I do?" section in the FAQ, as the section >> title of #defaultprefix is "Why is /opt/local the default install >> location for MacPorts?" and if a port fails to build for me, I >> probably wouldn't realize that pertinent information is in that >> section. > > If you want to install in directories other than /usr/local to > avoid any conflicts with Mac Ports, you could use the other *nix > location $HOME/bin. > > On most, if not all, Linux distros that PATH is already present in > ~/.bashrc. > > You'd probably have to create the directory in /Users/yourname as > well as add the above line to your bash_profile but I use $HOME/bin > a lot on OS X & Linux. It also has the added advantage of not > having to use sudo when installing stuff. the above (non-existent) line of course being: `PATH=$PATH:$HOME/bin` :-) - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPfJaEAAoJEKpMeDHWT5ADxUcIAJXB53+Kh0Pqweu2TJcwdJYS Yko/t3Bg2cnfT7QZQ0+ZzVulmU5UUsQ7TkgU4b4alVzTDwzyePsU/bGe+DTGLAjZ jH40FgQz8Bf1odJE7akSzPc3QGpF+BfpU0OOVC+nZ5JKb10nt+GG8KDU3EEZVhEH KH0Pq6u03VeKv1cLFaUQa3Do8cjas9tbRcZEMirykKV7i5r5Vu8uj6bqraA/yHyD dWKoE7yHROLRtkwfdur6kiqA2+V2UZCkwGcuxCOnGPJ6ERc1dSrhlr2AKTGmx9LZ u6NBSYN1FDjVTwCjBASfplzc4F0f2ZASPJMcVbyOEe0Rdb7aAZvoYGPloDwki8U= =Jh6Q -----END PGP SIGNATURE----- From mparchet at sunrise.ch Wed Apr 4 12:14:51 2012 From: mparchet at sunrise.ch (Michael Parchet) Date: Wed, 04 Apr 2012 21:14:51 +0200 Subject: How to run a sql script sql script on mysql5 Message-ID: <4F7C9DAB.2070902@sunrise.ch> Hello, I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. I have tried the following command but this last has no effect sudo mysql5 -u root -p password script.sql Can you help me please ? Best regards mparchet -------------- next part -------------- An HTML attachment was scrubbed... URL: From pixilla at macports.org Wed Apr 4 12:29:49 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Wed, 4 Apr 2012 12:29:49 -0700 Subject: How to run a sql script sql script on mysql5 In-Reply-To: <4F7C9DAB.2070902@sunrise.ch> References: <4F7C9DAB.2070902@sunrise.ch> Message-ID: On Apr 4, 2012, at 12:14 PM, Michael Parchet wrote: > Hello, > > I have install the mysql5 port. I do a secure installation whith only the root user and a password. > > So noe I wold like to run a sql script to create a database. > > I have tried the following command but this last has no effect > > sudo mysql5 -u root -p password script.sql > > Can you help me please ? You should probably take this to a mysql support forum. I do this: $ mysql5 -uroot -p mysql> create database mydb; mysql> use mydb; mysql> system ls; mysql> source script.sql; mysql> show tables; mysql> exit; Your script.sql file may well create a database or has a "use dbname" statement at the top. http://dev.mysql.com/doc/refman/5.0/en/batch-commands.html Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From larry.velazquez at gmail.com Wed Apr 4 12:37:14 2012 From: larry.velazquez at gmail.com (=?iso-8859-1?Q?Lawrence_Vel=E1zquez?=) Date: Wed, 4 Apr 2012 15:37:14 -0400 Subject: How to run a sql script sql script on mysql5 In-Reply-To: <4F7C9DAB.2070902@sunrise.ch> References: <4F7C9DAB.2070902@sunrise.ch> Message-ID: On Apr 4, 2012, at 3:14 p.m., Michael Parchet wrote: > I have install the mysql5 port. I do a secure installation whith only the root user and a password. > > So noe I wold like to run a sql script to create a database. Are you making a local database? Have you installed mysql5-server? vq -------------- next part -------------- An HTML attachment was scrubbed... URL: From mparchet at sunrise.ch Wed Apr 4 12:48:52 2012 From: mparchet at sunrise.ch (Michael Parchet) Date: Wed, 04 Apr 2012 21:48:52 +0200 Subject: How to run a sql script sql script on mysql5 In-Reply-To: References: <4F7C9DAB.2070902@sunrise.ch> Message-ID: <4F7CA5A4.6080801@sunrise.ch> Le 04.04.12 21:37, Lawrence Vel?zquez a ?crit : > On Apr 4, 2012, at 3:14 p.m., Michael Parchet wrote: > >> I have install the mysql5 port. I do a secure installation whith only >> the root user and a password. >> >> So noe I wold like to run a sql script to create a database. > > Are you making a local database? Have you installed mysql5-server? Yes ouf course. > > vq > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy at lavergne.gotdns.org Wed Apr 4 13:42:43 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 4 Apr 2012 15:42:43 -0500 Subject: /usr/local question In-Reply-To: <0F7FC290-A8E7-477A-AE92-32096DA95111@macports.org> References: <20120404084336.GA5581@www.stare.cz> <4F7C11A3.60809@hep.phy.cam.ac.uk> <20120404145131.GA25159@www.stare.cz> <20120404151603.GA18313@www.stare.cz> <42243DBE-FDA7-467D-901F-8C3A303E791D@lavergne.gotdns.org> <20120404153239.GA13328@www.stare.cz> <01F56AD2-6B21-493C-A802-E72E48109B65@lavergne.gotdns.org> <20120404155518.GA6801@www.stare.cz> <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> <2B9C3F3F-0998-490C-967B-F0546ECC2879@slsware.com> <0F7FC290-A8E7-477A-AE92-32096DA95111@macports.org> Message-ID: <3C882ED0-ACB1-4E4A-8380-C28E32F1C48F@lavergne.gotdns.org> > I might not be opposed to MacPorts printing a warning if anything is found in /usr/local/{bin,etc,include,lib,libexec,man,sbin,share,var}. But I would probably only want to print that if a port actually failed to build. It sounds very reasonable to check if there's anything in /usr/local when a build fails, and then add the error message suggesting the user temporarily move /usr/local, clean the broken port (not necessarily the one they were installing) and make again. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From hans at stare.cz Wed Apr 4 14:01:24 2012 From: hans at stare.cz (Jan Stary) Date: Wed, 4 Apr 2012 23:01:24 +0200 Subject: /usr/local question In-Reply-To: <4F7C9687.5000508@gmail.com> <4F7C95B9.6030309@gmail.com> <7C764DC5-729E-4044-88B6-1C926CE18115@berkeley.edu> <055F6E91-1B2E-4D36-92AB-AA729F14215F@macports.org> <0F7FC290-A8E7-477A-AE92-32096DA95111@macports.org> <2B9C3F3F-0998-490C-967B-F0546ECC2879@slsware.com> <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> <4F7C853B.40807@macports.org> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> Message-ID: <20120404210123.GA10850@www.stare.cz> The more I think about it, the more I tend to this conclusion: Using /opt/local as the default prefix is an attempt to save the user from himself, which is pointless. Any other benefits it has would also be present if the default prefix was /usr/local. Please bare with me and wait with the stoning. First, let me go through the reasons we currently do NOT use /usr/local as the default prefix, as described in the FAQ: (1) "/opt/local was chosen so as to avoid stomping on other various installations" What "other various installations", exactly? Nobody uses more then one port system on a given machine (not that know about any other beside macports and fink). So whatever the macports prefix, it will not stomp on any other port system's installations (or vice versa), because there is no other port system in use. That leaves - the MacOS isntallation as shipped by Apple - manual installations done by the user As agreed before, MacOSX itself doesn't install nothing under /usr/local. That leaves only the user manually installing stuff under /usr/local (as usual on many UNIXes). The only way these installations would "stomp on each other" is if the user either installs something from macports and later overwrites it with a manual installation, or vice versa. That's the user's obvious and stupid error. Retreating from /usr/local in the sense of (1) is nothing else than trying to protect the user from himself. I think that't pointless. (2) "/usr/local is not a viable choice because some software (especially auto* tools from Gnu) look in /usr/local as a default location, which means MacPorts can't be easily isolated when needed." I want to kindly ask the person who wrote this to elaborate, and be as specific as can be: what exactly does it mean for macports to be "isolated", and how exactly does e.g. auto* looking into /usr/local stand in the way of it? Does the "isolation" here mean that the libraries, headers, etc as installed from macports should be distinguishable by third-party software as such (i.e., as installed by macports, and no other)? Indeed, the auto* tools and other software (gcc?) look into /usr/local. That's not a reason to NOT install our stuf in there. On the contrary, that's a reason to install in there, as ubiquitous tools such as auto* and pkgconfig and gcc WILL FIND IT THERE when installing other software later. In fact, that's one of the reasons people do install software: so that it is found and used by other software. Example: if, say, libsndfile is installed under /usr/local, compiling any other audio software later will find it there BY DEFAULT and use it, WHICH IS WHY I installed it in the first place. (3) "/usr/local is not a viable choice because it is usually reserved for the given system's admin to install items local to that system, and tends to be a bad choice to have taken over by a non-system port system". Yes, /usr/local i traditionaly used to install items local to that system. How does it make it a bad choice for the macports prefix? The stuff I install from macports IS local to that system! Also, it's not macports "taking over" /usr/local. The user takes over /usr/local (as intended for ages), be it via manual installation or macports or anything else. (4) "/usr/local is not a viable choice because gcc considers /usr/local to be a standard system directory, causing (at least) the include directory to be unable to appear early in the list of include directories, and hence causing MacPorts-installed items to be difficult to use properly for items which need them (where another version is installed elsewhere, like /usr/X11R6)" Yes, gcc considers /usr/local to be a standard directory; it is searched for headers and libs and binaries. How does that make "the include directory" (which? /usr/local/include?) not able to appear early in the list of include directories? On the contrary, being considered a standard system directory, it appers in the list prominently. If macports installed stuff under /usr/local, how exactly would make it "difficult to be used properly"? On Apr 04 11:26:14, Jeremy Lavergne wrote: > /usr/local is horrible because it takes precedence > over everything else on your system Yes, it takes precedence. That's the point: to have a place where things are supposed to be installed. Why does it make /usr/local "horrible"? How would that be less "horrible" if it was any other directory? > This means incorrect libraries and headers > that magically find their way in there via other installers > will be used instead of the software that was actually intended. Whoa, stop right there. This paragraph makes no argument against /usr/local, it's just dissing it with meanlessly negative adjectives. (*) What "incorrect libraries and headers"? The headers and libraries I install under /usr/local (or anywhere else, for that matter) manually (or any other way, for that matter) are no more or less "correct" than those installed by macports (or any other installer, for that matter). (*) How exactly do they "magically find their way" into /usr/local? The user installs it there! (*) Yes, the stuff under /usr/local will be used then. That's why the user installed it in there; because that's what he "actually intended". > > I use Linux extensively for my servers and Macs when I'm trying to be a human. /usr/local has been around for quite a while in the *nix world (it's even in the default $PATH), and I use it a little on the Macs. I can't think of what the problem is -- (seems to) work fine here :-) > > Because /usr/local is searched by default by the compiler > and we do not know how to turn that off, > MacPorts ports might try to link with libraries > you've installed in /usr/local. This is exactly what got me thinking: Yes, it is searched by the compiler, but why would I want to turn that off? Yes, macports might try to link against stuff under /usr/local, but that's only a problem if macports' own stuff IS NOT that under /usr/local. > This might be overkill, but have you considered adding code to your scripts > to mv /usr/local to /usr/localqw (and back at the end)? > Or maybe just the lib dir? Thus crippling all my manual installations, such as the backup cronjob script that was about to run, (before the electricity dies out an hour from now)? > The definition of /usr/local is a directory where users put things > they've compiled themselves; things that did not come from the OS vendor. EXACTLY - such as the macports stuff! That's what I have compiled myself (with the help of a Portfile); that's what did not come from the OS vendor. See? > Therefore it is right for Apple to not ship anything in /usr/local, > and it's perhaps even reasonable for them to ship a compiler that > looks there for dependencies. Yes. That's why we want to have our stuff there. > I didn't think this was an Apple-specific thing; > I thought that's just how GCC works, but I don't know for sure. I think you are right: that's a gcc thing. > I think the user needs to be the one to understand the consequences > of their actions of installing things in /usr/local and be the one > to take responsibility for uninstalling those items. I completely agree: it's the user's responsibility. There is no point retreating from /usr/local just to ease the user from this responsibility. > Not everything in /usr/local is necessarily a problem. > But we do not want to spend our time analyzing what rogue software > is and isn't a problem; Again, this is just bad-mouthing. Why would anything under /usr/local (or anything outside of macports) BE a problem, solely on the grounds it is under /usr/local? Really? What "rogue software"? > we have real actual MacPorts issues that we want to spend our time solving that don't involve rogue software. If a user reports a problem, and the error message or log contents point to something existing in /usr/local, our response will be to make the user remove /usr/local and try again. If that something exsist under /usr/local, it is there because the user wants it there. MAcOSX itself didn't put it there; macports didn't put it there. It is solely the user's explicit desire to have that thing installed. Just telling the user to remove it is silly. If it is a prerequisite for macport to function properly that /usr/local does not exist, then macports might as well make /usr/local its own prefix (as anything else is prohibited to even exist there anyway, right?) > >> I don't install things there, but there are things in there > >> (mostly from Mac OS) that I'd like to keep and use. > > > > is there a recommended place for me to put these programs? > > Any other place on the hard drive that doesn't already have a defined meaning. So any prefix other than /, /usr, /usr/local, /opt/local or /sw should be fine. See, this makes no sense either. Yes, /usr/local already has a defined meaning: to hold the software local to this system. That's exactly why I will install it THERE. > If you want to install in directories other than /usr/local to avoid any > conflicts with Mac Ports, you could use the other *nix location $HOME/bin. That would only make it available to me. I want the installed software to be available to all users. > You'd probably have to create the directory in /Users/yourname Huh? That's my $HOME, which obviously exists already. > `PATH=$PATH:$HOME/bin` That puts it last in the path, which is probably not what you intended. > On Apr 4, 2012, at 10:55, Jan Stary wrote: > > In fact, I believe it is a good candidate for a FAQ immediately > > following https://trac.macports.org/wiki/FAQ#defaultprefix: > > Q: "So given that macports uses /opt/local as its prefix, > > I can use /usr/local freely without worying about interference?" > > A: No, not really. (etc) > I'd really like to see an expansion of that "etc". Well, obviously. I want to clear this for myself (and possibly others) before caughing up a formulation. > The wiki is editable by everybody; feel free to add this. (... let alone mangling the wiki with something that's not yet agreed upon :-) Perhaps this is the right place to think Jeremy and Ryan and the others for making macports happen in the first place. I hope this comes over as politely as it is intended. I genuinely do think that /usr/local would be a better prefix. Please point to where I am wrong, and please be very specific and give examples. Sincerely Jan From jeremy at lavergne.gotdns.org Wed Apr 4 14:05:27 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 4 Apr 2012 16:05:27 -0500 Subject: /usr/local question In-Reply-To: <20120404210123.GA10850@www.stare.cz> References: <20120404210123.GA10850@www.stare.cz> Message-ID: <6ED07085-DCBE-4E28-9FCB-B76084C974FF@lavergne.gotdns.org> > "/usr/local is not a viable choice because some software > (especially auto* tools from Gnu) look in /usr/local > as a default location, which means MacPorts can't be > easily isolated when needed." > > I want to kindly ask the person who wrote this to elaborate, > and be as specific as can be: what exactly does it mean for macports > to be "isolated", and how exactly does e.g. auto* looking into > /usr/local stand in the way of it? As with the software that magically found its way into /usr/local, how do we stop that very same software from clobbering what MacPorts has installed there? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From phildobbin at gmail.com Wed Apr 4 14:10:37 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 04 Apr 2012 22:10:37 +0100 Subject: /usr/local question In-Reply-To: <20120404210123.GA10850@www.stare.cz> References: <20120404210123.GA10850@www.stare.cz> Message-ID: <4F7CB8CD.6010501@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/04/2012 22:01, Jan Stary wrote: [...] >> You'd probably have to create the directory in /Users/yourname > > Huh? That's my $HOME, which obviously exists already. I was referring to the /bin directory not $HOME >> `PATH=$PATH:$HOME/bin` > > That puts it last in the path, which is probably > not what you intended. Your logic there defeats me... Cheers, Phil. - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPfLjLAAoJEKpMeDHWT5ADplYH/1TaFBx2K2TYvk0KvF1vbmLO jgt+K8wsOHErJgMcv3IOS8I86kANKfqs/jaTEx4H0CseohK1MrhU0avo/nnpX9+m uSWdAZMIWsEcozmGrYoxQXdkG/1MMalhpPcF8hMc8KHCjvmL5j9GcQsxdnT6MMgO GMQl/xAzXN5Z1/suQH8T8HlhzR7FJ+eY1cvOXtbslpeQp+N5LhZ8BCacdYyRVBYH DKuz9JREfyhSiLNGBvmNlDBvxQlrdtpAQdrusShxBZRRXN/W6Gq+y9yT6w3O3s6z kmphrmIKSV4msgab3FYzThxJ45mv+2K4epdp61Ps8nNWtJxdz9dRtAldJYTCA3Y= =uSUb -----END PGP SIGNATURE----- From jeremy at lavergne.gotdns.org Wed Apr 4 14:15:13 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 4 Apr 2012 16:15:13 -0500 Subject: /usr/local question In-Reply-To: <4F7CB8CD.6010501@gmail.com> References: <20120404210123.GA10850@www.stare.cz> <4F7CB8CD.6010501@gmail.com> Message-ID: <31BA0D62-59F0-4DD5-BE0F-FA098D7781B3@lavergne.gotdns.org> >>> `PATH=$PATH:$HOME/bin` >> >> That puts it last in the path, which is probably >> not what you intended. > > Your logic there defeats me... Just standard concatenation: it was appended at the end. This doesn't much matter though, since the original thread has nothing to do with $PATH. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From phildobbin at gmail.com Wed Apr 4 14:19:21 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 04 Apr 2012 22:19:21 +0100 Subject: /usr/local question In-Reply-To: <31BA0D62-59F0-4DD5-BE0F-FA098D7781B3@lavergne.gotdns.org> References: <20120404210123.GA10850@www.stare.cz> <4F7CB8CD.6010501@gmail.com> <31BA0D62-59F0-4DD5-BE0F-FA098D7781B3@lavergne.gotdns.org> Message-ID: <4F7CBAD9.7000601@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/04/2012 22:15, Jeremy Lavergne wrote: >>>> `PATH=$PATH:$HOME/bin` >>> >>> That puts it last in the path, which is probably not what you >>> intended. >> >> Your logic there defeats me... > > Just standard concatenation: it was appended at the end. > > This doesn't much matter though, since the original thread has > nothing to do with $PATH. > Ah, I was just using it as an example of the Linux entry in bashrc. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPfLrXAAoJEKpMeDHWT5ADqSsIAJZ9YnH/QQGDbJvkCJ3g2YC9 tXuTXbILZzzwPDbilDSPz939D/KQHAbcdNuvbp3nrN5MaqfLv9j0g7UcSRIitgIS pPN51JSHnXcttcaPFpR54Au/xXoKFX+FAES4UnaQftD20QbFStM1DCMjJiq4v9DM kccuqSJE9Y9fEz9mvJxHoGBP9NSbs9ofRNwDl5eYSLm0h1c0k7n0bNlhZveH2m66 X/qfhUfF/bvgX/DnTqDsqvOy0uHbVw5XQLA+r/5NSWcrG4okd9Tm7FtT3sh7S3Tw ormyEUu1OrZlwrnMQ2PLWH8q6CYfnBvvKLDy9tywhcoOx87Dj9JufE7sgzLJZDc= =gV7o -----END PGP SIGNATURE----- From hans at stare.cz Wed Apr 4 14:20:57 2012 From: hans at stare.cz (Jan Stary) Date: Wed, 4 Apr 2012 23:20:57 +0200 Subject: /usr/local question In-Reply-To: <6ED07085-DCBE-4E28-9FCB-B76084C974FF@lavergne.gotdns.org> References: <20120404210123.GA10850@www.stare.cz> <6ED07085-DCBE-4E28-9FCB-B76084C974FF@lavergne.gotdns.org> Message-ID: <20120404212056.GA19323@www.stare.cz> On Apr 04 16:05:27, Jeremy Lavergne wrote: > > "/usr/local is not a viable choice because some software > > (especially auto* tools from Gnu) look in /usr/local > > as a default location, which means MacPorts can't be > > easily isolated when needed." > > > > I want to kindly ask the person who wrote this to elaborate, > > and be as specific as can be: what exactly does it mean for macports > > to be "isolated", and how exactly does e.g. auto* looking into > > /usr/local stand in the way of it? > > As with the software that magically found its way into /usr/local, how do we stop that very same software from clobbering what MacPorts has installed there? You keep saying that: "the software that magically finds its way to /usr/local". What do you even mean by that? The user installed it there; that's about the only way something gets into /usr/local. And how do we stop the user from rewriting something that is already there? We don't, and we can't. It's the user's responsibility to not be an idiot and rewrite something he has installed himself before. In fact, what difference does "/usr/local or /opt/local" (or any ther prefix for that matter) make in this respect? In the current state of things, how do you stop the user from overwriting something that macports has installed under /opt/local? You don't, because you can't. It's the user's responsibility to not install over something that is already installed (whatever the prefix is). From stephen.langer at nist.gov Wed Apr 4 14:30:07 2012 From: stephen.langer at nist.gov (Stephen Langer) Date: Wed, 4 Apr 2012 17:30:07 -0400 Subject: /usr/local question In-Reply-To: <20120404210123.GA10850@www.stare.cz> References: <20120404210123.GA10850@www.stare.cz> Message-ID: <51DF3D15-D0DB-4ACC-9FC9-36B35459A69F@nist.gov> On Apr 4, 2012, at 5:01 PM, Jan Stary wrote: > What "other various installations", exactly? > Nobody uses more then one port system on a given machine > (not that know about any other beside macports and fink). > So whatever the macports prefix, it will not stomp on > any other port system's installations (or vice versa), > because there is no other port system in use. That leaves > - the MacOS isntallation as shipped by Apple > - manual installations done by the user I have at times installed both fink and macports on the same system, although I always move one of them aside (e.g., mv /sw /sw-save) before using the other. It's nice to be able to check that my software will build against either macports or fink before distributing it to users. Having all macports files sequestered in their own directory is extremely useful. Aside from that objection, I agree with most of your points. It's not feasible to expect that every package is available in macports. Whether you like it or not, sometimes people will have to install something that hasn't been ported. If they want to install it in a system-wide directory, so that it's easily used by many users, /usr/local is the obvious place to put it. There isn't a problem unless they install something in /usr/local that's also provided (in an incompatible version) by macports. That should be the users job to ensure. Macports should warn the user about that, but imposing a blanket ban on /usr/local is a bad idea. > Perhaps this is the right place to think Jeremy and Ryan and the others > for making macports happen in the first place. I agree with that, too. Thanks! -- Steve -- -- EMail: stephen.langer at nist.gov Phone: (301) 975-5423 -- -- http://math.nist.gov/~SLanger/ Fax: (301) 975-3553 -- -- Mail: NIST; 100 Bureau Drive -- Stop 8910; Gaithersburg, Md 20899-8910 -- -- "I don't think this will work. That's why it's science." -- -- Naomi Langer (age 6), 17 Feb 2003 -- From jeremy at lavergne.gotdns.org Wed Apr 4 14:31:03 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 4 Apr 2012 16:31:03 -0500 Subject: /usr/local question In-Reply-To: <20120404212056.GA19323@www.stare.cz> References: <20120404210123.GA10850@www.stare.cz> <6ED07085-DCBE-4E28-9FCB-B76084C974FF@lavergne.gotdns.org> <20120404212056.GA19323@www.stare.cz> Message-ID: <52A55BE2-546E-492B-A030-9B2366F46666@lavergne.gotdns.org> > You keep saying that: "the software that magically finds its way to > /usr/local". What do you even mean by that? The user installed it > there; that's about the only way something gets into /usr/local. The user is typically unaware of where packaged software is installed. You can look at our mounds of trouble tickets that were caused by this specific reason. The user simply ran some installer program, and magic happened. > And how do we stop the user from rewriting something that is already there? > We don't, and we can't. It's the user's responsibility to not be an idiot > and rewrite something he has installed himself before. That is a reason why we shouldn't use /usr/local: users are less to ran an installer that clobbers inside MacPorts-specific directories. > In fact, what difference does "/usr/local or /opt/local" > (or any ther prefix for that matter) make in this respect? > In the current state of things, how do you stop the user > from overwriting something that macports has installed under > /opt/local? There is a huge difference between: * the user explicitly running a command to overwrite MacPorts, and * the user ran an installer that did something somewhere. When the user runs an installer program, chances are it won't install to /opt/local but instead install to /usr/local or /Library. Since /usr/local is a prime target, it would be very likely that users routinely overwrite MacPorts on accident. > You don't, because you can't. It's the user's responsibility > to not install over something that is already installed > (whatever the prefix is). If only all OS X users could know what they were doing. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From domiman at gmail.com Wed Apr 4 14:32:26 2012 From: domiman at gmail.com (Dominik Reichardt) Date: Wed, 4 Apr 2012 23:32:26 +0200 Subject: /usr/local question In-Reply-To: <20120404212056.GA19323@www.stare.cz> References: <20120404210123.GA10850@www.stare.cz> <6ED07085-DCBE-4E28-9FCB-B76084C974FF@lavergne.gotdns.org> <20120404212056.GA19323@www.stare.cz> Message-ID: <560033DB-70B4-4193-8396-431E52AD99CB@gmail.com> On 04.04.2012, at 23:20, Jan Stary wrote: > On Apr 04 16:05:27, Jeremy Lavergne wrote: >>> "/usr/local is not a viable choice because some software >>> (especially auto* tools from Gnu) look in /usr/local >>> as a default location, which means MacPorts can't be >>> easily isolated when needed." >>> >>> I want to kindly ask the person who wrote this to elaborate, >>> and be as specific as can be: what exactly does it mean for macports >>> to be "isolated", and how exactly does e.g. auto* looking into >>> /usr/local stand in the way of it? >> >> As with the software that magically found its way into /usr/local, how do we stop that very same software from clobbering what MacPorts has installed there? > > You keep saying that: "the software that magically finds its way to > /usr/local". What do you even mean by that? The user installed it > there; that's about the only way something gets into /usr/local. > > And how do we stop the user from rewriting something that is already there? > We don't, and we can't. It's the user's responsibility to not be an idiot > and rewrite something he has installed himself before. > > In fact, what difference does "/usr/local or /opt/local" > (or any ther prefix for that matter) make in this respect? > In the current state of things, how do you stop the user > from overwriting something that macports has installed under > /opt/local? > > You don't, because you can't. It's the user's responsibility > to not install over something that is already installed > (whatever the prefix is). All kinds of software do actually install their stuff in /usr/local on OS X. Examples are a libpng framework from http://ethan.tira-thompson.com/Mac_OS_X_Ports.html or the Sane packages you get through following the links on the official sane site (that's the two things that *magically* ended up in my /usr/local). The problem is that a couple of packages just install to /usr/local without explicitly stating that or giving the option to use another prefix. This is something you can't avoid and would mess up MacPorts if it were to use /usr/local (the index of installed ports would no longer match what is *really* there because some software overwrites the existing libs and includes - making it worse by not honoring what the macports user wanted if he chose universal builds, etc...). Not many packages will use /opt/local, the few that do seem to be by rookie packagers that used a MacPorts base to build their package. Never encountered one of those yet. So in the above example this can mess up MacPorts builds when a port relies on libpng and wants the up to date libpng but is forced to use whatever version that is installed in /usr/local because the compiler defaults to that one. Alltogether I wonder what your aim is anyway, you won't change the developers decision to change the prefix after years of using that. Dom From allbery.b at gmail.com Wed Apr 4 14:37:55 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 4 Apr 2012 17:37:55 -0400 Subject: /usr/local question In-Reply-To: <20120404210123.GA10850@www.stare.cz> References: <4F7C9687.5000508@gmail.com> <4F7C95B9.6030309@gmail.com> <7C764DC5-729E-4044-88B6-1C926CE18115@berkeley.edu> <055F6E91-1B2E-4D36-92AB-AA729F14215F@macports.org> <0F7FC290-A8E7-477A-AE92-32096DA95111@macports.org> <2B9C3F3F-0998-490C-967B-F0546ECC2879@slsware.com> <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> <4F7C853B.40807@macports.org> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> Message-ID: Too many outright errors. Please. On Wed, Apr 4, 2012 at 17:01, Jan Stary wrote: > "/opt/local was chosen so as to avoid stomping on other various > installations" > > What "other various installations", exactly? > Any software not part of a package system such as Apple's own, Fink, MacPorts, Homebrew, etc. A highly incomplete ist of specific examples: - Growl extensions (specifically growlnotify installs there) - The official Haskell Platform installer - The official TeXLive installer It's the usual Unixy place for third party software, a point you yourself made at some point; how is it you are now unaware of it? > Nobody uses more then one port system on a given machine > Excuse me? Conflicts between the various installer systems happen fairly often, because people *do* try to use multiple installer systems --- as well as third party software independent of them (as above). > "/usr/local is not a viable choice because some software (especially auto* tools from Gnu) look in /usr/local > as a default location, which means MacPorts can't be > easily isolated when needed." > > I want to kindly ask the person who wrote this to elaborate, > and be as specific as can be: what exactly does it mean for macports > to be "isolated", and how exactly does e.g. auto* looking into > /usr/local stand in the way of it? > So, are you at all familiar with the concept of "repeatable builds"? It is something which has particular importance in the world of packaging systems: it means, among other things, that you can ensure that a package builds the same way and runs the same way on as many systems as possible. MacPorts would not be particularly useful if a port only built properly on its maintainer's machine. Isolation of the package system is part of what makes this possible. "/usr/local is not a viable choice because it is usually reserved > for the given system's admin to install items local to that system, > and tends to be a bad choice to have taken over by a non-system port > system". > > Yes, /usr/local i traditionaly used to install items local to that system. > How does it make it a bad choice for the macports prefix? > The stuff I install from macports IS local to that system! > By that same argument, installing anything via apt-get or yum on Linux should install to /usr/local because you're only installing it locally. You are misunderstanding the point here completely. /usr/local is specifically intended to be left alone by *any* package system. This includes MacPorts. > > This means incorrect libraries and headers > > that magically find their way in there via other installers > > will be used instead of the software that was actually intended. > > Whoa, stop right there. This paragraph makes no argument against > /usr/local, > it's just dissing it with meanlessly negative adjectives. > If you still believe this, reread my previous statements until you understand them. > The definition of /usr/local is a directory where users put things > > they've compiled themselves; things that did not come from the OS vendor. > > EXACTLY - such as the macports stuff! That's what I have compiled myself > (with the help of a Portfile); that's what did not come from the OS vendor. > See? > You have lost track of MacPorts being a package system. If you built it yourself, not as part of a package system, that's what /usr/local is for. No package system should be touching /usr/local. Again, this is just bad-mouthing. Why would anything under /usr/local > (or anything outside of macports) BE a problem, solely on the grounds > it is under /usr/local? Really? What "rogue software"? > ...and the fact that you keep repeating this indicates to me that you are not at all experienced in the concept of packaging, or package systems. You know about your own machine, you only care about your own machine; this is fine for you, but you fail to understand that the restrictions MacPorts operates under ensure that it will work on your machine instead of just the port maintainer's machine. Ironically, making the changes you claim are the only way that makes sense would probably result in MacPorts being unusable for you. (I am, by the way, seriously considering saving your message as a near perfect example of why developers so often produce code that works on their development machines but not in production.) -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From dluke at geeklair.net Wed Apr 4 14:38:59 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Wed, 4 Apr 2012 17:38:59 -0400 Subject: /usr/local question In-Reply-To: <20120404210123.GA10850@www.stare.cz> References: <20120404210123.GA10850@www.stare.cz> Message-ID: On Apr 4, 2012, at 5:01 PM, Jan Stary wrote: > Using /opt/local as the default prefix is an attempt > to save the user from himself, [snip] There are lots of good reasons to use a $prefix other than /usr/local If you care, you can probably find all of the reasoning in the mailing list archives (hint: a long long time ago, /usr/local was the default prefix). It seems to make you mad that you "can't" use /usr/local ... you actually can if you really want to (I ran that way for a long time), but there's not really a good reason to. I think there's an autoconf check there now that "prevents" you from doing ./configure --prefix=/usr/local with the source you get (but if you can't figure out how to get around that, you _really_ shouldn't be trying to do it). Don't expect help from others here if you decide to run that way, though. [snip] > (*) Yes, the stuff under /usr/local will be used then. > That's why the user installed it in there; because > that's what he "actually intended". You haven't seen the number of times people open tickets saying "this port is _broken_" because they have some broken header or library installed in /usr/local >> This might be overkill, but have you considered adding code to your scripts >> to mv /usr/local to /usr/localqw (and back at the end)? >> Or maybe just the lib dir? > > Thus crippling all my manual installations, > such as the backup cronjob script that was about to run, > (before the electricity dies out an hour from now)? That was offered as a solution to having stuff in /usr/local that is breaking some port you are trying to build. If you know what you are doing, you can have stuff in /usr/local without too many issues (and you can fix things if/when they break). If you can't figure out how to make things work, then that is a simple workaround. If you don't like it, I'm sure you can hire someone to figure things out for you instead ;-) > Perhaps this is the right place to think Jeremy and Ryan and the others > for making macports happen in the first place. I hope this comes over > as politely as it is intended. I genuinely do think that /usr/local > would be a better prefix. it's not. > Please point to where I am wrong, > and please be very specific and give examples. please see the mailing list archives. -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From hans at stare.cz Wed Apr 4 14:48:37 2012 From: hans at stare.cz (Jan Stary) Date: Wed, 4 Apr 2012 23:48:37 +0200 Subject: /usr/local question In-Reply-To: <560033DB-70B4-4193-8396-431E52AD99CB@gmail.com> References: <20120404210123.GA10850@www.stare.cz> <6ED07085-DCBE-4E28-9FCB-B76084C974FF@lavergne.gotdns.org> <20120404212056.GA19323@www.stare.cz> <560033DB-70B4-4193-8396-431E52AD99CB@gmail.com> Message-ID: <20120404214836.GB20243@www.stare.cz> On Apr 04 23:32:26, Dominik Reichardt wrote: > > On 04.04.2012, at 23:20, Jan Stary wrote: > > > On Apr 04 16:05:27, Jeremy Lavergne wrote: > >>> "/usr/local is not a viable choice because some software > >>> (especially auto* tools from Gnu) look in /usr/local > >>> as a default location, which means MacPorts can't be > >>> easily isolated when needed." > >>> > >>> I want to kindly ask the person who wrote this to elaborate, > >>> and be as specific as can be: what exactly does it mean for macports > >>> to be "isolated", and how exactly does e.g. auto* looking into > >>> /usr/local stand in the way of it? > >> > >> As with the software that magically found its way into /usr/local, how do we stop that very same software from clobbering what MacPorts has installed there? > > > > You keep saying that: "the software that magically finds its way to > > /usr/local". What do you even mean by that? The user installed it > > there; that's about the only way something gets into /usr/local. > > > > And how do we stop the user from rewriting something that is already there? > > We don't, and we can't. It's the user's responsibility to not be an idiot > > and rewrite something he has installed himself before. > > > > In fact, what difference does "/usr/local or /opt/local" > > (or any ther prefix for that matter) make in this respect? > > In the current state of things, how do you stop the user > > from overwriting something that macports has installed under > > /opt/local? > > > > You don't, because you can't. It's the user's responsibility > > to not install over something that is already installed > > (whatever the prefix is). > > All kinds of software do actually install their stuff in /usr/local on OS X. > Examples are a libpng framework from > http://ethan.tira-thompson.com/Mac_OS_X_Ports.html (1) Why would anyone use this when libpng is in macports? (2) The site itself says "You will have the opportunity to select [the destdir] during installation". > or the Sane packages you get through following the links > on the official sane site (1) Why would you use this when sane is in macports? (2) http://ljm.home.xs4all.nl/SANE-faq.html#35 "SANE sits under /usr/local." > (that's the two things that *magically* ended up in my /usr/local). No it didn't magically ended up there. You installed it there. And you were told before you installed it there that it will end up there. I see what you mean, but none of those is an example. > The problem is that a couple of packages just install to /usr/local without explicitly stating that or giving the option to use another prefix. This is something you can't avoid and would mess up MacPorts if it were to use /usr/local. That's right. With /opt/local you can't avoid it ether, can you? > So in the above example this can mess up MacPorts builds when a port > relies on libpng and wants the up to date libpng When a port requires libpng, it says so in its Portfile; and macports will install libpng (as present in macports, not http://ethan.tira-thompson.com/Mac_OS_X_Ports.html) as a dependency. From domiman at gmail.com Wed Apr 4 15:03:54 2012 From: domiman at gmail.com (Dominik Reichardt) Date: Thu, 5 Apr 2012 00:03:54 +0200 Subject: /usr/local question In-Reply-To: <20120404214836.GB20243@www.stare.cz> References: <20120404210123.GA10850@www.stare.cz> <6ED07085-DCBE-4E28-9FCB-B76084C974FF@lavergne.gotdns.org> <20120404212056.GA19323@www.stare.cz> <560033DB-70B4-4193-8396-431E52AD99CB@gmail.com> <20120404214836.GB20243@www.stare.cz> Message-ID: On 04.04.2012, at 23:48, Jan Stary wrote: > On Apr 04 23:32:26, Dominik Reichardt wrote: >> >> On 04.04.2012, at 23:20, Jan Stary wrote: >> >>> On Apr 04 16:05:27, Jeremy Lavergne wrote: >>>>> "/usr/local is not a viable choice because some software >>>>> (especially auto* tools from Gnu) look in /usr/local >>>>> as a default location, which means MacPorts can't be >>>>> easily isolated when needed." >>>>> >>>>> I want to kindly ask the person who wrote this to elaborate, >>>>> and be as specific as can be: what exactly does it mean for macports >>>>> to be "isolated", and how exactly does e.g. auto* looking into >>>>> /usr/local stand in the way of it? >>>> >>>> As with the software that magically found its way into /usr/local, how do we stop that very same software from clobbering what MacPorts has installed there? >>> >>> You keep saying that: "the software that magically finds its way to >>> /usr/local". What do you even mean by that? The user installed it >>> there; that's about the only way something gets into /usr/local. >>> >>> And how do we stop the user from rewriting something that is already there? >>> We don't, and we can't. It's the user's responsibility to not be an idiot >>> and rewrite something he has installed himself before. >>> >>> In fact, what difference does "/usr/local or /opt/local" >>> (or any ther prefix for that matter) make in this respect? >>> In the current state of things, how do you stop the user >>> from overwriting something that macports has installed under >>> /opt/local? >>> >>> You don't, because you can't. It's the user's responsibility >>> to not install over something that is already installed >>> (whatever the prefix is). >> >> All kinds of software do actually install their stuff in /usr/local on OS X. >> Examples are a libpng framework from >> http://ethan.tira-thompson.com/Mac_OS_X_Ports.html > > (1) Why would anyone use this when libpng is in macports? Because not everybody is using their mac as you do. I needed the *framework* to provide macports independent snapshots of a game engine and to give people *easy* instructions that do not involve getting macports > (2) The site itself says "You will have the opportunity to select > [the destdir] during installation". > that you can select the destination dir seems new to me. Since I'm only using an older package that included ppc arch I no longer keep up to date with this. >> or the Sane packages you get through following the links >> on the official sane site > > (1) Why would you use this when sane is in macports? Independence of macports. > (2) http://ljm.home.xs4all.nl/SANE-faq.html#35 > "SANE sits under /usr/local." > >> (that's the two things that *magically* ended up in my /usr/local). > > No it didn't magically ended up there. You installed it there. > And you were told before you installed it there that it will > end up there. I didn't say that, I said *magically*. Of course I know there was no magic involved. Phew... > > I see what you mean, but none of those is an example. > If you see what I mean why are you a ... about it? I'm not trying to get into a wise guy discussion. If *you* want this, let me know so I can let you talk to yourself. >> The problem is that a couple of packages just install to /usr/local without explicitly stating that or giving the option to use another prefix. This is something you can't avoid and would mess up MacPorts if it were to use /usr/local. > > That's right. With /opt/local you can't avoid it ether, can you? No, but no software I know about is actually doing it. > >> So in the above example this can mess up MacPorts builds when a port >> relies on libpng and wants the up to date libpng > > When a port requires libpng, it says so in its Portfile; > and macports will install libpng (as present in macports, > not http://ethan.tira-thompson.com/Mac_OS_X_Ports.html) > as a dependency. You don't seem to understand. Of course MacPorts WILL install libpng in /opt/local and not http://ethan.tira-thompson.com/Mac_OS_X_Ports.html (I'm wondering what gave yu the impression that I thought MacPorts would do this...) But when the port that requires libpng is then built the compiler may chose the libpng that got installed in /usr/local. I don't know what triggers this, I guess all ports that use autotools and/or libtool might not fall in that trap or I'd have stepped into that pile before. Dom From hans at stare.cz Wed Apr 4 15:19:50 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 00:19:50 +0200 Subject: /usr/local question In-Reply-To: References: <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> <4F7C853B.40807@macports.org> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> Message-ID: <20120404221949.GC20243@www.stare.cz> > It's the usual Unixy place for third party software, a point you yourself > made at some point; how is it you are now unaware of it? Oh I am aware of it, and specifically mention it about two lines below the point where you cut my message, as you know. > > Nobody uses more then one port system on a given machine > > Excuse me? Conflicts between the various installer systems happen fairly > often, because people *do* try to use multiple installer systems --- as > well as third party software independent of them (as above). Do you mean that someone uses, say, both macports and fink? > > "/usr/local is not a viable choice because some software > > (especially auto* tools from Gnu) look in /usr/local > > as a default location, which means MacPorts can't be > > easily isolated when needed." > > > > I want to kindly ask the person who wrote this to elaborate, > > and be as specific as can be: what exactly does it mean for macports > > to be "isolated", and how exactly does e.g. auto* looking into > > /usr/local stand in the way of it? > > So, are you at all familiar with the concept of "repeatable builds"? It is > something which has particular importance in the world of packaging > systems: it means, among other things, that you can ensure that a package > builds the same way and runs the same way on as many systems as possible. > MacPorts would not be particularly useful if a port only built properly on > its maintainer's machine. Yes, I understand this. What I don't understand is how having /opt/local as a prefix makes this better than having /usr/local (or whatever else). > Isolation of the package system is part of what makes this possible. In what way exactly does having /opt/local make this possible as opposed to having /usr/local, which would not make it possible? (I'm not saying it doesn't; it's an honest question.) > "/usr/local is not a viable choice because it is usually reserved > > for the given system's admin to install items local to that system, > > and tends to be a bad choice to have taken over by a non-system port > > system". > > > > Yes, /usr/local i traditionaly used to install items local to that system. > > How does it make it a bad choice for the macports prefix? > > The stuff I install from macports IS local to that system! > > > By that same argument, installing anything via apt-get or yum on Linux > should install to /usr/local because you're only installing it locally. This is exactly how OpenBSD's pkg_add works, for example: everything goes under /usr/local. I still don't see how that would be wrong here (besides a user himself stupidly rewriting things). > You are misunderstanding the point here completely. /usr/local is > specifically intended to be left alone by *any* package system. This > includes MacPorts. Where did you get this? This is what hier(7) says about /usr/local on my 10.5.8: executables, libraries, etc. not included by the basic operating system How does that exclude stuff from any package system? > > The definition of /usr/local is a directory where users put things > > > they've compiled themselves; things that did not come from the OS vendor. > > > > EXACTLY - such as the macports stuff! That's what I have compiled myself > > (with the help of a Portfile); that's what did not come from the OS vendor. > > See? > > > > You have lost track of MacPorts being a package system. If you built it > yourself, not as part of a package system, that's what /usr/local is for. Me doing './configure ; make ; make install' is a package system. (Not a very good one.) Does that prohibit me from /usr/local? No. Compiling something with macports (or fink or whatever) IS building it myself - except I didn't type the 'make' command with my fingers, it was read from a template. If I manually followed all the steps that macports does when building a package, would I be bulding it myself? As "opposed" to having it built by macports? > No package system should be touching /usr/local. Where did you get this? No really, where does this come from? > Again, this is just bad-mouthing. Why would anything under /usr/local > > (or anything outside of macports) BE a problem, solely on the grounds > > it is under /usr/local? Really? What "rogue software"? > > > ...and the fact that you keep repeating this indicates to me that you are > not at all experienced in the concept of packaging, or package systems. > You know about your own machine, you only care about your own machine; > this is fine for you, but you fail to understand that the restrictions > MacPorts operates under ensure that it will work on your machine instead of > just the port maintainer's machine. That's right: I don't understand how having a default prefix of /opt/local (or /something/deffinitely/other/than/usr/local) ensures that. > Ironically, making the changes you > claim are the only way that makes sense would probably result in MacPorts > being unusable for you. Show me. If the default prefix changed to /usr/local, what exactly would break for me? (No irony here. I really want to know, and appreciate the time you spent answering my doubts.) From hans at stare.cz Wed Apr 4 15:39:15 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 00:39:15 +0200 Subject: /usr/local question In-Reply-To: References: <20120404210123.GA10850@www.stare.cz> <6ED07085-DCBE-4E28-9FCB-B76084C974FF@lavergne.gotdns.org> <20120404212056.GA19323@www.stare.cz> <560033DB-70B4-4193-8396-431E52AD99CB@gmail.com> <20120404214836.GB20243@www.stare.cz> Message-ID: <20120404223914.GD20243@www.stare.cz> > > No it didn't magically ended up there. You installed it there. > > And you were told before you installed it there that it will > > end up there. > > I didn't say that, I said *magically*. > Of course I know there was no magic involved. Phew... Jesus, I am not implying you think it was magic. I am just pointing out that you installed it there yourself, and if it broke things, that's not a failure of the packaging system. > Of course MacPorts WILL install libpng in /opt/local. > But when the port that requires libpng is then built the compiler may chose > the libpng that got installed in /usr/local. Yes. And if /usr/local was where macports installs its stuff, then this would mean that the compiler picked up what macports installed, by default. From pixilla at macports.org Wed Apr 4 15:51:20 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Wed, 4 Apr 2012 15:51:20 -0700 Subject: /usr/local question In-Reply-To: <20120404223914.GD20243@www.stare.cz> References: <20120404210123.GA10850@www.stare.cz> <6ED07085-DCBE-4E28-9FCB-B76084C974FF@lavergne.gotdns.org> <20120404212056.GA19323@www.stare.cz> <560033DB-70B4-4193-8396-431E52AD99CB@gmail.com> <20120404214836.GB20243@www.stare.cz> <20120404223914.GD20243@www.stare.cz> Message-ID: <686FFFA9-04C9-4593-8378-7D776DF94A7C@macports.org> On Apr 4, 2012, at 3:39 PM, Jan Stary wrote: >>> No it didn't magically ended up there. You installed it there. >>> And you were told before you installed it there that it will >>> end up there. >> >> I didn't say that, I said *magically*. >> Of course I know there was no magic involved. Phew... > > Jesus, I am not implying you think it was magic. > I am just pointing out that you installed it there yourself, > and if it broke things, that's not a failure of the packaging system. > >> Of course MacPorts WILL install libpng in /opt/local. >> But when the port that requires libpng is then built the compiler may chose >> the libpng that got installed in /usr/local. > > Yes. And if /usr/local was where macports installs its stuff, > then this would mean that the compiler picked up what macports > installed, by default. When MacPorts is prefixed in /opt/local and some process installs files to /usr/local it is easy to move /usr/local out of the way to solve MacPorts installation issues. If MacPorts is prefixed in /usr/local this would be impossible. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From hans at stare.cz Wed Apr 4 15:53:53 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 00:53:53 +0200 Subject: /usr/local question In-Reply-To: <52A55BE2-546E-492B-A030-9B2366F46666@lavergne.gotdns.org> Message-ID: <20120404225351.GA14994@www.stare.cz> > The user does not know where they installs things. > Packaged installers, the users just click through. > The user is typically unaware of where packaged software is installed. You can look at our mounds of trouble tickets that were caused by this specific reason. > The user simply ran some installer program, and magic happened. > > And how do we stop the user from rewriting something that is already there? > > We don't, and we can't. It's the user's responsibility to not be an idiot > > and rewrite something he has installed himself before. > > That is a reason why we shouldn't use /usr/local: users are less to ran an installer that clobbers inside MacPorts-specific directories. > There is a huge difference between: > * the user explicitly running a command to overwrite MacPorts, and > * the user ran an installer that did something somewhere. > > When the user runs an installer program, chances are it won't install to /opt/local but instead install to /usr/local or /Library. > Since /usr/local is a prime target, it would be very likely that users routinely overwrite MacPorts on accident. OK. This convinces me that /usr/local would not be good. Thank you for your time. From jonesc at hep.phy.cam.ac.uk Wed Apr 4 15:57:22 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Wed, 4 Apr 2012 23:57:22 +0100 Subject: /usr/local question In-Reply-To: <20120404210123.GA10850@www.stare.cz> References: <20120404210123.GA10850@www.stare.cz> Message-ID: Hi, > On Apr 04 11:26:14, Jeremy Lavergne wrote: >> /usr/local is horrible because it takes precedence >> over everything else on your system > > Yes, it takes precedence. That's the point: to have a place where > things are supposed to be installed. Why does it make /usr/local "horrible"? > How would that be less "horrible" if it was any other directory? > >> This means incorrect libraries and headers >> that magically find their way in there via other installers >> will be used instead of the software that was actually intended. > > Whoa, stop right there. This paragraph makes no argument against /usr/local, > it's just dissing it with meanlessly negative adjectives. > > (*) What "incorrect libraries and headers"? > The headers and libraries I install under /usr/local (or anywhere else, > for that matter) manually (or any other way, for that matter) > are no more or less "correct" than those installed by macports > (or any other installer, for that matter). > > (*) How exactly do they "magically find their way" into /usr/local? > The user installs it there! > > (*) Yes, the stuff under /usr/local will be used then. > That's why the user installed it in there; because > that's what he "actually intended". I think you are missing an important point. MacPorts has a hard enough time making sure its own internal ecosystem is consistent and works with itself. Making sure all the various versions of the packages MacPorts has available are consistent and compatible with themselves is a massive job. Just because you have installed something in /usr/local, and think it is the version you want used, does *not* mean that version is compatible with what MacPorts needs, up to date, or plain working at all. Macports tends to keep itself up to date, more or less, but it has absolutely no way to know whether *you* are doing the same for what you put in /usr/local More over, there are some packages MacPorts provides that conflict with each other. You *cannot* have both installed at once. MacPorts provides both, so the user can decide. Given all of this, it is I think unreasonable to expect MacPorts to be compatible with whatever it happens to find in /usr/local. It *has* to have complete control over what it uses, in order to be able to have some chance of making sure things work OK. Given the way, as others have described, /usr/local finds its way into various compilers and utilities, whether you want it to or not, the only approach I can see MacPorts taking is leaving it up to the user. If a problem occurs, and that problem is due to /usr/local, it is I think completely reasonable for the response to be "try again without whatever you have in /usr/local". cheers Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From jonesc at hep.phy.cam.ac.uk Wed Apr 4 16:08:41 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Thu, 5 Apr 2012 00:08:41 +0100 Subject: /usr/local question In-Reply-To: <20120404221949.GC20243@www.stare.cz> References: <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> <4F7C853B.40807@macports.org> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> Message-ID: <20EE7DEA-71B0-4B61-ADFB-F762C92EFD9A@hep.phy.cam.ac.uk> Hi, > Yes, I understand this. What I don't understand is how > having /opt/local as a prefix makes this better than > having /usr/local (or whatever else). Its just statistics. /usr/local is a relatively common place for third party applications to dump stuff, so usin git you are likely to conflict, sooner or later. /opt/local is much less likely, whilst still being not being a totally wacky location... MacPorts does provide a means to set its installation root, so if *you* really want to use /usr/local you can. Similarly you could use /opt/I/bet/no/one/will/ever/find/this/ to be completely safe ? MacPorts devs only fully support /opt/local, as that is what they recommend and the vast majority of people use, so is most tested. Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From gkshenaut at ucdavis.edu Wed Apr 4 16:37:11 2012 From: gkshenaut at ucdavis.edu (Gregory Shenaut) Date: Wed, 4 Apr 2012 16:37:11 -0700 Subject: /usr/local question In-Reply-To: <20EE7DEA-71B0-4B61-ADFB-F762C92EFD9A@hep.phy.cam.ac.uk> References: <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> <4F7C853B.40807@macports.org> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20EE7DEA-71B0-4B61-ADFB-F762C92EFD9A@hep.phy.cam.ac.uk> Message-ID: <6D0444CD-F76D-42F5-B2BD-36E8F4B545E6@ucdavis.edu> This ksh command line: for y in ${PATH//:/ } ; do for x in "$y"/* ; do if [[ -r $x ]] ; then strings < $x | grep -sq "/usr/local" && print `basename $x` ; fi ; done ; done | sort -u | wc -l produces 123 hits on my system. The same command, but using /opt/local, produces 834. Only 28 commands are in both lists. Greg Shenaut -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4829 bytes Desc: not available URL: From allbery.b at gmail.com Wed Apr 4 18:16:04 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 4 Apr 2012 21:16:04 -0400 Subject: /usr/local question In-Reply-To: <20120404221949.GC20243@www.stare.cz> References: <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> <4F7C853B.40807@macports.org> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> Message-ID: On Wed, Apr 4, 2012 at 18:19, Jan Stary wrote: > > It's the usual Unixy place for third party software, a point you yourself > > made at some point; how is it you are now unaware of it? > > Oh I am aware of it, and specifically mention it about > two lines below the point where you cut my message, as you know. > Yes, so why are you so confused about it? > > Nobody uses more then one port system on a given machine > > > > Excuse me? Conflicts between the various installer systems happen fairly > > often, because people *do* try to use multiple installer systems --- as > > well as third party software independent of them (as above). > > Do you mean that someone uses, say, both macports and fink? > Or macports and homebrew, or fink and homebrew, absolutely yes. It's a bad idea but it's a common one (and one which homebrew tries to encourage, often with very unfortunate results, although I gather they're learning the hard way the lesson you seem to be going out of your way to not figure out). > > > > "/usr/local is not a viable choice because some software > > > > (especially auto* tools from Gnu) look in /usr/local > > > as a default location, which means MacPorts can't be > > > easily isolated when needed." > > > > > > I want to kindly ask the person who wrote this to elaborate, > > > and be as specific as can be: what exactly does it mean for macports > > > to be "isolated", and how exactly does e.g. auto* looking into > > > /usr/local stand in the way of it? > > > > So, are you at all familiar with the concept of "repeatable builds"? It > is > > something which has particular importance in the world of packaging > > systems: it means, among other things, that you can ensure that a > package > > builds the same way and runs the same way on as many systems as possible. > > MacPorts would not be particularly useful if a port only built properly > on > > its maintainer's machine. > > Yes, I understand this. What I don't understand is how > having /opt/local as a prefix makes this better than > having /usr/local (or whatever else). > That is extremely evident. If I keep MacPorts in its own prefix, it is easier to ensure that other software on my system does not get mixed up in a build. As a port maintainer, this means I can produce a port that does not accidentally depend on software that MacPorts doesn't know about, which would lead to other people who try to install my port getting unexpected errors because they don't have that software installed, or (much harder to diagnose) have the wrong version of it installed. > > > Isolation of the package system is part of what makes this possible. > > In what way exactly does having /opt/local make this possible > as opposed to having /usr/local, which would not make it possible? > Because, as you repeatedly point out, *other* software (not related to MacPorts) is also installed in that location. If it's all intermingled, I can't reliably keep it from being found and used when building software for MacPorts. If MacPorts is in its own tree, I can at absolute worst move other trees to archival storage (but usually just rename them to something that won't be searched automatically the way /usr/local is) and now I can do a build which I *know* doesn't depend on some other software I'd forgotten about. This is important if I intend that build (or in the case of MacPorts, the Portfile that does the build) to be usable by other people on random other machines. This is what "repeatable build" is about. > > "/usr/local is not a viable choice because it is usually reserved > > > for the given system's admin to install items local to that system, > > > and tends to be a bad choice to have taken over by a non-system port > > > system". > > > > > > Yes, /usr/local i traditionaly used to install items local to that > system. > > > How does it make it a bad choice for the macports prefix? > > > The stuff I install from macports IS local to that system! > > > > > By that same argument, installing anything via apt-get or yum on Linux > > should install to /usr/local because you're only installing it locally. > > This is exactly how OpenBSD's pkg_add works, for example: > I know; FreeBSD ports does the same thing. And it causes problems quite often when third party packages are also installed under /usr/local. MacPorts changed to /opt/local in part *because* of that experience; I suspect the BSDs would change as well if it wouldn't cause significant pain to users. > > You are misunderstanding the point here completely. /usr/local is > > specifically intended to be left alone by *any* package system. This > > includes MacPorts. > > Where did you get this? > This is what hier(7) says about /usr/local on my 10.5.8: > > executables, libraries, etc. > not included by the basic operating system > > How does that exclude stuff from any package system? > This is based on the BSD model, which as I just described above is actually fairly broken. See for comparison what Linux's FHS has to say about it (FHS also learned from BSD's mistake). When I described repeatable builds above, I explained in practice why this distinction is important. > > > The definition of /usr/local is a directory where users put things > > > > they've compiled themselves; things that did not come from the OS > vendor. > > > > > > EXACTLY - such as the macports stuff! That's what I have compiled > myself > > > (with the help of a Portfile); that's what did not come from the OS > vendor. > > > See? > > > > > > > You have lost track of MacPorts being a package system. If you built it > > yourself, not as part of a package system, that's what /usr/local is for. > > Me doing './configure ; make ; make install' is a package system. > You have an odd definition of "package system", then, which does not match the one that is in common use. If you're going to quibble on definitions then this discussion will go precisely nowhere. Compiling something with macports (or fink or whatever) > IS building it myself - except I didn't type the 'make' command with my fingers, it was read from a template. > In some sense it is, if you want to be brutally and uselessly pedantic, yes. The question is, do you expect it to work exactly the same way as the configure;make;make install method does, or do you have some different expectation? Most people expect fink or macports, etc. to 1. ensure that all dependencies are present 2. ensure that no conflicting packages are present 3. keep track of the installation so that it can be uninstalled or upgraded as necessary (This, btw, is a minimal definition of "package system" as used previously. Again, if you do not accept this definition, then the discussion is over; you want something that is not MacPorts or Fink, and I suggest you simply install all your own software instead of trying to force MacPorts to stop being a package system.) Whereas with the configure;make;make install method, all of that is on you to deal with. If I manually followed all the steps that macports does > when building a package, would I be bulding it myself? > As "opposed" to having it built by macports? > This only makes sense to me if you think "all the steps" are configure;make;make install. Then again, it's also clear you don't think keeping track of install locations and versions has any value whatsoever, so maybe that *is* "all the steps" to your mind; again, this means you do not want MacPorts. > > No package system should be touching /usr/local. > > Where did you get this? No really, where does this come from? > Years of experience by most people who have to manage anything larger than their one home system, as incorporated into such documents as Linux FSSTND. > Again, this is just bad-mouthing. Why would anything under /usr/local > > > (or anything outside of macports) BE a problem, solely on the grounds > > > it is under /usr/local? Really? What "rogue software"? > > > > > ...and the fact that you keep repeating this indicates to me that you are > > not at all experienced in the concept of packaging, or package systems. > > You know about your own machine, you only care about your own machine; > > this is fine for you, but you fail to understand that the restrictions > > MacPorts operates under ensure that it will work on your machine instead > of > > just the port maintainer's machine. > > That's right: I don't understand how having a default prefix > of /opt/local (or /something/deffinitely/other/than/usr/local) > ensures that. > > > Ironically, making the changes you > > claim are the only way that makes sense would probably result in MacPorts > > being unusable for you. > > Show me. If the default prefix changed to /usr/local, > what exactly would break for me? > I hope I answered this sufficiently above. If I haven't, then suffice it to say that MacPorts is not for you and you should stick to installing your own software. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From allbery.b at gmail.com Wed Apr 4 18:20:00 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 4 Apr 2012 21:20:00 -0400 Subject: /usr/local question In-Reply-To: <20EE7DEA-71B0-4B61-ADFB-F762C92EFD9A@hep.phy.cam.ac.uk> References: <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> <4F7C853B.40807@macports.org> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20EE7DEA-71B0-4B61-ADFB-F762C92EFD9A@hep.phy.cam.ac.uk> Message-ID: On Wed, Apr 4, 2012 at 19:08, Chris Jones wrote: > MacPorts does provide a means to set its installation root, so if *you* > really want to use /usr/local you can. Similarly you could use > /opt/I/bet/no/one/will/ever/find/this/ to be completely safe ? > Actually, I think it specifically refuses /usr/local (you'd have to edit the script to enable that particular flavor of foot-shooting). -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From trog24 at comcast.net Wed Apr 4 20:53:09 2012 From: trog24 at comcast.net (Frank J. R. Hanstick) Date: Wed, 4 Apr 2012 20:53:09 -0700 Subject: /usr/local question In-Reply-To: <4F7C9687.5000508@gmail.com> References: <33545041.post@talk.nabble.com> <9E414E26-8384-4898-99EB-88ECBD10C17C@macports.org> <627A29ED-FF00-4609-91E3-3402DD014FE0@berkeley.edu> <4F7C107A.4040205@hep.phy.cam.ac.uk> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <055F6E91-1B2E-4D36-92AB-AA729F14215F@macports.org> <7C764DC5-729E-4044-88B6-1C926CE18115@berkeley.edu> <4F7C95B9.6030309@gmail.com> <4F7C9687.5000508@gmail.com> Message-ID: <4F0F3581-4EFE-4763-9985-79A83FD973BA@comcast.net> Hello, There is a problem with having many locations for third party installed software and that is dependencies during build and paths to those dependencies. Sometimes the problem also crops up when applications are opened depending on how the library links are sought (this is very very rare; but, does occur). If the build path is hard specified for dependencies, then, there is no problem because the dependency search will find or not find the dependency at the proper location; otherwise, PATH is used and the order of search of PATH will determine in which location a particular dependency is found to be used, a problem if there is more than one version of a dependency active at a time for the different installed port. I have actually had this happen a couple of times when trying to install non-MacPorts third party software into usr/local and having the dependency found in opt/local. On Apr 4, 2012, at 11:44 AM, Phil Dobbin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 04/04/2012 19:40, Phil Dobbin wrote: >> On 04/04/2012 18:30, Saiwing Yeung wrote: >>> On Apr 4, 2012, at 9:19 AM, Ryan Schmidt wrote: >>>> On Apr 4, 2012, at 11:16, Saiwing Yeung wrote: >>>> >>>>> oh... I didn't know that. I just took a look in my >>>>> /usr/local, and found a whole bunch of stuff for texlive, and >>>>> then various programs that I remember installing. >>>>> >>>>> is there a recommended place for me to put these programs? >>>> >>>> Any other place on the hard drive that doesn't already have a >>>> defined meaning. So any prefix other than /, /usr, /usr/local, >>>> /opt/local or /sw should be fine. >> >>> Thanks! >> >>> In addition, I agree with Jan Stary that it would be nice to >>> amend the #defaultprefix: section in the FAQ. If possible, it >>> would also be nice to also add this to the "A port fails to >>> build. What should I do?" section in the FAQ, as the section >>> title of #defaultprefix is "Why is /opt/local the default install >>> location for MacPorts?" and if a port fails to build for me, I >>> probably wouldn't realize that pertinent information is in that >>> section. >> >> If you want to install in directories other than /usr/local to >> avoid any conflicts with Mac Ports, you could use the other *nix >> location $HOME/bin. >> >> On most, if not all, Linux distros that PATH is already present in >> ~/.bashrc. >> >> You'd probably have to create the directory in /Users/yourname as >> well as add the above line to your bash_profile but I use $HOME/bin >> a lot on OS X & Linux. It also has the added advantage of not >> having to use sudo when installing stuff. > > the above (non-existent) line of course being: > > `PATH=$PATH:$HOME/bin` > > :-) > > - -- > But masters, remember that I am an ass. > Though it be not written down, > yet forget not that I am an ass. > > Wm. Shakespeare - Much Ado About Nothing > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJPfJaEAAoJEKpMeDHWT5ADxUcIAJXB53+Kh0Pqweu2TJcwdJYS > Yko/t3Bg2cnfT7QZQ0+ZzVulmU5UUsQ7TkgU4b4alVzTDwzyePsU/bGe+DTGLAjZ > jH40FgQz8Bf1odJE7akSzPc3QGpF+BfpU0OOVC+nZ5JKb10nt+GG8KDU3EEZVhEH > KH0Pq6u03VeKv1cLFaUQa3Do8cjas9tbRcZEMirykKV7i5r5Vu8uj6bqraA/yHyD > dWKoE7yHROLRtkwfdur6kiqA2+V2UZCkwGcuxCOnGPJ6ERc1dSrhlr2AKTGmx9LZ > u6NBSYN1FDjVTwCjBASfplzc4F0f2ZASPJMcVbyOEe0Rdb7aAZvoYGPloDwki8U= > =Jh6Q > -----END PGP SIGNATURE----- > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users Frank J. R. Hanstick trog24 at comcast.net From domiman at gmail.com Wed Apr 4 23:42:14 2012 From: domiman at gmail.com (Dominik Reichardt) Date: Thu, 5 Apr 2012 08:42:14 +0200 Subject: /usr/local question In-Reply-To: <20120404223914.GD20243@www.stare.cz> References: <20120404210123.GA10850@www.stare.cz> <6ED07085-DCBE-4E28-9FCB-B76084C974FF@lavergne.gotdns.org> <20120404212056.GA19323@www.stare.cz> <560033DB-70B4-4193-8396-431E52AD99CB@gmail.com> <20120404214836.GB20243@www.stare.cz> <20120404223914.GD20243@www.stare.cz> Message-ID: <936D9240-E617-40C0-AF86-783B574B70E6@gmail.com> Am 05.04.2012 um 00:39 schrieb Jan Stary : >>> No it didn't magically ended up there. You installed it there. >>> And you were told before you installed it there that it will >>> end up there. >> >> I didn't say that, I said *magically*. >> Of course I know there was no magic involved. Phew... > > Jesus, I am not implying you think it was magic. > You were behaving like a pedantic wise guy, bordering on trolling, so why not have fun with you. > >> Of course MacPorts WILL install libpng in /opt/local. >> But when the port that requires libpng is then built the compiler may chose >> the libpng that got installed in /usr/local. > > Yes. And if /usr/local was where macports installs its stuff, > then this would mean that the compiler picked up what macports > installed, Yes, we know that, we wrote so a couple of times. The problem arises from all other stuff that gets installed there and would silently overwrite stuff. Or from stuff that got installed there before MacPort was even installed. Most people don't keep track of what they installed over time. That's why they use a package manager like MacPorts From hans at stare.cz Thu Apr 5 00:00:44 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 09:00:44 +0200 Subject: /usr/local question In-Reply-To: References: <4F7C853B.40807@macports.org> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> Message-ID: <20120405070041.GA7415@www.stare.cz> > If I keep MacPorts in its own prefix, it is easier to ensure that other > software on my system does not get mixed up in a build. No, not really. You have macports stuff in its own prefix, namely, /opt/local. However, if a given port silently picks up something incompatible in /usr/local, if might fail and often will. Having macports isolated in /opt/local DID NOT save you from this. Removing /usr/local is what did. This is the distinction I am trying to make, and that's what I find confusing about the FAQ entry as it stands now. Do you see my point now? I agree now that /usr/local is on fact a bad choice. What I find cnfusing or unclear is the reasoning about it in the the FAQ. The most prominent reason given to me yesterday for not having /usr/local as a default prefix was that people will stupidly rewrite the stuff in there by blindly clicking through third-party installers. That for example is not mentioned in the FAQ at all. > As a port maintainer, this means I can produce a port that does > not accidentally depend on software that MacPorts doesn't know about, Again, this is not entirely true: the proper way for a port to not accidently pick up unwanted dependencies is to say --disable-whatever in the Portfile (and yes, I have run into that problem in ports I maintain). Not all ports provide a way to declare this, so you make sure it doesn't happen by removing /usr/local altgether, or making the user remove his /usr/local, which you will agree is a pretty extreme measure on a UNIX system. That's not repeatable build, that's alibism; in fact, it is exactly what you were (rightfully) arguing against before: such a build is only repeatable on systems that do look like the maintainer's system, namely, they do not have anything in /usr/local. In other words, the thing that makes your build "repeatable" is that there is nothing around that the port might accidentally pick up, not that macports is under /opt/local. Obviously, to be able to do this, you must have macports somewhere else than /usr/local, because /usr/local might be at certain ports REQUIRED NOT TO EXIST. This explicit reason is what I am missing in the FAQ. > > > Isolation of the package system is part of what makes this possible. > > > > In what way exactly does having /opt/local make this possible > > as opposed to having /usr/local, which would not make it possible? > > > Because, as you repeatedly point out, *other* software (not related to > MacPorts) is also installed in that location. But the problem is not that the incompatible third party software is installed IN THAT LOCATION; the problem is that incompatbile software is found and picked up AT ALL. Having macports in /opt/local does not solve this; not having the other software around is what does. > If it's all intermingled, I can't reliably keep it from being found > and used when building software for MacPorts. An if it's NOT intermingled (specifically, macports stuff under /opt/local, other stuff under /usr/local) IT WILL STILL be found and used. Do you see my point now? > If MacPorts is in its own tree, I can at absolute worst move > other trees to archival storage (but usually just rename them to something > that won't be searched automatically the way /usr/local is) Yes, that will solve it. But only this, what you call absolute worst, is actually the point that makes the build repeatable, isn't it. > and now I can > do a build which I *know* doesn't depend on some other software I'd > forgotten about. This is important if I intend that build (or in the case > of MacPorts, the Portfile that does the build) to be usable by other people > on random other machines. Yes - as long as they also do not have /usr/local on their system, which they most probably do. > This is what "repeatable build" is about. No. It would be "repeatable" if it built as fine on a system that has shit under /usr/local as it does on your system that does not. That would be repeatable. Requiring the user to make his system look (temporarily) like yours is not what you could call repeatable. > > How does that exclude stuff from any package system? > > This is based on the BSD model, which as I just described above is actually > fairly broken. See for comparison what Linux's FHS has to say about it > (FHS also learned from BSD's mistake). I have been using this mistaken, broken system for years without problems, thank you. > > > No package system should be touching /usr/local. > > Where did you get this? No really, where does this come from? > Years of experience by most people who have to manage anything larger than > their one home system, Such as FreeBSD or OpenBSD? I really don't mean this to be offensive in any way. I am glad I have macports, and it helps me very much. I just think that the explanation about /opt/local and /usr/local in the FAQ is not very clear. I will try to come up with a better reformulation based on what people have explained to me here. At any rate, thank you for your time. Jan From jonesc at hep.phy.cam.ac.uk Thu Apr 5 00:59:11 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Thu, 5 Apr 2012 08:59:11 +0100 Subject: /usr/local question In-Reply-To: References: <71AC8AF4-CC18-472F-ABB8-A948976D105B@macports.org> <4F7C853B.40807@macports.org> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20EE7DEA-71B0-4B61-ADFB-F762C92EFD9A@hep.phy.cam.ac.uk> Message-ID: On 5 Apr 2012, at 2:20am, Brandon Allbery wrote: > On Wed, Apr 4, 2012 at 19:08, Chris Jones wrote: > MacPorts does provide a means to set its installation root, so if *you* really want to use /usr/local you can. Similarly you could use /opt/I/bet/no/one/will/ever/find/this/ to be completely safe ? > > Actually, I think it specifically refuses /usr/local (you'd have to edit the script to enable that particular flavor of foot-shooting). Didn't know that one, thanks. Sounds sensible? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From hans at stare.cz Thu Apr 5 01:12:45 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 10:12:45 +0200 Subject: /usr/local question In-Reply-To: <20120405070041.GA7415@www.stare.cz> References: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> Message-ID: <20120405081244.GA9692@www.stare.cz> > I agree now that /usr/local is on fact a bad choice. > What I find cnfusing or unclear is the reasoning about it > in the the FAQ. > > The most prominent reason given to me yesterday for not having > /usr/local as a default prefix was that people will stupidly > rewrite the stuff in there by blindly clicking through third-party > installers. That for example is not mentioned in the FAQ at all. > I will try to come up with a better reformulation based > on what people have explained to me here. OK, here is what I propose as a relacement/extension of FAQ#defaultprefix. Does this correctly describe the reasoning that was kindly explained to me in the previous discussion? Obviously, I would like this OK'd here before I mangle the wiki. (The XXX is where my English fails me. Could a native speaker put the right verb in please that seems to slip my mind?) * Why is /opt/local the default install location for MacPorts? Traditionally, the place to install third party software on many UNIX systems is /usr/local. However, having macports under /usr/local would be error-prone. Many other software packages and packaging systems install in there, and would accidentaly overwrite what macports has installed, or vice versa. While this could be XXXed off as the user's own error, it is a fact that users click through installers blindly, and consequently collisions under /usr/local (and other prominent directories) happen very often. Macports doesn't want to be a victim of that, and /opt/local provides the splendid isolation - as would any other dedicated directory, of course. Also, /usr/local is traditionally reserved for the given system's admin to install local tools; macports doesn't want to stomp on that either. (For the same reasons, fink uses /sw as its prefix.) * So with macports under /opt/local I can use /usr/local freely? No, not entirely. Even with macports living elsewhere, /usr/local can still interfere. Some software (especially the GNU auto* tools and gcc) looks into /usr/local for external headers, libraries, and binaries. Ceratin ports might (and do) fail to build because during their build something incompatible is found and picked up from /usr/local. Good ports avoid this by explicitly specifying --with-libfoo=/opt/local/lib/ or explicitly disabling all such possible dependencies altogehter with --disable-foo or --without-bar, but not all ports are able to do that. In some cases, it might even be necessary to temporarily make /usr/local disappear entirely for a given port to build successfully. Obviously this wouldn't be possible if macports itself lived under /usr/local. (And a third which I don't expect to be let through: * So in order to build a given broken port with macports, you advice me to remove /usr/local altogether, thus crippling my system for the duration of the build? Sadly, yes.) From hans at stare.cz Thu Apr 5 01:25:23 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 10:25:23 +0200 Subject: /usr/local question In-Reply-To: <20120405070041.GA7415@www.stare.cz> References: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> Message-ID: <20120405082520.GA29351@www.stare.cz> On Apr 05 09:00:44, Jan Stary wrote: > However, if a given port silently picks up something > incompatible in /usr/local, if might fail and often will. > > Having macports isolated in /opt/local DID NOT save you from this. > Removing /usr/local is what did. One more point to this: what if the colliding, incompatible software that stops a given port from building successfully is not found under /usr/local, but in /usr, which is even more prominently recognized by various build tools. That's not made up: /usr/lib/libssl.* Say the port requires a newer version of openssl than what /usr/lib/libssl.* provides. That's the same situation as with a port not building because some incompatbile software was found and picked up from /usr/local; except now it is /usr. What is the advice here? Ceratinly not to temporarily rename /usr. I argue that temporarily removing /usr/local is just as bad, and the problem of a port picking bad stuff from /usr/local is that given port's defect that needs to be fixed before the port gets built; not a reason to remove /usr/local. (Which doesn't change the fact that /opt/local is a better prefix, I am over that already.) From domiman at gmail.com Thu Apr 5 01:49:01 2012 From: domiman at gmail.com (Dominik Reichardt) Date: Thu, 5 Apr 2012 10:49:01 +0200 Subject: /usr/local question In-Reply-To: <20120405082520.GA29351@www.stare.cz> References: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405082520.GA29351@www.stare.cz> Message-ID: As far as I can tell, /usr in PATH is being honored opposed to /usr/local being picked up automatically. Am 05.04.2012 um 10:25 schrieb Jan Stary : > On Apr 05 09:00:44, Jan Stary wrote: >> However, if a given port silently picks up something >> incompatible in /usr/local, if might fail and often will. >> >> Having macports isolated in /opt/local DID NOT save you from this. >> Removing /usr/local is what did. > > One more point to this: what if the colliding, incompatible > software that stops a given port from building successfully > is not found under /usr/local, but in /usr, which is > even more prominently recognized by various build tools. > > That's not made up: /usr/lib/libssl.* > Say the port requires a newer version of openssl > than what /usr/lib/libssl.* provides. > > That's the same situation as with a port not building > because some incompatbile software was found and > picked up from /usr/local; except now it is /usr. > > What is the advice here? > Ceratinly not to temporarily rename /usr. > > I argue that temporarily removing /usr/local is just as bad, > and the problem of a port picking bad stuff from /usr/local > is that given port's defect that needs to be fixed before > the port gets built; not a reason to remove /usr/local. > > (Which doesn't change the fact that /opt/local is a better prefix, > I am over that already.) > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From hans at stare.cz Thu Apr 5 01:59:15 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 10:59:15 +0200 Subject: /usr/local question In-Reply-To: References: <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405082520.GA29351@www.stare.cz> Message-ID: <20120405085914.GA31304@www.stare.cz> On Apr 05 10:49:01, Dominik Reichardt wrote: > As far as I can tell, /usr in PATH is being honored > opposed to /usr/local being picked up automatically. I don't know how "honored" differs from "being picked up", but PATH has nothing to do with this. > Am 05.04.2012 um 10:25 schrieb Jan Stary : > > > On Apr 05 09:00:44, Jan Stary wrote: > >> However, if a given port silently picks up something > >> incompatible in /usr/local, if might fail and often will. > >> > >> Having macports isolated in /opt/local DID NOT save you from this. > >> Removing /usr/local is what did. > > > > One more point to this: what if the colliding, incompatible > > software that stops a given port from building successfully > > is not found under /usr/local, but in /usr, which is > > even more prominently recognized by various build tools. > > > > That's not made up: /usr/lib/libssl.* > > Say the port requires a newer version of openssl > > than what /usr/lib/libssl.* provides. > > > > That's the same situation as with a port not building > > because some incompatbile software was found and > > picked up from /usr/local; except now it is /usr. > > > > What is the advice here? > > Ceratinly not to temporarily rename /usr. > > > > I argue that temporarily removing /usr/local is just as bad, > > and the problem of a port picking bad stuff from /usr/local > > is that given port's defect that needs to be fixed before > > the port gets built; not a reason to remove /usr/local. > > > > (Which doesn't change the fact that /opt/local is a better prefix, > > I am over that already.) > > > > _______________________________________________ > > macports-users mailing list > > macports-users at lists.macosforge.org > > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From domiman at gmail.com Thu Apr 5 02:06:51 2012 From: domiman at gmail.com (Dominik Reichardt) Date: Thu, 5 Apr 2012 11:06:51 +0200 Subject: /usr/local question In-Reply-To: <20120405085914.GA31304@www.stare.cz> References: <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405082520.GA29351@www.stare.cz> <20120405085914.GA31304@www.stare.cz> Message-ID: Honoring the order in PATH so when /opt/local is in front of /usr, compilers will honor that. So yes PATH has a lot to do with this. Opposed to the /usr/local issue. Check your attitude please Am 05.04.2012 um 10:59 schrieb Jan Stary : > On Apr 05 10:49:01, Dominik Reichardt wrote: >> As far as I can tell, /usr in PATH is being honored >> opposed to /usr/local being picked up automatically. > > I don't know how "honored" differs from "being picked up", > but PATH has nothing to do with this. > > >> Am 05.04.2012 um 10:25 schrieb Jan Stary : >> >>> On Apr 05 09:00:44, Jan Stary wrote: >>>> However, if a given port silently picks up something >>>> incompatible in /usr/local, if might fail and often will. >>>> >>>> Having macports isolated in /opt/local DID NOT save you from this. >>>> Removing /usr/local is what did. >>> >>> One more point to this: what if the colliding, incompatible >>> software that stops a given port from building successfully >>> is not found under /usr/local, but in /usr, which is >>> even more prominently recognized by various build tools. >>> >>> That's not made up: /usr/lib/libssl.* >>> Say the port requires a newer version of openssl >>> than what /usr/lib/libssl.* provides. >>> >>> That's the same situation as with a port not building >>> because some incompatbile software was found and >>> picked up from /usr/local; except now it is /usr. >>> >>> What is the advice here? >>> Ceratinly not to temporarily rename /usr. >>> >>> I argue that temporarily removing /usr/local is just as bad, >>> and the problem of a port picking bad stuff from /usr/local >>> is that given port's defect that needs to be fixed before >>> the port gets built; not a reason to remove /usr/local. >>> >>> (Which doesn't change the fact that /opt/local is a better prefix, >>> I am over that already.) >>> >>> _______________________________________________ >>> macports-users mailing list >>> macports-users at lists.macosforge.org >>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From jeremy at lavergne.gotdns.org Thu Apr 5 02:13:44 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Thu, 05 Apr 2012 04:13:44 -0500 Subject: /usr/local question In-Reply-To: References: <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405082520.GA29351@www.stare.cz> <20120405085914.GA31304@www.stare.cz> Message-ID: The thread has pointed out that there would not be an issue if that were the case: it appears Gnu toolchain puts /usr/local first. Dominik Reichardt wrote: >Honoring the order in PATH so when /opt/local is in front of /usr, >compilers will honor that. So yes PATH has a lot to do with this. >Opposed to the /usr/local issue. >Check your attitude please > >Am 05.04.2012 um 10:59 schrieb Jan Stary : > >> On Apr 05 10:49:01, Dominik Reichardt wrote: >>> As far as I can tell, /usr in PATH is being honored >>> opposed to /usr/local being picked up automatically. >> >> I don't know how "honored" differs from "being picked up", >> but PATH has nothing to do with this. >> >> >>> Am 05.04.2012 um 10:25 schrieb Jan Stary : >>> >>>> On Apr 05 09:00:44, Jan Stary wrote: >>>>> However, if a given port silently picks up something >>>>> incompatible in /usr/local, if might fail and often will. >>>>> >>>>> Having macports isolated in /opt/local DID NOT save you from this. >>>>> Removing /usr/local is what did. >>>> >>>> One more point to this: what if the colliding, incompatible >>>> software that stops a given port from building successfully >>>> is not found under /usr/local, but in /usr, which is >>>> even more prominently recognized by various build tools. >>>> >>>> That's not made up: /usr/lib/libssl.* >>>> Say the port requires a newer version of openssl >>>> than what /usr/lib/libssl.* provides. >>>> >>>> That's the same situation as with a port not building >>>> because some incompatbile software was found and >>>> picked up from /usr/local; except now it is /usr. >>>> >>>> What is the advice here? >>>> Ceratinly not to temporarily rename /usr. >>>> >>>> I argue that temporarily removing /usr/local is just as bad, >>>> and the problem of a port picking bad stuff from /usr/local >>>> is that given port's defect that needs to be fixed before >>>> the port gets built; not a reason to remove /usr/local. >>>> >>>> (Which doesn't change the fact that /opt/local is a better prefix, >>>> I am over that already.) >>>> >>>> _______________________________________________ >>>> macports-users mailing list >>>> macports-users at lists.macosforge.org >>>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >_______________________________________________ >macports-users mailing list >macports-users at lists.macosforge.org >http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From hans at stare.cz Thu Apr 5 02:22:09 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 11:22:09 +0200 Subject: /usr/local question In-Reply-To: References: <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405082520.GA29351@www.stare.cz> <20120405085914.GA31304@www.stare.cz> Message-ID: <20120405092207.GA30000@www.stare.cz> On Apr 05 11:06:51, Dominik Reichardt wrote: > Honoring the order in PATH so when /opt/local is in front of /usr, > compilers will honor that. PATH is where the binaries are looked for. I am talking about libraries; compilers do not look for libraries in PATH. > So yes PATH has a lot to do with this. Opposed to the /usr/local issue. > Check your attitude please Check what PATH is. From hans at stare.cz Thu Apr 5 02:30:55 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 11:30:55 +0200 Subject: /usr/local question In-Reply-To: References: <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405082520.GA29351@www.stare.cz> <20120405085914.GA31304@www.stare.cz> Message-ID: <20120405093055.GB30000@www.stare.cz> On Apr 05 04:13:44, Jeremy Lavergne wrote: > The thread has pointed out that there would not be an issue > if that were the case: it appears Gnu toolchain puts /usr/local first. Even if the build tools put /usr/local before /usr, the example still stands: I don't have /usr/local at all. I have an old, incompatible version of openssl in /usr/lib/libssl.*, and a port that fails to build because it picks that up. What happens then? Should I temporarily rename /usr so that the port does not pick that up and builds successfully? > >>> Am 05.04.2012 um 10:25 schrieb Jan Stary : > >>> > >>>> On Apr 05 09:00:44, Jan Stary wrote: > >>>>> However, if a given port silently picks up something > >>>>> incompatible in /usr/local, if might fail and often will. > >>>>> > >>>>> Having macports isolated in /opt/local DID NOT save you from this. > >>>>> Removing /usr/local is what did. > >>>> > >>>> One more point to this: what if the colliding, incompatible > >>>> software that stops a given port from building successfully > >>>> is not found under /usr/local, but in /usr, which is > >>>> even more prominently recognized by various build tools. > >>>> > >>>> That's not made up: /usr/lib/libssl.* > >>>> Say the port requires a newer version of openssl > >>>> than what /usr/lib/libssl.* provides. > >>>> > >>>> That's the same situation as with a port not building > >>>> because some incompatbile software was found and > >>>> picked up from /usr/local; except now it is /usr. > >>>> > >>>> What is the advice here? > >>>> Ceratinly not to temporarily rename /usr. > >>>> > >>>> I argue that temporarily removing /usr/local is just as bad, > >>>> and the problem of a port picking bad stuff from /usr/local > >>>> is that given port's defect that needs to be fixed before > >>>> the port gets built; not a reason to remove /usr/local. > >>>> > >>>> (Which doesn't change the fact that /opt/local is a better prefix, > >>>> I am over that already.) From cjsvance at gmail.com Thu Apr 5 02:52:23 2012 From: cjsvance at gmail.com (Christopher Vance) Date: Thu, 5 Apr 2012 19:52:23 +1000 Subject: /usr/local question In-Reply-To: <20120405081244.GA9692@www.stare.cz> References: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405081244.GA9692@www.stare.cz> Message-ID: <88F1E687-A9FE-4F01-9686-25345C46528C@gmail.com> So /usr/local is kept hostage by crap GNU tools. I do note that most Linux distros manage to convince even GNU crapware to install somewhere outside /usr/local. I'd be surprised if they permitted their builds to get distracted by stuff in /usr/local. But then they tend (Gentoo excepted) to provide prebuilt packages, rather than expecting you to build from source. Maybe their solution is purely to build on systems with empty /usr/local. I'm guessing that some of the errant GNUware could be fixed by source patches which upstream might refuse to apply. Do we have such patches available? I'm guessing that the rest probably require source fixes and recompiling everything else GNU that's broken, including compilers, binutils, etc. These build-essential ports should perhaps be made available as compiled packages, rather than expecting people to bootstrap their own from source. I'll mention that NetBSD has used /usr/pkg for ages, rather than /usr/local, and is having a bunfight/bikeshed about the few remaining packages that insist on trashing the file system before a package can be made. Most of their package builds now do a staging install outside the final resting place before making a package, and that you then use the package to install from. Maybe they have patches available to prevent poisoning from /usr/local? I believe they use their prerequisite feature to ensure that the required ports are already installed in /usr/pkg, and tweak ./configure arguments to know the directories they are in. I'll also mention that OpenBSD exclusively uses packages which are compiled elsewhere; all ported software is installed from packages; they have already reached where NetBSD is trying to get to. In addition, OpenBSD culture is to install from packages, not by building from source yourself. Maybe they have patches which prevent GNU crapware from inspecting bogus locations before building packages? OpenBSD also uses prerequisite packages and configure tweaks to ensure that the stuff they use is installed in /usr/local from OpenBSD packages, and to use the required directories installed from those packages. Macports is the only software packaging system I follow which seems to suffer from /usr/local issues. This is a pity, since I use it on my main development system, and I can't afford the Apple tax to buy a separate Apple machine (without /usr/local) just to build ports on. I can't believe that this problem hasn't already been solved on some of the OSs and packaging systems I've mentioned. But in the end, I will support those who do development on Macports by acknowledging that they don't have excess capacity. We'd rather they be porting or updating the stuff we actually want to use, rather than spend their effort fixing all the GNU crap used to build them. -- Christopher On 05-Apr-2012, at 18:12 , Jan Stary wrote: >> I agree now that /usr/local is on fact a bad choice. >> What I find cnfusing or unclear is the reasoning about it >> in the the FAQ. >> >> The most prominent reason given to me yesterday for not having >> /usr/local as a default prefix was that people will stupidly >> rewrite the stuff in there by blindly clicking through third-party >> installers. That for example is not mentioned in the FAQ at all. > >> I will try to come up with a better reformulation based >> on what people have explained to me here. > > > OK, here is what I propose as a relacement/extension of FAQ#defaultprefix. > Does this correctly describe the reasoning that was kindly explained > to me in the previous discussion? Obviously, I would like this OK'd here > before I mangle the wiki. > > (The XXX is where my English fails me. Could a native speaker > put the right verb in please that seems to slip my mind?) > > > * Why is /opt/local the default install location for MacPorts? > > Traditionally, the place to install third party software on many UNIX systems > is /usr/local. However, having macports under /usr/local would be error-prone. > Many other software packages and packaging systems install in there, and > would accidentaly overwrite what macports has installed, or vice versa. > While this could be XXXed off as the user's own error, it is a fact that > users click through installers blindly, and consequently collisions under > /usr/local (and other prominent directories) happen very often. > Macports doesn't want to be a victim of that, and /opt/local provides > the splendid isolation - as would any other dedicated directory, of course. > Also, /usr/local is traditionally reserved for the given system's admin > to install local tools; macports doesn't want to stomp on that either. > > (For the same reasons, fink uses /sw as its prefix.) > > > * So with macports under /opt/local I can use /usr/local freely? > > No, not entirely. Even with macports living elsewhere, /usr/local > can still interfere. Some software (especially the GNU auto* tools > and gcc) looks into /usr/local for external headers, libraries, > and binaries. Ceratin ports might (and do) fail to build because > during their build something incompatible is found and picked up > from /usr/local. Good ports avoid this by explicitly specifying > --with-libfoo=/opt/local/lib/ or explicitly disabling all such > possible dependencies altogehter with --disable-foo or --without-bar, > but not all ports are able to do that. > In some cases, it might even be necessary to > temporarily make /usr/local disappear entirely for a given port > to build successfully. Obviously this wouldn't be possible if > macports itself lived under /usr/local. > > (And a third which I don't expect to be let through: > > * So in order to build a given broken port with macports, > you advice me to remove /usr/local altogether, thus > crippling my system for the duration of the build? > > Sadly, yes.) > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From hans at stare.cz Thu Apr 5 03:12:30 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 12:12:30 +0200 Subject: /usr/local question In-Reply-To: <88F1E687-A9FE-4F01-9686-25345C46528C@gmail.com> References: <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405081244.GA9692@www.stare.cz> <88F1E687-A9FE-4F01-9686-25345C46528C@gmail.com> Message-ID: <20120405101229.GA16292@www.stare.cz> On Apr 05 19:52:23, Christopher Vance wrote: > I'll also mention that OpenBSD exclusively uses packages which are > compiled elsewhere; all ported software is installed from packages; > they have already reached where NetBSD is trying to get to. > In addition, OpenBSD culture is to install from packages, > not by building from source yourself. Yes. I come from OpenBSD and miss this in macports. > Maybe they have patches which prevent GNU crapware from inspecting > bogus locations before building packages? No. They simply have CONFIGURE_ARGS in the Makefiles (analogously, macports has configure.args in Portfiles) and it is each port's bussines to set that appropriatelly. And when a port fails to do that properly, and picks up something unsuitable that the packaging system doesn't know about (which does happen), it is considered that port's problem. > OpenBSD also uses prerequisite packages and configure tweaks > to ensure that the stuff they use is installed in /usr/local > from OpenBSD packages, That's not done by configure tweaks - checksums are kept for the installed files. From arno at alum.wpi.edu Thu Apr 5 05:47:47 2012 From: arno at alum.wpi.edu (Arno Hautala) Date: Thu, 5 Apr 2012 08:47:47 -0400 Subject: /usr/local question In-Reply-To: <20120405081244.GA9692@www.stare.cz> References: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405081244.GA9692@www.stare.cz> Message-ID: On 2012-04-05, Jan Stary wrote: > > (The XXX is where my English fails me. Could a native speaker > put the right verb in please that seems to slip my mind?) > > [...] > > While this could be XXXed off as the user's own error, it is a fact that "written off as" "chalked up to" "dismissed as" -- arno s hautala /-| arno at alum.wpi.edu pgp b2c9d448 From hans at stare.cz Thu Apr 5 05:55:15 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 14:55:15 +0200 Subject: /usr/local question In-Reply-To: References: <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405081244.GA9692@www.stare.cz> Message-ID: <20120405125514.GA31900@www.stare.cz> On Apr 05 08:47:47, Arno Hautala wrote: > On 2012-04-05, Jan Stary wrote: > > > > (The XXX is where my English fails me. Could a native speaker > > put the right verb in please that seems to slip my mind?) > > > > [...] > > > > While this could be XXXed off as the user's own error, it is a fact that > > "written off as" > "chalked up to" > "dismissed as" ah, dismissed, thanks. From pixilla at macports.org Thu Apr 5 08:25:49 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Thu, 5 Apr 2012 08:25:49 -0700 Subject: /usr/local question In-Reply-To: <20120405070041.GA7415@www.stare.cz> References: <4F7C853B.40807@macports.org> <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> Message-ID: <63112DDD-7EA8-415D-910A-C892F6B304AA@macports.org> On Apr 5, 2012, at 12:00 AM, Jan Stary wrote: > Again, this is not entirely true: the proper way for a port to > not accidently pick up unwanted dependencies is to say --disable-whatever > in the Portfile (and yes, I have run into that problem in ports > I maintain). Not all ports provide a way to declare this, so > you make sure it doesn't happen by removing /usr/local altgether, > or making the user remove his /usr/local, which you will agree is > a pretty extreme measure on a UNIX system. Simply put, MacPorts does not "SUPPORT" /usr/local in the sense that if you ask for help from MacPorts we are going to ask you to move /usr/local out of the way rather then tediously work though the contents of /usr/local. Our resources are better spent on other tasks. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From hans at stare.cz Thu Apr 5 08:44:55 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 5 Apr 2012 17:44:55 +0200 Subject: /usr/local question In-Reply-To: <63112DDD-7EA8-415D-910A-C892F6B304AA@macports.org> References: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <63112DDD-7EA8-415D-910A-C892F6B304AA@macports.org> Message-ID: <20120405154454.GA6923@www.stare.cz> On Apr 05 08:25:49, Bradley Giesbrecht wrote: > On Apr 5, 2012, at 12:00 AM, Jan Stary wrote: > > > Again, this is not entirely true: the proper way for a port to > > not accidently pick up unwanted dependencies is to say --disable-whatever > > in the Portfile (and yes, I have run into that problem in ports > > I maintain). Not all ports provide a way to declare this, so > > you make sure it doesn't happen by removing /usr/local altgether, > > or making the user remove his /usr/local, which you will agree is > > a pretty extreme measure on a UNIX system. > > Simply put, MacPorts does not "SUPPORT" /usr/local in the sense that if you ask for help from MacPorts we are going to ask you to move /usr/local out of the way rather then tediously work though the contents of /usr/local. Our resources are better spent on other tasks. I respect that. However, I believe that if a port chokes on picking up some unintended dependency it found in /usr/local (or anywhere, for that matter), it is that port's problem: I don't think it's /usr/local's fault being there - I think it's the port's defect geting confused by that. Hence in terms of the (limited) resources, I believe it's the port maintainer's job to rectify this by actually fixing that (broken) port so that it no longer gets confused. I am willing to help this with ports that interest me. Is there a way in trac to specifically select the ports that have this problem? (Or is there even a keyword for that, such as 'usrlocal', 'externalconflict' or whatever?) Jan From dluke at geeklair.net Thu Apr 5 08:56:21 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Thu, 5 Apr 2012 11:56:21 -0400 Subject: /usr/local question In-Reply-To: <20120405154454.GA6923@www.stare.cz> References: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <63112DDD-7EA8-415D-910A-C892F6B304AA@macports.org> <20120405154454.GA6923@www.stare.cz> Message-ID: On Apr 5, 2012, at 11:44 AM, Jan Stary wrote: > However, I believe that if a port chokes on picking up > some unintended dependency it found in /usr/local > (or anywhere, for that matter), it is that port's > problem: I don't think it's /usr/local's fault being > there - I think it's the port's defect geting confused > by that. You are wrong. We try to make things work (even if stuff is in /usr/local) but because cc/ld/cpp/dyld/etc. search /usr/local by default, it can cause problems. You can look through the mailing list archives for examples. > Hence in terms of the (limited) resources, I believe > it's the port maintainer's job to rectify this by > actually fixing that (broken) port so that it no > longer gets confused. we do when we can. > I am willing to help this with ports that interest me. > Is there a way in trac to specifically select the ports > that have this problem? not that I know of (since you don't know what is going to be in /usr/local on any machine) the /real/ fix would be to either: - change build behavior for cc/ld/cpp (which may be possible, but no one has tried to do it as far as I know) -nostdinc (or equivalent) plus adding back the appropriate search paths for every supported platform - change build behavior for cc/ld/cpp by getting a macports version of the toolchain working (and patched to not pull in /usr/local by default) - get trace mode working so that it can be used at all times (and can prevent things from being found in /usr/local) [this is probably the best solution] -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From mparson at bl.org Thu Apr 5 09:21:20 2012 From: mparson at bl.org (Michael Parson) Date: Thu, 5 Apr 2012 11:21:20 -0500 (CDT) Subject: How to run a sql script sql script on mysql5 In-Reply-To: <4F7C9DAB.2070902@sunrise.ch> References: <4F7C9DAB.2070902@sunrise.ch> Message-ID: On Wed, 4 Apr 2012, Michael Parchet wrote: > > Hello, > > I have install the mysql5 port. I do a secure installation whith only the > root user and a password. > > So noe I wold like to run a sql script to create a database. > > I have tried the following command but this last has no effect > > sudo mysql5 -u root -p password script.sql > > Can you help me please ? Close, but try this: sudo mysql5 -u root -p password < script.sql -- Michael Parson Unix Thug Austin, TX KF5LGQ From pixilla at macports.org Thu Apr 5 10:18:12 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Thu, 5 Apr 2012 10:18:12 -0700 Subject: How to run a sql script sql script on mysql5 In-Reply-To: References: <4F7C9DAB.2070902@sunrise.ch> Message-ID: <9C89C742-6EF8-431B-B804-6123B24B40FD@macports.org> On Apr 5, 2012, at 9:21 AM, Michael Parson wrote: > On Wed, 4 Apr 2012, Michael Parchet wrote: > >> I have install the mysql5 port. I do a secure installation whith only the root user and a password. >> So noe I wold like to run a sql script to create a database. >> I have tried the following command but this last has no effect >> sudo mysql5 -u root -p password script.sql >> Can you help me please ? > > Close, but try this: > sudo mysql5 -u root -p password < script.sql If "script.sql" does not "create/use" a database you may need to add the database to the command. $ mysql5 -uroot -p -e "create database if not exists dbname;" $ mysql5 -uroot -p dbname < script.sql Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From iandw.au at gmail.com Thu Apr 5 14:58:15 2012 From: iandw.au at gmail.com (Ian Wadham) Date: Fri, 6 Apr 2012 07:58:15 +1000 Subject: /usr/local question In-Reply-To: References: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <63112DDD-7EA8-415D-910A-C892F6B304AA@macports.org> <20120405154454.GA6923@www.stare.cz> Message-ID: <5FCD2D64-18F1-41E7-B195-65606D7D60E5@gmail.com> On 06/04/2012, at 1:56 AM, Daniel J. Luke wrote: > On Apr 5, 2012, at 11:44 AM, Jan Stary wrote: >> I am willing to help this with ports that interest me. >> Is there a way in trac to specifically select the ports >> that have this problem? > > not that I know of (since you don't know what is going to be in /usr/local on any machine) > > the /real/ fix would be to either: > > - change build behavior for cc/ld/cpp (which may be possible, but no one has tried to do it as far as I know) -nostdinc (or equivalent) plus adding back the appropriate search paths for every supported platform > > - change build behavior for cc/ld/cpp by getting a macports version of the toolchain working (and patched to not pull in /usr/local by default) > > - get trace mode working so that it can be used at all times (and can prevent things from being found in /usr/local) [this is probably the best solution] There has been much mention of $PATH in this discussion (the classic way to determine the order of priority in which executables are picked up in a Unix-like system), but I have seen no mention of other environment variables, nor do I see that they have been set ('env | sort' ) after I have installed Macports and a few ports. Some variables I rely on when developing programs, so that I link to the correct (development) libraries etc. are $LD_LIBRARY_PATH and $PKG_CONFIG_PATH, but there are also $QT_PLUGIN_PATH (when using a Qt library), $PYTHON_SITE_PACKAGES and (using CMake) $CMAKE_PREFIX_PATH, $CMAKE_LIBRARY_PATH and $CMAKE_INCLUDE_PATH. I am not sure what all these do and to what extent they are local to KDE or Qt, but in my setup script, for development and testing, the last three get prepended with /opt/local, /opt/local/lib and /opt/local/include and then prepended again with locations for development versions of KDE executables, libraries and includes, so I always get the executables, libraries and includes I need for KDE development and testing. I wonder if Macports could make more use of similar variables to avoid picking up unwanted includes or libraries from /usr/local. Maybe it does. In which case, I do not see how it could fall foul of /usr/local, so please excuse me for rabitting on. Cheers, Ian W. From jam at tigger.ws Thu Apr 5 19:05:27 2012 From: jam at tigger.ws (James Linder) Date: Fri, 6 Apr 2012 10:05:27 +0800 Subject: /usr/local question In-Reply-To: References: Message-ID: On 05/04/2012, at 10:00 PM, macports-users-request at lists.macosforge.org wrote: > oh... I didn't know that. I just took a look in my /usr/local, and found a whole bunch of stuff for texlive, and then various programs that I remember installing. > > is there a recommended place for me to put these programs? > > > On Apr 4, 2012, at 2:12 AM, Chris Jones wrote: > >> Hi, >> >>> I don't install things there, but there are things in there (mostly from Mac OS) that I'd like to keep and use. >> >> I might be wrong but I understand OS X itself does not put anything in /usr/local. Anything you might have there has probably come from other third party applications you have installed, not the system itsdelf. This is not smoke-and-mirrors. I cannot see anything that would affect, and none of my macports are affected by the tex stuff in /usr/local If you are not a 'developer' and the concept of 'include files' libararies' 'executables' is alien sure adopt the 'never use /usr/local' paradigsm else just be sensible James From crow256 at gmail.com Fri Apr 6 03:47:31 2012 From: crow256 at gmail.com (Marko Vranic) Date: Fri, 6 Apr 2012 12:47:31 +0200 Subject: lib release Message-ID: Hi, I'm interested in these libraries(these versions): tiff/3.9.5 boost/1.44 jpeg/8b lcms/2.1 zlib/1.2.5 freetype/1.4.3 Are these release or debug builds? Thanks, Marko -------------- next part -------------- An HTML attachment was scrubbed... URL: From deric at macports.org Fri Apr 6 05:07:13 2012 From: deric at macports.org (Daniel Ericsson) Date: Fri, 6 Apr 2012 14:07:13 +0200 Subject: lib release In-Reply-To: References: Message-ID: <2F90FE7B-A01B-4986-86E1-CD79196E2CF3@macports.org> On 6 apr 2012, at 12:47, Marko Vranic wrote: > Hi, > > I'm interested in these libraries(these versions): > > tiff/3.9.5 > boost/1.44 > jpeg/8b > lcms/2.1 > zlib/1.2.5 > freetype/1.4.3 > > Are these release or debug builds? You can generally assume that, unless a port has a debug variant, Macports will build a "release" build for you. In the above list only boost has a debug variant. -- Daniel From anthony.bak at gmail.com Fri Apr 6 08:18:20 2012 From: anthony.bak at gmail.com (Anthony Bak) Date: Fri, 6 Apr 2012 08:18:20 -0700 Subject: Isomap with more general inputs. Message-ID: I'd like to use isomap (and other manifold learning techniques) with abstract metric spaces (and perhaps more generally similarity and dissimilarity matricies - but we can put that aside for the moment). It looks to me like isomap assumes points are described by points in R^N or some data structure (such as a KD-Tree) built from such points. Q1: Can I use the version of isomap in sklearn with abstract metric spaces? I assumed that I could not based on a quick reading of the documentation six months or so ago and I wrote a pure python implementation (Based on the original Tenenbaum Matlab implementation). Q2: If the answer to Q1 is "no", how do I go about getting this more general isomap into the sklearn code? Do I need to make a case for handeling non-embedded data or are the advantages obvious to everyone? Thanks. From mparchet at sunrise.ch Fri Apr 6 08:29:08 2012 From: mparchet at sunrise.ch (Michael Parchet) Date: Fri, 06 Apr 2012 17:29:08 +0200 Subject: Wordpress package default installation Message-ID: <4F7F0BC4.1050601@sunrise.ch> Hello, Why the wordpress package is installed in www folder and isn't into apache2 htdocs folder by default ? Tanks for your answer. Best regards mparchet From tim at akwebsoft.com Fri Apr 6 10:58:03 2012 From: tim at akwebsoft.com (Tim Johnson) Date: Fri, 6 Apr 2012 09:58:03 -0800 Subject: Can selfupdate be done incrementally Message-ID: <20120406175803.GD351@mail.akwebsoft.com> I use a 2012 Mac Mini with OSX Lion. I haven't run selfupdate in some time. My observations in the past is that this machine runs alarmingly hot during long compiles. I recall being very nervous during the last selfupdate with temperature raising to as 180 F or more. I'm wondering if it is possible to do selfupdate a step or dependency at a time. That way, I could allow the machine to cool off before resuming. Any comments are welcome. FYI: I am a former C programmer and have deep in the recesses of my memory some acquaintance with compile issues and makefiles. FYI2: I will post to the Mac Mini forum the heat issue and see what other Mini users have to say. thanks in advance -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com From anthony.bak at gmail.com Fri Apr 6 11:16:34 2012 From: anthony.bak at gmail.com (Anthony Bak) Date: Fri, 6 Apr 2012 11:16:34 -0700 Subject: Isomap with more general inputs. In-Reply-To: References: Message-ID: Apologies. Sent to the wrong list. On Fri, Apr 6, 2012 at 8:18 AM, Anthony Bak wrote: > I'd like to use isomap (and other manifold learning techniques) with > abstract metric spaces (and perhaps more generally similarity and > dissimilarity matricies - but we can put that aside for the moment). > It looks to me like isomap assumes points are described by points in > R^N or some data structure (such as a KD-Tree) built from such points. > > Q1: Can I use the version of isomap in sklearn with abstract metric spaces? > > I assumed that I could not based on a quick reading of the > documentation six months or so ago and I wrote a pure python > implementation (Based on the original Tenenbaum Matlab > implementation). > > Q2: If the answer to Q1 is "no", how do I go about getting this more > general isomap into the sklearn code? > > Do I need to make a case for handeling non-embedded data or are the > advantages obvious to everyone? > > Thanks. From jonesc at hep.phy.cam.ac.uk Fri Apr 6 11:16:56 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Fri, 6 Apr 2012 19:16:56 +0100 Subject: Can selfupdate be done incrementally In-Reply-To: <20120406175803.GD351@mail.akwebsoft.com> References: <20120406175803.GD351@mail.akwebsoft.com> Message-ID: <84FFCEEE-54E6-48DE-8FA5-B44914B1F615@hep.phy.cam.ac.uk> Hi, Your machine should be able to handle its heat dissipation itself no problem. I have a 2011 mac mini server and regularly exercise all its 4 CPUs for extended periods. The fans do their job fine. I would first check your fans are working OK, and not clogged up with dust (although, for 2012 machine that would seem unlikely?). Do you have it in a spot where the air flow around it is restricted ? That can really hurt. cheers Chris On 6 Apr 2012, at 6:58pm, Tim Johnson wrote: > I use a 2012 Mac Mini with OSX Lion. > > I haven't run selfupdate in some time. > > My observations in the past is that this machine runs alarmingly hot > during long compiles. I recall being very nervous during the last > selfupdate with temperature raising to as 180 F or more. > > I'm wondering if it is possible to do selfupdate a step or > dependency at a time. That way, I could allow the machine to cool > off before resuming. > > Any comments are welcome. > > FYI: I am a former C programmer and have deep in the recesses of my > memory some acquaintance with compile issues and makefiles. > > FYI2: I will post to the Mac Mini forum the heat issue and see what > other Mini users have to say. > > thanks in advance > -- > Tim > tim at tee jay forty nine dot com or akwebsoft dot com > http://www.akwebsoft.com > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From larry.velazquez at gmail.com Fri Apr 6 11:28:11 2012 From: larry.velazquez at gmail.com (=?iso-8859-1?Q?Lawrence_Vel=E1zquez?=) Date: Fri, 6 Apr 2012 14:28:11 -0400 Subject: Can selfupdate be done incrementally In-Reply-To: <20120406175803.GD351@mail.akwebsoft.com> References: <20120406175803.GD351@mail.akwebsoft.com> Message-ID: <71D189F0-146F-44C1-9C2C-EF282EB9D8AB@gmail.com> On Apr 6, 2012, at 1:58 p.m., Tim Johnson wrote: > I'm wondering if it is possible to do selfupdate a step or > dependency at a time. That way, I could allow the machine to cool > off before resuming. After running "selfupdate" (which just upgrades MacPorts base and syncs the port indices), you can upgrade specific ports by running "port upgrade [portname]". You can view the list of outdated ports beforehand with "port outdated". vq From pixilla at macports.org Fri Apr 6 11:59:52 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Fri, 6 Apr 2012 11:59:52 -0700 Subject: Wordpress package default installation In-Reply-To: <4F7F0BC4.1050601@sunrise.ch> References: <4F7F0BC4.1050601@sunrise.ch> Message-ID: <506203AE-CE32-4FC6-9E38-E7E9195C79A9@macports.org> On Apr 6, 2012, at 8:29 AM, Michael Parchet wrote: > Why the wordpress package is installed in www folder and isn't into apache2 htdocs folder by default ? That is what www is for. If you want to know how to configure apache2 to use wordpress look at the wordpress notes: $ port notes wordpress Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From phildobbin at gmail.com Fri Apr 6 13:57:04 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Fri, 06 Apr 2012 21:57:04 +0100 Subject: Can selfupdate be done incrementally In-Reply-To: <20120406175803.GD351@mail.akwebsoft.com> References: <20120406175803.GD351@mail.akwebsoft.com> Message-ID: <4F7F58A0.2060809@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/04/2012 18:58, Tim Johnson wrote: > I use a 2012 Mac Mini with OSX Lion. > > I haven't run selfupdate in some time. > > My observations in the past is that this machine runs alarmingly hot > during long compiles. I recall being very nervous during the last > selfupdate with temperature raising to as 180 F or more. > > I'm wondering if it is possible to do selfupdate a step or > dependency at a time. That way, I could allow the machine to cool > off before resuming. > > Any comments are welcome. [snip] FWIW, my Macbook Pro running Snow Leopard temperatures get to around 80 degrees Centigrade when upgrading/installing with no ill effects. I also try to run selfupdate daily (one of my other machines is running Debian & a cron job kicks around 07:45 each morning to run apt-get update so, if I'm awake, I do Mac Ports too) so the number of ports is minimal on an upgrade & if I get a long list of ports, I split them into batches. Not necessary really but I like to keep the machine active on other fronts while they're upgrading as much as possible. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPf1idAAoJEKpMeDHWT5ADoGwH/inrEyCWvq/59POXx1UF5e6J DADEF6OT5UILFDsCoRmoq7NPm+63AKJrSz5PNW9438+gKLe9yQBY+eUURRSReTW0 StEUR/zva7bWlrX5SJv/LZ8wB3fhnq4flpXnz30ZUiHu9gwlAK/MIasYlPNjOKoy UVnvNvYiW3KOz3UIJy5b+dy/pDRM6cuevZVFESZ/0HMFFZY4eZsoadIfoxR55msM X1pwM1M/HGX681jB8XpyvAcCdtZzF+oq0DofvZ7uJAp8iXJjPY6TCovtHaoy3h8g FI8ko1h0WGVntP+4OGbDgmgg4LuIYsRTZifU20nbGrtg/w0ZM5aKB916sws3ics= =8oYI -----END PGP SIGNATURE----- From jeremy at lavergne.gotdns.org Fri Apr 6 14:00:50 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Fri, 6 Apr 2012 17:00:50 -0400 Subject: Can selfupdate be done incrementally In-Reply-To: <4F7F58A0.2060809@gmail.com> References: <20120406175803.GD351@mail.akwebsoft.com> <4F7F58A0.2060809@gmail.com> Message-ID: <546F3368-3329-45D1-9446-5D33FAB64E5A@lavergne.gotdns.org> > I also try to run selfupdate daily (one of my other machines is running > Debian & a cron job kicks around 07:45 each morning to run apt-get > update so, if I'm awake, I do Mac Ports too) so the number of ports is > minimal on an upgrade & if I get a long list of ports, I split them into > batches. Not necessary really but I like to keep the machine active on > other fronts while they're upgrading as much as possible. You can also set MacPort's nice value to make it play nicer (from `man 5 macports.conf`): buildnicevalue Lowered scheduling priority (0-20) to use for make when building ports Default: 0 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From jim at fpr.com Fri Apr 6 14:10:46 2012 From: jim at fpr.com (O'Dell James) Date: Fri, 6 Apr 2012 17:10:46 -0400 Subject: Can selfupdate be done incrementally In-Reply-To: <4F7F58A0.2060809@gmail.com> References: <20120406175803.GD351@mail.akwebsoft.com> <4F7F58A0.2060809@gmail.com> Message-ID: <8145F704-1B92-4577-9017-0F76A89CE5A6@fpr.com> I have a macports update script and launchd plist that schedules an (self)update to run. I'd be happy to share if anyone wants them. Jim On Apr 6, 2012, at 4:57 PM, Phil Dobbin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 06/04/2012 18:58, Tim Johnson wrote: > >> I use a 2012 Mac Mini with OSX Lion. >> >> I haven't run selfupdate in some time. >> >> My observations in the past is that this machine runs alarmingly hot >> during long compiles. I recall being very nervous during the last >> selfupdate with temperature raising to as 180 F or more. >> >> I'm wondering if it is possible to do selfupdate a step or >> dependency at a time. That way, I could allow the machine to cool >> off before resuming. >> >> Any comments are welcome. > > [snip] > > FWIW, my Macbook Pro running Snow Leopard temperatures get to around 80 > degrees Centigrade when upgrading/installing with no ill effects. > > I also try to run selfupdate daily (one of my other machines is running > Debian & a cron job kicks around 07:45 each morning to run apt-get > update so, if I'm awake, I do Mac Ports too) so the number of ports is > minimal on an upgrade & if I get a long list of ports, I split them into > batches. Not necessary really but I like to keep the machine active on > other fronts while they're upgrading as much as possible. > > Cheers, > > Phil... > > - -- > But masters, remember that I am an ass. > Though it be not written down, > yet forget not that I am an ass. > > Wm. Shakespeare - Much Ado About Nothing > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJPf1idAAoJEKpMeDHWT5ADoGwH/inrEyCWvq/59POXx1UF5e6J > DADEF6OT5UILFDsCoRmoq7NPm+63AKJrSz5PNW9438+gKLe9yQBY+eUURRSReTW0 > StEUR/zva7bWlrX5SJv/LZ8wB3fhnq4flpXnz30ZUiHu9gwlAK/MIasYlPNjOKoy > UVnvNvYiW3KOz3UIJy5b+dy/pDRM6cuevZVFESZ/0HMFFZY4eZsoadIfoxR55msM > X1pwM1M/HGX681jB8XpyvAcCdtZzF+oq0DofvZ7uJAp8iXJjPY6TCovtHaoy3h8g > FI8ko1h0WGVntP+4OGbDgmgg4LuIYsRTZifU20nbGrtg/w0ZM5aKB916sws3ics= > =8oYI > -----END PGP SIGNATURE----- > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From tim at akwebsoft.com Fri Apr 6 16:59:24 2012 From: tim at akwebsoft.com (Tim Johnson) Date: Fri, 6 Apr 2012 15:59:24 -0800 Subject: Can selfupdate be done incrementally In-Reply-To: <84FFCEEE-54E6-48DE-8FA5-B44914B1F615@hep.phy.cam.ac.uk> Message-ID: <20120406235924.GF351@mail.akwebsoft.com> * Chris Jones [120406 10:17]: > Hi, Hello Chris > Your machine should be able to handle its heat dissipation itself > no problem. I have a 2011 mac mini server and regularly exercise > all its 4 CPUs for extended periods. The fans do their job fine. What do you see as temps? > I would first check your fans are working OK, and not clogged up > with dust (although, for 2012 machine that would seem unlikely?). I will check them thoroughly before proceding. > Do you have it in a spot where the air flow around it is > restricted ? That can really hurt. Actually, since I got the mini, I have supported it on rubber corks such as used to close up a home brewer's carboy. They give about an inch or a little more clearance underneath. A couple of weeks ago, I dusted off a chill pad and have it positioned under the mini with one of the fans directly beneath the center of the unit. I have not seen any need to turn the chill pad on, but would do so while compiling. Thanks for the reply. Good to see another mini geek out there. I got the unit with 8 GB Ram (which I purchased separately for about $50) am able to happily use pretty much the same setup as I had on my linux boxes (I.E. mutt, postfix, procmail, fetchmail, vim, MC). -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com From tim at akwebsoft.com Fri Apr 6 17:01:35 2012 From: tim at akwebsoft.com (Tim Johnson) Date: Fri, 6 Apr 2012 16:01:35 -0800 Subject: Can selfupdate be done incrementally In-Reply-To: <4F7F58A0.2060809@gmail.com> References: <20120406175803.GD351@mail.akwebsoft.com> <4F7F58A0.2060809@gmail.com> Message-ID: <20120407000135.GG351@mail.akwebsoft.com> * Phil Dobbin [120406 13:06]: > > [snip] > > FWIW, my Macbook Pro running Snow Leopard temperatures get to around 80 > degrees Centigrade when upgrading/installing with no ill effects. Oh! Good to hear that is 180+ F and about what I was showing > I also try to run selfupdate daily (one of my other machines is running > Debian & a cron job kicks around 07:45 each morning to run apt-get > update so, if I'm awake, I do Mac Ports too) so the number of ports is > minimal on an upgrade & if I get a long list of ports, I split them into > batches. Not necessary really but I like to keep the machine active on > other fronts while they're upgrading as much as possible. :) And you are saying "update frequently" - which is a good plan that I have neglected until now. thank you -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com From tim at akwebsoft.com Fri Apr 6 17:02:32 2012 From: tim at akwebsoft.com (Tim Johnson) Date: Fri, 6 Apr 2012 16:02:32 -0800 Subject: Can selfupdate be done incrementally In-Reply-To: <8145F704-1B92-4577-9017-0F76A89CE5A6@fpr.com> References: <20120406175803.GD351@mail.akwebsoft.com> <4F7F58A0.2060809@gmail.com> <8145F704-1B92-4577-9017-0F76A89CE5A6@fpr.com> Message-ID: <20120407000232.GH351@mail.akwebsoft.com> * O'Dell James [120406 13:21]: > I have a macports update script and launchd plist that schedules an (self)update to run. > I'd be happy to share if anyone wants them. Please do. I'd love to see them. TIA -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com From arno at alum.wpi.edu Fri Apr 6 19:19:51 2012 From: arno at alum.wpi.edu (Arno Hautala) Date: Fri, 6 Apr 2012 22:19:51 -0400 Subject: Can selfupdate be done incrementally In-Reply-To: <20120407000232.GH351@mail.akwebsoft.com> References: <20120406175803.GD351@mail.akwebsoft.com> <4F7F58A0.2060809@gmail.com> <8145F704-1B92-4577-9017-0F76A89CE5A6@fpr.com> <20120407000232.GH351@mail.akwebsoft.com> Message-ID: On Fri, Apr 6, 2012 at 20:02, Tim Johnson wrote: > * O'Dell James [120406 13:21]: >> I have a macports update script and launchd plist that schedules an (self)update to run. >> I'd be happy to share if anyone wants them. > ?Please do. I'd love to see them. > ?TIA Since we're sharing... I use a weekly launchd task [1] to run a script [2] that updates MacPorts, fetches and builds the outdated ports, removes the old inactive versions, and then signs the port archives. The call to portsign.sh at the end is explained at a the Wiki page on signing ports [2]. Once the Lion buildbot is complete (sounds like soon!) I may switch this to daily and update the script to "archivefetch" and "install" before the current "fetch" and "install". And yes, I'm keeping these scripts under /usr/local/. It's not generally a good idea to put things here when running MacPorts, but I do keep a small number of items in that prefix that I know will not interfere with MacPorts. I do intend to migrate to a different prefix at some point. [1]: https://gist.github.com/2324512 [2]: https://gist.github.com/2324493 [3]: http://trac.macports.org/wiki/howto/ShareArchives2 -- arno? s? hautala? ? /-|?? arno at alum.wpi.edu pgp b2c9d448 From phildobbin at gmail.com Fri Apr 6 19:51:57 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Sat, 07 Apr 2012 03:51:57 +0100 Subject: Can selfupdate be done incrementally In-Reply-To: <546F3368-3329-45D1-9446-5D33FAB64E5A@lavergne.gotdns.org> References: <20120406175803.GD351@mail.akwebsoft.com> <4F7F58A0.2060809@gmail.com> <546F3368-3329-45D1-9446-5D33FAB64E5A@lavergne.gotdns.org> Message-ID: <4F7FABCD.5040500@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/04/2012 22:00, Jeremy Lavergne wrote: >> I also try to run selfupdate daily (one of my other machines is running >> Debian & a cron job kicks around 07:45 each morning to run apt-get >> update so, if I'm awake, I do Mac Ports too) so the number of ports is >> minimal on an upgrade & if I get a long list of ports, I split them into >> batches. Not necessary really but I like to keep the machine active on >> other fronts while they're upgrading as much as possible. > > You can also set MacPort's nice value to make it play nicer (from `man 5 macports.conf`): > buildnicevalue > Lowered scheduling priority (0-20) to use for make when building > ports > Default: 0 I hadn't thought of renice. Could be the way to go if I don't update for a few days. I've pruned quite a few ports out recently but I've still got way over 200 ports installed & some days there can be more than several available for upgrade. As an aside, I'm just finishing up installing Vim huge with all the trimmings on Snow Leopard running in a VM on a Macbook running Ubuntu 11.10 Oneiric Ocelot with Mac Ports. Still going strong after four hours (just getting to Ruby). Crazy. Don't ask me who asked me to do it :-) Cheers Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPf6vKAAoJEKpMeDHWT5ADLCEH/AlTbUDDvN154xyVZXsUA8hW 4jUyJUf+3qbTQxsGIzwYrXmUGyYWu+zPhS6iP4ZeGsBcLukLnlLgm4NWZYH5HxTG kkNakJfZSTkEN55YYwxSJhAG3Ua43FsZ5aHMlCJbepj/KpyTckyR/aROivHey6d8 ynDntZWbFPRFy+p1d8xI2RL19pmRuSxOef36ncIjf3wmUQPZefiHhVVZrh4bNbl6 BaXn+VGGTDD4dKJq1kW4nj68A0WZBeG4mKFsFMKEsgAuqkkJwui3AVGkwFPaxggE QSP6otoiV50UjX1JrlbOBJdgrK8jkWHYQEEgx4Rp9KrOshDylzmf9zoWzXq8/+s= =IuDa -----END PGP SIGNATURE----- From timhaigh at mac.com Fri Apr 6 22:00:29 2012 From: timhaigh at mac.com (Tim Haigh) Date: Sat, 07 Apr 2012 06:00:29 +0100 Subject: Can selfupdate be done incrementally In-Reply-To: <20120406175803.GD351@mail.akwebsoft.com> References: <20120406175803.GD351@mail.akwebsoft.com> Message-ID: <9ADBE069-7839-4546-92DE-4E6D396FD7F4@mac.com> The MLB in your mac has sensors that will automatically shutdown your mac if it ever got to a critical heat. This is never likely to happen. I had a 2009 mac mini that ran for a couple of years sandwiched between an Apple Airport base station and an ASDL modem, I never turned it off in 3 years. never had an issue. it did all my compiling etc. On 6 Apr 2012, at 18:58, Tim Johnson wrote: > I use a 2012 Mac Mini with OSX Lion. > > I haven't run selfupdate in some time. > > My observations in the past is that this machine runs alarmingly hot > during long compiles. I recall being very nervous during the last > selfupdate with temperature raising to as 180 F or more. > > I'm wondering if it is possible to do selfupdate a step or > dependency at a time. That way, I could allow the machine to cool > off before resuming. > > Any comments are welcome. > > FYI: I am a former C programmer and have deep in the recesses of my > memory some acquaintance with compile issues and makefiles. > > FYI2: I will post to the Mac Mini forum the heat issue and see what > other Mini users have to say. > > thanks in advance > -- > Tim > tim at tee jay forty nine dot com or akwebsoft dot com > http://www.akwebsoft.com > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From jmr at macports.org Fri Apr 6 22:04:48 2012 From: jmr at macports.org (Joshua Root) Date: Sat, 07 Apr 2012 15:04:48 +1000 Subject: Can selfupdate be done incrementally In-Reply-To: <546F3368-3329-45D1-9446-5D33FAB64E5A@lavergne.gotdns.org> References: <20120406175803.GD351@mail.akwebsoft.com> <4F7F58A0.2060809@gmail.com> <546F3368-3329-45D1-9446-5D33FAB64E5A@lavergne.gotdns.org> Message-ID: <4F7FCAF0.30104@macports.org> On 2012-4-7 07:00 , Jeremy Lavergne wrote: >> I also try to run selfupdate daily (one of my other machines is running >> Debian & a cron job kicks around 07:45 each morning to run apt-get >> update so, if I'm awake, I do Mac Ports too) so the number of ports is >> minimal on an upgrade & if I get a long list of ports, I split them into >> batches. Not necessary really but I like to keep the machine active on >> other fronts while they're upgrading as much as possible. > > You can also set MacPort's nice value to make it play nicer (from `man 5 macports.conf`): > buildnicevalue > Lowered scheduling priority (0-20) to use for make when building > ports > Default: 0 > Raising the nice value helps if you want to do other things with the machine at the same time as building, as in the above quote. It doesn't reduce overall system load though. For the OP worried about heat, a lower buildmakejobs value should help. I don't know what kind of Energy Saver settings the new minis have, but if there's any kind of reduced CPU performance setting, that would also reduce the rate of heat generation. - Josh From andrew.long at yahoo.com Sat Apr 7 03:15:58 2012 From: andrew.long at yahoo.com (Andrew Long) Date: Sat, 7 Apr 2012 11:15:58 +0100 Subject: Website Management tool Message-ID: I'm looking for recommendations for a graphical web-site management tool hosted on Macports. The package should report on broken links, suggest fixes, and make it easy to move files around. Several years back, in the Windoze world, I used Visual Interdev for this. Regards, Andy -- Andrew Long andrew dot long at yahoo dot com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 275 bytes Desc: This is a digitally signed message part URL: From zen146410 at zen.co.uk Sat Apr 7 03:48:57 2012 From: zen146410 at zen.co.uk (Barrie Stott) Date: Sat, 7 Apr 2012 11:48:57 +0100 Subject: Upgrading p5-app-ack fails for me. Message-ID: 'port outgraded' showed that p5-app-ack and p5.14-app-ack (but no other *-app-ack) needed to be upgraded and p5.14-app-ack did so without a hitch. The ports I have of the form p5* are: p5-app-ack @1.940.0_2 (active) p5.12-file-next @1.20.0_2 p5.12-locale-gettext @1.50.0_6+universal (active) p5.14-app-ack @1.940.0_2 p5.14-app-ack @1.960.0_0 (active) p5.14-file-next @1.20.0_2 (active) 'port info p5-app-ack' shows the following where the line of particular interest is 'Replaced by: p5.14-app-ack' p5-app-ack @1.960.0 (perl) Replaced by: p5.14-app-ack Sub-ports: p5.8-app-ack, p5.10-app-ack, p5.12-app-ack, p5.14-app-ack Description: ack is a tool like grep, aimed at programmers with large trees of heterogeneous source code. Homepage: http://betterthangrep.com/ Library Dependencies: p5.14-app-ack Platforms: darwin License: unknown Maintainers: mschout at gkg.net, openmaintainer at macports.org 'sudo port upgrade p5-app-ack' gives (note 1st line): ---> p5-app-ack is replaced by p5.12-app-ack ---> Computing dependencies for p5.12-app-ack ---> Dependencies to be installed: p5.12-file-next ---> Activating p5.12-file-next @1.20.0_2 Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man3/File::Next.3pm.gz is being used by the active p5.14- file-next port. Please deactivate this port first, or use 'port -f activate p5.12- file-next' to force the activation. Error: Failed to install p5.12-file-next Log for p5.12-file-next is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-file-next/p5.12-file-next/main.log Error: The following dependencies were not installed: p5.12-file-next Error: Unable to upgrade port: 1 To report a bug, see 1. Which port is p5-app-ack 'replaced by'? 2. How can I tell if is is safe to replace all my p5.12-* ports by the corresponding p5.14-* ports? 3. Most importantly, how can I upgrade p5-app-ack? Barrie. From deric at macports.org Sat Apr 7 04:30:54 2012 From: deric at macports.org (Daniel Ericsson) Date: Sat, 7 Apr 2012 13:30:54 +0200 Subject: lib release In-Reply-To: References: <2F90FE7B-A01B-4986-86E1-CD79196E2CF3@macports.org> Message-ID: <85B36D1D-B155-4217-8E82-F69201EA9294@macports.org> On 7 apr 2012, at 10:35, Marko Vranic wrote: > Ok, > > How can get release builds? Please reply-all so the mailing list can contribute to the discussion. I would investigate how to do a debug build for each of the library, then install them in a multi-step approach. 1. `port extract `, the distribution will now be in "work/" in the port's directory. 2. do any changes necessary for the configure step to configure for a debug build. 3. `port configure ` 4. do any changes necessary for the build step to build a debug version. 5. `port destroot `, this will build the port for you, but also verify that the make install step works. 6. `port install ` As for what changes you need to make, some of these probably just need "-g -DDEBUG" added to their CFLAGS, others might need edits to header files. I'd take note of what changes are needed and then open tickets with request for enhancement of these ports ? that they get a debug variant. As an aside I'm curious why you need debug builds of these libraries? Developing against a normal release build shouldn't really be a problem. My perception is that mostly debug builds are to help with the development of the libraries themselves? -- Daniel From nd at syndicat.com Sat Apr 7 05:10:02 2012 From: nd at syndicat.com (Niels Dettenbach) Date: Sat, 07 Apr 2012 14:10:02 +0200 Subject: Website Management tool In-Reply-To: References: Message-ID: <2295134.4W6zy9JzsT@gongo> Am Samstag, 7. April 2012, 11:15:58 schrieb Andrew Long: > I'm looking for recommendations for a graphical web-site management tool > hosted on Macports. The package should report on broken links, suggest > fixes, and make it easy to move files around. As far is i understand you are looking for a CMS (content management system) or at least WCMS (web content management system). This is nothing special for Macports, but i've been using the following since many years in many environments with many different users on many different expertise levels: - Zope - http://www.zope.org - ZMS - http://www.zmspublishing.com ZMS has even a "Mac style" GUI to select. Zope could be installed from macports or "by hand". ZMS will be installed as a "Zope product" - means you just copy the extracted tree to the Zopes "Product" folder, If you are looking for a more community oriented CMS you may take a look at Plone: http://www.plone org (evenb Zope based). There are ready to run Plone installers for Mac OSX available. You did not need to install Zope before / alone for Plone. http://plone.org/products/plone Zope has it's own software management beside if you prefer this and Zope based Software could be easily installed into any choosen filesystem folder / area of your need. hth best regards, Niels. -- --- Niels Dettenbach Syndicat IT & Internet http://www.syndicat.com --- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: From andrew.long at yahoo.com Sat Apr 7 05:18:42 2012 From: andrew.long at yahoo.com (Andrew Long) Date: Sat, 7 Apr 2012 13:18:42 +0100 Subject: Website Management tool In-Reply-To: <2295134.4W6zy9JzsT@gongo> References: <2295134.4W6zy9JzsT@gongo> Message-ID: <69D8D19A-4882-4E74-9569-9FF5CB07A9D4@yahoo.com> On 7 Apr 2012, at 13:10, Niels Dettenbach wrote: > Am Samstag, 7. April 2012, 11:15:58 schrieb Andrew Long: >> I'm looking for recommendations for a graphical web-site management tool >> hosted on Macports. The package should report on broken links, suggest >> fixes, and make it easy to move files around. > As far is i understand you are looking for a CMS (content management system) > or at least WCMS (web content management system). > > This is nothing special for Macports, but i've been using the following since > many years in many environments with many different users on many different > expertise levels: > > - Zope - http://www.zope.org > - ZMS - http://www.zmspublishing.com > > ZMS has even a "Mac style" GUI to select. > > Zope could be installed from macports or "by hand". ZMS will be installed as a > "Zope product" - means you just copy the extracted tree to the Zopes "Product" > folder, > > If you are looking for a more community oriented CMS you may take a look at > Plone: http://www.plone org (evenb Zope based). > > There are ready to run Plone installers for Mac OSX available. You did not > need to install Zope before / alone for Plone. > http://plone.org/products/plone > > Zope has it's own software management beside if you prefer this and Zope based > Software could be easily installed into any choosen filesystem folder / area > of your need. Thanks for the recommendation. I'll have a look at it. Regards, Andy -- Andrew Long andrew dot long at yahoo dot com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 275 bytes Desc: This is a digitally signed message part URL: From ctreleaven at cogeco.ca Sat Apr 7 05:38:47 2012 From: ctreleaven at cogeco.ca (Craig Treleaven) Date: Sat, 7 Apr 2012 08:38:47 -0400 Subject: Can selfupdate be done incrementally In-Reply-To: <9ADBE069-7839-4546-92DE-4E6D396FD7F4@mac.com> References: <20120406175803.GD351@mail.akwebsoft.com> <9ADBE069-7839-4546-92DE-4E6D396FD7F4@mac.com> Message-ID: Another way to look at it...make it fail now--within the warranty period--if it _is_ going to fail! (You do have backups, right?) But as Tim Haigh alluded, Apple squeezed a lot of hardware in a small box and did some good work to mitigate and control temps. If you run it hard and at high temps all the time, it may lead to a shorter life span for the drives. Craig At 6:00 AM +0100 4/7/12, Tim Haigh wrote: >The MLB in your mac has sensors that will automatically shutdown >your mac if it ever got to a critical heat. This is never likely to >happen. I had a 2009 mac mini that ran for a couple of years >sandwiched between an Apple Airport base station and an ASDL modem, >I never turned it off in 3 years. never had an issue. it did all my >compiling etc. >On 6 Apr 2012, at 18:58, Tim Johnson wrote: > >> I use a 2012 Mac Mini with OSX Lion. >> > > I haven't run selfupdate in some time. >> >> My observations in the past is that this machine runs alarmingly hot >> during long compiles. I recall being very nervous during the last > > selfupdate with temperature raising to as 180 F or more. > > From tim at akwebsoft.com Sat Apr 7 11:12:48 2012 From: tim at akwebsoft.com (Tim Johnson) Date: Sat, 7 Apr 2012 10:12:48 -0800 Subject: Can selfupdate be done incrementally In-Reply-To: <9ADBE069-7839-4546-92DE-4E6D396FD7F4@mac.com> References: <20120406175803.GD351@mail.akwebsoft.com> <9ADBE069-7839-4546-92DE-4E6D396FD7F4@mac.com> Message-ID: <20120407181248.GN351@mail.akwebsoft.com> * Tim Haigh [120407 01:10]: > The MLB in your mac has sensors that will automatically shutdown > your mac if it ever got to a critical heat. This is never likely > to happen. I had a 2009 mac mini that ran for a couple of years > sandwiched between an Apple Airport base station and an ASDL > modem, I never turned it off in 3 years. never had an issue. it > did all my compiling etc. Holy, moly! That is good to hear. Thank you -- Tim tim at tee jay forty nine dot com or akwebsoft dot com http://www.akwebsoft.com From ryandesign at macports.org Sat Apr 7 22:17:29 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 8 Apr 2012 00:17:29 -0500 Subject: lib release In-Reply-To: <85B36D1D-B155-4217-8E82-F69201EA9294@macports.org> References: <2F90FE7B-A01B-4986-86E1-CD79196E2CF3@macports.org> <85B36D1D-B155-4217-8E82-F69201EA9294@macports.org> Message-ID: On Apr 7, 2012, at 06:30, Daniel Ericsson wrote: > As for what changes you need to make, some of these probably just need "-g -DDEBUG" added to their CFLAGS, others might need edits to header files. I'd take note of what changes are needed and then open tickets with request for enhancement of these ports ? that they get a debug variant. > > As an aside I'm curious why you need debug builds of these libraries? Developing against a normal release build shouldn't really be a problem. My perception is that mostly debug builds are to help with the development of the libraries themselves? I'd say that's not an aside?that's the central question. Why debug builds? We'd need a good answer to that before we should consider adding debug variants to any ports. (I'm unclear why we have debug variants on the ports that we already have them on.) A ticket was recently filed to add a debug variant to MacPorts base, for inclusion in all ports: https://trac.macports.org/ticket/33821 I expressed the same reservations there. An answer was provided there. I don't know how to respond to it; I'm not sure if this is a road MacPorts wants to start down. From ryandesign at macports.org Sat Apr 7 22:21:29 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 8 Apr 2012 00:21:29 -0500 Subject: lib release In-Reply-To: References: Message-ID: On Apr 6, 2012, at 05:47, Marko Vranic wrote: > I'm interested in these libraries(these versions): > > tiff/3.9.5 > boost/1.44 > jpeg/8b > lcms/2.1 > zlib/1.2.5 > freetype/1.4.3 > > Are these release or debug builds? For most of those ports (all except tiff), those are not the versions that are available in MacPorts today: $ port info tiff boost jpeg lcms2 zlib freetype | grep ' @' tiff @3.9.5 (graphics) boost @1.49.0 (devel) jpeg @8d (graphics) lcms2 @2.3 (graphics) zlib @1.2.6 (archivers) freetype @2.4.9, Revision 1 (print, graphics) If you want to install older versions, you'll have to follow these instructions: https://trac.macports.org/wiki/howto/InstallingOlderPort From allbery.b at gmail.com Sat Apr 7 22:29:56 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Sun, 8 Apr 2012 01:29:56 -0400 Subject: lib release In-Reply-To: References: <2F90FE7B-A01B-4986-86E1-CD79196E2CF3@macports.org> <85B36D1D-B155-4217-8E82-F69201EA9294@macports.org> Message-ID: On Sun, Apr 8, 2012 at 01:17, Ryan Schmidt wrote: > I expressed the same reservations there. An answer was provided there. I > don't know how to respond to it; I'm not sure if this is a road MacPorts > wants to start down. I'll bite: the road that you apparently don't want MacPorts to start down is supporting development, but it occurs to me that one thing hampered by that is providing new ports, when a debug version of a dependency is needed. More generally, a build from source system that doesn't support development seems strange. Although perhaps I should read this in the context of the recent appearance of binary packages, with the implication that source builds are being deemphasized. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Sat Apr 7 22:51:00 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 8 Apr 2012 00:51:00 -0500 Subject: Upgrading p5-app-ack fails for me. In-Reply-To: References: Message-ID: <4AE22FA0-DB16-4F24-AD6C-273592B7DAB7@macports.org> On Apr 7, 2012, at 05:48, Barrie Stott wrote: > 'port outgraded' showed that p5-app-ack and p5.14-app-ack (but no other *-app-ack) needed to be upgraded and p5.14-app-ack did so without a hitch. > > The ports I have of the form p5* are: > p5-app-ack @1.940.0_2 (active) > p5.12-file-next @1.20.0_2 > p5.12-locale-gettext @1.50.0_6+universal (active) > p5.14-app-ack @1.940.0_2 > p5.14-app-ack @1.960.0_0 (active) > p5.14-file-next @1.20.0_2 (active) > > 'port info p5-app-ack' shows the following where the line of particular interest is 'Replaced by: p5.14-app-ack' > p5-app-ack @1.960.0 (perl) > Replaced by: p5.14-app-ack > Sub-ports: p5.8-app-ack, p5.10-app-ack, p5.12-app-ack, p5.14-app-ack > > Description: ack is a tool like grep, aimed at programmers with large trees of heterogeneous > source code. > Homepage: http://betterthangrep.com/ > > Library Dependencies: p5.14-app-ack > Platforms: darwin > License: unknown > Maintainers: mschout at gkg.net, openmaintainer at macports.org All ports named beginning with "p5-" are "stub" ports. They don't install anything; there's no point in installing any of them. Install the port designed for the specific version of perl you want to use, e.g. p5.12-app-ack or p5.14-app-ack. In theory, all the version-specific ports should be able to coexist with one another. In practice, they don't, as you're seeing: > ---> Activating p5.12-file-next @1.20.0_2 > Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man3/File::Next.3pm.gz is being used by the active p5.14- file-next port. Please deactivate this port first, or use 'port -f activate p5.12- file-next' to force the activation. Dan Ports wrote a message to the mailing list about this in February, suggesting that we should stop pretending to support multiple simultaneous perl versions when it's obviously not working: http://lists.macosforge.org/pipermail/macports-dev/2012-February/017727.html No decision was reached but I support the idea of offering only a single version of perl, 5.14, in MacPorts. > 1. Which port is p5-app-ack 'replaced by'? The default version of perl in MacPorts is perl5.12. I'm not sure why on your system p5-app-ack shows it is replaced_by p5.14-app-ack. On my system it shows it is replaced_by p5.12-app-ack. > 2. How can I tell if is is safe to replace all my p5.12-* ports by the corresponding p5.14-* ports? Since 5.12 is the default perl version in MacPorts, many ports will declare dependencies on p5.12 modules. And since, although we intended for them not to, the versioned modules often conflict with one another, using a version other than 5.12 will be problematic. > 3. Most importantly, how can I upgrade p5-app-ack? Which version of perl do you want to use? If the answer is not 5.12, you'll continue to have the above problems. From ryandesign at macports.org Sat Apr 7 23:05:34 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 8 Apr 2012 01:05:34 -0500 Subject: lib release In-Reply-To: References: <2F90FE7B-A01B-4986-86E1-CD79196E2CF3@macports.org> <85B36D1D-B155-4217-8E82-F69201EA9294@macports.org> Message-ID: <41062F8E-FA90-4350-9F29-170508B5AC80@macports.org> On Apr 8, 2012, at 00:29, Brandon Allbery wrote: > On Sun, Apr 8, 2012 at 01:17, Ryan Schmidt wrote: >> I expressed the same reservations there. An answer was provided there. I don't know how to respond to it; I'm not sure if this is a road MacPorts wants to start down. > > I'll bite: the road that you apparently don't want MacPorts to start down is supporting development, but it occurs to me that one thing hampered by that is providing new ports, when a debug version of a dependency is needed. > > More generally, a build from source system that doesn't support development seems strange. Although perhaps I should read this in the context of the recent appearance of binary packages, with the implication that source builds are being deemphasized. Each variant added to a port doubles the combination of variants available for a port. For most patches that suggest to add any variant to a port, I question if it's necessary; now that it's being suggested to add a variant by default to all ports, I want to question all the more thoroughly whether the considerable effort involved in doing that is useful. I would assume most users don't need debug variants; indeed, since we don't have them on most ports today, I'd wager that almost all current MacPorts users don't need them. What considerable effort is involved? Fielding the tickets and mailing list posts that will come in reporting that the +debug variant does not work with some port, and then having to either fix it in that port or disable it. Users using the debug variant will also not benefit from the buildbot's precompiled binaries, since we only build the default set of variants. Alternately, we could improve the buildbot so it builds all combinations of variants; I'd like this for other reasons, but as I say adding a global variant would double the number of variant combinations for each port, and thus double the amount of time it takes the buildbot to build things. I'm not sure what percentage utilization the buildbot currently experiences?whether doubling the amount of time spent on each port would overload it or not. From ryandesign at macports.org Sat Apr 7 23:30:22 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 8 Apr 2012 01:30:22 -0500 Subject: Wordpress package default installation In-Reply-To: <4F7F0BC4.1050601@sunrise.ch> References: <4F7F0BC4.1050601@sunrise.ch> Message-ID: <8C4C6D3D-3809-4330-83F7-B948B9AB79BF@macports.org> On Apr 6, 2012, at 10:29, Michael Parchet wrote: > Why the wordpress package is installed in www folder and isn't into apache2 htdocs folder by default ? There hasn't been any great effort to standardize how the various web app ports work. In my opinion, they should probably all install into a directory ${prefix}/www/${name}. It is then up to the user to configure their web server to use the software from that location. The ports should not install into ${prefix}/apache2/htdocs because most of them do not specifically require the apache2 server; they would probably work fine with other web servers like lighttpd or nginx. I might not be opposed to a webapp portgroup that somehow automates the task of configuring popular web servers to expose a given web app at a predictable URL. This might involve modifying each web server so that it looks for additional config files in a particular directory, then having the webapp portgroup write a config file for each such web server. The webapp could even add a notes entry telling the user what URL to open to use the web app. That would be pretty nice. On the other hand, it's hard to anticipate where a user will want the web app exposed in the web space. For a user's personal development machine, sure, we could default to making e.g. phpmyadmin available at http://localhost/phpmyadmin. But what about a production server? What if this server serves several vhosts? Should we expose the web apps on the default vhost only? Or all of them? What if the user wants each web app available at its own vhost? Since there is so much variation possible, it may be simplest to just install the web app's files, and leave configuring the web server to serve them up to the individual user. From allbery.b at gmail.com Sun Apr 8 01:55:20 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Sun, 8 Apr 2012 04:55:20 -0400 Subject: lib release In-Reply-To: <41062F8E-FA90-4350-9F29-170508B5AC80@macports.org> References: <2F90FE7B-A01B-4986-86E1-CD79196E2CF3@macports.org> <85B36D1D-B155-4217-8E82-F69201EA9294@macports.org> <41062F8E-FA90-4350-9F29-170508B5AC80@macports.org> Message-ID: While noting the rest of your response, I would like to point out that... On Sun, Apr 8, 2012 at 02:05, Ryan Schmidt wrote: > Users using the debug variant will also not benefit from the buildbot's > precompiled binaries ...arguably if they need the debug variant, they *should* be building it locally, not using prebuilt. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From mparchet at sunrise.ch Sun Apr 8 04:05:03 2012 From: mparchet at sunrise.ch (Michael Parchet) Date: Sun, 08 Apr 2012 13:05:03 +0200 Subject: Change the installation directory In-Reply-To: <8C4C6D3D-3809-4330-83F7-B948B9AB79BF@macports.org> References: <4F7F0BC4.1050601@sunrise.ch> <8C4C6D3D-3809-4330-83F7-B948B9AB79BF@macports.org> Message-ID: <4F8170DF.9070405@sunrise.ch> Le 08.04.12 08:30, Ryan Schmidt a ?crit : Hello, Tanks for your explanations. I have an other questions. is it possible to change the package installation directory (for example via an option of port installation --option ?) Tanks for your answer Best regards mparchet > On Apr 6, 2012, at 10:29, Michael Parchet wrote: > >> Why the wordpress package is installed in www folder and isn't into apache2 htdocs folder by default ? > There hasn't been any great effort to standardize how the various web app ports work. In my opinion, they should probably all install into a directory ${prefix}/www/${name}. It is then up to the user to configure their web server to use the software from that location. > > The ports should not install into ${prefix}/apache2/htdocs because most of them do not specifically require the apache2 server; they would probably work fine with other web servers like lighttpd or nginx. > > I might not be opposed to a webapp portgroup that somehow automates the task of configuring popular web servers to expose a given web app at a predictable URL. This might involve modifying each web server so that it looks for additional config files in a particular directory, then having the webapp portgroup write a config file for each such web server. The webapp could even add a notes entry telling the user what URL to open to use the web app. That would be pretty nice. > > On the other hand, it's hard to anticipate where a user will want the web app exposed in the web space. For a user's personal development machine, sure, we could default to making e.g. phpmyadmin available at http://localhost/phpmyadmin. But what about a production server? What if this server serves several vhosts? Should we expose the web apps on the default vhost only? Or all of them? What if the user wants each web app available at its own vhost? Since there is so much variation possible, it may be simplest to just install the web app's files, and leave configuring the web server to serve them up to the individual user. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From deric at macports.org Sun Apr 8 04:12:01 2012 From: deric at macports.org (Daniel Ericsson) Date: Sun, 8 Apr 2012 13:12:01 +0200 Subject: lib release In-Reply-To: References: <2F90FE7B-A01B-4986-86E1-CD79196E2CF3@macports.org> <85B36D1D-B155-4217-8E82-F69201EA9294@macports.org> Message-ID: On 8 apr 2012, at 07:17, Ryan Schmidt wrote: > On Apr 7, 2012, at 06:30, Daniel Ericsson wrote: > >> As an aside I'm curious why you need debug builds of these libraries? Developing against a normal release build shouldn't really be a problem. My perception is that mostly debug builds are to help with the development of the libraries themselves? > > I'd say that's not an aside?that's the central question. Why debug builds? We'd need a good answer to that before we should consider adding debug variants to any ports. (I'm unclear why we have debug variants on the ports that we already have them on.) > > A ticket was recently filed to add a debug variant to MacPorts base, for inclusion in all ports: > > https://trac.macports.org/ticket/33821 > > I expressed the same reservations there. An answer was provided there. I don't know how to respond to it; I'm not sure if this is a road MacPorts wants to start down. A default debug variant for all ports seems excessive. I'd make a distinction between ports that only supply an end user binary and those that supply a library that can be developed against. Doesn't feel unreasonable to me to add debug variants to ports that supply libraries with the understanding that a developer that want to use that library with it's debug functionality, has to do a requested install of it. -- Daniel From ryandesign at macports.org Sun Apr 8 04:16:08 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 8 Apr 2012 06:16:08 -0500 Subject: lib release In-Reply-To: References: <2F90FE7B-A01B-4986-86E1-CD79196E2CF3@macports.org> <85B36D1D-B155-4217-8E82-F69201EA9294@macports.org> Message-ID: <4F5A8048-A0DD-40EA-98FD-0F0731BC3425@macports.org> On Apr 8, 2012, at 06:12, Daniel Ericsson wrote: > I'd make a distinction between ports that only supply an end user binary and those that supply a library that can be developed against. Doesn't feel unreasonable to me to add debug variants to ports that supply libraries with the understanding that a developer that want to use that library with it's debug functionality, has to do a requested install of it. We do have the "installs_libs" boolean now. We assume yes; we haven't added "installs_libs no" to all such ports yet but we should. From ryandesign at macports.org Sun Apr 8 04:21:53 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 8 Apr 2012 06:21:53 -0500 Subject: Change the installation directory In-Reply-To: <4F8170DF.9070405@sunrise.ch> References: <4F7F0BC4.1050601@sunrise.ch> <8C4C6D3D-3809-4330-83F7-B948B9AB79BF@macports.org> <4F8170DF.9070405@sunrise.ch> Message-ID: <98216D91-C26D-4E7D-891F-4ADEF7B209EB@macports.org> On Apr 8, 2012, at 06:05, Michael Parchet wrote: > is it possible to change the package installation directory (for example via an option of port installation --option ?) You mean change /opt/local to something else? You can only change that at the time that you install MacPorts, before you've installed any ports. Here are the instructions: https://trac.macports.org/wiki/InstallingMacPorts#InstallMacPortsfromsourcetoanypathexceptusrlocal From ryandesign at macports.org Sun Apr 8 04:24:15 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 8 Apr 2012 06:24:15 -0500 Subject: Change the installation directory In-Reply-To: <98216D91-C26D-4E7D-891F-4ADEF7B209EB@macports.org> References: <4F7F0BC4.1050601@sunrise.ch> <8C4C6D3D-3809-4330-83F7-B948B9AB79BF@macports.org> <4F8170DF.9070405@sunrise.ch> <98216D91-C26D-4E7D-891F-4ADEF7B209EB@macports.org> Message-ID: On Apr 8, 2012, at 06:21, Ryan Schmidt wrote: > On Apr 8, 2012, at 06:05, Michael Parchet wrote: > >> is it possible to change the package installation directory (for example via an option of port installation --option ?) > > You mean change /opt/local to something else? You can only change that at the time that you install MacPorts, before you've installed any ports. Here are the instructions: > > https://trac.macports.org/wiki/InstallingMacPorts#InstallMacPortsfromsourcetoanypathexceptusrlocal Actually these look like more comprehensive instructions: http://www.macports.org/install.php#source From jeremy at lavergne.gotdns.org Sun Apr 8 08:22:35 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sun, 8 Apr 2012 11:22:35 -0400 Subject: Wordpress package default installation In-Reply-To: <8C4C6D3D-3809-4330-83F7-B948B9AB79BF@macports.org> References: <4F7F0BC4.1050601@sunrise.ch> <8C4C6D3D-3809-4330-83F7-B948B9AB79BF@macports.org> Message-ID: > There hasn't been any great effort to standardize how the various web app ports work. In my opinion, they should probably all install into a directory ${prefix}/www/${name}. It is then up to the user to configure their web server to use the software from that location. So going with what was suggested earlier (adding an alias a configuration for that directory) would be a simple thing to do, but creating one for every possible web server configuration might be more annoying. That being said, as we come across patches from users of each type of server, we can begin automating this in the webapp portgroup you suggest. > The ports should not install into ${prefix}/apache2/htdocs because most of them do not specifically require the apache2 server; they would probably work fine with other web servers like lighttpd or nginx. > > I might not be opposed to a webapp portgroup that somehow automates the task of configuring popular web servers to expose a given web app at a predictable URL. This might involve modifying each web server so that it looks for additional config files in a particular directory, then having the webapp portgroup write a config file for each such web server. The webapp could even add a notes entry telling the user what URL to open to use the web app. That would be pretty nice. The usual approach is to segment the Apache configuration into a main file and various directories to pull in additional configuration files. Specifically, phpmyadmin and wordpress would place their alias/directory definitions files (phpmyadmin.conf and wordpress.conf) into: ${prefix}/etc/apache2/conf.d > On the other hand, it's hard to anticipate where a user will want the web app exposed in the web space. For a user's personal development machine, sure, we could default to making e.g. phpmyadmin available athttp://localhost/phpmyadmin. But what about a production server? What if this server serves several vhosts? Should we expose the web apps on the default vhost only? Or all of them? What if the user wants each web app available at its own vhost? Since there is so much variation possible, it may be simplest to just install the web app's files, and leave configuring the web server to serve them up to the individual user. Have Apache default to localhost only. If a user intends to use production, other things like PHP's ini file need changed around as well. Not to mention many default Apache modules should be disabled and the settings for max hosts should be lowered so the machine isn't choked to a standstill by a swarm of requests. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From james.benstead at gmail.com Sun Apr 8 18:36:27 2012 From: james.benstead at gmail.com (James Benstead) Date: Mon, 9 Apr 2012 02:36:27 +0100 Subject: port selfupdate not working Message-ID: On running sudo port selfupdate I get the following error: jims-mbp-2:default jim$ sudo port selfupdate ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 1.9.2 installed, MacPorts base version 2.0.4 downloaded. ---> MacPorts base is outdated, installing new version 2.0.4 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details) I haven't attached the log file as I don't know where to find it. What's the best way to go about fixing this problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Sun Apr 8 19:33:15 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 8 Apr 2012 21:33:15 -0500 Subject: port selfupdate not working In-Reply-To: References: Message-ID: On Apr 8, 2012, at 20:36, James Benstead wrote: > On running sudo port selfupdate I get the following error: > > jims-mbp-2:default jim$ sudo port selfupdate > ---> Updating the ports tree > ---> Updating MacPorts base sources using rsync > MacPorts base version 1.9.2 installed, > MacPorts base version 2.0.4 downloaded. > ---> MacPorts base is outdated, installing new version 2.0.4 > Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl > > Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details) > > I haven't attached the log file as I don't know where to find it. What's the best way to go about fixing this problem? Run "sudo port -v selfupdate" From jasperfrumau at gmail.com Sun Apr 8 19:59:28 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Mon, 9 Apr 2012 09:59:28 +0700 Subject: Error Building Cairo In-Reply-To: References: Message-ID: I was updating all my ports and got stuck at Cairo: Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install cairo Log for cairo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log Error: The following dependencies were not installed: gst-plugins-base gnome-vfs gconf gtk2 pango cairo shared-mime-info xorg-libXdamage orbit2 libidl policykit eggdbus gstreamer gstreamer libtheora libvorbis libogg orc Error: Unable to upgrade port: 1 To report a bug, see You have new mail in /var/mail/jasper jaspersmbp:~ jasper$ tail /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log while executing "$procedure $targetname" :info:build Warning: the following items did not execute (for cairo): org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install cairo :debug:build can not find channel named "debuglog" while executing "tcl::puts debuglog {DEBUG: Starting logging for cairo}" invoked from within "catch "tcl::puts $args"" --------------------- I tried again with debug on and I got: ld: warning: in /opt/local/lib/libgs.dylib, file was built for unsupported file format which is not the architecture being linked (i386) Undefined symbols: "_spectre_render_context_set_page_size", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_page_free", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_document_status", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_page_status", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_status_to_string", referenced from: _ps_convert in any2ppm-any2ppm.o _ps_convert in any2ppm-any2ppm.o "_spectre_document_render", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_page_render", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_document_new", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_render_context_free", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_page_get_size", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_document_free", referenced from: _ps_convert in any2ppm-any2ppm.o _ps_convert in any2ppm-any2ppm.o _ps_convert in any2ppm-any2ppm.o "_spectre_document_get_page_size", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_document_get_page_by_label", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_render_context_new", referenced from: _ps_convert in any2ppm-any2ppm.o "_spectre_document_load", referenced from: _ps_convert in any2ppm-any2ppm.o ld: symbol(s) not found collect2: ld returned 1 exit status make[4]: *** [any2ppm] Error 1 make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-i386/test' make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-i386/test' make[2]: *** [all] Error 2 make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-i386/test' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-i386' make: *** [all] Error 2 No idea yet, but perhaps a strange architecture issue? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy at lavergne.gotdns.org Sun Apr 8 20:04:43 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sun, 8 Apr 2012 23:04:43 -0400 Subject: Error Building Cairo In-Reply-To: References: Message-ID: <0A1771EA-8F65-4AC6-A417-784FF3390A57@lavergne.gotdns.org> > I tried again with debug on and I got: > > ld: warning: in /opt/local/lib/libgs.dylib, file was built for unsupported file format which is not the architecture being linked (i386) > Undefined symbols: > "_spectre_render_context_set_page_size", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_page_free", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_document_status", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_page_status", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_status_to_string", referenced from: > _ps_convert in any2ppm-any2ppm.o > _ps_convert in any2ppm-any2ppm.o > "_spectre_document_render", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_page_render", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_document_new", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_render_context_free", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_page_get_size", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_document_free", referenced from: > _ps_convert in any2ppm-any2ppm.o > _ps_convert in any2ppm-any2ppm.o > _ps_convert in any2ppm-any2ppm.o > "_spectre_document_get_page_size", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_document_get_page_by_label", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_render_context_new", referenced from: > _ps_convert in any2ppm-any2ppm.o > "_spectre_document_load", referenced from: > _ps_convert in any2ppm-any2ppm.o > > No idea yet, but perhaps a strange architecture issue? Looks like libspectre needs rebuilt. However, before you do it would be helpful to know what was installed that: port provides /opt/local/lib/libgs.dylib It might be that cairo is pulling in something it doesn't declare as a dependency _and_ that libspectre isn't installing the correct architectures. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From jasperfrumau at gmail.com Sun Apr 8 20:28:19 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Mon, 9 Apr 2012 10:28:19 +0700 Subject: Error Building Cairo In-Reply-To: <0A1771EA-8F65-4AC6-A417-784FF3390A57@lavergne.gotdns.org> References: <0A1771EA-8F65-4AC6-A417-784FF3390A57@lavergne.gotdns.org> Message-ID: On Mon, Apr 9, 2012 at 10:04 AM, Jeremy Lavergne wrote: > > I tried again with debug on and I got: > > > > ld: warning: in /opt/local/lib/libgs.dylib, file was built for > unsupported file format which is not the architecture being linked (i386) > > Undefined symbols: > > "_spectre_render_context_set_page_size", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_page_free", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_document_status", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_page_status", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_status_to_string", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_document_render", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_page_render", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_document_new", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_render_context_free", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_page_get_size", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_document_free", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > _ps_convert in any2ppm-any2ppm.o > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_document_get_page_size", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_document_get_page_by_label", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_render_context_new", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > "_spectre_document_load", referenced from: > > _ps_convert in any2ppm-any2ppm.o > > > > No idea yet, but perhaps a strange architecture issue? > > Looks like libspectre needs rebuilt. However, before you do it would be > helpful to know what was installed that: > port provides /opt/local/lib/libgs.dylib > $ port provides /opt/local/lib/libgs.dylib /opt/local/lib/libgs.dylib is provided by: ghostscript Ghostscript it is.. > > It might be that cairo is pulling in something it doesn't declare as a > dependency _and_ that libspectre isn't installing the correct architectures. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Sun Apr 8 20:31:44 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 8 Apr 2012 22:31:44 -0500 Subject: Error Building Cairo In-Reply-To: References: Message-ID: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> On Apr 8, 2012, at 21:59, Jasper Frumau wrote: > I was updating all my ports and got stuck at Cairo: > https://trac.macports.org/ticket/33827 From francisderive at me.com Mon Apr 9 00:00:35 2012 From: francisderive at me.com (Francis Derive) Date: Mon, 09 Apr 2012 09:00:35 +0200 Subject: Error building Subversion 1.7.4 - Security.h can't be found. Message-ID: <78816EFD-6636-4358-9C7D-2CF6050134AA@me.com> Hi, In my way to revisiting MacPorts : - upgraded to MacPorts-2.0.4-10.7-Lion -, - doing self update, then : "port upgrade outdated" broke like this : > :info:build subversion/libsvn_subr/macos_keychain.c:41:10: fatal error: 'Security/Security.h' file not found > :info:build #include > :info:build ^ > :info:build 1 error generated. > :info:build make: *** [subversion/libsvn_subr/macos_keychain.lo] Error 1 In the subversion-1.7.4.tar expanded download I see this in the file macos_keychain.c:41:10 > #ifdef SVN_HAVE_KEYCHAIN_SERVICES > > #include So it appears that SVN_HAVE_KEYCHAIN_SERVICES might be defined - seems accurate - and Security.h can't be found : How to ? Thanks for the tip ? Francis. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasperfrumau at gmail.com Mon Apr 9 00:05:30 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Mon, 9 Apr 2012 14:05:30 +0700 Subject: Error Building Cairo In-Reply-To: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> Message-ID: Deactived Ghostscript and cleaned Cairo. Tried again. Got stuck again. $ tail /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "$procedure $targetname" :info:build Warning: the following items did not execute (for cairo): org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install cairo :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing "open [file join $dir tclIndex]" :notice:build Log for cairo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log Looking for the error online I found https://trac.macports.org/ticket/25360, but I do not see how that can help me... /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log On Mon, Apr 9, 2012 at 10:31 AM, Ryan Schmidt wrote: > > On Apr 8, 2012, at 21:59, Jasper Frumau wrote: > > > I was updating all my ports and got stuck at Cairo: > > > > https://trac.macports.org/ticket/33827 > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Mon Apr 9 00:10:41 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 9 Apr 2012 02:10:41 -0500 Subject: Error Building Cairo In-Reply-To: References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> Message-ID: On Apr 9, 2012, at 02:05, Jasper Frumau wrote: > Deactived Ghostscript and cleaned Cairo. Tried again. Got stuck again. > > $ tail /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log > :error:build Target org.macports.build returned: shell command failed (see log for details) > :debug:build Backtrace: shell command failed (see log for details) > while executing > "$procedure $targetname" > :info:build Warning: the following items did not execute (for cairo): org.macports.activate org.macports.build org.macports.destroot org.macports.install > :error:build Failed to install cairo > :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory > while executing > "open [file join $dir tclIndex]" > :notice:build Log for cairo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log > > Looking for the error online I found https://trac.macports.org/ticket/25360 , but I do not see how that can help me... The error about not being able to find tclIndex is a decoy; it's not relevant to the problem. You didn't show anything above that helps us figure out why cairo failed to build. The complete main.log file might. From ryandesign at macports.org Mon Apr 9 00:51:15 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 9 Apr 2012 02:51:15 -0500 Subject: Error building Subversion 1.7.4 - Security.h can't be found. In-Reply-To: <78816EFD-6636-4358-9C7D-2CF6050134AA@me.com> References: <78816EFD-6636-4358-9C7D-2CF6050134AA@me.com> Message-ID: On Apr 9, 2012, at 02:00, Francis Derive wrote: > > Hi, > > In my way to revisiting MacPorts : > - upgraded to MacPorts-2.0.4-10.7-Lion -, > - doing self update, > then : "port upgrade outdated" broke like this : > >> :info:build subversion/libsvn_subr/macos_keychain.c:41:10: fatal error: 'Security/Security.h' file not found >> :info:build #include >> :info:build ^ >> :info:build 1 error generated. >> :info:build make: *** [subversion/libsvn_subr/macos_keychain.lo] Error 1 > > In the subversion-1.7.4.tar expanded download I see this in the file macos_keychain.c:41:10 > >> #ifdef SVN_HAVE_KEYCHAIN_SERVICES >> >> #include > > So it appears that SVN_HAVE_KEYCHAIN_SERVICES might be defined - seems accurate - and Security.h can't be found : How to ? I suggest you file a bug report in our issue tracker. From jasperfrumau at gmail.com Mon Apr 9 01:34:00 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Mon, 9 Apr 2012 15:34:00 +0700 Subject: Error Building Cairo In-Reply-To: References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> Message-ID: Here is the whole log http://pastebin.com/NkMMNzDT . Added it to pastebin as it is quite a bit.. On Mon, Apr 9, 2012 at 2:10 PM, Ryan Schmidt wrote: > > On Apr 9, 2012, at 02:05, Jasper Frumau wrote: > > > Deactived Ghostscript and cleaned Cairo. Tried again. Got stuck again. > > > > $ tail > /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log > > :error:build Target org.macports.build returned: shell command failed > (see log for details) > > :debug:build Backtrace: shell command failed (see log for details) > > while executing > > "$procedure $targetname" > > :info:build Warning: the following items did not execute (for cairo): > org.macports.activate org.macports.build org.macports.destroot > org.macports.install > > :error:build Failed to install cairo > > :debug:build couldn't open > "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": > no such file or directory > > while executing > > "open [file join $dir tclIndex]" > > :notice:build Log for cairo is at: > /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log > > > > Looking for the error online I found > https://trac.macports.org/ticket/25360 , but I do not see how that can > help me... > > The error about not being able to find tclIndex is a decoy; it's not > relevant to the problem. You didn't show anything above that helps us > figure out why cairo failed to build. The complete main.log file might. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Mon Apr 9 01:47:52 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 9 Apr 2012 03:47:52 -0500 Subject: Error Building Cairo In-Reply-To: References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> Message-ID: <6838AD1D-35FA-45F1-B889-D923F1D0800E@macports.org> Please "sudo port clean cairo" and try again. On Apr 9, 2012, at 03:34, Jasper Frumau wrote: > Here is the whole log http://pastebin.com/NkMMNzDT . Added it to pastebin as it is quite a bit.. > > On Mon, Apr 9, 2012 at 2:10 PM, Ryan Schmidt wrote: > > On Apr 9, 2012, at 02:05, Jasper Frumau wrote: > > > Deactived Ghostscript and cleaned Cairo. Tried again. Got stuck again. > > > > $ tail /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log > > :error:build Target org.macports.build returned: shell command failed (see log for details) > > :debug:build Backtrace: shell command failed (see log for details) > > while executing > > "$procedure $targetname" > > :info:build Warning: the following items did not execute (for cairo): org.macports.activate org.macports.build org.macports.destroot org.macports.install > > :error:build Failed to install cairo > > :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory > > while executing > > "open [file join $dir tclIndex]" > > :notice:build Log for cairo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log > > > > Looking for the error online I found https://trac.macports.org/ticket/25360 , but I do not see how that can help me... > > The error about not being able to find tclIndex is a decoy; it's not relevant to the problem. You didn't show anything above that helps us figure out why cairo failed to build. The complete main.log file might. > > > From jasperfrumau at gmail.com Mon Apr 9 02:14:16 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Mon, 9 Apr 2012 16:14:16 +0700 Subject: Error Building Cairo In-Reply-To: <6838AD1D-35FA-45F1-B889-D923F1D0800E@macports.org> References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> <6838AD1D-35FA-45F1-B889-D923F1D0800E@macports.org> Message-ID: Now I have this at the end of the main log : */opt/local/lib/libspectre.dylib -lgs -framework Carbon :info:build ld: library not found for -lgs *:info:build collect2: ld returned 1 exit status :info:build make[4]: *** [any2ppm] Error 1 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-x86_64/test' :info:build make[3]: *** [all-recursive] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-x86_64/test' :info:build make[2]: *** [all] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-x86_64/test' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-x86_64' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-x86_64' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/work/cairo-1.12.0-x86_64" && /usr/bin/make -j2 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "$procedure $targetname" :info:build Warning: the following items did not execute (for cairo): org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install cairo :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing "open [file join $dir tclIndex]" :notice:build Log for cairo is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log Pastebin mentioned it was beyond 500 KB, but you can look at it here: http://dl.dropbox.com/u/10342876/cairo-main.log It seems another package is the issue now.. On Mon, Apr 9, 2012 at 3:47 PM, Ryan Schmidt wrote: > Please "sudo port clean cairo" and try again. > > On Apr 9, 2012, at 03:34, Jasper Frumau wrote: > > > Here is the whole log http://pastebin.com/NkMMNzDT . Added it to > pastebin as it is quite a bit.. > > > > On Mon, Apr 9, 2012 at 2:10 PM, Ryan Schmidt > wrote: > > > > On Apr 9, 2012, at 02:05, Jasper Frumau wrote: > > > > > Deactived Ghostscript and cleaned Cairo. Tried again. Got stuck again. > > > > > > $ tail > /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log > > > :error:build Target org.macports.build returned: shell command failed > (see log for details) > > > :debug:build Backtrace: shell command failed (see log for details) > > > while executing > > > "$procedure $targetname" > > > :info:build Warning: the following items did not execute (for cairo): > org.macports.activate org.macports.build org.macports.destroot > org.macports.install > > > :error:build Failed to install cairo > > > :debug:build couldn't open > "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": > no such file or directory > > > while executing > > > "open [file join $dir tclIndex]" > > > :notice:build Log for cairo is at: > /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/cairo/main.log > > > > > > Looking for the error online I found > https://trac.macports.org/ticket/25360 , but I do not see how that can > help me... > > > > The error about not being able to find tclIndex is a decoy; it's not > relevant to the problem. You didn't show anything above that helps us > figure out why cairo failed to build. The complete main.log file might. > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Mon Apr 9 02:46:05 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 9 Apr 2012 04:46:05 -0500 Subject: Error Building Cairo In-Reply-To: References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> <6838AD1D-35FA-45F1-B889-D923F1D0800E@macports.org> Message-ID: <118DF3C3-F26C-418C-AF9B-C861448A1306@macports.org> On Apr 9, 2012, at 04:14, Jasper Frumau wrote: > Now I have this at the end of the main log : > > /opt/local/lib/libspectre.dylib -lgs -framework Carbon I'm not sure why it's trying to use the ghostscript library when it's not available. But you're at least partly suffering from... https://trac.macports.org/ticket/33827 ...because I see libspectre being used in your log as well. From jasperfrumau at gmail.com Mon Apr 9 03:16:33 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Mon, 9 Apr 2012 17:16:33 +0700 Subject: Error Building Cairo In-Reply-To: <118DF3C3-F26C-418C-AF9B-C861448A1306@macports.org> References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> <6838AD1D-35FA-45F1-B889-D923F1D0800E@macports.org> <118DF3C3-F26C-418C-AF9B-C861448A1306@macports.org> Message-ID: I deactivated Ghostscript after I got that recommendation to make Cairo built. It did get me further, but it sounds like this is all connected.. On Mon, Apr 9, 2012 at 4:46 PM, Ryan Schmidt wrote: > > On Apr 9, 2012, at 04:14, Jasper Frumau wrote: > > > Now I have this at the end of the main log : > > > > /opt/local/lib/libspectre.dylib -lgs -framework Carbon > > I'm not sure why it's trying to use the ghostscript library when it's not > available. But you're at least partly suffering from... > > https://trac.macports.org/ticket/33827 > > ...because I see libspectre being used in your log as well. > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Mon Apr 9 03:31:31 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 9 Apr 2012 05:31:31 -0500 Subject: Error Building Cairo In-Reply-To: References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> <6838AD1D-35FA-45F1-B889-D923F1D0800E@macports.org> <118DF3C3-F26C-418C-AF9B-C861448A1306@macports.org> Message-ID: <277E4287-883C-4EC6-8A51-38268F49EA16@macports.org> > I'm not sure why it's trying to use the ghostscript library when it's not available. But you're at least partly suffering from... > > https://trac.macports.org/ticket/33827 > > ...because I see libspectre being used in your log as well. Ah: libspectre requires ghostscript. Anyway. I'm enlisting the help of the cairo developers. Hopefully they'll suggest what we need to do. From mparchet at sunrise.ch Mon Apr 9 07:31:55 2012 From: mparchet at sunrise.ch (Michael Parchet) Date: Mon, 09 Apr 2012 16:31:55 +0200 Subject: kdepim4 Message-ID: <4F82F2DB.6090705@sunrise.ch> Hello, I try to install kdepim4 but I get an error. Here is the ticket link. https://trac.macports.org/ticket/33815 Did you install this package ? Do you know this error ? Tanks for your help Best regards mparchet From jerome.yanga at gmail.com Mon Apr 9 07:43:17 2012 From: jerome.yanga at gmail.com (Jerome Yanga) Date: Mon, 9 Apr 2012 07:43:17 -0700 Subject: Prefix on subject line for mailing list Message-ID: Hi! Would it be possible to have a prefix for this mailing list? I am using outlook and if I use the header or from field in the outlook rules, i will not accept all the mailing list emails that i belong to. Parsing the subject line seems to have more space. Regards, j From jeremy at lavergne.gotdns.org Mon Apr 9 07:48:56 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Mon, 9 Apr 2012 10:48:56 -0400 Subject: Prefix on subject line for mailing list In-Reply-To: References: Message-ID: <5F88C95D-1532-4BE8-9E93-1F3650813820@lavergne.gotdns.org> > Would it be possible to have a prefix for this mailing list? I am > using outlook and if I use the header or from field in the outlook > rules, i will not accept all the mailing list emails that i belong to. > Parsing the subject line seems to have more space. There are several other headers available, that unlike subject and from are actually dedicated for mailing list use: List-Id: MacPorts Project general user support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , I think using those would be more accurate. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From macsforever2000 at macports.org Mon Apr 9 08:22:29 2012 From: macsforever2000 at macports.org (Frank Schima) Date: Mon, 9 Apr 2012 09:22:29 -0600 Subject: kdepim4 In-Reply-To: <4F82F2DB.6090705@sunrise.ch> References: <4F82F2DB.6090705@sunrise.ch> Message-ID: On Apr 9, 2012, at 8:31 AM, Michael Parchet wrote: > Hello, > > I try to install kdepim4 but I get an error. > > Here is the ticket link. > > https://trac.macports.org/ticket/33815 > > Did you install this package ? > > Do you know this error ? > > Tanks for your help According to the log you posted to that ticket, the port that failed to build was kdepimlibs4. I have corrected the ticket, but be more careful in the future to cite the actual problem so we can help you. I have Cc'ed the maintainers of that port, but you will get help faster (or at all) if you do that when submitting the ticket. Cheers! Frank From andrew.long at yahoo.com Mon Apr 9 09:22:32 2012 From: andrew.long at yahoo.com (Andrew Long) Date: Mon, 9 Apr 2012 17:22:32 +0100 Subject: Website Management tool In-Reply-To: <2295134.4W6zy9JzsT@gongo> References: <2295134.4W6zy9JzsT@gongo> Message-ID: On 7 Apr 2012, at 13:10, Niels Dettenbach wrote: > Am Samstag, 7. April 2012, 11:15:58 schrieb Andrew Long: >> I'm looking for recommendations for a graphical web-site management tool >> hosted on Macports. The package should report on broken links, suggest >> fixes, and make it easy to move files around. > As far is i understand you are looking for a CMS (content management system) > or at least WCMS (web content management system). > > This is nothing special for Macports, but i've been using the following since > many years in many environments with many different users on many different > expertise levels: > > - Zope - http://www.zope.org > - ZMS - http://www.zmspublishing.com > > ZMS has even a "Mac style" GUI to select. > > Zope could be installed from macports or "by hand". ZMS will be installed as a > "Zope product" - means you just copy the extracted tree to the Zopes "Product" > folder, > > If you are looking for a more community oriented CMS you may take a look at > Plone: http://www.plone org (evenb Zope based). > > There are ready to run Plone installers for Mac OSX available. You did not > need to install Zope before / alone for Plone. > http://plone.org/products/plone > > Zope has it's own software management beside if you prefer this and Zope based > Software could be easily installed into any choosen filesystem folder / area > of your need. I've had a look at the documentation of this over the past few days, and it's a bit too heavy for what I need. I don't need something that makes me completely reformat the site - what I'm working on is my archived copies of stuff hat is/was out there, and I don't want to move too far away from the originals. But over time, as I've updated the archive, old files have been left behind that are now orphaned, or have children who have left home... so what I want is something that, for starters, shows broken links. Any other suggestions, please? Regards, Andy -- Andrew Long andrew dot long at yahoo dot com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 275 bytes Desc: This is a digitally signed message part URL: From nd at syndicat.com Mon Apr 9 09:53:04 2012 From: nd at syndicat.com (Niels Dettenbach (Syndicat IT&Internet)) Date: Mon, 09 Apr 2012 18:53:04 +0200 Subject: Website Management tool In-Reply-To: <8c261cb8-c4c6-49a9-a2b8-98fc2c46bda2@email.android.com> References: <8c261cb8-c4c6-49a9-a2b8-98fc2c46bda2@email.android.com> Message-ID: <4c9d5e19-a196-470b-b0f8-205bc01901ed@email.android.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Andrew Long schrieb: >I've had a look at the documentation of this over the past few days, >and it's a bit too heavy for what I need. I don't need something that >makes me completely reformat the site - what I'm working on is my >archived copies of stuff hat is/was out there, and I don't want to move >too far away from the originals. Ok, but what do you mean with "originals"? Modern websites usually divide content and style. With i.e. Plone you are able to "import" existing static styles with a importer tool available, but content has to be handled by hand or your own automatics into such a system. >But over time, as I've updated the archive, old files have been left >behind that are now orphaned, or have children who have left home... so >what I want is something that, for starters, shows broken links. > >Any other suggestions, please? If you are just looking for a link checker instead of a website management system there are afaik a lot of simple scripts out in the net which recursively go trough a page / site and "report" broken links in different ways / manners. They usually work with http or on a filesystem. cheers, Niels. - -- Niels Dettenbach Syndicat IT&Internet http://www.syndicat.com -----BEGIN PGP SIGNATURE----- Version: APG v1.0.8 iIEEAREIAEEFAk+DE/A6HE5pZWxzIERldHRlbmJhY2ggKFN5bmRpY2F0IElUJklu dGVybmV0KSA8bmRAc3luZGljYXQuY29tPgAKCRBU3ERlZRyiDa+VAJ9YOqQzKnsp 6pB+eLeyCCqWu2z2EQCfYjKenROQUM6k9E0X6Hk1L/QVwKs= =hDPJ -----END PGP SIGNATURE----- From james.benstead at gmail.com Mon Apr 9 11:39:12 2012 From: james.benstead at gmail.com (James Benstead) Date: Mon, 9 Apr 2012 19:39:12 +0100 Subject: port selfupdate not working In-Reply-To: References: Message-ID: Thanks Ryan. Logfile attached. The error message created this time is as follows (long): jims-mbp-2:~ jim$ sudo port -v selfupdate > > Password: > ---> Updating the ports tree > Synchronizing local ports tree from rsync:// > rsync.macports.org/release/ports/ > receiving file list ... done > ./ > _resources/port1.0/group/ > _resources/port1.0/group/kde4-1.1.tcl > databases/kyototycoon/ > databases/kyototycoon/Portfile > devel/git-core/ > devel/git-core/Portfile > devel/glib2-devel/ > devel/glib2-devel/Portfile > devel/glib2/ > devel/glib2/Portfile > devel/jansson/ > devel/jansson/Portfile > devel/libyaml/ > devel/libyaml/Portfile > devel/npm/ > devel/npm/Portfile > gnome/gtksourceview/ > gnome/gtksourceview/Portfile > gnome/gtksourceview/files/ > gnome/gtksourceview/files/patch-glib-2.32.diff > gnome/libgnomecups/ > gnome/libgnomecups/Portfile > gnome/libgnomecups/files/ > gnome/libgnomecups/files/patch-glib-2.32.diff > kde/analitza/ > kde/analitza/Portfile > kde/blinken/ > kde/blinken/Portfile > kde/cantor/ > kde/cantor/Portfile > kde/kalgebra/ > kde/kalgebra/Portfile > kde/kalzium/ > kde/kalzium/Portfile > kde/kanagram/ > kde/kanagram/Portfile > kde/kbruch/ > kde/kbruch/Portfile > kde/kde-l10n-bg/ > kde/kde-l10n-bg/Portfile > kde/kde-l10n-bs/ > kde/kde-l10n-bs/Portfile > kde/kde-l10n-ca-valencia/ > kde/kde-l10n-ca-valencia/Portfile > kde/kde-l10n-ca/ > kde/kde-l10n-ca/Portfile > kde/kde-l10n-cs/ > kde/kde-l10n-cs/Portfile > kde/kde-l10n-da/ > kde/kde-l10n-da/Portfile > kde/kde-l10n-de/ > kde/kde-l10n-de/Portfile > kde/kde-l10n-el/ > kde/kde-l10n-el/Portfile > kde/kde-l10n-en_GB/ > kde/kde-l10n-en_GB/Portfile > kde/kde-l10n-es/ > kde/kde-l10n-es/Portfile > kde/kde-l10n-et/ > kde/kde-l10n-et/Portfile > kde/kde-l10n-eu/ > kde/kde-l10n-eu/Portfile > kde/kde-l10n-fa/ > kde/kde-l10n-fa/Portfile > kde/kde-l10n-fi/ > kde/kde-l10n-fi/Portfile > kde/kde-l10n-fr/ > kde/kde-l10n-fr/Portfile > kde/kde-l10n-ga/ > kde/kde-l10n-ga/Portfile > kde/kde-l10n-gl/ > kde/kde-l10n-gl/Portfile > kde/kde-l10n-he/ > kde/kde-l10n-he/Portfile > kde/kde-l10n-hr/ > kde/kde-l10n-hr/Portfile > kde/kde-l10n-hu/ > kde/kde-l10n-hu/Portfile > kde/kde-l10n-ia/ > kde/kde-l10n-ia/Portfile > kde/kde-l10n-id/ > kde/kde-l10n-id/Portfile > kde/kde-l10n-is/ > kde/kde-l10n-is/Portfile > kde/kde-l10n-it/ > kde/kde-l10n-it/Portfile > kde/kde-l10n-ja/ > kde/kde-l10n-ja/Portfile > kde/kde-l10n-kk/ > kde/kde-l10n-kk/Portfile > kde/kde-l10n-km/ > kde/kde-l10n-km/Portfile > kde/kde-l10n-ko/ > kde/kde-l10n-ko/Portfile > kde/kde-l10n-lt/ > kde/kde-l10n-lt/Portfile > kde/kde-l10n-lv/ > kde/kde-l10n-lv/Portfile > kde/kde-l10n-nb/ > kde/kde-l10n-nb/Portfile > kde/kde-l10n-nds/ > kde/kde-l10n-nds/Portfile > kde/kde-l10n-nl/ > kde/kde-l10n-nl/Portfile > kde/kde-l10n-nn/ > kde/kde-l10n-nn/Portfile > kde/kde-l10n-pa/ > kde/kde-l10n-pa/Portfile > kde/kde-l10n-pl/ > kde/kde-l10n-pl/Portfile > kde/kde-l10n-pt/ > kde/kde-l10n-pt/Portfile > kde/kde-l10n-pt_BR/ > kde/kde-l10n-pt_BR/Portfile > kde/kde-l10n-ro/ > kde/kde-l10n-ro/Portfile > kde/kde-l10n-ru/ > kde/kde-l10n-ru/Portfile > kde/kde-l10n-si/ > kde/kde-l10n-si/Portfile > kde/kde-l10n-sk/ > kde/kde-l10n-sk/Portfile > kde/kde-l10n-sl/ > kde/kde-l10n-sl/Portfile > kde/kde-l10n-sr/ > kde/kde-l10n-sr/Portfile > kde/kde-l10n-sv/ > kde/kde-l10n-sv/Portfile > kde/kde-l10n-tg/ > kde/kde-l10n-tg/Portfile > kde/kde-l10n-th/ > kde/kde-l10n-th/Portfile > kde/kde-l10n-tr/ > kde/kde-l10n-tr/Portfile > kde/kde-l10n-ug/ > kde/kde-l10n-ug/Portfile > kde/kde-l10n-uk/ > kde/kde-l10n-uk/Portfile > kde/kde-l10n-vi/ > kde/kde-l10n-vi/Portfile > kde/kde-l10n-wa/ > kde/kde-l10n-wa/Portfile > kde/kde-l10n-zh_CN/ > kde/kde-l10n-zh_CN/Portfile > kde/kde-l10n-zh_TW/ > kde/kde-l10n-zh_TW/Portfile > kde/kde-wallpapers/ > kde/kde-wallpapers/Portfile > kde/kde4-baseapps/ > kde/kde4-baseapps/Portfile > kde/kde4-runtime/ > kde/kde4-runtime/Portfile > kde/kdeadmin/ > kde/kdeadmin/Portfile > kde/kdeartwork/ > kde/kdeartwork/Portfile > kde/kdegames4/ > kde/kdegames4/Portfile > kde/kdelibs4/ > kde/kdelibs4/Portfile > kde/kdemultimedia4/ > kde/kdemultimedia4/Portfile > kde/kdenetwork4/ > kde/kdenetwork4/Portfile > kde/kdepim4/ > kde/kdepim4/Portfile > kde/kdepimlibs4/ > kde/kdepimlibs4/Portfile > kde/kdesdk4/ > kde/kdesdk4/Portfile > kde/kdetoys4/ > kde/kdetoys4/Portfile > kde/kdewebdev/ > kde/kdewebdev/Portfile > kde/kgeography/ > kde/kgeography/Portfile > kde/khangman/ > kde/khangman/Portfile > kde/kig/ > kde/kig/Portfile > kde/kiten/ > kde/kiten/Portfile > kde/klettres/ > kde/klettres/Portfile > kde/kmplot/ > kde/kmplot/Portfile > kde/kross-interpreters/ > kde/kross-interpreters/Portfile > kde/ktouch/ > kde/ktouch/Portfile > kde/kturtle/ > kde/kturtle/Portfile > kde/kwordquiz/ > kde/kwordquiz/Portfile > kde/libkdeedu/ > kde/libkdeedu/Portfile > kde/marble/ > kde/marble/Portfile > kde/oxygen-icons/ > kde/oxygen-icons/Portfile > kde/parley/ > kde/parley/Portfile > kde/rocs/ > kde/rocs/Portfile > kde/smokegen/ > kde/smokegen/Portfile > kde/step/ > kde/step/Portfile > lang/apple-gcc42/ > lang/apple-gcc42/Portfile > lang/clang-3.1/ > lang/clang-3.1/Portfile > lang/clang-3.1/files/ > > lang/clang-3.1/files/0001-Revert-asan-substitute-extern-decls-with-system-head.patch > lang/ruby19/ > lang/ruby19/Portfile > net/ > python/ > python/py-distribute/ > python/py-distribute/Portfile > python/py-kyotocabinet/ > python/py-kyotocabinet/Portfile > python/py-lepl/ > python/py-lepl/Portfile > python/py-pymunk/ > python/py-pymunk/Portfile > python/py-pymunk/files/ > python/py-pymunk/files/patch-pymunk-_chipmunk.py.diff > python/py-pymunk/files/patch-pymunk-libload.py.diff > python/py-pymunk/files/patch-setup.py-ndebug.diff > python/py-pymunk/files/patch-setup.py.diff > python/py-wxpython/ > python/py-wxpython/Portfile > python/py-wxpython/files/ > python/py-wxpython/files/patch-config.py.diff.in > science/gerbil/ > science/gerbil/Portfile > sysutils/rpm54/ > sysutils/rpm54/Portfile > sysutils/zeroinstall-injector/ > sysutils/zeroinstall-injector/Portfile > textproc/jshon/ > textproc/jshon/Portfile > x11/gtk-engines2/ > x11/gtk-engines2/Portfile > x11/gtk-engines2/files/ > x11/gtk-engines2/files/patch-engines-clearlooks-src-animation.c.diff > x11/gtk-nodoka-engine/ > x11/gtk-nodoka-engine/Portfile > x11/gtk-nodoka-engine/files/ > x11/gtk-nodoka-engine/files/patch-glib-2.32.diff > x11/wine-crossover-games/ > x11/wine-crossover-games/Portfile > x11/wine-crossover/ > x11/wine-crossover/Portfile > x11/wine-devel/ > x11/wine-devel/Portfile > x11/wine/ > x11/wine/Portfile > x11/xorg-server-devel/ > x11/xorg-server-devel/Portfile > x11/xorg-server-devel/files/ > x11/xorg-server-devel/files/leopard-x86_64.patch > deleting net/meanwhile/files/patch-samples-Makefile.in > deleting net/meanwhile/files/patch-doc-Makefile.in > deleting net/meanwhile/files/ > deleting net/meanwhile/Portfile > deleting net/meanwhile/ > deleting python/py26-pymunk/files/patch-setup.py.diff > deleting python/py26-pymunk/files/patch-pymunk-libload.py.diff > deleting python/py26-pymunk/files/patch-pymunk-_chipmunk.py.diff > deleting python/py26-pymunk/files/ > deleting python/py26-pymunk/Portfile > deleting python/py26-pymunk/ > deleting python/py-wxpython/files/patch-config.py.diff > sent 5981 bytes received 676479 bytes 23134.24 bytes/sec > total size is 33088922 speedup is 48.48 > Creating port index in /opt/local/var/macports/sources/ > rsync.macports.org/release/ports > Adding port databases/kyototycoon > Failed to parse file devel/git-core/Portfile: invalid command name > "get_canonical_archflags" > Adding port devel/glib2 > Adding port devel/glib2-devel > Adding port devel/jansson > Adding port devel/libyaml > Adding port devel/npm > Adding port gnome/gtksourceview > Adding port gnome/libgnomecups > Adding port kde/analitza > Adding port kde/blinken > Adding port kde/cantor > Adding port kde/kalgebra > Adding port kde/kalzium > Adding port kde/kanagram > Adding port kde/kbruch > Adding port kde/kde-l10n-bg > Adding port kde/kde-l10n-bs > Adding port kde/kde-l10n-ca > Adding port kde/kde-l10n-ca-valencia > Adding port kde/kde-l10n-cs > Adding port kde/kde-l10n-da > Adding port kde/kde-l10n-de > Adding port kde/kde-l10n-el > Adding port kde/kde-l10n-en_GB > Adding port kde/kde-l10n-es > Adding port kde/kde-l10n-et > Adding port kde/kde-l10n-eu > Adding port kde/kde-l10n-fa > Adding port kde/kde-l10n-fi > Adding port kde/kde-l10n-fr > Adding port kde/kde-l10n-ga > Adding port kde/kde-l10n-gl > Adding port kde/kde-l10n-he > Adding port kde/kde-l10n-hr > Adding port kde/kde-l10n-hu > Adding port kde/kde-l10n-ia > Adding port kde/kde-l10n-id > Adding port kde/kde-l10n-is > Adding port kde/kde-l10n-it > Adding port kde/kde-l10n-ja > Adding port kde/kde-l10n-kk > Adding port kde/kde-l10n-km > Adding port kde/kde-l10n-ko > Adding port kde/kde-l10n-lt > Adding port kde/kde-l10n-lv > Adding port kde/kde-l10n-nb > Adding port kde/kde-l10n-nds > Adding port kde/kde-l10n-nl > Adding port kde/kde-l10n-nn > Adding port kde/kde-l10n-pa > Adding port kde/kde-l10n-pl > Adding port kde/kde-l10n-pt > Adding port kde/kde-l10n-pt_BR > Adding port kde/kde-l10n-ro > Adding port kde/kde-l10n-ru > Adding port kde/kde-l10n-si > Adding port kde/kde-l10n-sk > Adding port kde/kde-l10n-sl > Adding port kde/kde-l10n-sr > Adding port kde/kde-l10n-sv > Adding port kde/kde-l10n-tg > Adding port kde/kde-l10n-th > Adding port kde/kde-l10n-tr > Adding port kde/kde-l10n-ug > Adding port kde/kde-l10n-uk > Adding port kde/kde-l10n-vi > Adding port kde/kde-l10n-wa > Adding port kde/kde-l10n-zh_CN > Adding port kde/kde-l10n-zh_TW > Adding port kde/kde-wallpapers > Adding port kde/kde4-baseapps > Adding port kde/kde4-runtime > Adding port kde/kdeadmin > Adding port kde/kdeartwork > Adding port kde/kdegames4 > Adding port kde/kdelibs4 > Adding port kde/kdemultimedia4 > Adding port kde/kdenetwork4 > Adding port kde/kdepim4 > Adding port kde/kdepimlibs4 > Adding port kde/kdesdk4 > Adding port kde/kdetoys4 > Adding port kde/kdewebdev > Adding port kde/kgeography > Adding port kde/khangman > Adding port kde/kig > Adding port kde/kiten > Adding port kde/klettres > Adding port kde/kmplot > Adding port kde/kross-interpreters > Adding port kde/ktouch > Adding port kde/kturtle > Adding port kde/kwordquiz > Adding port kde/libkdeedu > Adding port kde/marble > Adding port kde/oxygen-icons > Adding port kde/parley > Adding port kde/rocs > Adding port kde/smokegen > Adding port kde/step > Failed to parse file lang/apple-gcc42/Portfile: invalid command name > "installs_libs" > Adding port lang/clang-3.1 > Adding port lang/ruby19 > Failed to parse file python/py-distribute/Portfile: can't set > "python.versions": invalid command name "subport" > Failed to parse file python/py-kyotocabinet/Portfile: can't set > "python.default_version": can't read "subport": no such variable > Failed to parse file python/py-lepl/Portfile: can't set > "python.default_version": can't read "subport": no such variable > Failed to parse file python/py-pymunk/Portfile: can't set > "python.default_version": can't read "subport": no such variable > Failed to parse file python/py-wxpython/Portfile: can't set > "python.versions": invalid command name "subport" > Adding port science/gerbil > Adding port sysutils/rpm54 > Adding port sysutils/zeroinstall-injector > Failed to parse file textproc/jshon/Portfile: invalid command name > "get_canonical_archflags" > Adding port x11/gtk-engines2 > Adding port x11/gtk-nodoka-engine > Adding port x11/wine > Adding port x11/wine-crossover > Adding port x11/wine-crossover-games > Adding port x11/wine-devel > Adding port x11/xorg-server-devel > Total number of ports parsed: 120 > Ports successfully parsed: 112 > Ports failed: 8 > Up-to-date ports skipped: 8750 > ---> Updating MacPorts base sources using rsync > receiving file list ... done > ./ > deleting config.log > sent 42 bytes received 6847 bytes 1252.55 bytes/sec > total size is 2976011 speedup is 431.99 > MacPorts base version 1.9.2 installed, > MacPorts base version 2.0.4 downloaded. > ---> MacPorts base is outdated, installing new version 2.0.4 > Installing new MacPorts release in /opt/local as root:admin; permissions > 0755; Tcl-Package in /Library/Tcl > checking build system type... i386-apple-darwin11.3.0 > checking host system type... i386-apple-darwin11.3.0 > checking target system type... i386-apple-darwin11.3.0 > checking MacPorts version... 2.0.4 > checking for sw_vers... /usr/bin/sw_vers > checking for defaults... /usr/bin/defaults > checking for xcode-select... /usr/bin/xcode-select > checking Mac OS X version... 10.7.3 > checking Xcode location... xcode-select: Error: No Xcode folder is set. > Run xcode-select -switch to set the path to the Xcode > folder. > checking for gcc... /usr/bin/llvm-gcc-4.2 > checking whether the C compiler works... no > configure: error: in `/opt/local/var/macports/sources/ > rsync.macports.org/release/base': > configure: error: C compiler cannot create executables > See `config.log' for more details > shell command "cd /opt/local/var/macports/sources/ > rsync.macports.org/release/base && CC=/usr/bin/llvm-gcc-4.2 ./configure > --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root > --with-install-group=admin --with-directory-mode=0755 --enable-readline && > make && make install" returned error 77 > Error: /opt/local/bin/port: port selfupdate failed: Error installing new > MacPorts base: shell command failed (see log for details) > > > On 9 April 2012 03:33, Ryan Schmidt wrote: > > sudo port -v selfupdate -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at fpr.com Mon Apr 9 13:09:07 2012 From: jim at fpr.com (O'Dell James) Date: Mon, 9 Apr 2012 16:09:07 -0400 Subject: Can selfupdate be done incrementally In-Reply-To: <4F7F58A0.2060809@gmail.com> References: <20120406175803.GD351@mail.akwebsoft.com> <4F7F58A0.2060809@gmail.com> Message-ID: I have a macports update script and launchd plist that schedules an (self)update to run. I'd be happy to share if anyone wants them. Jim On Apr 6, 2012, at 4:57 PM, Phil Dobbin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 06/04/2012 18:58, Tim Johnson wrote: > >> I use a 2012 Mac Mini with OSX Lion. >> >> I haven't run selfupdate in some time. >> >> My observations in the past is that this machine runs alarmingly hot >> during long compiles. I recall being very nervous during the last >> selfupdate with temperature raising to as 180 F or more. >> >> I'm wondering if it is possible to do selfupdate a step or >> dependency at a time. That way, I could allow the machine to cool >> off before resuming. >> >> Any comments are welcome. > > [snip] > > FWIW, my Macbook Pro running Snow Leopard temperatures get to around 80 > degrees Centigrade when upgrading/installing with no ill effects. > > I also try to run selfupdate daily (one of my other machines is running > Debian & a cron job kicks around 07:45 each morning to run apt-get > update so, if I'm awake, I do Mac Ports too) so the number of ports is > minimal on an upgrade & if I get a long list of ports, I split them into > batches. Not necessary really but I like to keep the machine active on > other fronts while they're upgrading as much as possible. > > Cheers, > > Phil... > > - -- > But masters, remember that I am an ass. > Though it be not written down, > yet forget not that I am an ass. > > Wm. Shakespeare - Much Ado About Nothing > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJPf1idAAoJEKpMeDHWT5ADoGwH/inrEyCWvq/59POXx1UF5e6J > DADEF6OT5UILFDsCoRmoq7NPm+63AKJrSz5PNW9438+gKLe9yQBY+eUURRSReTW0 > StEUR/zva7bWlrX5SJv/LZ8wB3fhnq4flpXnz30ZUiHu9gwlAK/MIasYlPNjOKoy > UVnvNvYiW3KOz3UIJy5b+dy/pDRM6cuevZVFESZ/0HMFFZY4eZsoadIfoxR55msM > X1pwM1M/HGX681jB8XpyvAcCdtZzF+oq0DofvZ7uJAp8iXJjPY6TCovtHaoy3h8g > FI8ko1h0WGVntP+4OGbDgmgg4LuIYsRTZifU20nbGrtg/w0ZM5aKB916sws3ics= > =8oYI > -----END PGP SIGNATURE----- > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From ryandesign at macports.org Mon Apr 9 14:50:48 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 9 Apr 2012 16:50:48 -0500 Subject: port selfupdate not working In-Reply-To: References: Message-ID: On Apr 9, 2012, at 13:39, James Benstead wrote: > Thanks Ryan. Logfile attached. The error message created this time is as follows (long): > > jims-mbp-2:~ jim$ sudo port -v selfupdate [snip] > checking Xcode location... xcode-select: Error: No Xcode folder is set. Run xcode-select -switch to set the path to the Xcode folder. Sounds like you should do what the error message says. This is mentioned in: https://trac.macports.org/wiki/ProblemHotlist#xcode43 Ensure you've also read: http://guide.macports.org/#installing.xcode.lion.43 From ryandesign at macports.org Mon Apr 9 14:52:25 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 9 Apr 2012 16:52:25 -0500 Subject: Website Management tool In-Reply-To: <4c9d5e19-a196-470b-b0f8-205bc01901ed@email.android.com> References: <8c261cb8-c4c6-49a9-a2b8-98fc2c46bda2@email.android.com> <4c9d5e19-a196-470b-b0f8-205bc01901ed@email.android.com> Message-ID: <758F7DB3-78D1-47F1-B4DB-4FFE6AB3BE52@macports.org> On Apr 9, 2012, at 11:53, Niels Dettenbach (Syndicat IT&Internet) wrote: >> But over time, as I've updated the archive, old files have been left >> behind that are now orphaned, or have children who have left home... so >> what I want is something that, for starters, shows broken links. >> >> Any other suggestions, please? > > If you are just looking for a link checker instead of a website management system there are afaik a lot of simple scripts out in the net which recursively go trough a page / site and "report" broken links in different ways / manners. They usually work with http or on a filesystem. We even have a port called "linkchecker": http://www.macports.org/ports.php?by=name&substr=linkchecker Not sure if it will be useful to you. From zen146410 at zen.co.uk Mon Apr 9 14:54:21 2012 From: zen146410 at zen.co.uk (Barrie Stott) Date: Mon, 9 Apr 2012 22:54:21 +0100 Subject: Upgrading p5-app-ack fails for me. In-Reply-To: <4AE22FA0-DB16-4F24-AD6C-273592B7DAB7@macports.org> References: <4AE22FA0-DB16-4F24-AD6C-273592B7DAB7@macports.org> Message-ID: <04504B52-C843-4485-84EA-5FDB3488BACF@zen.co.uk> On 8 Apr 2012, at 06:51, Ryan Schmidt wrote: > > On Apr 7, 2012, at 05:48, Barrie Stott wrote: > >> 'port outgraded' showed that p5-app-ack and p5.14-app-ack (but no other *-app-ack) needed to be upgraded and p5.14-app-ack did so without a hitch. >> >> The ports I have of the form p5* are: >> p5-app-ack @1.940.0_2 (active) >> p5.12-file-next @1.20.0_2 >> p5.12-locale-gettext @1.50.0_6+universal (active) >> p5.14-app-ack @1.940.0_2 >> p5.14-app-ack @1.960.0_0 (active) >> p5.14-file-next @1.20.0_2 (active) >> >> 'port info p5-app-ack' shows the following where the line of particular interest is 'Replaced by: p5.14-app-ack' >> p5-app-ack @1.960.0 (perl) >> Replaced by: p5.14-app-ack >> Sub-ports: p5.8-app-ack, p5.10-app-ack, p5.12-app-ack, p5.14-app-ack >> >> Description: ack is a tool like grep, aimed at programmers with large trees of heterogeneous >> source code. >> Homepage: http://betterthangrep.com/ >> >> Library Dependencies: p5.14-app-ack >> Platforms: darwin >> License: unknown >> Maintainers: mschout at gkg.net, openmaintainer at macports.org > > All ports named beginning with "p5-" are "stub" ports. They don't install anything; there's no point in installing any of them. Install the port designed for the specific version of perl you want to use, e.g. p5.12-app-ack or p5.14-app-ack. I have now removed p5-app-ack. > In theory, all the version-specific ports should be able to coexist with one another. In practice, they don't, as you're seeing: > > >> ---> Activating p5.12-file-next @1.20.0_2 >> Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man3/File::Next.3pm.gz is being used by the active p5.14- file-next port. Please deactivate this port first, or use 'port -f activate p5.12- file-next' to force the activation. > > Dan Ports wrote a message to the mailing list about this in February, suggesting that we should stop pretending to support multiple simultaneous perl versions when it's obviously not working: > > http://lists.macosforge.org/pipermail/macports-dev/2012-February/017727.html > > No decision was reached but I support the idea of offering only a single version of perl, 5.14, in MacPorts. I've decided to do the same. Someday the default of 5.12 will change and I suspect that I would in for lots of change then so I may as well move to 5.14 now. I've had much of the day on this and no serious problem has cropped up so I thought I would reply to your email and thank you for taking the time to help; it's much appreciated. Barrie. From punk.kish at gmail.com Mon Apr 9 15:35:45 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Mon, 9 Apr 2012 15:35:45 -0700 Subject: Freedesktop dsub plist Message-ID: <245FD162-A590-4C68-A769-535AA3FBD709@gmail.com> I get a lot of messages in my system log to the effect com.apple.launchctl.Background[990]: launchctl: Couldn't stat("/Library/LaunchAgents/org.freedesktop.dbus-session.plist"): No such file or directory Indeed, I don't have that file even though I have a symlink to it in my /Library/LaunchAgents to a location under /opt/local/Library/LaunchAgents. In fact, I don't have even a LaunchAgents directory under /opt/local/Library. I am not sure what freedesktop.dbus-session does and how it got installed, but I would like to fix the error so I don't have these entries in my system.log. Suggestions? -- Puneet Kishor From dports at macports.org Mon Apr 9 16:20:35 2012 From: dports at macports.org (Dan Ports) Date: Mon, 9 Apr 2012 16:20:35 -0700 Subject: Freedesktop dsub plist In-Reply-To: <245FD162-A590-4C68-A769-535AA3FBD709@gmail.com> References: <245FD162-A590-4C68-A769-535AA3FBD709@gmail.com> Message-ID: <20120409232035.GF6660@ambulatoryclam.net> On Mon, Apr 09, 2012 at 03:35:45PM -0700, Puneet Kishor wrote: > com.apple.launchctl.Background[990]: launchctl: Couldn't stat("/Library/LaunchAgents/org.freedesktop.dbus-session.plist"): No such file or directory > > > Indeed, I don't have that file even though I have a symlink to it in my /Library/LaunchAgents to a location under /opt/local/Library/LaunchAgents. In fact, I don't have even a LaunchAgents directory under /opt/local/Library. Both the file and the symlink are installed by the dbus port. So... - if you have/want the dbus port installed then something's wrong with the installation because the plist in /opt/local/Library/LaunchAgents is missing and you should try reinstalling it. - if you don't have/want the dbus port installed, then that's a stray symlink in /Library/LaunchAgents that shouldn't be there and you should just delete it. (Maybe it was left over from a deleted installation?) Dan -- Dan R. K. Ports MIT CSAIL http://drkp.net/ From james.benstead at gmail.com Mon Apr 9 17:07:40 2012 From: james.benstead at gmail.com (James Benstead) Date: Tue, 10 Apr 2012 01:07:40 +0100 Subject: port selfupdate not working In-Reply-To: References: Message-ID: Thanks Ryan, Jim. I think I've now resolved the problem with the XCode location, but on attempting to run selfupdate again I'm hitting what appears to be a similar problem with the gcc compiler. What should I try next? From the log: configure:2945: checking Xcode location > configure:2948: result: /Developer/Library/Xcode > configure:3036: checking for gcc > configure:3063: result: /usr/bin/llvm-gcc-4.2 > configure:3292: checking for C compiler version > configure:3301: /usr/bin/llvm-gcc-4.2 --version >&5 > ./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory > configure:3312: $? = 127 > configure:3301: /usr/bin/llvm-gcc-4.2 -v >&5 > ./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory > configure:3312: $? = 127 > configure:3301: /usr/bin/llvm-gcc-4.2 -V >&5 > ./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory > configure:3312: $? = 127 > configure:3301: /usr/bin/llvm-gcc-4.2 -qversion >&5 > ./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory > configure:3312: $? = 127 > configure:3332: checking whether the C compiler works > configure:3354: /usr/bin/llvm-gcc-4.2 conftest.c >&5 > ./configure: line 3356: /usr/bin/llvm-gcc-4.2: No such file or directory On 9 April 2012 22:50, Ryan Schmidt wrote: > > On Apr 9, 2012, at 13:39, James Benstead wrote: > > > Thanks Ryan. Logfile attached. The error message created this time is as > follows (long): > > > > jims-mbp-2:~ jim$ sudo port -v selfupdate > [snip] > > checking Xcode location... xcode-select: Error: No Xcode folder is set. > Run xcode-select -switch to set the path to the Xcode > folder. > > Sounds like you should do what the error message says. This is mentioned > in: > > https://trac.macports.org/wiki/ProblemHotlist#xcode43 > > Ensure you've also read: > > http://guide.macports.org/#installing.xcode.lion.43 > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Mon Apr 9 17:19:11 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 9 Apr 2012 19:19:11 -0500 Subject: port selfupdate not working In-Reply-To: References: Message-ID: <8850AD36-A72D-4D76-AFD7-0D69C5A2E351@macports.org> On Apr 9, 2012, at 19:07, James Benstead wrote: > Thanks Ryan, Jim. > > I think I've now resolved the problem with the XCode location, but on attempting to run selfupdate again I'm hitting what appears to be a similar problem with the gcc compiler. What should I try next? From the log: > > configure:2945: checking Xcode location > configure:2948: result: /Developer/Library/Xcode > configure:3036: checking for gcc > configure:3063: result: /usr/bin/llvm-gcc-4.2 > configure:3292: checking for C compiler version > configure:3301: /usr/bin/llvm-gcc-4.2 --version >&5 > ./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory Install the Xcode command line tools. http://guide.macports.org/#installing.xcode.lion.43 From neel82in at gmail.com Mon Apr 9 20:17:45 2012 From: neel82in at gmail.com (Indranil Mukhopadhyay) Date: Mon, 9 Apr 2012 20:17:45 -0700 Subject: Error with cvScalar() in OpenCV 2.3.1 compiled and installed with MacPort (OS X Lion) Message-ID: Hi, I have used MacPort to compile and install OpenCV 2.3.1 on OS X Lion. When trying to execute a simple draw program using XCode 4.3.2 and OpenCV 2.3.1 the following run time error is coming up at a line where cvScalar() is getting used. */** Error **/* * * *OpenCV Error: Assertion failed (connectivity == 8 || connectivity == 4) in LineIterator, file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_opencv/opencv/work/OpenCV-2.3.1/modules/core/src/drawing.cpp, line 156* *terminate called throwing an exception**(lldb) * /** Program **/ #include #include int main(int argc, const char * argv[]) { /* create an image */ IplImage *img = cvCreateImage(cvSize(300,200),IPL_DEPTH_8U,3); /* draw green line */ cvLine(img, cvPoint(10,10), cvPoint(100,80), cvScalar(0,255,0,0), 1,10,0); cvRectangle(img, cvPoint(20,20), cvPoint(120,35), cvScalar(255,0,0,0), 1,10,0); cvCircle(img, cvPoint(40,40),40, cvScalar(0,0,255,0), 1,10,0); cvNamedWindow("OpenCVTestImage",CV_WINDOW_AUTOSIZE); cvShowImage("OpenCVTestImage",img); cvWaitKey(0); cvDestroyWindow("OpenCVTestImage"); cvReleaseImage(&img); return 0; } Is this any kind of compatibility issue among OpenCV, MacPort, XCode and OS X? -- Indranil -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasperfrumau at gmail.com Tue Apr 10 00:58:47 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Tue, 10 Apr 2012 14:58:47 +0700 Subject: Error Building Cairo In-Reply-To: <277E4287-883C-4EC6-8A51-38268F49EA16@macports.org> References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> <6838AD1D-35FA-45F1-B889-D923F1D0800E@macports.org> <118DF3C3-F26C-418C-AF9B-C861448A1306@macports.org> <277E4287-883C-4EC6-8A51-38268F49EA16@macports.org> Message-ID: Thanks Ryan. Hope to have a solution for this soon so I can move on again.. On Mon, Apr 9, 2012 at 5:31 PM, Ryan Schmidt wrote: > > > I'm not sure why it's trying to use the ghostscript library when it's > not available. But you're at least partly suffering from... > > > > https://trac.macports.org/ticket/33827 > > > > ...because I see libspectre being used in your log as well. > > > Ah: libspectre requires ghostscript. > > Anyway. I'm enlisting the help of the cairo developers. Hopefully they'll > suggest what we need to do. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Tue Apr 10 01:58:31 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 10 Apr 2012 03:58:31 -0500 Subject: Error Building Cairo In-Reply-To: References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> <6838AD1D-35FA-45F1-B889-D923F1D0800E@macports.org> <118DF3C3-F26C-418C-AF9B-C861448A1306@macports.org> <277E4287-883C-4EC6-8A51-38268F49EA16@macports.org> Message-ID: <70FBFED9-A2C7-4488-AB06-B2CC1D5828D1@macports.org> On Apr 10, 2012, at 02:58, Jasper Frumau wrote: > Thanks Ryan. Hope to have a solution for this soon so I can move on again.. All you need to do is deactivate any of librsvg, libspectre, and poppler that are installed (forcibly if necessary), then clean cairo and try installing it again. Reactivate the deactivated ports afterward if desired. All I'm going to be doing is instructing cairo not to look for these libraries even if they're present. This is somewhat tricky because cairo does not have options to do that, and the cairo developers don't understand why we want that; I'm trying to explain it to them. From hans at stare.cz Tue Apr 10 08:00:51 2012 From: hans at stare.cz (Jan Stary) Date: Tue, 10 Apr 2012 17:00:51 +0200 Subject: /usr/local question In-Reply-To: <20120405081244.GA9692@www.stare.cz> References: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405081244.GA9692@www.stare.cz> Message-ID: <20120410150050.GA11465@www.stare.cz> > OK, here is what I propose as a relacement/extension of FAQ#defaultprefix. > * Why is /opt/local the default install location for MacPorts? > * So with macports under /opt/local I can use /usr/local freely? I just commited this (fixing the typos.) https://trac.macports.org/wiki/FAQ#defaultprefix https://trac.macports.org/wiki/FAQ#usrlocal I believe this should be explicitly mentioned in the Guide (In fact, there is a four years old ticket by Ryan requesting that). http://trac.macports.org/ticket/15077 Jan From andrew.long at yahoo.com Tue Apr 10 08:39:11 2012 From: andrew.long at yahoo.com (Andrew Long) Date: Tue, 10 Apr 2012 16:39:11 +0100 Subject: Website Management tool In-Reply-To: <4c9d5e19-a196-470b-b0f8-205bc01901ed@email.android.com> References: <8c261cb8-c4c6-49a9-a2b8-98fc2c46bda2@email.android.com> <4c9d5e19-a196-470b-b0f8-205bc01901ed@email.android.com> Message-ID: On 9 Apr 2012, at 17:53, Niels Dettenbach (Syndicat IT&Internet) wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Andrew Long schrieb: > >> I've had a look at the documentation of this over the past few days, >> and it's a bit too heavy for what I need. I don't need something that >> makes me completely reformat the site - what I'm working on is my >> archived copies of stuff hat is/was out there, and I don't want to move >> too far away from the originals. > > Ok, but what do you mean with "originals"? The original content, which is generally indivisible from the style, as these tend to be fan-sites, not corporate web-sites. > > Modern websites usually divide content and style. With i.e. Plone you are able to "import" existing static styles with a importer tool available, but content has to be handled by hand or your own automatics into such a system. > > >> But over time, as I've updated the archive, old files have been left >> behind that are now orphaned, or have children who have left home... so >> what I want is something that, for starters, shows broken links. >> >> Any other suggestions, please? > > If you are just looking for a link checker instead of a website management system there are afaik a lot of simple scripts out in the net which recursively go trough a page / site and "report" broken links in different ways / manners. They usually work with http or on a filesystem. Well, that is the general kind of thing, yes... Perhaps I phrased it badly. SO, can you recommend some? Regards, Andy -- Andrew Long andrew dot long at yahoo dot com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 275 bytes Desc: This is a digitally signed message part URL: From phildobbin at gmail.com Tue Apr 10 09:25:14 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Tue, 10 Apr 2012 17:25:14 +0100 Subject: Website Management tool In-Reply-To: References: <8c261cb8-c4c6-49a9-a2b8-98fc2c46bda2@email.android.com> <4c9d5e19-a196-470b-b0f8-205bc01901ed@email.android.com> Message-ID: <4F845EEA.7010109@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/04/2012 16:39, Andrew Long wrote: > Well, that is the general kind of thing, yes... Perhaps I phrased > it badly. SO, can you recommend some? Perl + link checker as search criteria in Google. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPhF7oAAoJEKpMeDHWT5ADR/8IAIyxgutn8Ivc0uZp8rAyk0Q5 zIS67kU717aK4l7QZuz0WxfXpwW6UAwLYkvPgedMns9GUcodnyGpiHGtp9Nr935W muGEDJPPdYxn9trTJmMIfDq07mk42MwC98e1kGe9JtbBiqmXw12RC8YfJVxaino4 TvTkhd0q7pczvLKDJreG7G/WWLIM1ZkxH7bWyW6WcuLUJHMt04qURSjjnAA7BNlg 87dBaRhYIy0X1LZ2k41x79zaNchnVk7T6t725pVJwC19HZoRrK9+09ZlM12WsF6m YvtIlr9y6DCsEjZiS+CKG0gDLJyjUkJasiqWiwOxx1MENtKkUJjV7dqP4UtQ63E= =s36a -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From pixilla at macports.org Tue Apr 10 10:03:15 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Tue, 10 Apr 2012 10:03:15 -0700 Subject: /usr/local question In-Reply-To: <20120410150050.GA11465@www.stare.cz> References: <975FFF76-FA7F-4C74-AC63-36D64DA19AA9@lavergne.gotdns.org> <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <20120405081244.GA9692@www.stare.cz> <20120410150050.GA11465@www.stare.cz> Message-ID: On Apr 10, 2012, at 8:00 AM, Jan Stary wrote: >> OK, here is what I propose as a relacement/extension of FAQ#defaultprefix. >> * Why is /opt/local the default install location for MacPorts? >> * So with macports under /opt/local I can use /usr/local freely? > > I just commited this (fixing the typos.) > > https://trac.macports.org/wiki/FAQ#defaultprefix > https://trac.macports.org/wiki/FAQ#usrlocal Nice! Thanks Jan. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From jerome.yanga at gmail.com Tue Apr 10 10:18:09 2012 From: jerome.yanga at gmail.com (Jerome Yanga) Date: Tue, 10 Apr 2012 10:18:09 -0700 Subject: Prefix on subject line for mailing list In-Reply-To: <20120410155028.GA1294@www.stare.cz> References: <20120410155028.GA1294@www.stare.cz> Message-ID: Jan, Like many, I subscribe to a lot of mailing list. When I create a rule in Outlook and put all the email addresses of all the mailing lists that I subscribe to, Outlook comes back to me and says that I have used up the maximum rules. I cannot give you the exact error I get but it is something to that effect. This is the reason why I started using the subject line to organize my emails instead of the From field. Using the subject line in the rules seem to allow me to have just one rule for all the subscriptions that I am on. Regards, j On Tue, Apr 10, 2012 at 8:50 AM, Jan Stary wrote: > On Apr 09 07:43:17, Jerome Yanga wrote: >> Hi! >> >> Would it be possible to have a prefix for this mailing list? ?I am >> using outlook and if I use the header or from field in the outlook >> rules, i will not accept all the mailing list emails that i belong to. >> ?Parsing the subject line seems to have more space. > > The messages to this very list, for example, come > > ? ? ? ?From macports-users-bounces at lists.macosforge.org > > Exactly which problem are having with filtering that? > From jonesc at hep.phy.cam.ac.uk Tue Apr 10 10:32:02 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Tue, 10 Apr 2012 18:32:02 +0100 Subject: Prefix on subject line for mailing list In-Reply-To: References: <20120410155028.GA1294@www.stare.cz> Message-ID: Hi, Thats a limitation of Outlook then, or a problem in the way you define your rules. No reason to force mangled subject lines on the rest of us please (I hate lists that do this) ! Chris On 10 Apr 2012, at 6:18pm, Jerome Yanga wrote: > Jan, > > Like many, I subscribe to a lot of mailing list. When I create a rule > in Outlook and put all the email addresses of all the mailing lists > that I subscribe to, Outlook comes back to me and says that I have > used up the maximum rules. I cannot give you the exact error I get > but it is something to that effect. This is the reason why I started > using the subject line to organize my emails instead of the From > field. Using the subject line in the rules seem to allow me to have > just one rule for all the subscriptions that I am on. > > Regards, > j > > On Tue, Apr 10, 2012 at 8:50 AM, Jan Stary wrote: >> On Apr 09 07:43:17, Jerome Yanga wrote: >>> Hi! >>> >>> Would it be possible to have a prefix for this mailing list? I am >>> using outlook and if I use the header or from field in the outlook >>> rules, i will not accept all the mailing list emails that i belong to. >>> Parsing the subject line seems to have more space. >> >> The messages to this very list, for example, come >> >> From macports-users-bounces at lists.macosforge.org >> >> Exactly which problem are having with filtering that? >> > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From ryandesign at macports.org Tue Apr 10 10:32:33 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 10 Apr 2012 12:32:33 -0500 Subject: Prefix on subject line for mailing list In-Reply-To: References: <20120410155028.GA1294@www.stare.cz> Message-ID: On Apr 10, 2012, at 12:18, Jerome Yanga wrote: > Like many, I subscribe to a lot of mailing list. When I create a rule > in Outlook and put all the email addresses of all the mailing lists > that I subscribe to, Outlook comes back to me and says that I have > used up the maximum rules. I cannot give you the exact error I get > but it is something to that effect. This is the reason why I started > using the subject line to organize my emails instead of the From > field. Using the subject line in the rules seem to allow me to have > just one rule for all the subscriptions that I am on. I guess I don't understand why Outlook would allow you to create rules using the Subject header but impose a restrictions on rules using all other headers. Even if that's the case, we're not interested in adding a mailing list subject prefix, for all the usual reasons. I was hoping I could find a pre-written explanation somewhere I could link you to, but I can't at the moment. The two reasons that spring immediately to mind are: 1) Adding a subject prefix reduces the amount of space available for useful subject information. I already filter all mailing lists into their own folders, using the headers already available to do that; I don't want each message in that folder to have a prefix on the subject line making it harder for me to see what the real subject of the message is. At the current size of my mail program's main window, I only have about 7 cm for the subject; I don't want a third of that used up with a prefix that adds no value. 2) Modifying the subject header violates email sending RFCs. From jerome.yanga at gmail.com Tue Apr 10 10:45:42 2012 From: jerome.yanga at gmail.com (Jerome Yanga) Date: Tue, 10 Apr 2012 10:45:42 -0700 Subject: Prefix on subject line for mailing list In-Reply-To: References: <20120410155028.GA1294@www.stare.cz> Message-ID: Ryan, Thank you for taking the time to look into this. Regards, J On Tue, Apr 10, 2012 at 10:32 AM, Ryan Schmidt wrote: > On Apr 10, 2012, at 12:18, Jerome Yanga wrote: > >> Like many, I subscribe to a lot of mailing list. ?When I create a rule >> in Outlook and put all the email addresses of all the mailing lists >> that I subscribe to, Outlook comes back to me and says that I have >> used up the maximum rules. ?I cannot give you the exact error I get >> but it is something to that effect. ?This is the reason why I started >> using the subject line to organize my emails instead of the From >> field. ?Using the subject line in the rules seem to allow me to have >> just one rule for all the subscriptions that I am on. > > I guess I don't understand why Outlook would allow you to create rules using the Subject header but impose a restrictions on rules using all other headers. > > Even if that's the case, we're not interested in adding a mailing list subject prefix, for all the usual reasons. I was hoping I could find a pre-written explanation somewhere I could link you to, but I can't at the moment. The two reasons that spring immediately to mind are: > > 1) Adding a subject prefix reduces the amount of space available for useful subject information. I already filter all mailing lists into their own folders, using the headers already available to do that; I don't want each message in that folder to have a prefix on the subject line making it harder for me to see what the real subject of the message is. At the current size of my mail program's main window, I only have about 7 cm for the subject; I don't want a third of that used up with a prefix that adds no value. > > 2) Modifying the subject header violates email sending RFCs. > From jerome.yanga at gmail.com Tue Apr 10 10:48:07 2012 From: jerome.yanga at gmail.com (Jerome Yanga) Date: Tue, 10 Apr 2012 10:48:07 -0700 Subject: Prefix on subject line for mailing list In-Reply-To: <63A42100-12A0-4936-96E2-227262E2F743@hep.phy.cam.ac.uk> References: <20120410155028.GA1294@www.stare.cz> <63A42100-12A0-4936-96E2-227262E2F743@hep.phy.cam.ac.uk> Message-ID: Chris, That is what an exclamation point does. Nevertheless, I appreciate the explanation. Regards, j On Tue, Apr 10, 2012 at 10:46 AM, Chris Jones wrote: > Hi, > > I don't consider I was being rude, but sorry if it came over to you that way.. > > Chris > > On 10 Apr 2012, at 6:44pm, Jerome Yanga wrote: > >> Chris, >> >> I was just asking. ?There is no need to be rude. ?A simple explanation >> would have been fine. >> >> It is unfortunate enough that I have to work with a Windows in the >> corporate world. >> >> Regards, >> J >> >> On Tue, Apr 10, 2012 at 10:32 AM, Chris Jones wrote: >>> Hi, >>> >>> Thats a limitation of Outlook then, or a problem in the way you define your rules. >>> No reason to force mangled subject lines on the rest of us please (I hate lists that do this) ! >>> >>> Chris >>> >>> On 10 Apr 2012, at 6:18pm, Jerome Yanga wrote: >>> >>>> Jan, >>>> >>>> Like many, I subscribe to a lot of mailing list. ?When I create a rule >>>> in Outlook and put all the email addresses of all the mailing lists >>>> that I subscribe to, Outlook comes back to me and says that I have >>>> used up the maximum rules. ?I cannot give you the exact error I get >>>> but it is something to that effect. ?This is the reason why I started >>>> using the subject line to organize my emails instead of the From >>>> field. ?Using the subject line in the rules seem to allow me to have >>>> just one rule for all the subscriptions that I am on. >>>> >>>> Regards, >>>> j >>>> >>>> On Tue, Apr 10, 2012 at 8:50 AM, Jan Stary wrote: >>>>> On Apr 09 07:43:17, Jerome Yanga wrote: >>>>>> Hi! >>>>>> >>>>>> Would it be possible to have a prefix for this mailing list? ?I am >>>>>> using outlook and if I use the header or from field in the outlook >>>>>> rules, i will not accept all the mailing list emails that i belong to. >>>>>> ?Parsing the subject line seems to have more space. >>>>> >>>>> The messages to this very list, for example, come >>>>> >>>>> ? ? ? ?From macports-users-bounces at lists.macosforge.org >>>>> >>>>> Exactly which problem are having with filtering that? >>>>> >>>> _______________________________________________ >>>> macports-users mailing list >>>> macports-users at lists.macosforge.org >>>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >>> > From jerome.yanga at gmail.com Tue Apr 10 10:44:03 2012 From: jerome.yanga at gmail.com (Jerome Yanga) Date: Tue, 10 Apr 2012 10:44:03 -0700 Subject: Prefix on subject line for mailing list In-Reply-To: References: <20120410155028.GA1294@www.stare.cz> Message-ID: Chris, I was just asking. There is no need to be rude. A simple explanation would have been fine. It is unfortunate enough that I have to work with a Windows in the corporate world. Regards, J On Tue, Apr 10, 2012 at 10:32 AM, Chris Jones wrote: > Hi, > > Thats a limitation of Outlook then, or a problem in the way you define your rules. > No reason to force mangled subject lines on the rest of us please (I hate lists that do this) ! > > Chris > > On 10 Apr 2012, at 6:18pm, Jerome Yanga wrote: > >> Jan, >> >> Like many, I subscribe to a lot of mailing list. ?When I create a rule >> in Outlook and put all the email addresses of all the mailing lists >> that I subscribe to, Outlook comes back to me and says that I have >> used up the maximum rules. ?I cannot give you the exact error I get >> but it is something to that effect. ?This is the reason why I started >> using the subject line to organize my emails instead of the From >> field. ?Using the subject line in the rules seem to allow me to have >> just one rule for all the subscriptions that I am on. >> >> Regards, >> j >> >> On Tue, Apr 10, 2012 at 8:50 AM, Jan Stary wrote: >>> On Apr 09 07:43:17, Jerome Yanga wrote: >>>> Hi! >>>> >>>> Would it be possible to have a prefix for this mailing list? ?I am >>>> using outlook and if I use the header or from field in the outlook >>>> rules, i will not accept all the mailing list emails that i belong to. >>>> ?Parsing the subject line seems to have more space. >>> >>> The messages to this very list, for example, come >>> >>> ? ? ? ?From macports-users-bounces at lists.macosforge.org >>> >>> Exactly which problem are having with filtering that? >>> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From phildobbin at gmail.com Tue Apr 10 10:57:14 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Tue, 10 Apr 2012 18:57:14 +0100 Subject: Prefix on subject line for mailing list In-Reply-To: References: <20120410155028.GA1294@www.stare.cz> Message-ID: <4F84747A.5040001@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/04/2012 18:44, Jerome Yanga wrote: > Chris, > > I was just asking. There is no need to be rude. A simple explanation > would have been fine. This just landed in my inbox. Could you please address it correctly to the list (I have cc'd the list on this occasion)? Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPhHR4AAoJEKpMeDHWT5ADHXsH/3tDJNTuQ6VDPPhG/17XGZ3k f2fcqc1GMOhgSzbfxhaZHGBaimCfjcke6xb2Bphci+/08y8j1ktK9bZtJKcL1Pk0 KxhV1n6dhlyqjY24cYUEKa1mZxpRQ7qnoS+hUPjtcax1feNnISuJnL30AMOAAgfj PUrMuyPpsSzcbWwFAG4BKKmcg50JV3lT7O34tZUqtwUc6dB94qIyaI/f/JHzuqlO Xi5bOloP0t2njqv3RtpLhxPF4TnJ8nJyLQCuta5PnUcDUy6XQtW9J6k1OgXrSjOg 8wTjxIi+oeXmKG0r1jlqDuQ0GvyIpoTr3x+aCcbXfGh5z8fWggI5q8tCVf8Ni8I= =/C76 -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From hans at stare.cz Tue Apr 10 11:21:31 2012 From: hans at stare.cz (Jan Stary) Date: Tue, 10 Apr 2012 20:21:31 +0200 Subject: /usr/local question In-Reply-To: References: <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <63112DDD-7EA8-415D-910A-C892F6B304AA@macports.org> <20120405154454.GA6923@www.stare.cz> Message-ID: <20120410182131.GA12657@www.stare.cz> > > I am willing to help this with ports that interest me. > > Is there a way in trac to specifically select the ports > > that have this problem? > > not that I know of (since you don't know what is going to be > in /usr/local on any machine) I tried searching in both the mailing list archives and trac; indeed, there are ports with this problem, but most of them have been closed quite some time ago. Or I am not searching well. Could someone please point me to a trac ticket or a list post describing this exact problem for some current port, i.e., a port that fails to build because it picks something inappropriate from /usr/local ? Jan From pixilla at macports.org Tue Apr 10 12:33:31 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Tue, 10 Apr 2012 12:33:31 -0700 Subject: /usr/local question In-Reply-To: <20120410182131.GA12657@www.stare.cz> References: <9A4CE700-9BAA-4F3F-90AD-CAA387805357@macports.org> <46562302-4988-4633-ADF3-5EE6679694FD@berkeley.edu> <20120404210123.GA10850@www.stare.cz> <20120404221949.GC20243@www.stare.cz> <20120405070041.GA7415@www.stare.cz> <63112DDD-7EA8-415D-910A-C892F6B304AA@macports.org> <20120405154454.GA6923@www.stare.cz> <20120410182131.GA12657@www.stare.cz> Message-ID: On Apr 10, 2012, at 11:21 AM, Jan Stary wrote: >>> I am willing to help this with ports that interest me. >>> Is there a way in trac to specifically select the ports >>> that have this problem? >> >> not that I know of (since you don't know what is going to be >> in /usr/local on any machine) > > I tried searching in both the mailing list archives and trac; > indeed, there are ports with this problem, but most of them > have been closed quite some time ago. Or I am not searching well. > Could someone please point me to a trac ticket or a list post > describing this exact problem for some current port, i.e., > a port that fails to build because it picks something > inappropriate from /usr/local ? I don't know who would have this info without research. This query turns up many candidates. http://www.mail-archive.com/search?q=%2Fusr%2Flocal&l=macports-users%40lists.macosforge.org Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From mparchet at sunrise.ch Tue Apr 10 12:48:04 2012 From: mparchet at sunrise.ch (Michael Parchet) Date: Tue, 10 Apr 2012 21:48:04 +0200 Subject: Kontact, korganiser, kadressbook and kmail (kdepim4) don't work Message-ID: <4F848E74.4030702@sunrise.ch> Hello, I have install the kdepim4 package but no program no program work. Have you already test some program of this package. Is there a bug ? See attachment the reports. Do I send a ticket ? Best regards mparchet -------------- next part -------------- Akonadi Server Self-Test Report =============================== Test 1: ERROR -------- Database driver not found. Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration. The following drivers are installed: QSQLITE. Make sure the required driver is installed. File content of '/Users/rparchet/.config/akonadi/akonadiserverrc': [%General] Driver=QMYSQL [QMYSQL] Name=akonadi Host= Options="UNIX_SOCKET=/Users/rparchet/.local/share/akonadi/socket-MacBook-Pro-de-Michael.local/mysql.socket" ServerPath=/opt/local/libexec/mysqld StartServer=true Test 2: SUCCESS -------- Akonadi is not running as root Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system. Test 3: SUCCESS -------- MySQL server found. Details: You have currently configured Akonadi to use the MySQL server '/opt/local/libexec/mysqld'. Make sure you have the MySQL server installed, set the correct path and ensure you have the necessary read and execution rights on the server executable. The server executable is typically called 'mysqld'; its location varies depending on the distribution. Test 4: SUCCESS -------- MySQL server is executable. Details: MySQL server found: /opt/local/libexec/mysqld Ver 5.1.61 for apple-darwin11.2.0 on i386 (Source distribution) Test 5: ERROR -------- MySQL server log contains errors. Details: The MySQL server error log file '/Users/rparchet/.local/share/akonadi/db_data/mysql.err' contains errors. File content of '/Users/rparchet/.local/share/akonadi/db_data/mysql.err': 120410 21:17:58 [Note] Plugin 'FEDERATED' is disabled. 120410 21:17:58 [Note] Plugin 'ndbcluster' is disabled. 120410 21:17:58 InnoDB: Initializing buffer pool, size = 80.0M 120410 21:17:58 InnoDB: Completed initialization of buffer pool InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. 120410 21:17:58 InnoDB: Retrying to lock the first data file InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. InnoDB: Unable to lock ./ibdata1, error: 35 InnoDB: Check that you do not already have another mysqld process InnoDB: using the same InnoDB data or log files. 120410 21:19:38 InnoDB: Unable to open the first data file InnoDB: Error in opening ./ibdata1 120410 21:19:38 InnoDB: Operating system error number 35 in a file operation. InnoDB: Error number 35 means 'Resource temporarily unavailable'. InnoDB: Some operating system error numbers are described at InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html InnoDB: Could not open or create data files. InnoDB: If you tried to add new data files, and it failed here, InnoDB: you should now edit innodb_data_file_path in my.cnf back InnoDB: to what it was, and remove the new ibdata files InnoDB created InnoDB: in this failed attempt. InnoDB only wrote those files full of InnoDB: zeros, but did not yet use them in any way. But be careful: do not InnoDB: remove old data files which contain your precious data! 120410 21:19:38 [ERROR] Plugin 'InnoDB' init function returned error. 120410 21:19:38 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 120410 21:19:38 [ERROR] Unknown/unsupported table type: innodb 120410 21:19:38 [ERROR] Aborting 120410 21:19:38 [Note] /opt/local/libexec/mysqld: Shutdown complete Test 6: SUCCESS -------- MySQL server default configuration found. Details: The default configuration for the MySQL server was found and is readable at /opt/local/share/config/akonadi/mysql-global.conf. File content of '/opt/local/share/config/akonadi/mysql-global.conf': # # Global Akonadi MySQL server settings, # These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf # # Based on advice by Kris K??hntopp # [mysqld] # strict query parsing/interpretation # TODO: make Akonadi work with those settings enabled # sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat # sql_mode=strict_trans_tables # DEBUGGING: # log all queries, useful for debugging but generates an enormous amount of data # log=mysql.full # log queries slower than n seconds, log file name relative to datadir (for debugging only) # log_slow_queries=mysql.slow # long_query_time=1 # log queries not using indices, debug only, disable for production use # log_queries_not_using_indexes=1 # # mesure database size and adjust innodb_buffer_pool_size # SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema"); # NOTES: # Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables) #expire_logs_days=3 #sync_bin_log=0 # Use UTF-8 encoding for tables character_set_server=utf8 collation_server=utf8_general_ci # use InnoDB for transactions and better crash recovery default_storage_engine=innodb # memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M) innodb_additional_mem_pool_size=1M # memory buffer InnoDB uses to cache data and indexes of its tables (default:128M) # Larger values means less I/O innodb_buffer_pool_size=80M # Create a .ibd file for each table (default:0) innodb_file_per_table=1 # Write out the log buffer to the log file at each commit (default:1) innodb_flush_log_at_trx_commit=2 # Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin) # larger values means less I/O innodb_log_buffer_size=1M # Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery. innodb_log_file_size=64M # # error log file name, relative to datadir (default:hostname.err) log_error=mysql.err # print warnings and connection errors (default:1) log_warnings=2 # Convert table named to lowercase lower_case_table_names=1 # Maximum size of one packet or any generated/intermediate string. (default:1M) max_allowed_packet=32M # Maximum simultaneous connections allowed (default:100) max_connections=256 # The two options below make no sense with prepared statements and/or transactions # (make sense when having the same query multiple times) # Memory allocated for caching query results (default:0 (disabled)) query_cache_size=0 # Do not cache results (default:1) query_cache_type=0 # Do not use the privileges mechanisms skip_grant_tables # Do not listen for TCP/IP connections at all skip_networking # The number of open tables for all threads. (default:64) table_cache=200 # How many threads the server should cache for reuse (default:0) thread_cache_size=3 # wait 365d before dropping the DB connection (default:8h) wait_timeout=31536000 [client] default-character-set=utf8 Test 7: SKIP -------- MySQL server custom configuration not available. Details: The custom configuration for the MySQL server was not found but is optional. Test 8: SUCCESS -------- MySQL server configuration is usable. Details: The MySQL server configuration was found at /Users/rparchet/.local/share/akonadi/mysql.conf and is readable. File content of '/Users/rparchet/.local/share/akonadi/mysql.conf': # # Global Akonadi MySQL server settings, # These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf # # Based on advice by Kris K??hntopp # [mysqld] # strict query parsing/interpretation # TODO: make Akonadi work with those settings enabled # sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat # sql_mode=strict_trans_tables # DEBUGGING: # log all queries, useful for debugging but generates an enormous amount of data # log=mysql.full # log queries slower than n seconds, log file name relative to datadir (for debugging only) # log_slow_queries=mysql.slow # long_query_time=1 # log queries not using indices, debug only, disable for production use # log_queries_not_using_indexes=1 # # mesure database size and adjust innodb_buffer_pool_size # SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema"); # NOTES: # Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables) #expire_logs_days=3 #sync_bin_log=0 # Use UTF-8 encoding for tables character_set_server=utf8 collation_server=utf8_general_ci # use InnoDB for transactions and better crash recovery default_storage_engine=innodb # memory pool InnoDB uses to store data dictionary information and other internal data structures (default:1M) innodb_additional_mem_pool_size=1M # memory buffer InnoDB uses to cache data and indexes of its tables (default:128M) # Larger values means less I/O innodb_buffer_pool_size=80M # Create a .ibd file for each table (default:0) innodb_file_per_table=1 # Write out the log buffer to the log file at each commit (default:1) innodb_flush_log_at_trx_commit=2 # Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin) # larger values means less I/O innodb_log_buffer_size=1M # Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery. innodb_log_file_size=64M # # error log file name, relative to datadir (default:hostname.err) log_error=mysql.err # print warnings and connection errors (default:1) log_warnings=2 # Convert table named to lowercase lower_case_table_names=1 # Maximum size of one packet or any generated/intermediate string. (default:1M) max_allowed_packet=32M # Maximum simultaneous connections allowed (default:100) max_connections=256 # The two options below make no sense with prepared statements and/or transactions # (make sense when having the same query multiple times) # Memory allocated for caching query results (default:0 (disabled)) query_cache_size=0 # Do not cache results (default:1) query_cache_type=0 # Do not use the privileges mechanisms skip_grant_tables # Do not listen for TCP/IP connections at all skip_networking # The number of open tables for all threads. (default:64) table_cache=200 # How many threads the server should cache for reuse (default:0) thread_cache_size=3 # wait 365d before dropping the DB connection (default:8h) wait_timeout=31536000 [client] default-character-set=utf8 Test 9: SUCCESS -------- akonadictl found and usable Details: The program '/opt/local/bin/akonadictl' to control the Akonadi server was found and could be executed successfully. Result: Akonadi 1.7.2 Test 10: ERROR -------- Akonadi control process not registered at D-Bus. Details: The Akonadi control process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup. Test 11: ERROR -------- Akonadi server process not registered at D-Bus. Details: The Akonadi server process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup. Test 12: ERROR -------- Nepomuk search service not registered at D-Bus. Details: The Nepomuk search service is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup. Test 13: SKIP -------- Protocol version check not possible. Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements. Test 14: ERROR -------- No resource agents found. Details: No resource agents have been found, Akonadi is not usable without at least one. This usually means that no resource agents are installed or that there is a setup problem. The following paths have been searched: '/opt/local/share/akonadi/agents'. The XDG_DATA_DIRS environment variable is set to ''; make sure this includes all paths where Akonadi agents are installed. Directory listing of '/opt/local/share/akonadi/agents': akonadinepomukfeederagent.desktop akonotesresource.desktop birthdaysresource.desktop calendarsearchagent.desktop contactsresource.desktop davgroupwareresource.desktop icalresource.desktop imapresource.desktop invitationsagent.desktop kabcresource.desktop kalarmdirresource.desktop kalarmresource.desktop kcalresource.desktop kdeaccountsresource.desktop knutresource.desktop kolabproxyresource.desktop localbookmarksresource.desktop maildirresource.desktop maildispatcheragent.desktop mailfilteragent.desktop mboxresource.desktop microblog.desktop mixedmaildirresource.desktop mtdummyresource.desktop nepomuktagresource.desktop nntpresource.desktop notesresource.desktop openxchangeresource.desktop pop3resource.desktop vcarddirresource.desktop vcardresource.desktop Environment variable XDG_DATA_DIRS is set to '' Test 15: ERROR -------- Current Akonadi server error log found. Details: The Akonadi server reported errors during its current startup. The log can be found in /Users/rparchet/.local/share/akonadi/akonadiserver.error. File content of '/Users/rparchet/.local/share/akonadi/akonadiserver.error': Invalid database object during database server startup "[ 0: 0 akonadiserver 0x00000001042ec07b _Z11akBacktracev + 75 1: 1 akonadiserver 0x00000001042ec3c6 _ZL19defaultCrashHandleri + 86 2: 2 libsystem_c.dylib 0x00007fff8b55bcfa _sigtramp + 26 3: 3 ??? 0x00007fff63ee1858 0x0 + 140734869936216 4: 4 libsystem_c.dylib 0x00007fff8b4faa7a abort + 143 5: 5 libQtCore.4.dylib 0x00000001044ade25 _Z17qt_message_output9QtMsgTypePKc + 149 6: 6 akonadiserver 0x00000001042edd8f _ZN15FileDebugStream9writeDataEPKcx + 159 7: 7 libQtCore.4.dylib 0x000000010453ae29 _ZN9QIODevice5writeEPKcx + 207 8: 8 libQtCore.4.dylib 0x0000000104543504 _ZN18QTextStreamPrivate16flushWriteBufferEv + 196 9: 9 libQtCore.4.dylib 0x00000001045443b5 _ZN11QTextStreamD2Ev + 51 10: 10 akonadiserver 0x00000001042e7b47 _ZN6QDebugD2Ev + 247 11: 11 akonadiserver 0x0000000104362625 _ZN13DbConfigMysql19startInternalServerEv + 6357 12: 12 akonadiserver 0x00000001042f0084 _ZN7Akonadi13AkonadiServer20startDatabaseProcessEv + 228 13: 13 akonadiserver 0x00000001042ef055 _ZN7Akonadi13AkonadiServerC2EP7QObject + 181 14: 14 akonadiserver 0x00000001042f138a _ZN7Akonadi13AkonadiServer8instanceEv + 42 15: 15 akonadiserver 0x00000001042e6e26 main + 614 16: 16 akonadiserver 0x00000001042e6b84 start + 52 ] " Test 16: ERROR -------- Previous Akonadi server error log found. Details: The Akonadi server reported errors during its previous startup. The log can be found in /Users/rparchet/.local/share/akonadi/akonadiserver.error.old. File content of '/Users/rparchet/.local/share/akonadi/akonadiserver.error.old': Invalid database object during database server startup "[ 0: 0 akonadiserver 0x000000010904807b _Z11akBacktracev + 75 1: 1 akonadiserver 0x00000001090483c6 _ZL19defaultCrashHandleri + 86 2: 2 libsystem_c.dylib 0x00007fff8b55bcfa _sigtramp + 26 3: 3 ??? 0x00007fff68c3d858 0x0 + 140734951053400 4: 4 libsystem_c.dylib 0x00007fff8b4faa7a abort + 143 5: 5 libQtCore.4.dylib 0x0000000109209e25 _Z17qt_message_output9QtMsgTypePKc + 149 6: 6 akonadiserver 0x0000000109049d8f _ZN15FileDebugStream9writeDataEPKcx + 159 7: 7 libQtCore.4.dylib 0x0000000109296e29 _ZN9QIODevice5writeEPKcx + 207 8: 8 libQtCore.4.dylib 0x000000010929f504 _ZN18QTextStreamPrivate16flushWriteBufferEv + 196 9: 9 libQtCore.4.dylib 0x00000001092a03b5 _ZN11QTextStreamD2Ev + 51 10: 10 akonadiserver 0x0000000109043b47 _ZN6QDebugD2Ev + 247 11: 11 akonadiserver 0x00000001090be625 _ZN13DbConfigMysql19startInternalServerEv + 6357 12: 12 akonadiserver 0x000000010904c084 _ZN7Akonadi13AkonadiServer20startDatabaseProcessEv + 228 13: 13 akonadiserver 0x000000010904b055 _ZN7Akonadi13AkonadiServerC2EP7QObject + 181 14: 14 akonadiserver 0x000000010904d38a _ZN7Akonadi13AkonadiServer8instanceEv + 42 15: 15 akonadiserver 0x0000000109042e26 main + 614 16: 16 akonadiserver 0x0000000109042b84 start + 52 ] " Test 17: SUCCESS -------- No current Akonadi control error log found. Details: The Akonadi control process did not report any errors during its current startup. Test 18: SUCCESS -------- No previous Akonadi control error log found. Details: The Akonadi control process did not report any errors during its previous startup. -------------- next part -------------- A non-text attachment was scrubbed... Name: akandiserver and korganiser crach report.rtf Type: text/rtf Size: 28691 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: kontact Erroroutput.rtf Type: text/rtf Size: 2117 bytes Desc: not available URL: From james.benstead at gmail.com Tue Apr 10 15:44:33 2012 From: james.benstead at gmail.com (James Benstead) Date: Tue, 10 Apr 2012 23:44:33 +0100 Subject: port selfupdate not working In-Reply-To: <8850AD36-A72D-4D76-AFD7-0D69C5A2E351@macports.org> References: <8850AD36-A72D-4D76-AFD7-0D69C5A2E351@macports.org> Message-ID: Thanks Ryan: turned out I had XCode 3.2.3 installed, so I've upgraded to the latest version and re-installed Macports and now everything's running fine. On 10 April 2012 01:19, Ryan Schmidt wrote: > > On Apr 9, 2012, at 19:07, James Benstead wrote: > > > Thanks Ryan, Jim. > > > > I think I've now resolved the problem with the XCode location, but on > attempting to run selfupdate again I'm hitting what appears to be a similar > problem with the gcc compiler. What should I try next? From the log: > > > > configure:2945: checking Xcode location > > configure:2948: result: /Developer/Library/Xcode > > configure:3036: checking for gcc > > configure:3063: result: /usr/bin/llvm-gcc-4.2 > > configure:3292: checking for C compiler version > > configure:3301: /usr/bin/llvm-gcc-4.2 --version >&5 > > ./configure: line 3303: /usr/bin/llvm-gcc-4.2: No such file or directory > > Install the Xcode command line tools. > > http://guide.macports.org/#installing.xcode.lion.43 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ktan at realityartisans.com Tue Apr 10 15:58:11 2012 From: ktan at realityartisans.com (Kok-Yong Tan) Date: Tue, 10 Apr 2012 18:58:11 -0400 Subject: port -v upgrade outdated breaking in python packages Message-ID: <4F84BB03.3070500@realityartisans.com> Hi, I've done a "sudo port -v selfupdate" which finished successfully. Then I tried "sudo port -v upgrade outdate" which gave me this error and then ground to a halt: Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmllib.py ... Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py ... Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/zipfile.py ... make: *** [libinstall] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.2' shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.2" && /usr/bin/make -w frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot " returned error 2 Error: Target org.macports.destroot returned: shell command failed (see log for details) Warning: the following items did not execute (for python27): org.macports.install org.macports.destroot Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log Error: Unable to upgrade port: 1 To report a bug, see I've tried to work around it by doing a "sudo port -vp upgrade outdated" which seemed to upgrade everything else except the python package but trying to come back to a "sudo port -v upgrade outdated" still results in the above errors. Advice appreciated. -- Reality Artisans, Inc. # Network Wrangling and Delousing P.O. Box 565, Gracie Station # Apple Certified Consultant New York, NY 10028-0019 # Apple Consultants Network member # Apple Developer Connection member (212) 369-4876 (Voice) # My PGP public key can be found at -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6240 bytes Desc: S/MIME Cryptographic Signature URL: From iandw.au at gmail.com Tue Apr 10 16:09:57 2012 From: iandw.au at gmail.com (Ian Wadham) Date: Wed, 11 Apr 2012 09:09:57 +1000 Subject: Kontact, korganiser, kadressbook and kmail (kdepim4) don't work In-Reply-To: <4F848E74.4030702@sunrise.ch> References: <4F848E74.4030702@sunrise.ch> Message-ID: <91620DBE-4E53-411B-8C67-E99C072AF02C@gmail.com> On 11/04/2012, at 5:48 AM, Michael Parchet wrote: > I have install the kdepim4 package but no program no program work. > > Have you already test some program of this package. > > Is there a bug ? > > See attachment the reports. > > Do I send a ticket ? I would suggest you contact a KDE mailing list and attach your files. Try kde-devel at kde.org or better still https://mail.kde.org/mailman/listinfo/kde-pim but you might have to wait for moderation on that one. Last year I was trying to get just KMail to work on Macbook (I did not need the other PIM modules, but I had a large archive of emails in KMail format). I had the same sorts of problems you had with getting Akonadi set up. You need qt4-mac with one of the database variants, and an industrial-strength database manager such as mysql, and then there is Nepomuk/Strigi which also require an i-s DBMS and so on? You can configure Akonadi up to a point. It is the "middle man" for all the KDE PIM modules now (Kontact, etc.), including KMail. I gave up. In the end I settled for Apple's Mail app. I just wanted to read and write mail ? :-) I went on the kde-devel mailing list and asked whether it is possible nowadays to obtain a version of KMail without Akonadi and all the dependencies, but apparently it is not. This makes me sad. I have been a KDE developer for several years, but last year my Linux machine died suddenly and I had to get something else up and running in a hurry. Macports came to the rescue . Maybe it is just too hard to run things that are tightly integrated into a Linux/KDE desktop on an Apple desktop. What do others think? OTOH I have had good experiences on Macports with KDE and Qt libs and KDE-based applications, such as KMyMoney. And I am also able to develop and test KDE apps on my Macbook. Thanks Macports! All the best, IanW. From ryandesign at macports.org Tue Apr 10 17:22:53 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 10 Apr 2012 19:22:53 -0500 Subject: port -v upgrade outdated breaking in python packages In-Reply-To: <4F84BB03.3070500@realityartisans.com> References: <4F84BB03.3070500@realityartisans.com> Message-ID: On Apr 10, 2012, at 17:58, Kok-Yong Tan wrote: > I've done a "sudo port -v selfupdate" which finished successfully. Then I tried "sudo port -v upgrade outdate" which gave me this error and then ground to a halt: > > Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmllib.py ... > Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py ... > Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/zipfile.py ... > make: *** [libinstall] Error 1 > make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.2' > shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.2" && /usr/bin/make -w frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot " returned error 2 > Error: Target org.macports.destroot returned: shell command failed (see log for details) > Warning: the following items did not execute (for python27): org.macports.install org.macports.destroot The output you've shown here doesn't seem to contain the actual error message. Perhaps it's earlier in the log. > Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log Please file a ticket in the issue tracker and attach this file to it. From magill at me.com Tue Apr 10 18:31:47 2012 From: magill at me.com (William H. Magill) Date: Tue, 10 Apr 2012 21:31:47 -0400 Subject: ?? Warning: xcodebuild exists but failed to execute ?? Message-ID: <82618D9A-7392-4862-877F-56B31F22CEF1@me.com> I'm curious about the warning message here... it apparently did not bother the update, but I find it "interesting" and would like to know what it implies for the future. Unless of course, it DID cause a problem... This is under Lion 10.7.3 with Xcode 7.3.2 and command line tools installed. > Warning: xcodebuild exists but failed to execute ================ ===> making install in tests make[1]: Nothing to be done for `install'. [ ! -f /opt/local/etc/macports/mp_version ] || rm -vf /opt/local/etc/macports/mp_version /usr/bin/install -c -o root -g admin -m 444 setupenv.bash /opt/local/share/macports/ /usr/bin/install -c -o root -g admin -m 444 macports-pubkey.pem /opt/local/share/macports/ Updating home directory location for user "macports" /usr/bin/tclsh src/upgrade_sources_conf_default.tcl "/opt/local" /usr/bin/tclsh src/images_to_archives.tcl "/opt/local/share/macports/Tcl" Warning: xcodebuild exists but failed to execute This could take a while... Congratulations, you have successfully upgraded the MacPorts system. The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated ================ outpost> sudo port -v upgrade outdated Warning: xcodebuild exists but failed to execute Error: No ports matched the given expression [/Users/magill] magill ================ outpost> ls -als /usr/bin/xcodebuild 0 -rwxr-xr-x 1 root wheel 1086 Feb 2 21:06 /usr/bin/xcodebuild T.T.F.N. William H. Magill # iMac11,3 Core i7 [2.936GHz - 4 GB 1333] OS X 10.7.3 # iMac6,1 Core 2 Duo [2.16GHz - 3 GB 667] OS X 10.6.8 # MacBook Pro4.1 Core 2 Duo [2.5GHz - 4GB 667] OS X 10.6.8 # Mac mini Core Duo [1.66 Ghz - 2 GB 667] OS X 10.6.8 # Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.4.11 # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a # XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3 # XP1000 [Alpha 21264-A (EV6-7) - 256 meg] FreeBSD 5.3 magill at mcgillsociety.org magill at me.com whmagill at gmail.com From ktan at realityartisans.com Tue Apr 10 19:05:45 2012 From: ktan at realityartisans.com (Kok-Yong Tan) Date: Tue, 10 Apr 2012 22:05:45 -0400 Subject: port -v upgrade outdated breaking in python packages In-Reply-To: References: <4F84BB03.3070500@realityartisans.com> Message-ID: <4F84E6F9.30306@realityartisans.com> On 4/10/12 20:22, Ryan Schmidt wrote: > On Apr 10, 2012, at 17:58, Kok-Yong Tan wrote: > >> I've done a "sudo port -v selfupdate" which finished successfully. Then I tried "sudo port -v upgrade outdate" which gave me this error and then ground to a halt: >> >> Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmllib.py ... >> Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xmlrpclib.py ... >> Compiling /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/zipfile.py ... >> make: *** [libinstall] Error 1 >> make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.2' >> shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/Python-2.7.2"&& /usr/bin/make -w frameworkinstall maninstall MAKE="/usr/bin/make CC=/usr/bin/gcc-4.0" DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/work/destroot " returned error 2 >> Error: Target org.macports.destroot returned: shell command failed (see log for details) >> Warning: the following items did not execute (for python27): org.macports.install org.macports.destroot > The output you've shown here doesn't seem to contain the actual error message. Perhaps it's earlier in the log. > >> Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/python27/main.log > Please file a ticket in the issue tracker and attach this file to it. Done. It's ticket #33990. Reality Artisans, Inc. # Network Wrangling and Delousing P.O. Box 565, Gracie Station # Apple Certified Consultant New York, NY 10028-0019 # Apple Consultants Network member # Apple Developer Connection member (212) 369-4876 (Voice) # My PGP public key can be found at -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 6240 bytes Desc: S/MIME Cryptographic Signature URL: From jeremy at lavergne.gotdns.org Tue Apr 10 19:45:21 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Tue, 10 Apr 2012 22:45:21 -0400 Subject: ?? Warning: xcodebuild exists but failed to execute ?? In-Reply-To: <82618D9A-7392-4862-877F-56B31F22CEF1@me.com> References: <82618D9A-7392-4862-877F-56B31F22CEF1@me.com> Message-ID: <051485C1-18B4-4AD9-AD4D-6F7DA1D7717C@lavergne.gotdns.org> > Warning: xcodebuild exists but failed to execute What happens when you run xcodebuild? sudo xcodebuild -version -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From jasperfrumau at gmail.com Tue Apr 10 21:30:07 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Wed, 11 Apr 2012 11:30:07 +0700 Subject: Error Building Cairo In-Reply-To: <70FBFED9-A2C7-4488-AB06-B2CC1D5828D1@macports.org> References: <6A1D834F-3B75-4B30-A399-A15E81FC3199@macports.org> <6838AD1D-35FA-45F1-B889-D923F1D0800E@macports.org> <118DF3C3-F26C-418C-AF9B-C861448A1306@macports.org> <277E4287-883C-4EC6-8A51-38268F49EA16@macports.org> <70FBFED9-A2C7-4488-AB06-B2CC1D5828D1@macports.org> Message-ID: OK: $ sudo port -f deactivate librsvg libspectre popler Password: ---> Deactivating librsvg @2.34.2_1 ---> Unable to deactivate librsvg @2.34.2_1, the following ports depend on it: ---> gegl @0.1.8_1+python27 ---> gnome-games @2.30.2_2+python27 ---> gnome-panel @2.30.2_4+python27 Warning: Deactivate forced. Proceeding despite dependencies. ---> Cleaning librsvg ---> Deactivating libspectre @0.2.6_5 ---> Unable to deactivate libspectre @0.2.6_5, the following ports depend on it: ---> evince @2.30.3_7 Warning: Deactivate forced. Proceeding despite dependencies. ---> Cleaning libspectre Error: port deactivate failed: Image error: port popler is not active. jaspersmbp:~ jasper$ sudo port clean cairo---> Cleaning cairo Then it continued building. Then I had to deactivate libelf to get glib or glib2 to build. Then I had to reactivate librsvg to get another port to update. After doing some more upgrading I managed to get all up and running. Also reactivated most if not all deactivated ports. If I do bump into another issue I will let you know On Tue, Apr 10, 2012 at 3:58 PM, Ryan Schmidt wrote: > > On Apr 10, 2012, at 02:58, Jasper Frumau wrote: > > > Thanks Ryan. Hope to have a solution for this soon so I can move on > again.. > > All you need to do is deactivate any of librsvg, libspectre, and poppler > that are installed (forcibly if necessary), then clean cairo and try > installing it again. Reactivate the deactivated ports afterward if desired. > > All I'm going to be doing is instructing cairo not to look for these > libraries even if they're present. This is somewhat tricky because cairo > does not have options to do that, and the cairo developers don't understand > why we want that; I'm trying to explain it to them. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From msavory1 at nzbox.com Tue Apr 10 23:02:51 2012 From: msavory1 at nzbox.com (Mike Savory) Date: Tue, 10 Apr 2012 23:02:51 -0700 Subject: Kontact, korganiser, kadressbook and kmail (kdepim4) don't work In-Reply-To: <91620DBE-4E53-411B-8C67-E99C072AF02C@gmail.com> References: <4F848E74.4030702@sunrise.ch> <91620DBE-4E53-411B-8C67-E99C072AF02C@gmail.com> Message-ID: <41CA3E40-518E-45E1-9D0B-7318617327A8@nzbox.com> One option for these tightly integrate GUI apps where Macports struggles is to use VirtualBox, Parallels or Fusion to simply run a whole Linux Distribution as a VM on your Mac. Mike On Apr 10, 2012, at 4:09 PM, Ian Wadham wrote: > On 11/04/2012, at 5:48 AM, Michael Parchet wrote: >> I have install the kdepim4 package but no program no program work. > I would suggest you contact a KDE mailing list and attach your files. -------------- next part -------------- An HTML attachment was scrubbed... URL: From iandw.au at gmail.com Wed Apr 11 01:35:01 2012 From: iandw.au at gmail.com (Ian Wadham) Date: Wed, 11 Apr 2012 18:35:01 +1000 Subject: Kontact, korganiser, kadressbook and kmail (kdepim4) don't work In-Reply-To: <41CA3E40-518E-45E1-9D0B-7318617327A8@nzbox.com> References: <4F848E74.4030702@sunrise.ch> <91620DBE-4E53-411B-8C67-E99C072AF02C@gmail.com> <41CA3E40-518E-45E1-9D0B-7318617327A8@nzbox.com> Message-ID: On 11/04/2012, at 4:02 PM, Mike Savory wrote: > One option for these tightly integrate GUI apps where Macports struggles is to use VirtualBox, Parallels or Fusion to simply run a whole Linux Distribution as a VM on your Mac. Yes, but it depends on what Michael Parchet's objectives are ? :-) He has to decide that. Cheers, Ian W. From trog24 at comcast.net Wed Apr 11 02:36:44 2012 From: trog24 at comcast.net (Frank J. R. Hanstick) Date: Wed, 11 Apr 2012 02:36:44 -0700 Subject: qemu Message-ID: <471AAA96-D4D9-40A3-8533-949059402548@comcast.net> Hello, I had filed a ticket, #33765, about qemu failing to build on my PowerPC G4 system. To bypass the failure, I deactivated qemu, ran sudo port upgrade outdated, and then tried to reactivate qemu without specifying a version. Of course, the activation failed; but, and interesting list of versions appeared, namely: ---> qemu @0.10.6_0 ---> qemu @0.12.3_0 ---> qemu @0.12.5_0 ---> qemu @0.14.1_0+target_i386 ---> qemu @1.0_0+target_i386+target_x86_64 I have not run qemu in a long while (lost the intel OS). I am curious as to why the i386 target for my PowerPC. Frank J. R. Hanstick trog24 at comcast.net From raimue at macports.org Wed Apr 11 04:44:36 2012 From: raimue at macports.org (=?ISO-8859-1?Q?Rainer_M=FCller?=) Date: Wed, 11 Apr 2012 13:44:36 +0200 Subject: qemu In-Reply-To: <471AAA96-D4D9-40A3-8533-949059402548@comcast.net> References: <471AAA96-D4D9-40A3-8533-949059402548@comcast.net> Message-ID: <4F856EA4.9090406@macports.org> On 2012-04-11 11:36, Frank J. R. Hanstick wrote: > ---> qemu @0.10.6_0 > ---> qemu @0.12.3_0 > ---> qemu @0.12.5_0 > ---> qemu @0.14.1_0+target_i386 > ---> qemu @1.0_0+target_i386+target_x86_64 > > I have not run qemu in a long while (lost the intel OS). I am curious as to why > the i386 target for my PowerPC. The +target_* variants specify which architectures can be emulated with qemu. The current default variants are +target_i386 +target_x86_64 regardless of the host architecture as these are used the most. See 'port variants qemu' for the full list of available architectures. Rainer From andrew.long at yahoo.com Wed Apr 11 10:37:51 2012 From: andrew.long at yahoo.com (Andrew Long) Date: Wed, 11 Apr 2012 18:37:51 +0100 Subject: Ticket #33996 on gnucash Message-ID: I have submitted a ticket on gnucash, which fails to run/build following upgrade of goffice to 0.9. (it appears to want a version of libgoffice less than that one) Regards, Andy -- Andrew Long andrew dot long at yahoo dot com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 275 bytes Desc: This is a digitally signed message part URL: From mparchet at sunrise.ch Wed Apr 11 12:31:12 2012 From: mparchet at sunrise.ch (Michael Parchet) Date: Wed, 11 Apr 2012 21:31:12 +0200 Subject: Kontact, korganiser, kadressbook and kmail (kdepim4) don't work In-Reply-To: <91620DBE-4E53-411B-8C67-E99C072AF02C@gmail.com> References: <4F848E74.4030702@sunrise.ch> <91620DBE-4E53-411B-8C67-E99C072AF02C@gmail.com> Message-ID: <4F85DC00.4060400@sunrise.ch> Hello, I opened a ticket. I hop that this problem will be solve. The ticket link. https://trac.macports.org/ticket/33998 Best regards mparchet Le 11.04.12 01:09, Ian Wadham a ?crit : > On 11/04/2012, at 5:48 AM, Michael Parchet wrote: >> I have install the kdepim4 package but no program no program work. >> >> Have you already test some program of this package. >> >> Is there a bug ? >> >> See attachment the reports. >> >> Do I send a ticket ? > I would suggest you contact a KDE mailing list and attach your files. > > Try kde-devel at kde.org or better still > https://mail.kde.org/mailman/listinfo/kde-pim but you might have to > wait for moderation on that one. > > Last year I was trying to get just KMail to work on Macbook (I did not > need the other PIM modules, but I had a large archive of emails in > KMail format). I had the same sorts of problems you had with getting > Akonadi set up. You need qt4-mac with one of the database variants, > and an industrial-strength database manager such as mysql, and then > there is Nepomuk/Strigi which also require an i-s DBMS and so on? > > You can configure Akonadi up to a point. It is the "middle man" for all > the KDE PIM modules now (Kontact, etc.), including KMail. > > I gave up. In the end I settled for Apple's Mail app. I just wanted to read > and write mail ? :-) > > I went on the kde-devel mailing list and asked whether it is possible > nowadays to obtain a version of KMail without Akonadi and all the > dependencies, but apparently it is not. > > This makes me sad. I have been a KDE developer for several years, > but last year my Linux machine died suddenly and I had to get something > else up and running in a hurry. Macports came to the rescue. > > Maybe it is just too hard to run things that are tightly integrated into a > Linux/KDE desktop on an Apple desktop. What do others think? > > OTOH I have had good experiences on Macports with KDE and Qt libs > and KDE-based applications, such as KMyMoney. And I am also able > to develop and test KDE apps on my Macbook. Thanks Macports! > > All the best, IanW. > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From dports at macports.org Wed Apr 11 15:29:44 2012 From: dports at macports.org (Dan Ports) Date: Wed, 11 Apr 2012 15:29:44 -0700 Subject: Ticket #33996 on gnucash In-Reply-To: References: Message-ID: <20120411222944.GA75838@ambulatoryclam.net> On Wed, Apr 11, 2012 at 06:37:51PM +0100, Andrew Long wrote: > I have submitted a ticket on gnucash, which fails to run/build following upgrade of goffice to 0.9. (it appears to want a version of libgoffice less than that one) Yes, gnucash and gnumeric both seem to need goffice 0.8 rather than 0.9 (not too surprising; 0.9 is a gtk3 version). I've reverted goffice back to 0.8.17 for compatibility. Dan -- Dan R. K. Ports MIT CSAIL http://drkp.net/ From andrew.long at yahoo.com Wed Apr 11 15:56:11 2012 From: andrew.long at yahoo.com (Andrew Long) Date: Wed, 11 Apr 2012 23:56:11 +0100 Subject: Ticket #33996 on gnucash In-Reply-To: <20120411222944.GA75838@ambulatoryclam.net> References: <20120411222944.GA75838@ambulatoryclam.net> Message-ID: <5A9E4097-05EE-4DEC-8F60-02179A912680@yahoo.com> On 11 Apr 2012, at 23:29, Dan Ports wrote: > On Wed, Apr 11, 2012 at 06:37:51PM +0100, Andrew Long wrote: >> I have submitted a ticket on gnucash, which fails to run/build following upgrade of goffice to 0.9. (it appears to want a version of libgoffice less than that one) > > Yes, gnucash and gnumeric both seem to need goffice 0.8 rather than 0.9 > (not too surprising; 0.9 is a gtk3 version). I've reverted goffice back > to 0.8.17 for compatibility. That seems to have done the trick, thanks. Regards, Andy -- Andrew Long andrew dot long at yahoo dot com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 275 bytes Desc: This is a digitally signed message part URL: From trog24 at comcast.net Wed Apr 11 17:35:55 2012 From: trog24 at comcast.net (Frank J. R. Hanstick) Date: Wed, 11 Apr 2012 17:35:55 -0700 Subject: qemu In-Reply-To: <4F856EA4.9090406@macports.org> References: <471AAA96-D4D9-40A3-8533-949059402548@comcast.net> <4F856EA4.9090406@macports.org> Message-ID: <0EF246F6-DEBA-4184-BB58-FAD62CBFA2E4@comcast.net> Hello, Thank you. On Apr 11, 2012, at 4:44 AM, Rainer M?ller wrote: > On 2012-04-11 11:36, Frank J. R. Hanstick wrote: >> ---> qemu @0.10.6_0 >> ---> qemu @0.12.3_0 >> ---> qemu @0.12.5_0 >> ---> qemu @0.14.1_0+target_i386 >> ---> qemu @1.0_0+target_i386+target_x86_64 >> >> I have not run qemu in a long while (lost the intel OS). I am >> curious as to why >> the i386 target for my PowerPC. > > The +target_* variants specify which architectures can be emulated > with qemu. > The current default variants are +target_i386 +target_x86_64 > regardless of the > host architecture as these are used the most. > > See 'port variants qemu' for the full list of available architectures. > > Rainer > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users Frank J. R. Hanstick trog24 at comcast.net From jmr at macports.org Wed Apr 11 18:12:53 2012 From: jmr at macports.org (Joshua Root) Date: Thu, 12 Apr 2012 11:12:53 +1000 Subject: MacPorts 2.1.0-beta1 now available for testing Message-ID: <4F862C15.2090603@macports.org> Source code and pkg/dmgs for MacPorts 2.1.0-beta1 are now available [1]. Testing of either of these install methods is helpful. While there are no known regressions from 2.0.4 at this point, be prepared to encounter bugs. As always, having a recent backup would be wise. Please report any bugs that you find [2] (after first searching Trac [3], of course!) There are a large number of changes in this release. See the ChangeLog [4] for a list of most of them. You may like to focus your testing on the new features in that list, as well as your normal usage. Cheers, Josh [1] [2] [3] [4] From jasperfrumau at gmail.com Thu Apr 12 03:56:48 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Thu, 12 Apr 2012 17:56:48 +0700 Subject: Tor && Vidalia Ports Message-ID: Hi everyone, I have installed Tor $ sudo port info tor tor @0.2.2.35 (security) Variants: universal It does not seem to run automatically as it did when I installed it on a Debian system. Do I need to activate Tor as a process before I can configure Firefox to us a proxy using SOCKS Host? If so how? I tried to install the GUI Vidalia and got errors: $ tail -n 20 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_Vidalia/vidalia/main.log :info:configure -- Detecting CXX compiler ABI info - done :info:configure -- Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_LIBRARY) (Required is at least version "4.3.0") :info:configure CMake Error at /opt/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): :info:configure Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE :info:configure QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR :info:configure QT_QTCORE_LIBRARY) (Required is at least version "4.3.0") :info:configure Call Stack (most recent call first): :info:configure /opt/local/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE) :info:configure /opt/local/share/cmake-2.8/Modules/FindQt4.cmake:1173 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) :info:configure CMakeLists.txt:37 (find_package) :info:configure :info:configure :info:configure -- Configuring incomplete, errors occurred! :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_Vidalia/vidalia/work/vidalia-0.2.15" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DQT_QT_INCLUDE_DIR=/opt/local/include -DQT_QMAKESPEC=macx-g++ -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_SYSROOT=/ " returned error 1 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details) while executing "$procedure $targetname" :info:configure Warning: the following items did not execute (for vidalia): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:configure Log for vidalia is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_Vidalia/vidalia/main.log -------------- next part -------------- An HTML attachment was scrubbed... URL: From fresler at adex-intl.com Thu Apr 12 06:45:15 2012 From: fresler at adex-intl.com (Floyd Resler) Date: Thu, 12 Apr 2012 09:45:15 -0400 Subject: Bugzilla Message-ID: <6D132DC0-8F6A-4C7A-BE9A-5DCFEF67BDF6@adex-intl.com> I'm having problems installing Bugzilla on my 10.5 machine. It fails at installing python27. The installer says this: ---> Installing python27 @2.7.2_4 Error: Target org.macports.install returned: bzip2: Compressed file ends unexpectedly; perhaps it is corrupted? *Possible* reason follows. bzip2: Inappropriate ioctl for device Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become corrupted. You can use the -tvv option to test integrity of such files. You can use the `bzip2recover' program to attempt to recover data from undamaged sections of corrupted files. /usr/bin/tar: Unexpected EOF in archive /usr/bin/tar: Error is not recoverable: exiting now Error: Failed to install python27 I had to abort the first install attempt of phython27 so I'm thinking that's what's causing the problem. I just can't figure out how to get back to a clean state to try again. Thanks! Floyd From allbery.b at gmail.com Thu Apr 12 06:53:03 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Thu, 12 Apr 2012 09:53:03 -0400 Subject: Tor && Vidalia Ports In-Reply-To: References: Message-ID: On Thu, Apr 12, 2012 at 06:56, Jasper Frumau wrote: > Hi everyone, > > I have installed Tor > $ sudo port info tor > tor @0.2.2.35 (security) > Variants: universal > > > It does not seem to run automatically as it did when I installed it on a > Debian system. Do I need to activate Tor as a process before I can > configure Firefox to us a proxy using SOCKS Host? If so how? > Correct, it does not run automatically. > I tried to install the GUI Vidalia and got errors: > Your "last 20 lines" isn't rally enough information, although it does lead me to ask what the result of "port installed qt4-mac" is. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From allbery.b at gmail.com Thu Apr 12 06:55:29 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Thu, 12 Apr 2012 09:55:29 -0400 Subject: Bugzilla In-Reply-To: <6D132DC0-8F6A-4C7A-BE9A-5DCFEF67BDF6@adex-intl.com> References: <6D132DC0-8F6A-4C7A-BE9A-5DCFEF67BDF6@adex-intl.com> Message-ID: On Thu, Apr 12, 2012 at 09:45, Floyd Resler wrote: > I had to abort the first install attempt of phython27 so I'm thinking > that's what's causing the problem. I just can't figure out how to get back > to a clean state to try again. > `man port` is often helpful.... In particular you probably want "sudo port clean --dist python27" or "sudo port clean --all python27". This list is not a substitute for reading the manpage, though. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From fresler at adex-intl.com Thu Apr 12 07:03:07 2012 From: fresler at adex-intl.com (Floyd Resler) Date: Thu, 12 Apr 2012 10:03:07 -0400 Subject: Bugzilla In-Reply-To: References: <6D132DC0-8F6A-4C7A-BE9A-5DCFEF67BDF6@adex-intl.com> Message-ID: <961B43FC-2FCC-454F-B7CC-C89B62B9977C@adex-intl.com> Thanks for the tips. I had actually tried "sudo port clean --all" which didn't fix my problem. So, I tried what you suggested and still no luck. Trust me, I did lots of Google searching on the subject before asking my question here! :) I tried to find the file bzip2 is trying to decompress and I wasn't able to. I tried removing the "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/python27" folder so macports would download them again and still no luck. Am I just screwed? Thanks! Floyd On Apr 12, 2012, at 9:55 AM, Brandon Allbery wrote: > On Thu, Apr 12, 2012 at 09:45, Floyd Resler wrote: > I had to abort the first install attempt of phython27 so I'm thinking that's what's causing the problem. I just can't figure out how to get back to a clean state to try again. > > `man port` is often helpful.... > > In particular you probably want "sudo port clean --dist python27" or "sudo port clean --all python27". This list is not a substitute for reading the manpage, though. > > -- > brandon s allbery allbery.b at gmail.com > wandering unix systems administrator (available) (412) 475-9364 vm/sms > -------------- next part -------------- An HTML attachment was scrubbed... URL: From allbery.b at gmail.com Thu Apr 12 07:16:25 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Thu, 12 Apr 2012 10:16:25 -0400 Subject: Bugzilla In-Reply-To: <961B43FC-2FCC-454F-B7CC-C89B62B9977C@adex-intl.com> References: <6D132DC0-8F6A-4C7A-BE9A-5DCFEF67BDF6@adex-intl.com> <961B43FC-2FCC-454F-B7CC-C89B62B9977C@adex-intl.com> Message-ID: On Thu, Apr 12, 2012 at 10:03, Floyd Resler wrote: > I tried to find the file bzip2 is trying to decompress and I wasn't able > to. I tried removing the "/opt/local/var/macports/sources/ > rsync.macports.org/release/tarballs/ports/lang/python27" folder so > macports would download them again and still no luck. Am I just screwed? > You'd need to "sudo port selfupdate" to get that directory back again. I'd expect far worse errors than from bzip2 though. (And "sudo port clean --all" would throw an error because you didn't name a port.) -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdbecque at gmail.com Thu Apr 12 08:03:14 2012 From: mdbecque at gmail.com (M. Daniel Becque) Date: Thu, 12 Apr 2012 10:03:14 -0500 Subject: tesseract 3.01 Message-ID: Trying to run Tesseract 3.01 as setup by Macports on an uncompressed tif file that is one column of text. The first error was "error opening .../tessdata/eng.traineddata". No surprise because eng.traineddata isn't there. I downloaded and opened tesseract-ocr-3.01.eng.tar.gz and put the resulting 9 files into /opt/local/share/tessdata. Go back to the command line and run Tesseract and get the following tesseract myfile.tif text num_edges_ > 0:Error:Assert failed:in file dawg.cpp, line 289 Bus error Any suggestions? Dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen.langer at nist.gov Thu Apr 12 12:22:06 2012 From: stephen.langer at nist.gov (Stephen Langer) Date: Thu, 12 Apr 2012 15:22:06 -0400 Subject: location of pkgconfig files for python libraries Message-ID: <361AB065-4137-4722-BEF8-E3081E5C0C63@nist.gov> Hi -- I have several versions of python and pygtk installed and switch between them using "port select python ...". The port py25-gtk installs pygtk-2.0.pc in /opt/local/lib/pkgconfig, where I expect it to be. But py27-gtk puts it in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/, which is confusing build scripts that use pkg-config. Is this intentional, or a bug in py27-gtk? (py26-gtk, py26-gobject, and py27-gobject have similar behavior.) The result of this is that I end up using py25-gtk's version of pygtk-2.0.pc even when building with python27. This actually works ok, because I don't use the parts of pygtk-2.0.pc that differ between the two versions. But when building my software with python27 on a computer on which py25-gtk hasn't been installed, the .pc file isn't found and the build script fails. Am I expected to set PKG_CONFIG_PATH when switching python versions? Shouldn't "port select python" copy the .pc files from /opt/local/Library/Frameworks/Python... to /opt/local/lib/pkgconfig? Thanks, Steve -- -- EMail: stephen.langer at nist.gov Phone: (301) 975-5423 -- -- http://math.nist.gov/~SLanger/ Fax: (301) 975-3553 -- -- Mail: NIST; 100 Bureau Drive -- Stop 8910; Gaithersburg, Md 20899-8910 -- -- "I don't think this will work. That's why it's science." -- -- Naomi Langer (age 6), 17 Feb 2003 -- From michael.klein at puffin.lb.shuttle.de Thu Apr 12 13:05:45 2012 From: michael.klein at puffin.lb.shuttle.de (Michael Klein) Date: Thu, 12 Apr 2012 22:05:45 +0200 (CEST) Subject: Simple way to install binary archives? Message-ID: Dear list, If I copy a .tbz2 archive file from /opt/local/var/macports/software to the same directory on another machine (with same architecture and variants.conf), is that supposed to work? "port install" indeed picks up the archive, but can't find the +CONTENTS file due to a leading "./" path component: $ sudo port -v install subversion ---> Computing dependencies for subversion. ---> Installing subversion @1.7.4_0+no_bdb Error: Target org.macports.install returned: /usr/bin/tar: +CONTENTS: Not found in archive /usr/bin/tar: Error exit delayed from previous errors Warning: the following items did not execute (for subversion): org.macports.activate org.macports.install Log for subversion is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_devel_subversion/subversion/main.log Error: Status 1 encountered during processing. To report a bug, see $ tar tjvf /opt/local/var/macports/software/subversion/subversion-1.7.4_0+no_bdb.darwin_9.ppc.tbz2 | grep -- +CONTENTS -rw-r--r-- root/wheel 11361 2012-03-19 00:14:18 ./+CONTENTS Should I create a ticket or am I missing something? /Michael From phildobbin at gmail.com Thu Apr 12 13:38:15 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Thu, 12 Apr 2012 21:38:15 +0100 Subject: Python environment Message-ID: <4F873D37.5060100@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, all. I finally need to do some work in Python so bear with me... I've port installed virtualenv, pip & easy_install comes with Python 2.7 if I'm not mistaken (if I am, it's there anyhows). Which symlinks/aliases do I have to invoke so that they're available to me in the console? Any help appreciated. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPhz01AAoJEKpMeDHWT5AD61wH/0vrXQKzEdxb8JtW08368tLl w3l2j2DB/B0vc2uvapT0dkSZT78uBHTbABPO4r/z0p7NqsrgRECxXldr5g+UH5gr 0qOWGGs/u2He0jf/SdPsxW1Dbp+H33LfoKcqmGAmDl1FkF8DrgG05E6pxbqcx3dd uA+K30LrQlsPEZgdw928dk8u6bJfDRBFoTmvTa0inUneQj65LmuyKguEp7hWYfpd ntD+fkDJAcGookw/bVoEvFupg1a3FUocl3um9D+XaGvNasJapr0IMbZ+vAIrPXcz 6rqT3eNL4A8I/WhdEkRHBGMA3tIz2AM4z6jWAk9VHFX+XC0XChpgIox3E0zdYvU= =dE9w -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From ryandesign at macports.org Thu Apr 12 17:13:03 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 12 Apr 2012 19:13:03 -0500 Subject: Simple way to install binary archives? In-Reply-To: References: Message-ID: <0B4AC907-CEF5-454F-A7B8-D58EE1C343A2@macports.org> On Apr 12, 2012, at 15:05, Michael Klein wrote: > If I copy a .tbz2 archive file from /opt/local/var/macports/software to the same directory on another machine (with same architecture and variants.conf), is that supposed to work? Assuming the OS version, architecture(s) and variant(s) match, yes. > "port install" indeed picks up the archive, but can't find the +CONTENTS file due to a leading "./" path component: > > $ sudo port -v install subversion ---> Computing dependencies for subversion. > ---> Installing subversion @1.7.4_0+no_bdb > Error: Target org.macports.install returned: /usr/bin/tar: +CONTENTS: Not found in archive > /usr/bin/tar: Error exit delayed from previous errors Is that (leading ./ path component) really what it's due to? We've had some other reports of "+CONTENTS: Not found in archive" (search issue tracker) that we weren't able to figure out, aside from assuming the user got a corrupted download somehow. From ryandesign at macports.org Thu Apr 12 17:15:03 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 12 Apr 2012 19:15:03 -0500 Subject: tesseract 3.01 In-Reply-To: References: Message-ID: On Apr 12, 2012, at 10:03, M. Daniel Becque wrote: > Trying to run Tesseract 3.01 as setup by Macports on an uncompressed tif file that is one column of text. The first error was "error opening .../tessdata/eng.traineddata". No surprise because eng.traineddata isn't there. I downloaded and opened tesseract-ocr-3.01.eng.tar.gz and put the resulting 9 files into /opt/local/share/tessdata. Don't manually download and install training data. Instead, install the corresponding sub-port: $ port info tesseract | grep Sub-ports Sub-ports: tesseract-ara, tesseract-bul, tesseract-cat, tesseract-ces, tesseract-chi-sim, tesseract-chi-tra, tesseract-dan, tesseract-dan-frak, tesseract-deu, tesseract-deu-frak, tesseract-ell, tesseract-eng, tesseract-fin, tesseract-fra, tesseract-heb, tesseract-heb-com, tesseract-hin, tesseract-hun, tesseract-ind, tesseract-ita, tesseract-jpn, tesseract-kor, tesseract-lav, tesseract-lit, tesseract-nld, tesseract-nor, tesseract-pol, tesseract-por, tesseract-ron, tesseract-rus, tesseract-slk, tesseract-slk-frak, tesseract-slv, tesseract-spa, tesseract-srp, tesseract-swe, tesseract-swe-frak, tesseract-tgl, tesseract-tha, tesseract-tur, tesseract-ukr, tesseract-vie From mike at vail.net Thu Apr 12 18:00:29 2012 From: mike at vail.net (Michael Gehl) Date: Thu, 12 Apr 2012 19:00:29 -0600 Subject: macports geda-gaf build error Message-ID: <0A003AD8-B423-4EDC-ADCB-1D048993E607@vail.net> I originally had an older version of geda installed on my machine and decided to start clean with a new one. After several passed through "port install geda-gaf" (gtk2 build errors, etc. occurred along the way) I was down to just the geda-gaf build: ... ---> Computing dependencies for geda-gaf ---> Building geda-gaf Error: Target org.macports.build returned: shell command failed (see log for details) Error: Status 1 encountered during processing. ... so I look at the logfile (/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_geda-gaf/geda-gaf/main.log), and there is *no* mention of any errors anywhere in the file, the final two lines are: :debug:clean Removing directory: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/readline :debug:clean delete: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/readline I have no idea which shell command failed. I am running macports 2.04 on Snow Leopard latest, XCode 4.0. Sure would like to have an idea as to what the problem is! TIA, Mike From larry.velazquez at gmail.com Thu Apr 12 18:26:36 2012 From: larry.velazquez at gmail.com (=?iso-8859-1?Q?Lawrence_Vel=E1zquez?=) Date: Thu, 12 Apr 2012 21:26:36 -0400 Subject: macports geda-gaf build error In-Reply-To: <0A003AD8-B423-4EDC-ADCB-1D048993E607@vail.net> References: <0A003AD8-B423-4EDC-ADCB-1D048993E607@vail.net> Message-ID: On Apr 12, 2012, at 9:00 p.m., Michael Gehl wrote: > I originally had an older version of geda installed on my machine and decided to start clean with a new one. After several passed through "port install geda-gaf" (gtk2 build errors, etc. occurred along the way) I was down to just the geda-gaf build: > > ... > ---> Computing dependencies for geda-gaf > ---> Building geda-gaf > Error: Target org.macports.build returned: shell command failed (see log for details) > Error: Status 1 encountered during processing. > > ... so I look at the logfile (/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_geda-gaf/geda-gaf/main.log), and there is *no* mention of any errors anywhere in the file, the final two lines are: > > :debug:clean Removing directory: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/readline > :debug:clean delete: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/readline > > I have no idea which shell command failed. > > I am running macports 2.04 on Snow Leopard latest, XCode 4.0. > > Sure would like to have an idea as to what the problem is! Could you try "sudo port clean geda-gaf" and then installing again? And if it fails, send us your main.log file. vq From ryandesign at macports.org Thu Apr 12 20:40:09 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 12 Apr 2012 22:40:09 -0500 Subject: Fwd: Simple way to install binary archives? References: <4E8540EF-EA3D-4D63-8876-A19D6C12098C@lavergne.gotdns.org> Message-ID: Begin forwarded message: > From: Jeremy Lavergne > Date: April 12, 2012 20:17:03 CDT > To: Ryan Schmidt > Subject: Re: Simple way to install binary archives? > >> Is that (leading ./ path component) really what it's due to? We've had some other reports of "+CONTENTS: Not found in archive" (search issue tracker) that we weren't able to figure out, aside from assuming the user got a corrupted download somehow. > > I think the older archives didn't have the metadata files (+PORTFILE, +CONTENTS, etc). Do you have any from before images-and-archives was merged? From mdbecque at gmail.com Thu Apr 12 21:18:47 2012 From: mdbecque at gmail.com (M. Daniel Becque) Date: Thu, 12 Apr 2012 23:18:47 -0500 Subject: tesseract 3.01 In-Reply-To: References: Message-ID: Ryan, I wondered what the subports were for. got it. thanks On Thu, Apr 12, 2012 at 7:15 PM, Ryan Schmidt wrote: > > On Apr 12, 2012, at 10:03, M. Daniel Becque wrote: > > > Trying to run Tesseract 3.01 as setup by Macports on an uncompressed tif > file that is one column of text. The first error was "error opening > .../tessdata/eng.traineddata". No surprise because eng.traineddata isn't > there. I downloaded and opened tesseract-ocr-3.01.eng.tar.gz and put the > resulting 9 files into /opt/local/share/tessdata. > > Don't manually download and install training data. Instead, install the > corresponding sub-port: > > $ port info tesseract | grep Sub-ports > Sub-ports: tesseract-ara, tesseract-bul, tesseract-cat, > tesseract-ces, tesseract-chi-sim, tesseract-chi-tra, tesseract-dan, > tesseract-dan-frak, tesseract-deu, tesseract-deu-frak, tesseract-ell, > tesseract-eng, tesseract-fin, tesseract-fra, tesseract-heb, > tesseract-heb-com, tesseract-hin, tesseract-hun, tesseract-ind, > tesseract-ita, tesseract-jpn, tesseract-kor, tesseract-lav, tesseract-lit, > tesseract-nld, tesseract-nor, tesseract-pol, tesseract-por, tesseract-ron, > tesseract-rus, tesseract-slk, tesseract-slk-frak, tesseract-slv, > tesseract-spa, tesseract-srp, tesseract-swe, tesseract-swe-frak, > tesseract-tgl, tesseract-tha, tesseract-tur, tesseract-ukr, tesseract-vie > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmr at macports.org Thu Apr 12 21:32:01 2012 From: jmr at macports.org (Joshua Root) Date: Fri, 13 Apr 2012 14:32:01 +1000 Subject: Bugzilla Message-ID: <4F87AC41.10003@macports.org> > I'm having problems installing Bugzilla on my 10.5 machine. It fails at installing python27. The installer says this: > ---> Installing python27 @2.7.2_4 > Error: Target org.macports.install returned: > bzip2: Compressed file ends unexpectedly; > perhaps it is corrupted? *Possible* reason follows. > bzip2: Inappropriate ioctl for device > Input file = (stdin), output file = (stdout) Maybe you have a truncated archive in /opt/local/var/macports/software/python27/? If so, delete it. - Josh From fresler at adex-intl.com Fri Apr 13 06:23:46 2012 From: fresler at adex-intl.com (Floyd Resler) Date: Fri, 13 Apr 2012 09:23:46 -0400 Subject: Bugzilla In-Reply-To: <4F87AC41.10003@macports.org> References: <4F87AC41.10003@macports.org> Message-ID: On Apr 13, 2012, at 12:32 AM, Joshua Root wrote: >> I'm having problems installing Bugzilla on my 10.5 machine. It fails at installing python27. The installer says this: >> ---> Installing python27 @2.7.2_4 >> Error: Target org.macports.install returned: >> bzip2: Compressed file ends unexpectedly; >> perhaps it is corrupted? *Possible* reason follows. >> bzip2: Inappropriate ioctl for device >> Input file = (stdin), output file = (stdout) > > Maybe you have a truncated archive in > /opt/local/var/macports/software/python27/? If so, delete it. > > - Josh That was it! Thanks so much! Take care, Floyd From michael.klein at puffin.lb.shuttle.de Fri Apr 13 11:29:35 2012 From: michael.klein at puffin.lb.shuttle.de (Michael Klein) Date: Fri, 13 Apr 2012 20:29:35 +0200 (CEST) Subject: Simple way to install binary archives? In-Reply-To: <0B4AC907-CEF5-454F-A7B8-D58EE1C343A2@macports.org> References: <0B4AC907-CEF5-454F-A7B8-D58EE1C343A2@macports.org> Message-ID: On Thu, 12 Apr 2012, Ryan Schmidt wrote: > On Apr 12, 2012, at 15:05, Michael Klein wrote: > >> "port install" indeed picks up the archive, but can't find the +CONTENTS file due to a leading "./" path component: >> >> $ sudo port -v install subversion ---> Computing dependencies for subversion. >> ---> Installing subversion @1.7.4_0+no_bdb >> Error: Target org.macports.install returned: /usr/bin/tar: +CONTENTS: Not found in archive >> /usr/bin/tar: Error exit delayed from previous errors > > Is that (leading ./ path component) really what it's due to? Yes. After I manually re-packed the archive without the leading ./, the installation went well. From michael.klein at puffin.lb.shuttle.de Fri Apr 13 11:35:02 2012 From: michael.klein at puffin.lb.shuttle.de (Michael Klein) Date: Fri, 13 Apr 2012 20:35:02 +0200 (CEST) Subject: Fwd: Simple way to install binary archives? In-Reply-To: References: <4E8540EF-EA3D-4D63-8876-A19D6C12098C@lavergne.gotdns.org> Message-ID: On Thu, 12 Apr 2012, Ryan Schmidt wrote: > Begin forwarded message: > >> From: Jeremy Lavergne >> Date: April 12, 2012 20:17:03 CDT >> To: Ryan Schmidt >> Subject: Re: Simple way to install binary archives? >> >>> Is that (leading ./ path component) really what it's due to? We've had some other reports of "+CONTENTS: Not found in archive" (search issue tracker) that we weren't able to figure out, aside from assuming the user got a corrupted download somehow. >> >> I think the older archives didn't have the metadata files (+PORTFILE, +CONTENTS, etc). Do you have any from before images-and-archives was merged? That seems to be the case: [root] fossekall:/opt/local/var/macports/software # tar tjvf expat/expat-2.0.1_1.darwin_9.ppc.tbz2 drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/ drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/ drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/bin/ -rwxr-xr-x mapo/mapo 24596 2011-08-10 12:27:49 opt/local/bin/xmlwf drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/include/ -rw-r--r-- mapo/mapo 40339 2011-08-10 12:27:48 opt/local/include/expat.h -rw-r--r-- mapo/mapo 3364 2011-08-10 12:27:48 opt/local/include/expat_external.h drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/lib/ lrwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/lib/libexpat.0.dylib -> libexpat.1.dylib -rwxr-xr-x mapo/mapo 150560 2011-08-10 12:27:48 opt/local/lib/libexpat.1.5.2.dylib lrwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/lib/libexpat.1.dylib -> libexpat.1.5.2.dylib -rw-r--r-- mapo/mapo 233760 2011-08-10 12:27:48 opt/local/lib/libexpat.a lrwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/lib/libexpat.dylib -> libexpat.1.5.2.dylib -rwxr-xr-x mapo/mapo 828 2011-08-10 12:27:48 opt/local/lib/libexpat.la drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/share/ drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/share/doc/ drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/share/doc/expat/ -rw-r--r-- mapo/mapo 9204 2011-08-10 12:27:49 opt/local/share/doc/expat/Changes -rw-r--r-- mapo/mapo 1208 2011-08-10 12:27:49 opt/local/share/doc/expat/COPYING drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/share/doc/expat/html/ -rw-r--r-- mapo/mapo 1027 2011-08-10 12:27:49 opt/local/share/doc/expat/html/expat.png -rw-r--r-- mapo/mapo 92697 2011-08-10 12:27:49 opt/local/share/doc/expat/html/reference.html -rw-r--r-- mapo/mapo 1340 2011-08-10 12:27:49 opt/local/share/doc/expat/html/style.css -rw-r--r-- mapo/mapo 2368 2011-08-10 12:27:49 opt/local/share/doc/expat/html/valid-xhtml10.png -rw-r--r-- mapo/mapo 7895 2011-08-10 12:27:49 opt/local/share/doc/expat/html/xmlwf.1 -rw-r--r-- mapo/mapo 13884 2011-08-10 12:27:49 opt/local/share/doc/expat/html/xmlwf.sgml -rw-r--r-- mapo/mapo 5701 2011-08-10 12:27:49 opt/local/share/doc/expat/README drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/share/examples/ drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/share/examples/expat/ -rw-r--r-- mapo/mapo 1617 2011-08-10 12:27:49 opt/local/share/examples/expat/elements.c -rw-r--r-- mapo/mapo 2415 2011-08-10 12:27:49 opt/local/share/examples/expat/outline.c drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/share/man/ drwxr-xr-x mapo/mapo 0 2011-08-10 12:27:50 opt/local/share/man/man1/ -r--r--r-- mapo/mapo 3437 2011-08-10 12:27:49 opt/local/share/man/man1/xmlwf.1.gz [root] fossekall:/opt/local/var/macports/software # tar tjvf expat/expat-2.1.0_0.darwin_9.ppc.tbz2 drwxr-xr-x root/wheel 0 2012-04-12 20:50:14 ./ -rw-r--r-- root/wheel 28 2012-04-12 20:50:14 ./+COMMENT -rw-r--r-- root/wheel 1800 2012-04-12 20:50:14 ./+CONTENTS -rw-r--r-- root/wheel 222 2012-04-12 20:50:14 ./+DESC -rw-r--r-- root/wheel 1600 2012-04-12 20:45:27 ./+PORTFILE -rw-r--r-- root/wheel 235 2012-04-12 20:50:14 ./+STATE drwxr-xr-x root/wheel 0 2012-04-12 20:50:14 ./opt/ drwxr-xr-x mapo/mapo 0 2012-04-12 20:50:14 ./opt/local/ drwxr-xr-x mapo/mapo 0 2012-04-12 20:50:14 ./opt/local/bin/ -rwxr-xr-x root/mapo 24596 2012-04-12 20:50:14 ./opt/local/bin/xmlwf drwxr-xr-x mapo/mapo 0 2012-04-12 20:50:14 ./opt/local/include/ -rw-r--r-- root/mapo 41752 2012-04-12 20:50:14 ./opt/local/include/expat.h -rw-r--r-- root/mapo 3364 2012-04-12 20:50:14 ./opt/local/include/expat_external.h drwxr-xr-x mapo/mapo 0 2012-04-12 20:50:14 ./opt/local/lib/ -rwxr-xr-x root/mapo 150744 2012-04-12 20:50:14 ./opt/local/lib/libexpat.1.dylib -rw-r--r-- root/mapo 234936 2012-04-12 20:50:14 ./opt/local/lib/libexpat.a lrwxr-xr-x root/mapo 0 2012-04-12 20:50:14 ./opt/local/lib/libexpat.dylib -> libexpat.1.dylib -rwxr-xr-x root/mapo 951 2012-04-12 20:50:14 ./opt/local/lib/libexpat.la drwxr-xr-x mapo/mapo 0 2012-04-12 20:50:14 ./opt/local/lib/pkgconfig/ -rw-r--r-- root/mapo 232 2012-04-12 20:50:14 ./opt/local/lib/pkgconfig/expat.pc drwxr-xr-x mapo/mapo 0 2012-04-12 20:50:14 ./opt/local/share/ drwxr-xr-x root/mapo 0 2012-04-12 20:50:14 ./opt/local/share/doc/ drwxr-xr-x root/mapo 0 2012-04-12 20:50:14 ./opt/local/share/doc/expat/ -rw-r--r-- root/mapo 11379 2012-04-12 20:50:14 ./opt/local/share/doc/expat/Changes -rw-r--r-- root/mapo 1208 2012-04-12 20:50:14 ./opt/local/share/doc/expat/COPYING drwxr-xr-x root/mapo 0 2012-04-12 20:50:14 ./opt/local/share/doc/expat/html/ -rw-r--r-- root/mapo 1027 2012-04-12 20:50:14 ./opt/local/share/doc/expat/html/expat.png -rw-r--r-- root/mapo 94947 2012-04-12 20:50:14 ./opt/local/share/doc/expat/html/reference.html -rw-r--r-- root/mapo 1340 2012-04-12 20:50:14 ./opt/local/share/doc/expat/html/style.css -rw-r--r-- root/mapo 2368 2012-04-12 20:50:14 ./opt/local/share/doc/expat/html/valid-xhtml10.png -rw-r--r-- root/mapo 7895 2012-04-12 20:50:14 ./opt/local/share/doc/expat/html/xmlwf.1 -rw-r--r-- root/mapo 13690 2012-04-12 20:50:14 ./opt/local/share/doc/expat/html/xmlwf.sgml -rw-r--r-- root/mapo 5790 2012-04-12 20:50:14 ./opt/local/share/doc/expat/README drwxr-xr-x root/mapo 0 2012-04-12 20:50:14 ./opt/local/share/examples/ drwxr-xr-x root/mapo 0 2012-04-12 20:50:14 ./opt/local/share/examples/expat/ -rw-r--r-- root/mapo 1617 2012-04-12 20:50:14 ./opt/local/share/examples/expat/elements.c -rw-r--r-- root/mapo 2415 2012-04-12 20:50:14 ./opt/local/share/examples/expat/outline.c drwxr-xr-x mapo/mapo 0 2012-04-12 20:50:14 ./opt/local/share/man/ drwxr-xr-x mapo/mapo 0 2012-04-12 20:50:14 ./opt/local/share/man/man1/ -r--r--r-- root/mapo 3437 2012-04-12 20:50:14 ./opt/local/share/man/man1/xmlwf.1.gz From terry at dop.com Fri Apr 13 13:40:25 2012 From: terry at dop.com (Terry Barnum) Date: Fri, 13 Apr 2012 13:40:25 -0700 Subject: [SPAM] Re: FFmbc port? In-Reply-To: References: Message-ID: <5325F394-40D1-4A90-A37A-7A869660822F@dop.com> On Apr 3, 2012, at 12:13 AM, Sam Kuper wrote: > On 3 April 2012 07:52, Sam Kuper wrote: >> I know (and am grateful!) that FFmpeg is available via MacPorts. >> >> However, FFmbc[1] is allegedly[2] better than FFmpeg for rewrapping AVCHD files. >> >> I wonder if FFmbc might be added to MacPorts? > > Ah, I was behind the curve: > > http://lists.macosforge.org/pipermail/macports-users/2011-December/026635.html > https://trac.macports.org/ticket/32799 I never heard anything back about the ffmbc request. Thanks for adding your voice Sam. -Terry > > Sam > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > Terry Barnum digital OutPost http://www.dop.com From deric at macports.org Fri Apr 13 14:18:41 2012 From: deric at macports.org (Daniel Ericsson) Date: Fri, 13 Apr 2012 23:18:41 +0200 Subject: Python environment In-Reply-To: <4F873D37.5060100@gmail.com> References: <4F873D37.5060100@gmail.com> Message-ID: <060FDC03-532F-4E4E-AD77-F55BC28ECCD0@macports.org> On 12 apr 2012, at 22:38, Phil Dobbin wrote: > I've port installed virtualenv, pip & easy_install comes with Python 2.7 > if I'm not mistaken (if I am, it's there anyhows). > > Which symlinks/aliases do I have to invoke so that they're available to > me in the console? I've added /opt/local/Library/Frameworks/Python.framework/Versions/Current/bin to my PATH. .. Current/ is a symlink pointing to the active python version you choose with ?port select python?. But these ports also install a symlink suffixed with the python version in /opt/local/bin, eg: > ls -l /opt/local/bin/virtualenv-2.7 lrwxr-xr-x 1 root admin 74 Apr 13 23:02 /opt/local/bin/virtualenv-2.7 -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenv so you could symlink or alias to those if you wanted. -- Daniel From jvianalopes at gmail.com Sun Apr 15 05:25:26 2012 From: jvianalopes at gmail.com (=?iso-8859-1?Q?Jo=E3o_Manuel_Viana_Parente_Lopes?=) Date: Sun, 15 Apr 2012 13:25:26 +0100 Subject: inkscape @0.48.2 Message-ID: I am trying to install inkscape 0.48.3 with a fresh new macports installation in a Lion computer. the compilation aborts with: info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.48.2/src' :info:build CXX attributes.o :info:build CXX arc-context.o :info:build In file included from attributes.cpp:21: :info:build /opt/local/include/glib-2.0/glib/ghash.h:28:2: error: #error "Only can be included directly." :info:build In file included from attributes.h:16, :info:build from attributes.cpp:22: ... I saw the track ticket: https://trac.macports.org/ticket/33992 But I don't finger out exactly what should I do to install inkscape with macports in my computer. Can anyone give a suggestion Thanks in advance Jo?o From ryandesign at macports.org Sun Apr 15 09:23:45 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 15 Apr 2012 11:23:45 -0500 Subject: inkscape @0.48.2 In-Reply-To: References: Message-ID: On Apr 15, 2012, at 07:25, Jo?o Manuel Viana Parente Lopes wrote: > I am trying to install inkscape 0.48.3 with a fresh new macports installation in a Lion computer. > > the compilation aborts with: > > info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_inkscape/inkscape/work/inkscape-0.48.2/src' > :info:build CXX attributes.o > :info:build CXX arc-context.o > :info:build In file included from attributes.cpp:21: > :info:build /opt/local/include/glib-2.0/glib/ghash.h:28:2: error: #error "Only can be included directly." > :info:build In file included from attributes.h:16, > :info:build from attributes.cpp:22: > > ... > > I saw the track ticket: > https://trac.macports.org/ticket/33992 > But I don't finger out exactly what should I do to install inkscape with macports in my computer. > > Can anyone give a suggestion Since the maintainer did not respond within three days, I committed the patch, so you can just wait 30 minutes, then "sudo port selfupdate", "sudo port clean inkscape", "sudo port install inkscape", as usual. From keybounce at gmail.com Sun Apr 15 10:56:48 2012 From: keybounce at gmail.com (Michael_google gmail_Gersten) Date: Sun, 15 Apr 2012 10:56:48 -0700 Subject: Which version of "Wine", or am I on the wrong track? Message-ID: I am not sure which version of Wine to install from Macports (there are three), or if this is even the right approach for what I want to do. The goal: Edit a "movie" (screen recording), from the view that 80-90% of what I recorded will be tossed. iMovie is a failure (as far as I can tell) as selecting sections and removing them. This means I'm going to use VirtualDub (only program I've found so far that is good at selecting lots of specific frame ranges and tossing them). And this means I'm going to need either XviD or DivX for Windows (or am I wrong?) Note that the standard apple mp4 encoder does not produce good enough quality. A quick look shows three different, incompatible versions of wine, with different sets of patches and features. Additionally, Crossover has their commercial version with their "keep everything separate/bottles" feature. So what's the proper version of Wine, to get VirtualDub and Divx or Xvid, and has anyone already done this and knows what warnings to watch out for? From jasperfrumau at gmail.com Sun Apr 15 20:52:07 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Mon, 16 Apr 2012 10:52:07 +0700 Subject: Tor && Vidalia Ports In-Reply-To: References: Message-ID: The whole main log for Vidalia is here: http://pastebin.com/Yhx0Q3hx Now on my issues with tor from the command line: tor -help start did not help: $ tor -help start Apr 16 09:19:45.830 [notice] Tor v0.2.2.35 (git-b04388f9e7546a9f). This is experimental software. Do not rely on it for strong anonymity. (Running on Darwin i386) Apr 16 09:19:45.830 [notice] Configuration file "/opt/local/etc/tor/torrc" not present, using reasonable defaults. Apr 16 09:19:45.831 [warn] Failed to parse/validate config: Unknown option 'help'. Failing. Apr 16 09:19:45.831 [err] Reading config failed--see warnings above. But when I entered tor as a command, it did start it all up. Just not sure how I can test it from the terminal.. When I tried to use tor to test the security of a site of mine using wpscan and tor host:port 127.0.0.1:9050 I did see this error: Apr 16 09:47:43.641 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) Apr 16 09:47:43.642 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) Apr 16 09:47:43.642 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) Apr 16 09:47:43.643 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) so I installed privoxy. I did no longer receive the same error and could see the privoxy online page to see it was running. But when I pick privoxy for all protocols in Firefox using 127.0.0.1 and port 8118 and went to whatismyip.com I still got my ip address. So I am not sure if my application using --proxy 127.0.0.1:8118 is really making the call anonymous even though I did not get any errors. And there you go, when I checked the access logs my IP address was logged. I asked for some tips at wpscan, but if anyone on the list has any ideas what I am missing please let me know. On Thu, Apr 12, 2012 at 8:53 PM, Brandon Allbery wrote: > On Thu, Apr 12, 2012 at 06:56, Jasper Frumau wrote: > >> Hi everyone, >> >> I have installed Tor >> $ sudo port info tor >> tor @0.2.2.35 (security) >> Variants: universal >> >> >> It does not seem to run automatically as it did when I installed it on a >> Debian system. Do I need to activate Tor as a process before I can >> configure Firefox to us a proxy using SOCKS Host? If so how? >> > > Correct, it does not run automatically. > > >> I tried to install the GUI Vidalia and got errors: >> > > Your "last 20 lines" isn't rally enough information, although it does lead > me to ask what the result of "port installed qt4-mac" is. > > -- > brandon s allbery allbery.b at gmail.com > wandering unix systems administrator (available) (412) 475-9364 vm/sms > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gvibe06 at gmail.com Sun Apr 15 21:04:58 2012 From: gvibe06 at gmail.com (Jeff Singleton) Date: Sun, 15 Apr 2012 23:04:58 -0500 Subject: UsingTheRightCompiler Message-ID: Yes I am referring to the Wiki article found here... http://trac.macports.org/wiki/UsingTheRightCompiler I just can't say a lot for Clang. I have mentioned this before. I have taken many suggestions. Tried Tried and Tried some more to like Clang. I just can't do it. Its ugly. It causes more problems between ports that depend on one another, yet some are built with Clang, other built with GCC. I am simply fed up with Clang and I don't really want to use it anymore. Clang does't respect architecture settings, no matter which I use (i386 or x86_64). Case and point - Pango crashes during compile no matter which Arch I use: *libtool: link: /usr/bin/clang -o .libs/pango-basic-coretext.so -bundle .libs/basic-coretext.o -framework Carbon -L/opt/local/lib -O2 -arch x86_64 -arch x86_64 -framework Carbon -Wl,-exported_symbols_list,.libs/pango-basic-coretext-symbols.expsym* *Undefined symbols for architecture x86_64:* ** *ld: symbol(s) not found for architecture x86_64* *clang: error: linker command failed with exit code 1 (use -v to see invocation)* I am just sick of running into linking errors -- either they happen now, or they happen eventually during an upgrade. Either way, I usually end up getting frustrated, and wiping out my whole ports tree, and attempt to rebuild from scratch. In this case?I still hit that link error with Pango. Would someone PLEASE just tell me how I can force the default compiler to be GCC. No configure.compiler does not work, and no environment variables CC CPP CXX do not work. I have both set to gcc-4.2 and yet Pango still defaults to use Clang and crashes no matter what I try. I don't want to edit every single Portfile when I hit this issue, because when I sync again, my changes go away. There simply HAS to be some way of forcing Macports to use the compiler that I want to use and not argue and not make changes whenever and just do what I tell it to. Is that so much to ask? Can I please just use GCC and never EVER have to see another Clang linking error again. PLEASE!???! Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From hans at stare.cz Sun Apr 15 23:08:24 2012 From: hans at stare.cz (Jan Stary) Date: Mon, 16 Apr 2012 08:08:24 +0200 Subject: UsingTheRightCompiler In-Reply-To: References: Message-ID: <20120416060823.GA13742@www.stare.cz> On Apr 15 23:04:58, Jeff Singleton wrote: > Yes I am referring to the Wiki article found here... > http://trac.macports.org/wiki/UsingTheRightCompiler > > I just can't say a lot for Clang. I have mentioned this before. I have > taken many suggestions. Tried Tried and Tried some more to like Clang. > > I just can't do it. > > Its ugly. It causes more problems between ports that depend on one > another, yet some are built with Clang, other built with GCC. > > I am simply fed up with Clang and I don't really want to use it anymore. > *libtool: link: /usr/bin/clang -o .libs/pango-basic-coretext.so I must be missing something, but why do you even have clang installed on your system? From domiman at gmail.com Sun Apr 15 23:30:46 2012 From: domiman at gmail.com (Dominik Reichardt) Date: Mon, 16 Apr 2012 08:30:46 +0200 Subject: UsingTheRightCompiler In-Reply-To: <20120416060823.GA13742@www.stare.cz> References: <20120416060823.GA13742@www.stare.cz> Message-ID: With xcode 4.2 (or 4.1 or 4.0) Apple did away with gcc and only brings llvm-gcc and clang. By default MacPorts uses the compiler that comes with Xcode and only uses a macports compiler when the xcode compilers don't work at all. And when people are using Lion, they are likely to have Xcode 4.x installed. That said, pango installs fine via default macports for me. And clang works fine on the projects I compile on my own. Dom Am 16.04.2012 um 08:08 schrieb Jan Stary : > On Apr 15 23:04:58, Jeff Singleton wrote: >> Yes I am referring to the Wiki article found here... >> http://trac.macports.org/wiki/UsingTheRightCompiler >> >> I just can't say a lot for Clang. I have mentioned this before. I have >> taken many suggestions. Tried Tried and Tried some more to like Clang. >> >> I just can't do it. >> >> Its ugly. It causes more problems between ports that depend on one >> another, yet some are built with Clang, other built with GCC. >> >> I am simply fed up with Clang and I don't really want to use it anymore. >> *libtool: link: /usr/bin/clang -o .libs/pango-basic-coretext.so > > I must be missing something, but why do you even have > clang installed on your system? > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From ryandesign at macports.org Sun Apr 15 23:48:24 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 16 Apr 2012 01:48:24 -0500 Subject: UsingTheRightCompiler In-Reply-To: <20120416060823.GA13742@www.stare.cz> References: <20120416060823.GA13742@www.stare.cz> Message-ID: On Apr 16, 2012, at 01:08, Jan Stary wrote: > On Apr 15 23:04:58, Jeff Singleton wrote: > >> I am simply fed up with Clang and I don't really want to use it anymore. >> *libtool: link: /usr/bin/clang -o .libs/pango-basic-coretext.so > > I must be missing something, but why do you even have > clang installed on your system? Jan, clang is included with Xcode, and MacPorts uses it by default on Xcode 4.2 and up. Jeff is saying he would prefer to use a different compiler on all ports instead. I'll address Jeff's comments in another reply. From ryandesign at macports.org Mon Apr 16 00:00:15 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 16 Apr 2012 02:00:15 -0500 Subject: use a different default configure.compiler (was: UsingTheRightCompiler) In-Reply-To: References: Message-ID: <570C3962-7272-459E-9685-F5DF9EE440AA@macports.org> On Apr 15, 2012, at 23:04, Jeff Singleton wrote: > I just can't say a lot for Clang. I have mentioned this before. I have taken many suggestions. Tried Tried and Tried some more to like Clang. > > I just can't do it. > > Its ugly. It causes more problems between ports that depend on one another, yet some are built with Clang, other built with GCC. I've not heard of any problems related to some ports being built with clang and others built with other compilers; if you have examples of this please let us know. > I am simply fed up with Clang and I don't really want to use it anymore. Clang does't respect architecture settings, no matter which I use (i386 or x86_64). clang of course does respect -arch settings. If individual ports that are compiling with an Xcode compiler (gcc-4.2, llvm-gcc-4.2 or clang) do not respect -arch settings, please file bug reports against those ports. (MacPorts gcc compilers do not respect -arch flags, so ports that use them cannot be made to respect -arch flags either.) > Case and point - Pango crashes during compile no matter which Arch I use: > > libtool: link: /usr/bin/clang -o .libs/pango-basic-coretext.so -bundle .libs/basic-coretext.o -framework Carbon -L/opt/local/lib -O2 -arch x86_64 -arch x86_64 -framework Carbon -Wl,-exported_symbols_list,.libs/pango-basic-coretext-symbols.expsym > Undefined symbols for architecture x86_64: > > ld: symbol(s) not found for architecture x86_64 > clang: error: linker command failed with exit code 1 (use -v to see invocation) > > I am just sick of running into linking errors -- either they happen now, or they happen eventually during an upgrade. Either way, I usually end up getting frustrated, and wiping out my whole ports tree, and attempt to rebuild from scratch. > > In this case?I still hit that link error with Pango. The "unnecessary error output" you snipped above might have been just what we needed to know whether this is a problem we've seen before or not. I have a feeling this is #32722 ? which is not clang-specific, by the way; I see it on my Snow Leopard machine too, using gcc-4.2. The problem here is the quartz and/or no_x11 variants. I have enlisted the help of the pango developers in understanding why this is happening and how to fix it. > Would someone PLEASE just tell me how I can force the default compiler to be GCC. No configure.compiler does not work, and no environment variables CC CPP CXX do not work. I have both set to gcc-4.2 and yet Pango still defaults to use Clang and crashes no matter what I try. > > I don't want to edit every single Portfile when I hit this issue, because when I sync again, my changes go away. > > There simply HAS to be some way of forcing Macports to use the compiler that I want to use and not argue and not make changes whenever and just do what I tell it to. > > Is that so much to ask? Can I please just use GCC and never EVER have to see another Clang linking error again. PLEASE!???! As of MacPorts 2.1.0 beta 1 yes you can override the default value of configure.compiler than MacPorts chose for you, so feel free to upgrade to that version and change the appropriate value in macports.conf. Note that individual ports might specify an alternate compiler, if it is already known that using a particular compiler will not work (but I can't think of many ports that wouldn't work with Apple gcc 4.2). Note that Xcode 4.2 and up no longer include any Apple gcc compilers, so you cannot set configure.compiler to gcc-4.2 if you have Xcode 4.2 or later. You can however install the apple-gcc42 port, which is basically the same thing, and set configure.compiler to apple-gcc-4.2. From deric at macports.org Mon Apr 16 01:25:39 2012 From: deric at macports.org (Daniel Ericsson) Date: Mon, 16 Apr 2012 10:25:39 +0200 Subject: Tor && Vidalia Ports In-Reply-To: References: Message-ID: On 16 apr 2012, at 05:52, Jasper Frumau wrote: > Now on my issues with tor from the command line: > > tor -help start did not help: For documentation on tor see: `man tor` > $ tor -help start > Apr 16 09:19:45.830 [notice] Tor v0.2.2.35 (git-b04388f9e7546a9f). This is experimental software. Do not rely on it for strong anonymity. (Running on Darwin i386) > Apr 16 09:19:45.830 [notice] Configuration file "/opt/local/etc/tor/torrc" not present, using reasonable defaults. > Apr 16 09:19:45.831 [warn] Failed to parse/validate config: Unknown option 'help'. Failing. > Apr 16 09:19:45.831 [err] Reading config failed--see warnings above. > > But when I entered tor as a command, it did start it all up. Just not sure how I can test it from the terminal.. > > When I tried to use tor to test the security of a site of mine using wpscan and tor host:port 127.0.0.1:9050 I did see this error: > > Apr 16 09:47:43.641 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) > Apr 16 09:47:43.642 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) > Apr 16 09:47:43.642 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) > Apr 16 09:47:43.643 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) Tor runs as a SOCKS proxy not as an http proxy, this is why you see this error. > so I installed privoxy. I did no longer receive the same error and could see the privoxy online page to see it was running. But when I pick privoxy for all protocols in Firefox using 127.0.0.1 and port 8118 and went to whatismyip.com I still got my ip address. So I am not sure if my application using --proxy 127.0.0.1:8118 is really making the call anonymous even though I did not get any errors. And there you go, when I checked the access logs my IP address was logged. > > I asked for some tips at wpscan, but if anyone on the list has any ideas what I am missing please let me know. privoxy seems to be an http proxy. By using it instead of Tor, your traffic isn't routed through Tor - so of course you don't get any errors and your IP isn't anonymized. You can probably set up privoxy to in turn route it's traffic through Tor but you'll have to look to the privoxy documentation on how to do that. To use Tor once it's started and bootstrapped. Go into System Preferences -> Network -> Click "Advanced..." for the interface you are connecting to the internet with -> Go to the "Proxies" tab -> Check "SOCKS Proxy" and enter "localhost:98050" for SOCKS Proxy Server address. This will allow most Mac apps written to read the proxy settings to route through Tor. Most command line apps aren't written for Mac OS X specifically though so they need to have support for using a SOCKS and be configured separately to use Tor's SOCKS proxy on localhost:9050. eg. curl --socks5 localhost:9050 http://yourwordpressblog.com/ or curl --socks4a localhost:9050 http://yourwordpressblog.com/ - to have the DNS resolution flow through Tor as well. -- Daniel -------------- next part -------------- An HTML attachment was scrubbed... URL: From vince at macports.org Mon Apr 16 02:46:26 2012 From: vince at macports.org (vincent habchi) Date: Mon, 16 Apr 2012 11:46:26 +0200 Subject: use a different default configure.compiler (was: UsingTheRightCompiler) In-Reply-To: <570C3962-7272-459E-9685-F5DF9EE440AA@macports.org> References: <570C3962-7272-459E-9685-F5DF9EE440AA@macports.org> Message-ID: <3AC14552-045E-4490-96D4-C780AE4B49AF@macports.org> Hi everybody, Le 16 avr. 2012 ? 09:00, Ryan Schmidt a ?crit : > > On Apr 15, 2012, at 23:04, Jeff Singleton wrote: > >> I just can't say a lot for Clang. I have mentioned this before. I have taken many suggestions. Tried Tried and Tried some more to like Clang. >> >> I just can't do it. >> >> Its ugly. It causes more problems between ports that depend on one another, yet some are built with Clang, other built with GCC. > > I've not heard of any problems related to some ports being built with clang and others built with other compilers; if you have examples of this please let us know. My own experience is that Clang works fine. LLVM based tools are now used extensively, be it by Apple for traditional GCC substitution, or by other companies like, e.g. NVidia for its OpenGL JIT compiler. LLVM is modern, extensible, modular and easily ported to any hardware whereas GCC is hoary, monolithic and totally cryptic, let alone code documentation. The only drawback I still see to the use of Clang is its inferior performance when it comes to floating point brute force. In fact, I carried out some tests with Clang on Atlas latest development version. Good news is that Clang works fine, even with AVX assembly; Bad news is that performance is still worse than GCC, sometimes by more than 40%, at least on Linux. On OS X, no comparison is possible since the provided assembler ?/usr/bin/as? is antiquated and does not recognize AVX instructions, and using Clang as an assembler fails because GCC emits non Intel compliant instructions that llvm-mc does not recognize. This might be slightly different on OS X because since LLVM is basically Apple driven there might be additional optimizations enabled for Darwin. But there is still room for additional improvements. Additional tools like a new linker, lld, are underway; It will eventually replace ld64. By the way, is it possible to add GCC 4.7 as a possible compiler? Vincent From ryandesign at macports.org Mon Apr 16 03:02:49 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 16 Apr 2012 05:02:49 -0500 Subject: use a different default configure.compiler (was: UsingTheRightCompiler) In-Reply-To: <3AC14552-045E-4490-96D4-C780AE4B49AF@macports.org> References: <570C3962-7272-459E-9685-F5DF9EE440AA@macports.org> <3AC14552-045E-4490-96D4-C780AE4B49AF@macports.org> Message-ID: <56B2D709-0480-4841-9BF0-6F4F880D3F8A@macports.org> On Apr 16, 2012, at 04:46, vincent habchi wrote: > By the way, is it possible to add GCC 4.7 as a possible compiler? That's in 2.1.0 beta 1: https://trac.macports.org/browser/tags/release_2_1_0-beta1/base/ChangeLog#L7 From jeremy at lavergne.gotdns.org Mon Apr 16 03:33:45 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Mon, 16 Apr 2012 06:33:45 -0400 Subject: UsingTheRightCompiler In-Reply-To: References: Message-ID: <193BE02E-D4FB-41C7-B1A4-490B726DBADD@lavergne.gotdns.org> > There simply HAS to be some way of forcing Macports to use the compiler that I want to use and not argue and not make changes whenever and just do what I tell it to. There is a default compiler option in trunk, but no one is having the issues you are (I build pango weekly to make installers for PSPP). Have you tried rebuilding all your packages? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From ryandesign at macports.org Mon Apr 16 03:45:51 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 16 Apr 2012 05:45:51 -0500 Subject: use a different default configure.compiler In-Reply-To: <570C3962-7272-459E-9685-F5DF9EE440AA@macports.org> References: <570C3962-7272-459E-9685-F5DF9EE440AA@macports.org> Message-ID: <0A2B2AA3-A0C6-4920-A73F-1E37D5DC8143@macports.org> On Apr 16, 2012, at 02:00, Ryan Schmidt wrote: >> There simply HAS to be some way of forcing Macports to use the compiler that I want to use and not argue and not make changes whenever and just do what I tell it to. > > As of MacPorts 2.1.0 beta 1 yes you can override the default value of configure.compiler than MacPorts chose for you, so feel free to upgrade to that version and change the appropriate value in macports.conf. Note that individual ports might specify an alternate compiler, if it is already known that using a particular compiler will not work (but I can't think of many ports that wouldn't work with Apple gcc 4.2). Note that Xcode 4.2 and up no longer include any Apple gcc compilers, so you cannot set configure.compiler to gcc-4.2 if you have Xcode 4.2 or later. You can however install the apple-gcc42 port, which is basically the same thing, and set configure.compiler to apple-gcc-4.2. What I forgot to add is that the ability of MacPorts to influence what compiler a port will use (whether that's MacPorts' default value of configure.compiler or one you set yourself in macports.conf or on the command line when installing an individual port) depends on that port respecting the configure.compiler variable, which is what the UsingTheRightCompiler wiki page is all about. If you discover a port that does not respect configure.compiler (and I'm sure there are still several), please file a ticket in the issue tracker referencing that wiki page (assuming one has not already been filed) so someone can look into fixing the port. From jasperfrumau at gmail.com Mon Apr 16 06:29:59 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Mon, 16 Apr 2012 20:29:59 +0700 Subject: Tor && Vidalia Ports In-Reply-To: References: Message-ID: On Mon, Apr 16, 2012 at 3:25 PM, Daniel Ericsson wrote: > On 16 apr 2012, at 05:52, Jasper Frumau wrote: > > Now on my issues with tor from the command line: > > tor -help start did not help: > > > For documentation on tor see: `man tor` > > $ tor -help start > Apr 16 09:19:45.830 [notice] Tor v0.2.2.35 (git-b04388f9e7546a9f). This is > experimental software. Do not rely on it for strong anonymity. (Running on > Darwin i386) > Apr 16 09:19:45.830 [notice] Configuration file "/opt/local/etc/tor/torrc" > not present, using reasonable defaults. > Apr 16 09:19:45.831 [warn] Failed to parse/validate config: Unknown option > 'help'. Failing. > Apr 16 09:19:45.831 [err] Reading config failed--see warnings above. > > But when I entered tor as a command, it did start it all up. Just not sure > how I can test it from the terminal.. > > When I tried to use tor to test the security of a site of mine using > wpscan and tor host:port 127.0.0.1:9050 I did see this error: > > Apr 16 09:47:43.641 [warn] Socks version 71 not recognized. (Tor is not an > http proxy.) > Apr 16 09:47:43.642 [warn] Socks version 71 not recognized. (Tor is not an > http proxy.) > Apr 16 09:47:43.642 [warn] Socks version 71 not recognized. (Tor is not an > http proxy.) > Apr 16 09:47:43.643 [warn] Socks version 71 not recognized. (Tor is not an > http proxy.) > > > Tor runs as a SOCKS proxy not as an http proxy, this is why you see this > error. > OK > > so I installed privoxy. I did no longer receive the same error and could > see the privoxy online page to see it was running. But when I pick privoxy > for all protocols in Firefox using 127.0.0.1 and port 8118 and went to > whatismyip.com I still got my ip address. So I am not sure if my > application using --proxy 127.0.0.1:8118 is really making the call > anonymous even though I did not get any errors. And there you go, when I > checked the access logs my IP address was logged. > > I asked for some tips at wpscan, but if anyone on the list has any ideas > what I am missing please let me know. > > > privoxy seems to be an http proxy. By using it instead of Tor, your > traffic isn't routed through Tor - so of course you don't get any errors > and your IP isn't anonymized. You can probably set up privoxy to in turn > route it's traffic through Tor but you'll have to look to the privoxy > documentation on how to do that. > > > To use Tor once it's started and bootstrapped. Go into System Preferences > -> Network -> Click "Advanced..." for the interface you are connecting to > the internet with -> Go to the "Proxies" tab -> Check "SOCKS Proxy" and > enter "localhost:98050" for SOCKS Proxy Server address. > Will check that out asap > > This will allow most Mac apps written to read the proxy settings to route > through Tor. Most command line apps aren't written for Mac OS X > specifically though so they need to have support for using a SOCKS and be > configured separately to use Tor's SOCKS proxy on localhost:9050. > > eg. curl --socks5 localhost:9050 http://yourwordpressblog.com/ > or > curl --socks4a localhost:9050 http://yourwordpressblog.com/ - to have > the DNS resolution flow through Tor as well. > Cool. Thanks a lot! > > -- Daniel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gvibe06 at gmail.com Mon Apr 16 08:51:00 2012 From: gvibe06 at gmail.com (Jeff Singleton) Date: Mon, 16 Apr 2012 10:51:00 -0500 Subject: UsingTheRightCompiler In-Reply-To: <193BE02E-D4FB-41C7-B1A4-490B726DBADD@lavergne.gotdns.org> References: <193BE02E-D4FB-41C7-B1A4-490B726DBADD@lavergne.gotdns.org> Message-ID: If you had read my entire email you would have seen that I have tried building (rebuilding) everything again. I guess the reason I am asking for what I am ? is that (for example), the less popular HomeBrew for OS X offers methods for using GCC (a switch for 'install --use-gcc') as my preferred compiler, and not defaulting to Apple's default compiler. I just was hoping that the maintainers for the overall MP sources would create something similar. If you are able to build Pango weekly?then you must be doing something differently that I. Possibly not using the same Arch/Platform or possibly you customize your Portfile prior to building. My issues stem from the default Portfile and using MacPorts pretty much as is, with some minor variant changes and setting x86_64 only as my build_arch. (Though I have tried i386 and get the same results). Jeff On Mon, Apr 16, 2012 at 5:33 AM, Jeremy Lavergne wrote: > > There simply HAS to be some way of forcing Macports to use the compiler > that I want to use and not argue and not make changes whenever and just do > what I tell it to. > > There is a default compiler option in trunk, but no one is having the > issues you are (I build pango weekly to make installers for PSPP). > Have you tried rebuilding all your packages? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From disenografica at yahoo.es Mon Apr 16 09:13:43 2012 From: disenografica at yahoo.es (Rosa Alonso Garcia) Date: Mon, 16 Apr 2012 17:13:43 +0100 (BST) Subject: I need to instal gap in Macos tiger Message-ID: <1334592823.76950.YahooMailNeo@web29009.mail.ird.yahoo.com> Hi everyone, I need to instal plugins GAP for GIMP, in MACOS, tiger 10.4. iMac4,1 Intel Core Duo Thanks a lot! ? Cordialment, Rosa M. Alonso Garcia Il.lustradora gr?fica http://rosailustradora.com http://rosailustradora.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From emer at emer.net Mon Apr 16 10:03:26 2012 From: emer at emer.net (Mark Anderson) Date: Mon, 16 Apr 2012 13:03:26 -0400 Subject: UsingTheRightCompiler In-Reply-To: References: <193BE02E-D4FB-41C7-B1A4-490B726DBADD@lavergne.gotdns.org> Message-ID: Clang also compiles way faster for me, and the binaries are faster. I'd like to keep GCC only to where clang breaks. Mark On Mon, Apr 16, 2012 at 11:51 AM, Jeff Singleton wrote: > If you had read my entire email you would have seen that I have tried > building (rebuilding) everything again. > > I guess the reason I am asking for what I am ? is that (for example), the > less popular HomeBrew for OS X offers methods for using GCC (a switch for > 'install --use-gcc') as my preferred compiler, and not defaulting to > Apple's default compiler. I just was hoping that the maintainers for the > overall MP sources would create something similar. > > If you are able to build Pango weekly?then you must be doing something > differently that I. Possibly not using the same Arch/Platform or possibly > you customize your Portfile prior to building. My issues stem from the > default Portfile and using MacPorts pretty much as is, with some minor > variant changes and setting x86_64 only as my build_arch. (Though I have > tried i386 and get the same results). > > Jeff > > On Mon, Apr 16, 2012 at 5:33 AM, Jeremy Lavergne < > jeremy at lavergne.gotdns.org> wrote: > >> > There simply HAS to be some way of forcing Macports to use the compiler >> that I want to use and not argue and not make changes whenever and just do >> what I tell it to. >> >> There is a default compiler option in trunk, but no one is having the >> issues you are (I build pango weekly to make installers for PSPP). >> Have you tried rebuilding all your packages? >> >> > > _______________________________________________ > 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 Mon Apr 16 11:36:24 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 16 Apr 2012 13:36:24 -0500 Subject: I need to instal gap in Macos tiger In-Reply-To: <1334592823.76950.YahooMailNeo@web29009.mail.ird.yahoo.com> References: <1334592823.76950.YahooMailNeo@web29009.mail.ird.yahoo.com> Message-ID: <2BB728B9-A7C5-49A0-ABFF-A0376A7B6407@macports.org> On Apr 16, 2012, at 11:13, Rosa Alonso Garcia wrote: > I need to instal plugins GAP for GIMP, in MACOS, tiger 10.4. Ok. Then I guess you want: sudo port install gimp-gap No idea if gimp-gap, or gimp itself, works on Tiger anymore. Tiger is very old and becoming less well supported in MacPorts all the time. > iMac4,1 > Intel Core Duo Your Mac can be upgraded to Snow Leopard, and I would highly recommend considering doing that. You'll have less trouble getting new software. From ryandesign at macports.org Mon Apr 16 11:54:58 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 16 Apr 2012 13:54:58 -0500 Subject: I need to instal gap in Macos tiger In-Reply-To: <1334602263.53297.YahooMailNeo@web29003.mail.ird.yahoo.com> References: <1334592823.76950.YahooMailNeo@web29009.mail.ird.yahoo.com> <2BB728B9-A7C5-49A0-ABFF-A0376A7B6407@macports.org> <1334602263.53297.YahooMailNeo@web29003.mail.ird.yahoo.com> Message-ID: Please remember to Reply All to keep the conversation on the mailing list. On Apr 16, 2012, at 13:51, Rosa Alonso Garcia wrote: >> Your Mac can be upgraded to Snow Leopard, and I would highly recommend considering doing that. You'll have less trouble getting new software. > > Thanks a lot. But it's no possible nowadays. If you wanted to, I'm certain you could locate a used copy that someone would be willing to sell you. From matt at geiman.org Mon Apr 16 12:21:11 2012 From: matt at geiman.org (Matt Geiman) Date: Mon, 16 Apr 2012 15:21:11 -0400 Subject: Private macports mirror Message-ID: Hello all, I was wondering if it was possible to get some instructions on how to create a local private macports mirror. I have an off-line location I support and they would like access to a macports mirror if possible. I've read the one mailing list item I could find here: http://permalink.gmane.org/gmane.os.apple.macports.user/27637 and while it's helped I still am having a hard time getting everything to work. Some basic steps would be helpful. Thanks, -Matt From pixilla at macports.org Mon Apr 16 12:55:16 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Mon, 16 Apr 2012 12:55:16 -0700 Subject: Which version of "Wine", or am I on the wrong track? In-Reply-To: References: Message-ID: On Apr 15, 2012, at 10:56 AM, Michael_google gmail_Gersten wrote: > I am not sure which version of Wine to install from Macports (there > are three), or if this is even the right approach for what I want to > do. > > The goal: Edit a "movie" (screen recording), from the view that 80-90% > of what I recorded will be tossed. > iMovie is a failure (as far as I can tell) as selecting sections and > removing them. Pretty sure you can cut frames with iMovie. > This means I'm going to use VirtualDub (only program I've found so far > that is good at selecting lots of specific frame ranges and tossing > them). There are going to be better options for video editing on the Mac then running a Windows program. Quicktime Pro Player has been able to cut video many years. The pro version used to cost $35. Have you looked at the MacPorts ports for Avidemux and Kdenlive. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From blackmore.stephen at gmail.com Mon Apr 16 14:06:44 2012 From: blackmore.stephen at gmail.com (Stephen Blackmore) Date: Mon, 16 Apr 2012 17:06:44 -0400 Subject: Error: Dependency 'p5.12-locale-gettext' not found. Message-ID: I am on version 2.0.4 Several times, I have tried 'sudo port selfupdate' per Trac ticket #30801 After it ran, I ran: sudo port upgrade outdated I received: Error: No ports matched the given expression I am trying to run 'sudo port install libtool' When I do this (or any other install), I get: ---> Computing dependencies for libtool Error: Dependency 'p5.12-locale-gettext' not found. Error: Status 1 encountered during processing. To report a bug, see Can anyone provide any other suggestions? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Mon Apr 16 14:15:46 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 16 Apr 2012 16:15:46 -0500 Subject: Error: Dependency 'p5.12-locale-gettext' not found. In-Reply-To: References: Message-ID: <4BDC1C38-87CD-4865-BE73-0C2FCB360844@macports.org> On Apr 16, 2012, at 16:06, Stephen Blackmore wrote: > I am on version 2.0.4 Several times, I have tried 'sudo port selfupdate' per Trac ticket #30801 > > > After it ran, I ran: > sudo port upgrade outdated > > I received: > Error: No ports matched the given expression > > > I am trying to run 'sudo port install libtool' > > When I do this (or any other install), I get: > > ---> Computing dependencies for libtool > Error: Dependency 'p5.12-locale-gettext' not found. > Error: Status 1 encountered during processing. > To report a bug, see > > > Can anyone provide any other suggestions? Can you show the output of "sudo port -v selfupdate"? From nad at acm.org Mon Apr 16 14:34:19 2012 From: nad at acm.org (Ned Deily) Date: Mon, 16 Apr 2012 14:34:19 -0700 Subject: Which version of "Wine", or am I on the wrong track? References: Message-ID: In article , Bradley Giesbrecht wrote: > On Apr 15, 2012, at 10:56 AM, Michael_google gmail_Gersten wrote: > > I am not sure which version of Wine to install from Macports (there > > are three), or if this is even the right approach for what I want to > > do. > > > > The goal: Edit a "movie" (screen recording), from the view that 80-90% > > of what I recorded will be tossed. > > iMovie is a failure (as far as I can tell) as selecting sections and > > removing them. > > Pretty sure you can cut frames with iMovie. > > > This means I'm going to use VirtualDub (only program I've found so far > > that is good at selecting lots of specific frame ranges and tossing > > them). > > There are going to be better options for video editing on the Mac then > running a Windows program. > > Quicktime Pro Player has been able to cut video many years. The pro version > used to cost $35. > > Have you looked at the MacPorts ports for Avidemux and Kdenlive. Or the free app MPEG Streamclip? "You can use MPEG Streamclip to: open most movie formats including MPEG files or transport streams; play them at full screen; edit them with Cut, Copy, Paste, and Trim; set In/Out points and convert them into muxed or demuxed files, or export them to QuickTime, AVI, DV and MPEG-4 files" http://www.squared5.com/svideo/mpeg-streamclip-mac.html -- Ned Deily, nad at acm.org From blackmore.stephen at gmail.com Mon Apr 16 14:36:01 2012 From: blackmore.stephen at gmail.com (Stephen Blackmore) Date: Mon, 16 Apr 2012 17:36:01 -0400 Subject: Error: Dependency 'p5.12-locale-gettext' not found. In-Reply-To: <4BDC1C38-87CD-4865-BE73-0C2FCB360844@macports.org> References: <4BDC1C38-87CD-4865-BE73-0C2FCB360844@macports.org> Message-ID: Thanks for the suggestion!! Rather than say what all it printed, I will just say that after running this and then rerunning the install, it worked. I am new to macports, so I really appreciate your help! On Mon, Apr 16, 2012 at 5:15 PM, Ryan Schmidt wrote: > > On Apr 16, 2012, at 16:06, Stephen Blackmore wrote: > > > I am on version 2.0.4 Several times, I have tried 'sudo port > selfupdate' per Trac ticket #30801 > > > > > > After it ran, I ran: > > sudo port upgrade outdated > > > > I received: > > Error: No ports matched the given expression > > > > > > I am trying to run 'sudo port install libtool' > > > > When I do this (or any other install), I get: > > > > ---> Computing dependencies for libtool > > Error: Dependency 'p5.12-locale-gettext' not found. > > Error: Status 1 encountered during processing. > > To report a bug, see > > > > > > Can anyone provide any other suggestions? > > Can you show the output of "sudo port -v selfupdate"? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jam at tigger.ws Mon Apr 16 17:19:34 2012 From: jam at tigger.ws (James Linder) Date: Tue, 17 Apr 2012 08:19:34 +0800 Subject: Which version of "Wine", or am I on the wrong track? In-Reply-To: References: Message-ID: <917AA3B7-2878-4B8E-820F-E4C9CE23A8F3@tigger.ws> On 16/04/2012, at 10:00 PM, macports-users-request at lists.macosforge.org wrote: > I am not sure which version of Wine to install from Macports (there > are three), or if this is even the right approach for what I want to > do. > > The goal: Edit a "movie" (screen recording), from the view that 80-90% > of what I recorded will be tossed. > iMovie is a failure (as far as I can tell) as selecting sections and > removing them. > This means I'm going to use VirtualDub (only program I've found so far > that is good at selecting lots of specific frame ranges and tossing > them). > And this means I'm going to need either XviD or DivX for Windows (or > am I wrong?) > Note that the standard apple mp4 encoder does not produce good enough quality. > > A quick look shows three different, incompatible versions of wine, > with different sets of patches and features. > Additionally, Crossover has their commercial version with their "keep > everything separate/bottles" feature. > > So what's the proper version of Wine, to get VirtualDub and Divx or > Xvid, and has anyone already done this and knows what warnings to > watch out for? YMMV but I was unable to do any editing under wine. I did three things ... Install vbox from oracle. BUY a copy of XP and use that. Worked well. Get a native dmg of avidemux which has a nice transcode stack and works well. install ffmpeg from macports (I think it includes mjpegtools, but in any event mjpegtools) which worked very very well. Needless to say I am a CLI geek and ffmpeg has a CLI from hell. See http://www.gentoo-wiki.info/MEncoder/Tips_and_Tricks which was also useful to me. James From ryandesign at macports.org Mon Apr 16 17:59:55 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 16 Apr 2012 19:59:55 -0500 Subject: Error: Dependency 'p5.12-locale-gettext' not found. In-Reply-To: References: <4BDC1C38-87CD-4865-BE73-0C2FCB360844@macports.org> Message-ID: <9B68A41A-A5F2-4A14-B7F2-7528BDEBBEC1@macports.org> On Apr 16, 2012, at 16:36, Stephen Blackmore wrote: > On Mon, Apr 16, 2012 at 5:15 PM, Ryan Schmidt wrote: > >> On Apr 16, 2012, at 16:06, Stephen Blackmore wrote: >> >>> I am on version 2.0.4 Several times, I have tried 'sudo port selfupdate' per Trac ticket #30801 >> >> Can you show the output of "sudo port -v selfupdate"? > > Thanks for the suggestion!! Rather than say what all it printed, I will just say that after running this and then rerunning the install, it worked. I am new to macports, so I really appreciate your help! Hmm, interesting. I'm glad you got it working, though I'm not clear on what fixed it. Running "sudo port selfupdate" any time in the past twelve months should have fixed it, since the p5 ports were changed to p5.8/p5.10/p5.12/p5.14 ports over a year ago; the fact that you said you ran it and it did not help suggested to me that some hidden error was occurring, and running with "-v" should have shown us that error. But since none occurred, and your problem has been resolved, I guess we should just leave it at that! From jeremyhu at macports.org Mon Apr 16 18:35:29 2012 From: jeremyhu at macports.org (Jeremy Huddleston) Date: Mon, 16 Apr 2012 18:35:29 -0700 Subject: UsingTheRightCompiler In-Reply-To: References: Message-ID: On Apr 15, 2012, at 9:04 PM, Jeff Singleton wrote: > I just can't say a lot for Clang. I have mentioned this before. I have > taken many suggestions. Tried Tried and Tried some more to like Clang. clang is awesome. What problems do you have? Give specifics. Your entire rambling email does not actually describe a single issue with clang, nor UsingTheRightCompiler (which is about getting ports to respect ${configure.compiler}, not about you setting what you want for configure.compiler. > Its ugly. It causes more problems between ports that depend on one > another, yet some are built with Clang, other built with GCC. There are no problems here. Binaries built with clang are compatible with those built by other compilers. What specific issues are you seeing? > I am simply fed up with Clang and I don't really want to use it anymore. > Clang does't respect architecture settings, no matter which I use (i386 or > x86_64). Yes it does. It respects them better than gcc (which doesn't btw, it's Apple's driver-driver that parses those). > Case and point - Pango crashes during compile no matter which Arch I use: That's not a crash. > *libtool: link: /usr/bin/clang -o .libs/pango-basic-coretext.so -bundle > .libs/basic-coretext.o -framework Carbon -L/opt/local/lib -O2 -arch > x86_64 -arch x86_64 -framework Carbon > -Wl,-exported_symbols_list,.libs/pango-basic-coretext-symbols.expsym* > > *Undefined symbols for architecture x86_64:* > > ** > > *ld: symbol(s) not found for architecture x86_64* > > *clang: error: linker command failed with exit code 1 (use -v to see > invocation)* Yous snipped out necessary output. This is not a clang issue. It's a linking issue. The problem has *NOTHING* to do with clang. You probably have an i386 library installed that you're trying to link into an x86_64 binary. > I am just sick of running into linking errors -- either they happen now, or > they happen eventually during an upgrade. Either way, I usually end up > getting frustrated, and wiping out my whole ports tree, and attempt to > rebuild from scratch. Ok, that's one way to deal with it, but this has nothing to do with clang, and you should report individual linking issues separately. There's probably a missing dependency somewhere, or something was built +universal but it actually is thinned to i386 because the *port* doesn't support +universal (again, nothing to do with clang). > In this case?I still hit that link error with Pango. Please file a bug with the full output (including the relevant sections that you commented out as unnecessary) > Would someone PLEASE just tell me how I can force the default compiler to > be GCC. Use trunk base, but there's no way I'm going to support you using anything other than clang on modern systems. > No configure.compiler does not work yes it does. > , and no environment variables > CC CPP CXX do not work. No, they don't > I have both set to gcc-4.2 and yet Pango still > defaults to use Clang and crashes no matter what I try. It doesn't crash. Also the fact that it fails despite you setting it to gcc-4.2 should prove to you that it has NOTHING to do with clang. > I don't want to edit every single Portfile when I hit this issue, because > when I sync again, my changes go away. That would be stupid. > There simply HAS to be some way of forcing Macports to use the compiler > that I want to use and not argue and not make changes whenever and just do > what I tell it to. There is. > Is that so much to ask? Can I please just use GCC and never EVER have to > see another Clang linking error again. clang doesn't have linking errors. clang doesn't link. ld64 links, and guess what, gcc-4.2 uses the same linker as clang. --Jeremy From jasperfrumau at gmail.com Tue Apr 17 01:12:25 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Tue, 17 Apr 2012 15:12:25 +0700 Subject: Tor && Vidalia Ports In-Reply-To: References: Message-ID: I saw at http://www.privoxy.org/faq/misc.html#TOR how I can configure the config file to forward calls to tor by uncommenting # forward-socks5 / 127.0.0.1:9050 . in the file config. But the config file in /opt/local/etc/privoxy seems to be empty . So is config.new . Is this a MacPorts config setup or am I looking in the wrong location? On Mon, Apr 16, 2012 at 8:29 PM, Jasper Frumau wrote: > > > > On Mon, Apr 16, 2012 at 3:25 PM, Daniel Ericsson wrote: >> >> On 16 apr 2012, at 05:52, Jasper Frumau wrote: >> >> Now on my issues with tor from the command line: >> >> tor -help start did not help: >> >> >> For documentation on tor see: `man tor` >> >> $ tor -help start >> Apr 16 09:19:45.830 [notice] Tor v0.2.2.35 (git-b04388f9e7546a9f). This is experimental software. Do not rely on it for strong anonymity. (Running on Darwin i386) >> Apr 16 09:19:45.830 [notice] Configuration file "/opt/local/etc/tor/torrc" not present, using reasonable defaults. >> Apr 16 09:19:45.831 [warn] Failed to parse/validate config: Unknown option 'help'. Failing. >> Apr 16 09:19:45.831 [err] Reading config failed--see warnings above. >> >> But when I entered tor as a command, it did start it all up. Just not sure how I can test it from the terminal.. >> >> When I tried to use tor to test the security of a site of mine using wpscan and tor host:port 127.0.0.1:9050 I did see this error: >> >> Apr 16 09:47:43.641 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) >> Apr 16 09:47:43.642 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) >> Apr 16 09:47:43.642 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) >> Apr 16 09:47:43.643 [warn] Socks version 71 not recognized. (Tor is not an http proxy.) >> >> >> Tor runs as a SOCKS proxy not as an http proxy, this is why you see this error. > > > OK > > >> >> >> so I installed privoxy. I did no longer receive the same error and could see the privoxy online page to see it was running. But when I pick privoxy for all protocols in Firefox using 127.0.0.1 and port 8118 and went to whatismyip.com I still got my ip address. So I am not sure if my application using --proxy 127.0.0.1:8118 is really making the call anonymous even though I did not get any errors. And there you go, when I checked the access logs my IP address was logged. >> >> I asked for some tips at wpscan, but if anyone on the list has any ideas what I am missing please let me know. >> >> >> privoxy seems to be an http proxy. By using it instead of Tor, your traffic isn't routed through Tor - so of course you don't get any errors and your IP isn't anonymized. You can probably set up privoxy to in turn route it's traffic through Tor but you'll have to look to the privoxy documentation on how to do that. >> >> >> >> To use Tor once it's started and bootstrapped. Go into System Preferences -> Network -> Click "Advanced..." for the interface you are connecting to the internet with -> Go to the "Proxies" tab -> Check "SOCKS Proxy" and enter "localhost:98050" for SOCKS Proxy Server address. > > > Will check that out asap >> >> >> This will allow most Mac apps written to read the proxy settings to route through Tor. Most command line apps aren't written for Mac OS X specifically though so they need to have support for using a SOCKS and be configured separately to use Tor's SOCKS proxy on localhost:9050. >> >> eg. curl --socks5 localhost:9050 http://yourwordpressblog.com/ >> or >> curl --socks4a localhost:9050 http://yourwordpressblog.com/ - to have the DNS resolution flow through Tor as well. > > > Cool. Thanks a lot! > >> >> >> -- Daniel > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mojca.miklavec.lists at gmail.com Tue Apr 17 05:38:32 2012 From: mojca.miklavec.lists at gmail.com (Mojca Miklavec) Date: Tue, 17 Apr 2012 14:38:32 +0200 Subject: variant mismatch when updating pango/cairo Message-ID: Dear list, I'm curious to know whether this is intended behaviour or not. (I would have created a ticket in tracker, but I'm not sure if this is actually a bug or simply the way how macports operates and there is not much that could be done about it anyway.) > port installed pango cairo The following ports are currently installed: cairo @1.10.2_3+x11 cairo @1.10.2_4+no_x11+quartz cairo @1.10.2_4+no_x11+quartz+universal cairo @1.10.2_4+quartz+universal+x11 cairo @1.10.2_4+quartz+x11 cairo @1.10.2_4+x11 cairo @1.12.0_0+quartz+universal+x11 (active) pango @1.28.4_0+x11 pango @1.28.4_1+no_x11+quartz pango @1.28.4_1+no_x11+quartz+universal pango @1.28.4_2+no_x11+quartz+universal (active) > sudo port upgrade pango ---> Computing dependencies for pango ---> Fetching archive for pango ---> Attempting to fetch pango-1.30.0_0+no_x11+quartz+universal.darwin_11.i386-x86_64.tbz2 from http://packages.macports.org/pango ---> Fetching pango ---> Verifying checksum(s) for pango ---> Extracting pango ---> Applying patches to pango ---> Configuring pango Error: To install pango without the x11 variant, cairo must be installed without the x11 variant. Error: Target org.macports.configure returned: incompatible cairo installation Log for pango is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/pango/main.log Error: Unable to upgrade port: 1 To report a bug, see Mojca From jeremy at lavergne.gotdns.org Tue Apr 17 05:43:54 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Tue, 17 Apr 2012 08:43:54 -0400 Subject: variant mismatch when updating pango/cairo In-Reply-To: References: Message-ID: <78BFFB8B-9C20-48F2-BDD7-CF36981A61DF@lavergne.gotdns.org> As the error message indicates, pango and cairo should be installed with the same x11 and quartz variants. You have cairo installed with +x11 +quartz and are trying to install pango -x11 +quartz. > I'm curious to know whether this is intended behaviour or not. > (I would have created a ticket in tracker, but I'm not sure if this is > actually a bug or simply the way how macports operates and there is > not much that could be done about it anyway.) > > cairo @1.12.0_0+quartz+universal+x11 (active) > >> sudo port upgrade pango > ---> Computing dependencies for pango > ---> Fetching archive for pango > ---> Attempting to fetch > pango-1.30.0_0+no_x11+quartz+universal.darwin_11.i386-x86_64.tbz2 from > http://packages.macports.org/pango > ---> Fetching pango > ---> Verifying checksum(s) for pango > ---> Extracting pango > ---> Applying patches to pango > ---> Configuring pango > Error: To install pango without the x11 variant, cairo must be > installed without the x11 variant. > Error: Target org.macports.configure returned: incompatible cairo installation > Log for pango is at: > /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/pango/main.log > Error: Unable to upgrade port: 1 > To report a bug, see -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From kameshkk at gmail.com Tue Apr 17 06:15:17 2012 From: kameshkk at gmail.com (Kamesh Krishnamurthy) Date: Tue, 17 Apr 2012 16:15:17 +0300 Subject: Using MacPorts Python packages in different Python Message-ID: Hello, I have two installations of Python 2.7.2 -- from MacPorts and Enthought -- on my Mac. I use the Enthought Python as the primary one for performance reasons(MKL Blas included); however, my MacPorts distribution has several additional packages like pymacs, rope etc., which I would like to make available to the Enthought Python. (I'm actually trying to use MacPorts Emacs w/ Enthought Python, but also make use of the MacPorts-installed Rope, Pymacs for code completion in Emacs). Is there a clean way to make the MacPorts packages available to the Enthought Python without breaking anything? I'd prefer not having multiple copies of rope, pymacs etc., if possible. I did try searching for this and haven't found anything pertinent on the mailing list archives. Apologies in advance if this has been discussed before. Thanks, Kamesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From mojca.miklavec.lists at gmail.com Tue Apr 17 07:54:23 2012 From: mojca.miklavec.lists at gmail.com (Mojca Miklavec) Date: Tue, 17 Apr 2012 16:54:23 +0200 Subject: variant mismatch when updating pango/cairo In-Reply-To: <78BFFB8B-9C20-48F2-BDD7-CF36981A61DF@lavergne.gotdns.org> References: <78BFFB8B-9C20-48F2-BDD7-CF36981A61DF@lavergne.gotdns.org> Message-ID: On Tue, Apr 17, 2012 at 14:43, Jeremy Lavergne wrote: > As the error message indicates, pango and cairo should be installed with the same x11 and quartz variants. > > You have cairo installed with +x11 +quartz and are trying to install pango -x11 +quartz. I understand that there has to be a match between versions. What wasn't perfectly clear to me was whether or not macports could use a disabled (already installed) version with matching options or not (possibly by switching versions back and forth). But anyway, I somehow believed that this would not qualify as a flaw, I only wanted to make sure. Thank you for clarification. Mojca >> I'm curious to know whether this is intended behaviour or not. >> (I would have created a ticket in tracker, but I'm not sure if this is >> actually a bug or simply the way how macports operates and there is >> not much that could be done about it anyway.) >> >> ?cairo @1.12.0_0+quartz+universal+x11 (active) >> >>> sudo port upgrade pango >> ---> ?Computing dependencies for pango >> ---> ?Fetching archive for pango >> ---> ?Attempting to fetch >> pango-1.30.0_0+no_x11+quartz+universal.darwin_11.i386-x86_64.tbz2 from >> http://packages.macports.org/pango >> ---> ?Fetching pango >> ---> ?Verifying checksum(s) for pango >> ---> ?Extracting pango >> ---> ?Applying patches to pango >> ---> ?Configuring pango >> Error: To install pango without the x11 variant, cairo must be >> installed without the x11 variant. >> Error: Target org.macports.configure returned: incompatible cairo installation >> Log for pango is at: >> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pango/pango/main.log >> Error: Unable to upgrade port: 1 >> To report a bug, see > From jeremy at lavergne.gotdns.org Tue Apr 17 08:00:01 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Tue, 17 Apr 2012 11:00:01 -0400 Subject: variant mismatch when updating pango/cairo In-Reply-To: References: <78BFFB8B-9C20-48F2-BDD7-CF36981A61DF@lavergne.gotdns.org> Message-ID: > I understand that there has to be a match between versions. What > wasn't perfectly clear to me was whether or not macports could use a > disabled (already installed) version with matching options or not > (possibly by switching versions back and forth). MacPorts can swap between installed versions of a port while considering variants and version together, but you have to ask it to do so manually. Since variants are considered during this, if there's a specific set other than the default you must specify it. It's a good habit to always use all the variants when activating/deactivating ports: sudo port activate cairo @1.12.0_0+quartz+universal+x11 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From ryandesign at macports.org Tue Apr 17 08:26:48 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 17 Apr 2012 10:26:48 -0500 Subject: Using MacPorts Python packages in different Python In-Reply-To: References: Message-ID: <7D7EB574-A0BE-49CF-840A-AEEA3DE44E45@macports.org> On Apr 17, 2012, at 08:15, Kamesh Krishnamurthy wrote: > I have two installations of Python 2.7.2 -- from MacPorts and Enthought -- on my Mac. I use the Enthought Python as the primary one for performance reasons(MKL Blas included); however, my MacPorts distribution has several additional packages like pymacs, rope etc., which I would like to make available to the Enthought Python. (I'm actually trying to use MacPorts Emacs w/ Enthought Python, but also make use of the MacPorts-installed Rope, Pymacs for code completion in Emacs). > > Is there a clean way to make the MacPorts packages available to the Enthought Python without breaking anything? I'd prefer not having multiple copies of rope, pymacs etc., if possible. They're not designed to be used that way; I don't know if they can be made to work that way. If you have suggestions for how MacPorts python could be improved so that you no longer find it necessary to use someone else's python, we would appreciate hearing them. From jeremy at lavergne.gotdns.org Tue Apr 17 08:31:30 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Tue, 17 Apr 2012 11:31:30 -0400 Subject: Using MacPorts Python packages in different Python In-Reply-To: <7D7EB574-A0BE-49CF-840A-AEEA3DE44E45@macports.org> References: <7D7EB574-A0BE-49CF-840A-AEEA3DE44E45@macports.org> Message-ID: <50E1BD81-86A6-4AE6-B640-2DAEFC231FB4@lavergne.gotdns.org> >> Is there a clean way to make the MacPorts packages available to the Enthought Python without breaking anything? I'd prefer not having multiple copies of rope, pymacs etc., if possible. > > They're not designed to be used that way; I don't know if they can be made to work that way. > > If you have suggestions for how MacPorts python could be improved so that you no longer find it necessary to use someone else's python, we would appreciate hearing them. I'd try creating your python PortGroup (copy the existing one, give it a new number). Then, you can set the paths for everything that the Enthought Python uses and MacPorts will honor that when a package is set to that PortGroup's number. However as Ryan showed, if there are bugs mixing them together, you'll be more or less on your own. Or if you can find an uber pythonista to help you out. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From smithsp at fusion.gat.com Tue Apr 17 09:12:25 2012 From: smithsp at fusion.gat.com (Sterling Smith) Date: Tue, 17 Apr 2012 09:12:25 -0700 Subject: Using MacPorts Python packages in different Python Message-ID: <71147BAB-DD71-4110-91D9-E7BB113708A9@fusion.gat.com> Kamesh, I do not use the Enthought python distribution, but in other python distributions the path that is searched for modules is affected by the PYTHONPATH environment variable, and is also accessible/editable in the python interpreter by import sys sys.path.append('/path/to/add/') -Sterling > Date: Tue, 17 Apr 2012 16:15:17 +0300 > From: Kamesh Krishnamurthy > To: macports-users at lists.macosforge.org > Subject: Using MacPorts Python packages in different Python > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Hello, > > I have two installations of Python 2.7.2 -- from MacPorts and Enthought -- > on my Mac. I use the Enthought Python as the primary one for performance > reasons(MKL Blas included); however, my MacPorts distribution has several > additional packages like pymacs, rope etc., which I would like to make > available to the Enthought Python. (I'm actually trying to use MacPorts > Emacs w/ Enthought Python, but also make use of the MacPorts-installed > Rope, Pymacs for code completion in Emacs). > > Is there a clean way to make the MacPorts packages available to the > Enthought Python without breaking anything? I'd prefer not having multiple > copies of rope, pymacs etc., if possible. > > I did try searching for this and haven't found anything pertinent on the > mailing list archives. Apologies in advance if this has been discussed > before. > > Thanks, > > Kamesh From nad at acm.org Tue Apr 17 11:25:11 2012 From: nad at acm.org (Ned Deily) Date: Tue, 17 Apr 2012 11:25:11 -0700 Subject: Using MacPorts Python packages in different Python References: <71147BAB-DD71-4110-91D9-E7BB113708A9@fusion.gat.com> Message-ID: In article <71147BAB-DD71-4110-91D9-E7BB113708A9 at fusion.gat.com>, Sterling Smith wrote: > I do not use the Enthought python distribution, but in other python > distributions the path that is searched for modules is affected by the > PYTHONPATH environment variable, and is also accessible/editable in the > python interpreter by > > import sys > sys.path.append('/path/to/add/') Something like that would likely work for pure Python modules. The sticky problem is with C extension modules. To be able to reliably share them between Python instances, you need to ensure that the two Pythons were configured and built compatibly, i.e. same arch selections, compatible ABIs (deployment target settings), same internal Unicode settings (UCS-2 vs UCS-4), etc. Without auditing the code in the extension module, it's nearly impossible to know ahead of time whether there will be problems are not. An extension module might not be importable without an exception (good) but (bad) it might work for days until you hit some other path in your code. Most people decide it's not worth the risk. If you need to use more than one Python instance, install everything you need in each of them. -- Ned Deily, nad at acm.org From kameshkk at gmail.com Tue Apr 17 11:56:54 2012 From: kameshkk at gmail.com (Kamesh Krishnamurthy) Date: Tue, 17 Apr 2012 21:56:54 +0300 Subject: Using MacPorts Python packages in different Python In-Reply-To: <7D7EB574-A0BE-49CF-840A-AEEA3DE44E45@macports.org> References: <7D7EB574-A0BE-49CF-840A-AEEA3DE44E45@macports.org> Message-ID: My main reason for using Enthought Python is that they build Numpy and Scipy with intel MKL libraries -- these are significantly faster than the Accelerate framework on the Mac which MacPorts Numpy and Scipy use. It would be great if MacPorts can include the Intel MKL runtime libraries in their distribution. I have no idea what this would mean in terms of getting licences; however, given that the BLAS libraries form the backbone of any scientific computing software, I'm guessing this would be a popular request. Best, -Kamesh On 17 April 2012 18:26, Ryan Schmidt wrote: > > On Apr 17, 2012, at 08:15, Kamesh Krishnamurthy wrote: > > > I have two installations of Python 2.7.2 -- from MacPorts and Enthought > -- on my Mac. I use the Enthought Python as the primary one for performance > reasons(MKL Blas included); however, my MacPorts distribution has several > additional packages like pymacs, rope etc., which I would like to make > available to the Enthought Python. (I'm actually trying to use MacPorts > Emacs w/ Enthought Python, but also make use of the MacPorts-installed > Rope, Pymacs for code completion in Emacs). > > > > Is there a clean way to make the MacPorts packages available to the > Enthought Python without breaking anything? I'd prefer not having multiple > copies of rope, pymacs etc., if possible. > > They're not designed to be used that way; I don't know if they can be made > to work that way. > > If you have suggestions for how MacPorts python could be improved so that > you no longer find it necessary to use someone else's python, we would > appreciate hearing them. > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonesc at hep.phy.cam.ac.uk Tue Apr 17 12:10:37 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Tue, 17 Apr 2012 20:10:37 +0100 Subject: Using MacPorts Python packages in different Python In-Reply-To: References: <7D7EB574-A0BE-49CF-840A-AEEA3DE44E45@macports.org> Message-ID: <9FD11B79-34E7-4153-ADFD-CAB7DC7ACFAF@hep.phy.cam.ac.uk> Hi, On 17 Apr 2012, at 7:56pm, Kamesh Krishnamurthy wrote: > My main reason for using Enthought Python is that they build Numpy and Scipy with intel MKL libraries -- these are significantly faster than the Accelerate framework on the Mac which MacPorts Numpy and Scipy use. Based on the Intel web site you get if you search for Intel MKL, http://software.intel.com/en-us/articles/intel-mkl/ I would say its highly unlikely MacPorts will ever include this. As good as they might be, they cost. > It would be great if MacPorts can include the Intel MKL runtime libraries in their distribution. I have no idea what this would mean in terms of getting licences; however, given that the BLAS libraries form the backbone of any scientific computing software, I'm guessing this would be a popular request. (Speaking as a scientist myself, I would say thats over egging things a little?) I would say your best bet is probably to get what you need included in the Enthought python version directly, and not rely on the MacPorts packages. Chris > > Best, > -Kamesh > > > On 17 April 2012 18:26, Ryan Schmidt wrote: > > On Apr 17, 2012, at 08:15, Kamesh Krishnamurthy wrote: > > > I have two installations of Python 2.7.2 -- from MacPorts and Enthought -- on my Mac. I use the Enthought Python as the primary one for performance reasons(MKL Blas included); however, my MacPorts distribution has several additional packages like pymacs, rope etc., which I would like to make available to the Enthought Python. (I'm actually trying to use MacPorts Emacs w/ Enthought Python, but also make use of the MacPorts-installed Rope, Pymacs for code completion in Emacs). > > > > Is there a clean way to make the MacPorts packages available to the Enthought Python without breaking anything? I'd prefer not having multiple copies of rope, pymacs etc., if possible. > > They're not designed to be used that way; I don't know if they can be made to work that way. > > If you have suggestions for how MacPorts python could be improved so that you no longer find it necessary to use someone else's python, we would appreciate hearing them. > > > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From macsforever2000 at macports.org Tue Apr 17 12:17:29 2012 From: macsforever2000 at macports.org (Frank Schima) Date: Tue, 17 Apr 2012 13:17:29 -0600 Subject: Using MacPorts Python packages in different Python In-Reply-To: References: <7D7EB574-A0BE-49CF-840A-AEEA3DE44E45@macports.org> Message-ID: <210C080F-EAEB-461A-9D9D-89CBD6B814A0@macports.org> py-numpy and py-scipy have atlas variants which use the atlas port instead of the Accelerate framework. The atlas port does tune to your processor. Have you tried that? I have Cc'ed Adam, the maintainer of these ports, if he could comment on their performance with the atlas variant? Maybe the Intel MKL libraries could be added as a variant? Cheers! Frank On Apr 17, 2012, at 12:56 PM, Kamesh Krishnamurthy wrote: > My main reason for using Enthought Python is that they build Numpy and Scipy with intel MKL libraries -- these are significantly faster than the Accelerate framework on the Mac which MacPorts Numpy and Scipy use. > > It would be great if MacPorts can include the Intel MKL runtime libraries in their distribution. I have no idea what this would mean in terms of getting licences; however, given that the BLAS libraries form the backbone of any scientific computing software, I'm guessing this would be a popular request. > > Best, > -Kamesh > > > On 17 April 2012 18:26, Ryan Schmidt wrote: > > On Apr 17, 2012, at 08:15, Kamesh Krishnamurthy wrote: > > > I have two installations of Python 2.7.2 -- from MacPorts and Enthought -- on my Mac. I use the Enthought Python as the primary one for performance reasons(MKL Blas included); however, my MacPorts distribution has several additional packages like pymacs, rope etc., which I would like to make available to the Enthought Python. (I'm actually trying to use MacPorts Emacs w/ Enthought Python, but also make use of the MacPorts-installed Rope, Pymacs for code completion in Emacs). > > > > Is there a clean way to make the MacPorts packages available to the Enthought Python without breaking anything? I'd prefer not having multiple copies of rope, pymacs etc., if possible. > > They're not designed to be used that way; I don't know if they can be made to work that way. > > If you have suggestions for how MacPorts python could be improved so that you no longer find it necessary to use someone else's python, we would appreciate hearing them. > > > > _______________________________________________ > 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 gvibe06 at gmail.com Tue Apr 17 13:16:13 2012 From: gvibe06 at gmail.com (Jeff Singleton) Date: Tue, 17 Apr 2012 15:16:13 -0500 Subject: UsingTheRightCompiler In-Reply-To: References: Message-ID: Nope. Sorry. But the "it works for me" argument just isn't going to work. I have tried both i386 (32 bit) and x86_64?and have the same issues (eventually) and IT IS because of Clang. I have never had so many problems compiling with GCC, and then maintaining them through normal upgrades. I use Macports for the convenience, and because its supported?but having to rebuild from scratch over and over is becoming not-so-convenient. If its not Clang as you suggest, and you think its a linking issue, then it is a Macports problem. I don't mix my architectures. My macports.conf either says build_arch i386 or it says build_arch x86_64. I don't add anything to the command line other than the occasional variant. So how do x86_64 binaries/libraries get into an i386 Prefix and vice versa? Whenever I switch in an effort to troubleshoot a compile issue like this, I *ALWAYS* clean/delete the entire folder, and reinstall Macports before commencing. So if there is mixed arch linking going on, then Macports is the problem. configure.compiler does not work on the command line as stated before. I have tried it several times, and Clang seems to be preferred and chosen every time despite it. I end up having to edit Portfiles to force the compiler I want to use, and that gets to be to much work to maintain. All I am asking for is to be able to choose my preferred compiler and not be forced to use whatever Macport devs prefer. I mean, its not really open if I have to use the compiler you tell me to, is it? If Macports was a sponsored, non-free package management distribution, I would understand having to use the developer chosen compiler. But its not, so therefore we should have more flexibility in choosing things like what compiler to use. Jeff On Mon, Apr 16, 2012 at 8:35 PM, Jeremy Huddleston wrote: > > On Apr 15, 2012, at 9:04 PM, Jeff Singleton wrote: > > > I just can't say a lot for Clang. I have mentioned this before. I have > > taken many suggestions. Tried Tried and Tried some more to like Clang. > > clang is awesome. What problems do you have? Give specifics. Your > entire rambling email does not actually describe a single issue with clang, > nor UsingTheRightCompiler (which is about getting ports to respect > ${configure.compiler}, not about you setting what you want for > configure.compiler. > > > Its ugly. It causes more problems between ports that depend on one > > another, yet some are built with Clang, other built with GCC. > > There are no problems here. Binaries built with clang are compatible with > those built by other compilers. What specific issues are you seeing? > > > I am simply fed up with Clang and I don't really want to use it anymore. > > Clang does't respect architecture settings, no matter which I use (i386 > or > > x86_64). > > Yes it does. It respects them better than gcc (which doesn't btw, it's > Apple's driver-driver that parses those). > > > Case and point - Pango crashes during compile no matter which Arch I use: > > That's not a crash. > > > *libtool: link: /usr/bin/clang -o .libs/pango-basic-coretext.so -bundle > > .libs/basic-coretext.o -framework Carbon -L/opt/local/lib -O2 -arch > > x86_64 -arch x86_64 -framework Carbon > > -Wl,-exported_symbols_list,.libs/pango-basic-coretext-symbols.expsym* > > > > *Undefined symbols for architecture x86_64:* > > > > ** > > > > *ld: symbol(s) not found for architecture x86_64* > > > > *clang: error: linker command failed with exit code 1 (use -v to see > > invocation)* > > > Yous snipped out necessary output. This is not a clang issue. It's a > linking issue. The problem has *NOTHING* to do with clang. You probably > have an i386 library installed that you're trying to link into an x86_64 > binary. > > > I am just sick of running into linking errors -- either they happen now, > or > > they happen eventually during an upgrade. Either way, I usually end up > > getting frustrated, and wiping out my whole ports tree, and attempt to > > rebuild from scratch. > > Ok, that's one way to deal with it, but this has nothing to do with clang, > and you should report individual linking issues separately. There's > probably a missing dependency somewhere, or something was built +universal > but it actually is thinned to i386 because the *port* doesn't support > +universal (again, nothing to do with clang). > > > In this case?I still hit that link error with Pango. > > Please file a bug with the full output (including the relevant sections > that you commented out as unnecessary) > > > Would someone PLEASE just tell me how I can force the default compiler to > > be GCC. > > Use trunk base, but there's no way I'm going to support you using anything > other than clang on modern systems. > > > No configure.compiler does not work > > yes it does. > > > , and no environment variables > > CC CPP CXX do not work. > > No, they don't > > > I have both set to gcc-4.2 and yet Pango still > > defaults to use Clang and crashes no matter what I try. > > It doesn't crash. Also the fact that it fails despite you setting it to > gcc-4.2 should prove to you that it has NOTHING to do with clang. > > > I don't want to edit every single Portfile when I hit this issue, because > > when I sync again, my changes go away. > > That would be stupid. > > > There simply HAS to be some way of forcing Macports to use the compiler > > that I want to use and not argue and not make changes whenever and just > do > > what I tell it to. > > There is. > > > Is that so much to ask? Can I please just use GCC and never EVER have to > > see another Clang linking error again. > > clang doesn't have linking errors. clang doesn't link. ld64 links, and > guess what, gcc-4.2 uses the same linker as clang. > > --Jeremy > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From keybounce at gmail.com Tue Apr 17 13:22:37 2012 From: keybounce at gmail.com (Michael_google gmail_Gersten) Date: Tue, 17 Apr 2012 13:22:37 -0700 Subject: Which version of "Wine", or am I on the wrong track? In-Reply-To: References: Message-ID: >> On Apr 15, 2012, at 10:56 AM, Michael_google gmail_Gersten wrote: >> > I am not sure which version of Wine to install from Macports (there >> > are three), or if this is even the right approach for what I want to >> > do. >> > >> > The goal: Edit a "movie" (screen recording), from the view that 80-90% >> > of what I recorded will be tossed. >> > iMovie is a failure (as far as I can tell) as selecting sections and >> > removing them. >> >> Pretty sure you can cut frames with iMovie. I am completely unable to manage selecting frames and deleting them with iMovie. Maybe there's a trick that I don't know. Things/commands/keystrokes behave differently when there is a selection inside the current clip and when there is not. Things behave differently when you are working with a clip in a project vs an event clip. I cannot find a way to adjust the left/right ends of a selection without simply moving the selection -- the length of the selection does not change when I try to adjust the start or end point of a selection. I want to be able to say "This selection is what I want to toss", and at other times "This selection is what I want to keep". The whole "Nudge your mouse and lose your place" is a pain. Again, my goal here: Work with a screen grab is that several hours long, find the good stuff, clip and keep the good stuff, toss the bad stuff. Figure that I'll be tossing 80% of what I recorded. (It would be so nice if iMovie could pause/resume while recording, but it cannot, and resizing to only the interior contents of a window -- without the title bar -- is a pain.) QuickTime player can play at 2x speed and keep the sound good. iMovie playing at double speed -- *IF* I can get it to work (most of the time that command is greyed out) plays with distorted sound. I found this nice option for "Keep a clip on a single horizontal line that scrolls", and I thought it would be an improvement. But it only seems to work in the project window, and for me it just kept a bunch of clips on one line, rather than each clip on a separate line. (Each clip came from the same event.) I can get plenty of information from the help system for "How to use the commands in the menus". I cannot find any information on "How to use the tools provided in the menus to actually edit a movie". All I can find is basically "How to put a bunch of clips together with some preset transitions to impress your grandmother". The whole idea in iMovie of "You have to click to make a selection, you cannot turn the playhead position into the start/end of a selection" means that no matter what I do to find the point I want to start my selection at, I cannot actually start my selection there -- my click will not be at the frame I'm looking at. Etc. If you've got a "Here's how to actually EDIT in iMovie" document, please share it. Assembling clips with transitions is not the goal. Clipping and tossing is. >> > This means I'm going to use VirtualDub (only program I've found so far >> > that is good at selecting lots of specific frame ranges and tossing >> > them). >> >> There are going to be better options for video editing on the Mac then >> running a Windows program. I hope so. >> Quicktime Pro Player has been able to cut video many years. The pro version >> used to cost $35. Quicktime player has the ability to clip and cut now. But once you've done clipping/cutting you cannot export it (if there are three or more clips in the final). >> Have you looked at the MacPorts ports for Avidemux and Kdenlive. No, I haven't heard of them. I'll look at them next. > Or the free app MPEG Streamclip? ?"You can use MPEG Streamclip to: open > most movie formats including MPEG files or transport streams; play them > at full screen; edit them with Cut, Copy, Paste, and Trim; set In/Out > points and convert them into muxed or demuxed files, or export them to > QuickTime, AVI, DV and MPEG-4 files" > > http://www.squared5.com/svideo/mpeg-streamclip-mac.html That sounds good. Thank you. From larry.velazquez at gmail.com Tue Apr 17 13:36:46 2012 From: larry.velazquez at gmail.com (=?iso-8859-1?Q?Lawrence_Vel=E1zquez?=) Date: Tue, 17 Apr 2012 16:36:46 -0400 Subject: UsingTheRightCompiler In-Reply-To: References: Message-ID: <540738AA-910C-4058-AF8C-21C08E7E51BE@gmail.com> On Apr 17, 2012, at 4:16 p.m., Jeff Singleton wrote: > If its not Clang as you suggest, and you think its a linking issue, then it is a Macports problem. I don't mix my architectures. My macports.conf either says build_arch i386 or it says build_arch x86_64. I don't add anything to the command line other than the occasional variant. > > So how do x86_64 binaries/libraries get into an i386 Prefix and vice versa? Whenever I switch in an effort to troubleshoot a compile issue like this, I *ALWAYS* clean/delete the entire folder, and reinstall Macports before commencing. So if there is mixed arch linking going on, then Macports is the problem. It seems pretty clear that some ports are getting their architectures mixed up. Maybe they are ignoring arch settings. We can't even start to figure out what's wrong unless you provide us with the full log from the failed pango build. > configure.compiler does not work on the command line as stated before. I have tried it several times, and Clang seems to be preferred and chosen every time despite it. I end up having to edit Portfiles to force the compiler I want to use, and that gets to be to much work to maintain. > > All I am asking for is to be able to choose my preferred compiler and not be forced to use whatever Macport devs prefer. I mean, its not really open if I have to use the compiler you tell me to, is it? If a particular port currently ignores configure.compiler from the command line, will that port respect configure.compiler if it's set in some conf file somewhere? vq -------------- next part -------------- An HTML attachment was scrubbed... URL: From larry.velazquez at gmail.com Tue Apr 17 13:42:02 2012 From: larry.velazquez at gmail.com (=?iso-8859-1?Q?Lawrence_Vel=E1zquez?=) Date: Tue, 17 Apr 2012 16:42:02 -0400 Subject: UsingTheRightCompiler In-Reply-To: References: <193BE02E-D4FB-41C7-B1A4-490B726DBADD@lavergne.gotdns.org> Message-ID: On Apr 16, 2012, at 11:51 a.m., Jeff Singleton wrote: > If you are able to build Pango weekly?then you must be doing something differently that I. Possibly not using the same Arch/Platform or possibly you customize your Portfile prior to building. My issues stem from the default Portfile and using MacPorts pretty much as is, with some minor variant changes and setting x86_64 only as my build_arch. (Though I have tried i386 and get the same results). I have had pango installed for a while and have never run into linking issues. I have not touched macports.conf; my build_arch is "x86_64" and my universal_archs is "x86_64 i386". I do not customize the portfile. vq -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy at lavergne.gotdns.org Tue Apr 17 13:43:34 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Tue, 17 Apr 2012 16:43:34 -0400 Subject: UsingTheRightCompiler In-Reply-To: References: Message-ID: > Nope. Sorry. But the "it works for me" argument just isn't going to work. Continuing to chant "it doesn't work" is just as helpful. Post logs detailing your issues and point them out. You've been asked to do this a couple times now. Without those, the whole thread appears useless. > I have tried both i386 (32 bit) and x86_64?and have the same issues (eventually) and IT IS because of Clang. I have never had so many problems compiling with GCC, and then maintaining them through normal upgrades. I use Macports for the convenience, and because its supported?but having to rebuild from scratch over and over is becoming not-so-convenient. Do you use -Wall when you compile with GCC? > If its not Clang as you suggest, and you think its a linking issue, then it is a Macports problem. I don't mix my architectures. My macports.conf either says build_arch i386 or it says build_arch x86_64. I don't add anything to the command line other than the occasional variant. Why not actually explore the issue with us? Logs needed. > So how do x86_64 binaries/libraries get into an i386 Prefix and vice versa? Whenever I switch in an effort to troubleshoot a compile issue like this, I *ALWAYS* clean/delete the entire folder, and reinstall Macports before commencing. So if there is mixed arch linking going on, then Macports is the problem. One possible way that can happen is you're pulling down prebuilt binaries built differently than you're attempting: python, perl and a few others record their compilers and flags, and subsequent python/perl packages pick up on those. At this point I'd assume you've already disabled them since they're part of the standard output of MacPorts (verbose/debug flags not needed to see these being installed), but do you have these disabled? > configure.compiler does not work on the command line as stated before. I have tried it several times, and Clang seems to be preferred and chosen every time despite it. I end up having to edit Portfiles to force the compiler I want to use, and that gets to be to much work to maintain. If editing the Portfile resolves the issue then it appears to be a problem with the Portfile. Care to post any specific changes so we can look into it? > All I am asking for is to be able to choose my preferred compiler and not be forced to use whatever Macport devs prefer. I mean, its not really open if I have to use the compiler you tell me to, is it? You have unhindered access to the source code--that's open. > If Macports was a sponsored, non-free package management distribution, I would understand having to use the developer chosen compiler. But its not, so therefore we should have more flexibility in choosing things like what compiler to use. And you have the ability to actually help the developers find any bugs you uncover. Do so. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From mparson at bl.org Tue Apr 17 14:39:14 2012 From: mparson at bl.org (Michael Parson) Date: Tue, 17 Apr 2012 16:39:14 -0500 (CDT) Subject: Which version of "Wine", or am I on the wrong track? In-Reply-To: References: Message-ID: On Tue, 17 Apr 2012, Michael_google gmail_Gersten wrote: >>> On Apr 15, 2012, at 10:56 AM, Michael_google gmail_Gersten wrote: >>>> I am not sure which version of Wine to install from Macports (there >>>> are three), or if this is even the right approach for what I want to >>>> do. >>>> >>>> The goal: Edit a "movie" (screen recording), from the view that 80-90% >>>> of what I recorded will be tossed. >>>> iMovie is a failure (as far as I can tell) as selecting sections and >>>> removing them. >>> >>> Pretty sure you can cut frames with iMovie. > > I am completely unable to manage selecting frames and deleting them > with iMovie. Maybe there's a trick that I don't know. > > Things/commands/keystrokes behave differently when there is a > selection inside the current clip and when there is not. > Things behave differently when you are working with a clip in a > project vs an event clip. > I cannot find a way to adjust the left/right ends of a selection > without simply moving the selection -- the length of the selection > does not change when I try to adjust the start or end point of a > selection. > > I want to be able to say "This selection is what I want to toss", and > at other times "This selection is what I want to keep". Not reallly how iMovie works. What you need to do is just insert 'cuts'. Say the following is your video: ------------------------------------------ Now say you want to remove a chunk in there, you would just 'cut' it in front of band behind where you want, effectively making 3 separate videos that are now strung together. ----------|------------|------------------ Now just click on the middle section and remove it Video editing is a little different mind-set from editing pretty much anything else. Think of your video as a long section of tape, or even film. If you want to remove frames from a section of film, you cut on either side of it and remove it, then splice the two ends together. Since you're all digital now, the splicing is automatic, even giving you the chance to add a transition for dramatic effect. It's been a while since I've done anything in iMovie, but that's the gist of it. But now we're way off topic for this list. :) -- Michael Parson Unix Thug Austin, TX KF5LGQ From jonesc at hep.phy.cam.ac.uk Tue Apr 17 15:11:19 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Tue, 17 Apr 2012 23:11:19 +0100 Subject: UsingTheRightCompiler In-Reply-To: References: Message-ID: No one else seems to be having the issues you are. I personally compiler a lot of ports with clang, no problem. Doesn't that tell you something ? Your rants below are useless. Unless you intend to actually start posting useful bug reports, build logs etc. then please take your outburst elsewhere. Chris On 17 Apr 2012, at 9:16pm, Jeff Singleton wrote: > Nope. Sorry. But the "it works for me" argument just isn't going to work. > > I have tried both i386 (32 bit) and x86_64?and have the same issues (eventually) and IT IS because of Clang. I have never had so many problems compiling with GCC, and then maintaining them through normal upgrades. I use Macports for the convenience, and because its supported?but having to rebuild from scratch over and over is becoming not-so-convenient. > > If its not Clang as you suggest, and you think its a linking issue, then it is a Macports problem. I don't mix my architectures. My macports.conf either says build_arch i386 or it says build_arch x86_64. I don't add anything to the command line other than the occasional variant. > > So how do x86_64 binaries/libraries get into an i386 Prefix and vice versa? Whenever I switch in an effort to troubleshoot a compile issue like this, I *ALWAYS* clean/delete the entire folder, and reinstall Macports before commencing. So if there is mixed arch linking going on, then Macports is the problem. > > configure.compiler does not work on the command line as stated before. I have tried it several times, and Clang seems to be preferred and chosen every time despite it. I end up having to edit Portfiles to force the compiler I want to use, and that gets to be to much work to maintain. > > All I am asking for is to be able to choose my preferred compiler and not be forced to use whatever Macport devs prefer. I mean, its not really open if I have to use the compiler you tell me to, is it? > > If Macports was a sponsored, non-free package management distribution, I would understand having to use the developer chosen compiler. But its not, so therefore we should have more flexibility in choosing things like what compiler to use. > > Jeff > > On Mon, Apr 16, 2012 at 8:35 PM, Jeremy Huddleston wrote: > > On Apr 15, 2012, at 9:04 PM, Jeff Singleton wrote: > > > I just can't say a lot for Clang. I have mentioned this before. I have > > taken many suggestions. Tried Tried and Tried some more to like Clang. > > clang is awesome. What problems do you have? Give specifics. Your entire rambling email does not actually describe a single issue with clang, nor UsingTheRightCompiler (which is about getting ports to respect ${configure.compiler}, not about you setting what you want for configure.compiler. > > > Its ugly. It causes more problems between ports that depend on one > > another, yet some are built with Clang, other built with GCC. > > There are no problems here. Binaries built with clang are compatible with those built by other compilers. What specific issues are you seeing? > > > I am simply fed up with Clang and I don't really want to use it anymore. > > Clang does't respect architecture settings, no matter which I use (i386 or > > x86_64). > > Yes it does. It respects them better than gcc (which doesn't btw, it's Apple's driver-driver that parses those). > > > Case and point - Pango crashes during compile no matter which Arch I use: > > That's not a crash. > > > *libtool: link: /usr/bin/clang -o .libs/pango-basic-coretext.so -bundle > > .libs/basic-coretext.o -framework Carbon -L/opt/local/lib -O2 -arch > > x86_64 -arch x86_64 -framework Carbon > > -Wl,-exported_symbols_list,.libs/pango-basic-coretext-symbols.expsym* > > > > *Undefined symbols for architecture x86_64:* > > > > ** > > > > *ld: symbol(s) not found for architecture x86_64* > > > > *clang: error: linker command failed with exit code 1 (use -v to see > > invocation)* > > > Yous snipped out necessary output. This is not a clang issue. It's a linking issue. The problem has *NOTHING* to do with clang. You probably have an i386 library installed that you're trying to link into an x86_64 binary. > > > I am just sick of running into linking errors -- either they happen now, or > > they happen eventually during an upgrade. Either way, I usually end up > > getting frustrated, and wiping out my whole ports tree, and attempt to > > rebuild from scratch. > > Ok, that's one way to deal with it, but this has nothing to do with clang, and you should report individual linking issues separately. There's probably a missing dependency somewhere, or something was built +universal but it actually is thinned to i386 because the *port* doesn't support +universal (again, nothing to do with clang). > > > In this case?I still hit that link error with Pango. > > Please file a bug with the full output (including the relevant sections that you commented out as unnecessary) > > > Would someone PLEASE just tell me how I can force the default compiler to > > be GCC. > > Use trunk base, but there's no way I'm going to support you using anything other than clang on modern systems. > > > No configure.compiler does not work > > yes it does. > > > , and no environment variables > > CC CPP CXX do not work. > > No, they don't > > > I have both set to gcc-4.2 and yet Pango still > > defaults to use Clang and crashes no matter what I try. > > It doesn't crash. Also the fact that it fails despite you setting it to gcc-4.2 should prove to you that it has NOTHING to do with clang. > > > I don't want to edit every single Portfile when I hit this issue, because > > when I sync again, my changes go away. > > That would be stupid. > > > There simply HAS to be some way of forcing Macports to use the compiler > > that I want to use and not argue and not make changes whenever and just do > > what I tell it to. > > There is. > > > Is that so much to ask? Can I please just use GCC and never EVER have to > > see another Clang linking error again. > > clang doesn't have linking errors. clang doesn't link. ld64 links, and guess what, gcc-4.2 uses the same linker as clang. > > --Jeremy > > > > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From jeremyhu at macports.org Tue Apr 17 16:14:23 2012 From: jeremyhu at macports.org (Jeremy Huddleston) Date: Tue, 17 Apr 2012 16:14:23 -0700 Subject: UsingTheRightCompiler In-Reply-To: References: Message-ID: On Apr 17, 2012, at 1:16 PM, Jeff Singleton wrote: > Nope. Sorry. But the "it works for me" argument just isn't going to work. > > I have tried both i386 (32 bit) and x86_64?and have the same issues > (eventually) and IT IS because of Clang. Prove it. File a bug, and I will fix it! I'm not saying that clang doesn't have issues, but so does gcc and llvm-gcc. If you really are seeing a real issue, then you need to provide specifics in a bug report. > I have never had so many problems > compiling with GCC, and then maintaining them through normal upgrades. I > use Macports for the convenience, and because its supported?but having to > rebuild from scratch over and over is becoming not-so-convenient. You shouldn't need to. If you do, it's a MacPorts bug, not a clang bug... and you should REPORT IT. > > If its not Clang as you suggest, and you think its a linking issue, then it > is a Macports problem. Yes, it may be, or it may be you mixing architecture choices or ports not supporting +universal correctly. > I don't mix my architectures. My macports.conf > either says build_arch i386 or it says build_arch x86_64. I don't add > anything to the command line other than the occasional variant. And you don't have anything that forces +universal (like installing wine on x86_64 for example?) > So how do x86_64 binaries/libraries get into an i386 Prefix and vice versa? If supported_archs restricts your build_arch. > Whenever I switch in an effort to troubleshoot a compile issue like this, I > *ALWAYS* clean/delete the entire folder, and reinstall Macports before > commencing. So if there is mixed arch linking going on, then Macports is > the problem. Possibly, but you need to file a bug report, not send a trolling email. > configure.compiler does not work on the command line as stated before. yes it does. Try it: sudo port -v install xorg-server configure.compiler=gcc-4.2 > I > have tried it several times, and Clang seems to be preferred and chosen > every time despite it. You're probably doing it wrong. See above. > I end up having to edit Portfiles to force the > compiler I want to use, and that gets to be to much work to maintain. It works fine here... > All I am asking for is to be able to choose my preferred compiler and not > be forced to use whatever Macport devs prefer. I mean, its not really open > if I have to use the compiler you tell me to, is it? You can. As I mentioned before, you need to use base trunk (not 2.0.4) and edit your macports.conf. > If Macports was a sponsored, non-free package management distribution, I > would understand having to use the developer chosen compiler. But its not, > so therefore we should have more flexibility in choosing things like what > compiler to use. Hey look at that, it's also OSS! You can change it however you want, but luckily everything you are complaining about is already supported in the release... From ryandesign at macports.org Tue Apr 17 21:30:48 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 17 Apr 2012 23:30:48 -0500 Subject: UsingTheRightCompiler In-Reply-To: References: Message-ID: I'm not sure why the "pango won't build" portion of this thread is continuing, since it's already been fixed: https://trac.macports.org/ticket/32722 From phildobbin at gmail.com Tue Apr 17 22:29:08 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 18 Apr 2012 06:29:08 +0100 Subject: UsingTheRightCompiler In-Reply-To: References: Message-ID: <4F8E5124.9030501@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/04/2012 05:30, Ryan Schmidt wrote: > I'm not sure why the "pango won't build" portion of this thread is > continuing, since it's already been fixed: > > https://trac.macports.org/ticket/32722 & I'm astonished that people take it upon themselves to be rude complaining about a freely given service that a lot of people have put a lot of hard work into providing. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPjlEhAAoJEKpMeDHWT5ADI7UIAMJZ/jQ7o5IxYBoAHFVMw/fr 1tx2W9CCDKx2UdpUDA241zngJcMT53Kpu1I43zLUMDvvB+2GyGK9mDrJ7wuprnVP bKVhT5bIp6OrMnHEPEaXhL3ssK9KNX+oSaKCPbAAczyPI34VP74bK5PQExn7RMvB Reyq1daMsOuRGGAIdd5njyzh2h3MJbiK+44j+IvJE0jHjYScOU5+8cIElVzZVSgZ LgxnhPNJYJ7L5LoTLyQKkoOG6v4/iu7jfI69CeJInUIR2ARGBkpi0uLFEAXdnH5P /BC0XP+UOfBpU+yQWNu/wFocc/Vihxply+PvIDJlwoVBm6ROjSXePTixGWmBpaA= =t9w3 -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From veedeehjay at googlemail.com Wed Apr 18 03:43:12 2012 From: veedeehjay at googlemail.com (j. van den hoff) Date: Wed, 18 Apr 2012 12:43:12 +0200 Subject: `uzbl' crashes Apple's X11 (but not current Xquartz) Message-ID: has someone experience with the `uzbl' web browser (under macos 10.6.8 with uzbl @2011.11.28) using Apple's X11? I installed uzbl yesterday on two machines both running 10.6.8 but one using Apple's X11, the other one using Xquartz. on the latter everything is fine, on the former I get reproducible X11 crashes (SIGSEV exception) when trying to use the `fl' command (intended to enumerate all links on the visited webpage): when trying to type in the `fl' command the `l' never is echoed in the bottom left "CMD" window, but instead X11 crashes. can someone confirm this behaviour? is this an upstream (uzbl or X11) issue or could it be patched in the macports package? any feedback appreciated, joerg -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From murrayeisenberg at gmail.com Wed Apr 18 09:01:12 2012 From: murrayeisenberg at gmail.com (Murray Eisenberg) Date: Wed, 18 Apr 2012 12:01:12 -0400 Subject: How remove port info but not installed files? Message-ID: <4F8EE548.2090001@gmail.com> Short version: how do I go about deleting downloaded installation files from a port and remove it from the list of installed ports -- _without_ actually uninstalling the deployed binaries, etc.? Long version: 1. Without using MacPorts, I directly installed TeXLive 2011 (as part of MacTeX). I didn't realize that that distribution included the source files and build/install instructions for the asymptote application. So ... 2. I used MacPorts to install asymptote. That automatically did a MacPorts install of texlive 2011 (which, via #1, was already installed), on which it depended. Now I have apparently have a great deal of duplication from texlive in general, and asymptote in particular, between directories /opt/local/var/macports/distfiles/texlive-* /opt/local/var/macports/software/texlive /opt/local/var/macports/software/texlive-* on the one hand, and the normal texlive location tree starting at: /usr/local/texlive/2011 Also, _I think_, duplications between /opt/local/bin from MacPorts and: /usr/local/texlive/2011/bin What's the simplest way to get rid of the macports files from texlive and aysmpotote _WITHOUT_ disturbing the original files from the direct TeXLive 2011 installation? -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305 From jeremy at lavergne.gotdns.org Wed Apr 18 09:03:01 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 18 Apr 2012 12:03:01 -0400 Subject: How remove port info but not installed files? In-Reply-To: <4F8EE548.2090001@gmail.com> References: <4F8EE548.2090001@gmail.com> Message-ID: > What's the simplest way to get rid of the macports files from texlive and aysmpotote _WITHOUT_ disturbing the original files from the direct TeXLive 2011 installation? MacPorts won't touch your non-MacPorts files. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From arno at alum.wpi.edu Wed Apr 18 09:38:27 2012 From: arno at alum.wpi.edu (Arno Hautala) Date: Wed, 18 Apr 2012 12:38:27 -0400 Subject: How remove port info but not installed files? In-Reply-To: <4F8EE548.2090001@gmail.com> References: <4F8EE548.2090001@gmail.com> Message-ID: On 2012-04-18, Murray Eisenberg wrote: > > What's the simplest way to get rid of the macports files from texlive > and aysmpotote _WITHOUT_ disturbing the original files from the direct > TeXLive 2011 installation? First off, have you experienced any problems with this setup? Now, you probably don't need to remove anything. Aside from the space on disk, the two prefixes _should_ ignore each other. /usr/local can be a headache if other software tries to link to it instead of the MacPorts provided items, but I think you should be safe with the /usr/local/texlive prefix. If you want to keep asymptote, you'll need to keep the MacPorts provided texlive installation as well. You could probably hack around this by editing the asymptote Portfile so that it does not depend on texlive, but then you may also need to (re?)patch asymptote so that it links to /usr/local/texlive instead of /opt/local. This may be as simple as editing or adding a source path so asymptote knows where to look. In either case, this type of usage isn't exactly supported by MacPorts. You may find others who have performed similar hacks and some help there; I know requests often come up for help in using the system or 3rd party version of some library instead of the MacPorts version. These are usually met with varying degrees of success. With the current MacPorts design, you'd be best off uninstalling TexLive 2011 and using the MacPorts version. This is just for space savings though. Overall, I don't think there should be any compatibility issues in having both on your system. I think MacTex even includes an application for switching which texlive installation to use, and this includes support for selecting the MacPorts version. -- arno s hautala /-| arno at alum.wpi.edu pgp b2c9d448 From phildobbin at gmail.com Wed Apr 18 09:58:08 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 18 Apr 2012 17:58:08 +0100 Subject: How remove port info but not installed files? In-Reply-To: References: <4F8EE548.2090001@gmail.com> Message-ID: <4F8EF2A0.1010405@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/04/2012 17:38, Arno Hautala wrote: > On 2012-04-18, Murray Eisenberg wrote: >> >> What's the simplest way to get rid of the macports files from texlive >> and aysmpotote _WITHOUT_ disturbing the original files from the direct >> TeXLive 2011 installation? > [snip] > With the current MacPorts design, you'd be best off uninstalling > TexLive 2011 and using the MacPorts version. This is just for space > savings though. Overall, I don't think there should be any > compatibility issues in having both on your system. I think MacTex > even includes an application for switching which texlive installation > to use, and this includes support for selecting the MacPorts version. Indeed. If you look at the link to the installer page for texlive 2011, you'll see this is mentioned (fink is also mentioned). I took it a step further & installed texlive 2011 into $HOME/ as well as having the Mac Port's version of texlive (reason being I needed access to tlmgr for the project I'm currently working on). With disk space no longer a problem these days on OS X (180GB on my Macbook Pro as opposed to 40GBs on my Linux boxes) I decided to cover all bases. Must say, in passing, I was very impressed with the texlive 2011 installer. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPjvKdAAoJEKpMeDHWT5ADb/IH/RXz9ENhJUYWIKF5ViWJSe0V X0NSQzXcnPmb7QbL6Y3QdImdIcZNv+RkM34liz4To+lh+66dnrdgNU9hiJbsN3d7 +IGVnCLwBu6r6jDBDafGJKlPSPFFEOhf8lzitQcXWNcaqhLDTf+DHNs6AeDaeVF1 cKFrTBSo45vsSc4gcbt6uu6KEKwsf2PKeZG0bzA+GCYCXmx1etOlekgHNXDMAsr/ Bhi4NR6qeGi8O2ySJWpisIJWE8656scencz40438VbEPLqV8EdlCmeXzsVXkc8OK UBcPmrzKInmd3cJFYosPuA8YP4wu+2DDHrLunu4QfAdGJUHjqEZH/RwrFguvc4Y= =NtJ9 -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From murrayeisenberg at gmail.com Wed Apr 18 10:30:38 2012 From: murrayeisenberg at gmail.com (Murray Eisenberg) Date: Wed, 18 Apr 2012 13:30:38 -0400 Subject: How remove port info but not installed files? In-Reply-To: References: <4F8EE548.2090001@gmail.com> Message-ID: <4F8EFA3E.1080007@gmail.com> On 4/18/12 12:38 PM, Arno Hautala wrote: > On 2012-04-18, Murray Eisenberg wrote: >> >> What's the simplest way to get rid of the macports files from texlive >> and aysmpotote _WITHOUT_ disturbing the original files from the direct >> TeXLive 2011 installation? > > First off, have you experienced any problems with this setup? > > Now, you probably don't need to remove anything. Aside from the space > on disk, the two prefixes _should_ ignore each other. /usr/local can > be a headache if other software tries to link to it instead of the > MacPorts provided items, but I think you should be safe with the > /usr/local/texlive prefix. > > If you want to keep asymptote, you'll need to keep the MacPorts > provided texlive installation as well. You could probably hack around > this by editing the asymptote Portfile so that it does not depend on > texlive, but then you may also need to (re?)patch asymptote so that it > links to /usr/local/texlive instead of /opt/local. This may be as > simple as editing or adding a source path so asymptote knows where to > look. In either case, this type of usage isn't exactly supported by > MacPorts. You may find others who have performed similar hacks and > some help there; I know requests often come up for help in using the > system or 3rd party version of some library instead of the MacPorts > version. These are usually met with varying degrees of success. > > With the current MacPorts design, you'd be best off uninstalling > TexLive 2011 and using the MacPorts version. This is just for space > savings though. Overall, I don't think there should be any > compatibility issues in having both on your system. I think MacTex > even includes an application for switching which texlive installation > to use, and this includes support for selecting the MacPorts version. > Indeed, it's space I want to conserve on my relatively small SSD boot drive. It's the original MacTeX TeXLive 2011 installation I want to keep -- and NOT the MacPorts version. (Various reasons for that preference, including a very helpful GUI maintenance utility that's part of MacTeX.) -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305 From arno at alum.wpi.edu Wed Apr 18 10:42:53 2012 From: arno at alum.wpi.edu (Arno Hautala) Date: Wed, 18 Apr 2012 13:42:53 -0400 Subject: How remove port info but not installed files? In-Reply-To: <4F8EFA3E.1080007@gmail.com> References: <4F8EE548.2090001@gmail.com> <4F8EFA3E.1080007@gmail.com> Message-ID: On 2012-04-18, Murray Eisenberg wrote: > > Indeed, it's space I want to conserve on my relatively small SSD boot drive. > > It's the original MacTeX TeXLive 2011 installation I want to keep -- and > NOT the MacPorts version. > > (Various reasons for that preference, including a very helpful GUI > maintenance utility that's part of MacTeX.) In that case, your best bet is to uninstall the texlive and asymptote ports and either compile it yourself, see if you can get one of the precompiled binaries to work, or install it with homebrew (not recommended; due to how homebrew installs into /usr/local, this could cause problems with your MacPorts install). You could also try altering the Asymptote Portfile to not depend on texlive. I'm not sure how extensive these changes would have to be. -- arno s hautala /-| arno at alum.wpi.edu pgp b2c9d448 From ryandesign at macports.org Wed Apr 18 10:49:39 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 18 Apr 2012 12:49:39 -0500 Subject: How remove port info but not installed files? In-Reply-To: <4F8EFA3E.1080007@gmail.com> References: <4F8EE548.2090001@gmail.com> <4F8EFA3E.1080007@gmail.com> Message-ID: <80D97406-615C-47DF-A81A-9E1AB6BF702E@macports.org> On Apr 18, 2012, at 12:30, Murray Eisenberg wrote: > Indeed, it's space I want to conserve on my relatively small SSD boot drive. > > It's the original MacTeX TeXLive 2011 installation I want to keep -- and NOT the MacPorts version. > > (Various reasons for that preference, including a very helpful GUI maintenance utility that's part of MacTeX.) Then simply "sudo port uninstall" the ports you don't want to have installed. Also, separate from that, you could do some housekeeping in /opt/local/var/macports/distfiles, ranging from deleting old files, to deleting files of ports you don't believe you'll need to reinstall again, to deleting all files. distfiles are only needed when installing a port, and are no longer needed after a port has been installed. From phildobbin at gmail.com Wed Apr 18 10:55:30 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 18 Apr 2012 18:55:30 +0100 Subject: How remove port info but not installed files? In-Reply-To: References: <4F8EE548.2090001@gmail.com> <4F8EFA3E.1080007@gmail.com> Message-ID: <4F8F0012.4040004@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/04/2012 18:42, Arno Hautala wrote: > On 2012-04-18, Murray Eisenberg wrote: >> >> Indeed, it's space I want to conserve on my relatively small SSD boot drive. >> >> It's the original MacTeX TeXLive 2011 installation I want to keep -- and >> NOT the MacPorts version. >> >> (Various reasons for that preference, including a very helpful GUI >> maintenance utility that's part of MacTeX.) > > In that case, your best bet is to uninstall the texlive and asymptote > ports and either compile it yourself, see if you can get one of the > precompiled binaries to work, or install it with homebrew (not > recommended; due to how homebrew installs into /usr/local, this could > cause problems with your MacPorts install). > > You could also try altering the Asymptote Portfile to not depend on > texlive. I'm not sure how extensive these changes would have to be. Asymptote can be fetched with tlmgr from within texlive 2011 if it is not installed already. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPjwAQAAoJEKpMeDHWT5ADfysIANM+Olnco1M0ojRtPVA+Oyv3 N63wFO/piHLpEkaPsAIPH+JqhTd2ltOKJGbWnY7PgbuhXavMZsoaCaIzFO3ELh1U z85JLjJ7DPBc/9hs6/gUuWeNCw6Zk+XocOL8k6cUTwAEIrDx5s09r3sVdcYXi2FS AJLG1+tLpp9ktPha9RlJTNKq8DrDeiNHgqQAhXh78YOP2h9+/KYRC8JQPR8hHbxs hyDBYaNb6XMDz0TKq8mwoVnUhD6UrRe+yUbB/NlTWS+ShdwlKCEE7kZFOs8h36rS pWBG2FikxzE4N+oMuaTUIvSZ2Ks5es2MnJtxzfZAbSNeOKIpXdvF1d3Gr1mwiSk= =59Q2 -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From admin at xunan.info Wed Apr 18 11:03:42 2012 From: admin at xunan.info (=?gb18030?B?0O3pqg==?=) Date: Thu, 19 Apr 2012 02:03:42 +0800 Subject: Xcode 4.3.2 macports requirement Message-ID: first of all,i'm a chinese guy from mainland china,and please forgive my poor english. i've installed the newest version of macports,and i use a hactonish.here is someinformation about my pc. mac os x lion 10.7.3 xcode 4.3.? installed from mac app store i've installed openvpn via macports ,but when i tried to install wine,error returned from command line Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild -version'). Error: Target org.macports.extract returned: unable to find Xcode Error: Failed to install cairo i runned xcodebuild nanimac:~ xunan$ /usr/bin/xcodebuild -version Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path. then nanimac:~ xunan$ /usr/bin/xcode-select -version xcode-select version 2307. so i replaced xcodebuild with xcode-select , and run sudo port install wine again, it said that maybe i would update my xcode ,at this time ,i've no idea about what should i do,can you help me ? please write back soon,and thanks a lot -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy at lavergne.gotdns.org Wed Apr 18 11:07:18 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 18 Apr 2012 14:07:18 -0400 Subject: Xcode 4.3.2 macports requirement In-Reply-To: References: Message-ID: > nanimac:~ xunan$ /usr/bin/xcodebuild -version > Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path. > > then > nanimac:~ xunan$ /usr/bin/xcode-select -version > xcode-select version 2307. > > so i replaced xcodebuild with xcode-select , and run sudo port install wine again, it said that maybe i would update my xcode ,at this time ,i've no idea about what should i do,can you help me ? Revisit xcode-select and check which path it's using (xcode-select -print-path). See: https://trac.macports.org/wiki/ProblemHotlist#xcode-select -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From ryandesign at macports.org Wed Apr 18 11:16:17 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 18 Apr 2012 13:16:17 -0500 Subject: Xcode 4.3.2 macports requirement In-Reply-To: References: Message-ID: On Apr 18, 2012, at 13:03, ?? wrote: > first of all,i'm a chinese guy from mainland china,and please forgive my poor english. > > i've installed the newest version of macports,and i use a hactonish.here is someinformation about my pc. > > mac os x lion 10.7.3 > xcode 4.3.? installed from mac app store > > i've installed openvpn via macports ,but when i tried to install wine,error returned from command line > > Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild -version'). > Error: Target org.macports.extract returned: unable to find Xcode > Error: Failed to install cairo > > i runned xcodebuild > > nanimac:~ xunan$ /usr/bin/xcodebuild -version > Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path. > > then > nanimac:~ xunan$ /usr/bin/xcode-select -version > xcode-select version 2307. > > so i replaced xcodebuild with xcode-select Maybe I'm misunderstanding you, but if you're saying that you replaced the xcodebuild program with a copy of the xcode-select program, meaning both programs are now the same program, then you shouldn't have done that. xcodebuild and xcode-select are two different programs; you need both of them. So if that's what you did, then you should restore from your backups or reinstall Xcode. Once that's done, use xcode-select to select the proper developer directory. See: https://trac.macports.org/wiki/ProblemHotlist#xcode-select From admin at xunan.info Wed Apr 18 13:04:37 2012 From: admin at xunan.info (=?gb18030?B?0O3pqg==?=) Date: Thu, 19 Apr 2012 04:04:37 +0800 Subject: =?gb18030?B?u9i4tKO6IFhjb2RlIDQuMy4yIG1hY3BvcnRzIHJl?= =?gb18030?B?cXVpcmVtZW50?= Message-ID: i made it http://blog.justus-beyer.de/2012/02/after-xcode-update-to-4-3-xcodebuild-fails/ when i installer xcode via mac app store,there are no /Developer dir. although i lost origin file /usr/bin/xcodebuild , i runned sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer $cd /usr/bin , $sudo rm xcodebuild $ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild xcodebuild it works ha ,cheers ------------------ ???? ------------------ ???: "Ryan Schmidt"; ????: 2012?4?19?(???) ??2:16 ???: "??"; ??: "macports-users"; ??: Re: Xcode 4.3.2 macports requirement On Apr 18, 2012, at 13:03, ?? wrote: > first of all,i'm a chinese guy from mainland china,and please forgive my poor english. > > i've installed the newest version of macports,and i use a hactonish.here is someinformation about my pc. > > mac os x lion 10.7.3 > xcode 4.3.? installed from mac app store > > i've installed openvpn via macports ,but when i tried to install wine,error returned from command line > > Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild -version'). > Error: Target org.macports.extract returned: unable to find Xcode > Error: Failed to install cairo > > i runned xcodebuild > > nanimac:~ xunan$ /usr/bin/xcodebuild -version > Error: No developer directory found at /Developer. Run /usr/bin/xcode-select to update the developer directory path. > > then > nanimac:~ xunan$ /usr/bin/xcode-select -version > xcode-select version 2307. > > so i replaced xcodebuild with xcode-select Maybe I'm misunderstanding you, but if you're saying that you replaced the xcodebuild program with a copy of the xcode-select program, meaning both programs are now the same program, then you shouldn't have done that. xcodebuild and xcode-select are two different programs; you need both of them. So if that's what you did, then you should restore from your backups or reinstall Xcode. Once that's done, use xcode-select to select the proper developer directory. See: https://trac.macports.org/wiki/ProblemHotlist#xcode-select -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Wed Apr 18 13:07:06 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 18 Apr 2012 15:07:06 -0500 Subject: =?utf-8?Q?Re=3A_=E5=9B=9E=E5=A4=8D=EF=BC=9A_Xcode_4=2E3=2E2_macp?= =?utf-8?Q?orts_requirement?= In-Reply-To: References: Message-ID: <4410512A-6E0D-4FA3-AD5F-BD5AEE358F57@macports.org> On Apr 18, 2012, at 15:04, ?? wrote: > it works ha ,cheers Great, glad you got it working. From jonesc at hep.phy.cam.ac.uk Wed Apr 18 13:17:22 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Wed, 18 Apr 2012 21:17:22 +0100 Subject: Xcode 4.3.2 macports requirement In-Reply-To: References: Message-ID: <0942E14F-EA83-43E7-84B6-AC74D2ADA634@hep.phy.cam.ac.uk> > i use a hactonish. I think that is enough reason to ignore you. Sorry. get a legal Mac and come back?. Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From macintosh at mathiesen.info Wed Apr 18 15:39:56 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Thu, 19 Apr 2012 00:39:56 +0200 Subject: apache 2.4 Message-ID: <4F8F42BC.1020003@mathiesen.info> Apache 2.4.1 was released on 21/02-2012 What's the status on supporting it in MacPorts ? -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From ryandesign at macports.org Wed Apr 18 15:46:42 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 18 Apr 2012 17:46:42 -0500 Subject: apache 2.4 In-Reply-To: <4F8F42BC.1020003@mathiesen.info> References: <4F8F42BC.1020003@mathiesen.info> Message-ID: On Apr 18, 2012, at 17:39, Bjarne D Mathiesen wrote: > Apache 2.4.1 was released on 21/02-2012 > What's the status on supporting it in MacPorts ? I was not aware it was available, so thanks for letting us know. I guess the apache2 port's livecheck needs adjustment. Looks like 2.4.2 was released yesterday. I wonder if I can just update the apache2 port or if this will cause problems. I don't know what's different in 2.4.x. From dports at macports.org Wed Apr 18 16:02:06 2012 From: dports at macports.org (Dan Ports) Date: Wed, 18 Apr 2012 16:02:06 -0700 Subject: How remove port info but not installed files? In-Reply-To: References: <4F8EE548.2090001@gmail.com> <4F8EFA3E.1080007@gmail.com> Message-ID: <20120418230205.GA23794@ambulatoryclam.net> On Wed, Apr 18, 2012 at 01:42:53PM -0400, Arno Hautala wrote: > You could also try altering the Asymptote Portfile to not depend on > texlive. I'm not sure how extensive these changes would have to be. It's possible to get some ports to use your existing MacTeX install by adding /usr/texbin to your binpath in /opt/local/etc/macports.conf Unfortunately, asymptote is not one of those ports. It needs to install some tex style files, and those will only be installed for the MacPorts texlive installlation. (It doesn't seem like a good idea to try to install them for a non-MacPorts install outside of $PREFIX...) Dan -- Dan R. K. Ports MIT CSAIL http://drkp.net/ From macintosh at mathiesen.info Wed Apr 18 16:13:56 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Thu, 19 Apr 2012 01:13:56 +0200 Subject: dovecot2 Message-ID: <4F8F4AB4.8020005@mathiesen.info> dovecot 2.1.1 was released on 23/02-2012 current version 2.1.4 dovecot 2.0.20 was released on 09/04-2012 What's the status on releasing these in Macports ? -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From pixilla at macports.org Wed Apr 18 16:32:46 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Wed, 18 Apr 2012 16:32:46 -0700 Subject: dovecot2 In-Reply-To: <4F8F4AB4.8020005@mathiesen.info> References: <4F8F4AB4.8020005@mathiesen.info> Message-ID: <47794CBE-D3D2-494A-A6E2-332031F1763E@macports.org> On Apr 18, 2012, at 4:13 PM, Bjarne D Mathiesen wrote: > dovecot 2.1.1 was released on 23/02-2012 current version 2.1.4 > dovecot 2.0.20 was released on 09/04-2012 > > What's the status on releasing these in Macports ? dovecot2 https://trac.macports.org/changeset/92110 dovecot2-sieve https://trac.macports.org/changeset/92111 Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From pixilla at macports.org Wed Apr 18 16:43:43 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Wed, 18 Apr 2012 16:43:43 -0700 Subject: dovecot2 In-Reply-To: <4F8F4AB4.8020005@mathiesen.info> References: <4F8F4AB4.8020005@mathiesen.info> Message-ID: <2BBA9C2A-2415-4409-A548-487E873E1716@macports.org> On Apr 18, 2012, at 4:13 PM, Bjarne D Mathiesen wrote: > dovecot 2.1.1 was released on 23/02-2012 current version 2.1.4 > dovecot 2.0.20 was released on 09/04-2012 > > What's the status on releasing these in Macports ? dovecot2 version 2.1.4 https://trac.macports.org/changeset/92110 dovecot2-sieve version 0.3.0 https://trac.macports.org/changeset/92111 dovecot2-antispam version hg.5e8351bcfb29 https://trac.macports.org/changeset/92112 Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From jasperfrumau at gmail.com Wed Apr 18 17:12:37 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Thu, 19 Apr 2012 07:12:37 +0700 Subject: Tor && Vidalia Ports In-Reply-To: References: Message-ID: It is not owned by root: $ pwd /opt/local/etc/privoxy $ ls -l | grep config -rw-rw---- 1 privoxy privoxy 57805 Apr 16 10:00 config -rw-rw---- 1 root admin 57805 Apr 16 10:00 config.mp_backup -rw-rw---- 1 privoxy privoxy 57805 Apr 19 07:03 config.new but by privoxy $ id privoxy uid=507(privoxy) gid=506(privoxy) groups=506(privoxy),101(com.apple.sharepoint.group.1),402(com.apple.sharepoint.group.2),61(localaccounts),12(everyone) and using sudo I still see an empty config file. Privoxy user belongs to the group privoxy. Perhaps I as the general user do not, even with sudo...?! On Thu, Apr 19, 2012 at 4:02 AM, Daniel Ericsson wrote: > On 17 apr 2012, at 10:12, Jasper Frumau wrote: > > I saw at http://www.privoxy.org/faq/misc.html#TOR how I can configure the > config file to forward calls to tor by uncommenting > > # forward-socks5 / 127.0.0.1:9050 . > > in the file config. But the config file in /opt/local/etc/privoxy seems to > be empty . So is config.new . Is this a MacPorts config setup or am I > looking in the wrong location? > > > My /opt/local/etc/privoxy/config.new is full of parameters and > documentation, the file is probably owned by root so are you sure you > opened it with full privileges? > > -- Daniel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From murrayeisenberg at gmail.com Wed Apr 18 17:13:55 2012 From: murrayeisenberg at gmail.com (Murray Eisenberg) Date: Wed, 18 Apr 2012 20:13:55 -0400 Subject: How remove port info but not installed files? In-Reply-To: <20120418230205.GA23794@ambulatoryclam.net> References: <4F8EE548.2090001@gmail.com> <4F8EFA3E.1080007@gmail.com> <20120418230205.GA23794@ambulatoryclam.net> Message-ID: <4F8F58C3.1000002@gmail.com> On 4/18/12 7:02 PM, Dan Ports wrote: > On Wed, Apr 18, 2012 at 01:42:53PM -0400, Arno Hautala wrote: >> You could also try altering the Asymptote Portfile to not depend on >> texlive. I'm not sure how extensive these changes would have to be. > > It's possible to get some ports to use your existing MacTeX install by > adding /usr/texbin to your binpath in /opt/local/etc/macports.conf > > Unfortunately, asymptote is not one of those ports. It needs to install > some tex style files, and those will only be installed for the MacPorts > texlive installlation. (It doesn't seem like a good idea to try to > install them for a non-MacPorts install outside of $PREFIX...) I was able to uninstall the MacPorts ports of both texlive and asymptote without apparently any damage to the standard MacTeX configuration of TeXLive 2011. That left all the asymptote TeX support files in place in the latter. Then I was able to build asymptote from downloaded source, following instructions at http://www.tug.org/texlive/build.html#asymptote. -- Murray Eisenberg murrayeisenberg at gmail.com 80 Fearing Street phone 413 549-1020 (H) Amherst, MA 01002-1912 From pixilla at macports.org Wed Apr 18 17:30:25 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Wed, 18 Apr 2012 17:30:25 -0700 Subject: How remove port info but not installed files? In-Reply-To: <4F8F58C3.1000002@gmail.com> References: <4F8EE548.2090001@gmail.com> <4F8EFA3E.1080007@gmail.com> <20120418230205.GA23794@ambulatoryclam.net> <4F8F58C3.1000002@gmail.com> Message-ID: On Apr 18, 2012, at 5:13 PM, Murray Eisenberg wrote: > On 4/18/12 7:02 PM, Dan Ports wrote: >> On Wed, Apr 18, 2012 at 01:42:53PM -0400, Arno Hautala wrote: >>> You could also try altering the Asymptote Portfile to not depend on >>> texlive. I'm not sure how extensive these changes would have to be. >> >> It's possible to get some ports to use your existing MacTeX install by >> adding /usr/texbin to your binpath in /opt/local/etc/macports.conf >> >> Unfortunately, asymptote is not one of those ports. It needs to install >> some tex style files, and those will only be installed for the MacPorts >> texlive installlation. (It doesn't seem like a good idea to try to >> install them for a non-MacPorts install outside of $PREFIX...) > > I was able to uninstall the MacPorts ports of both texlive and asymptote without apparently any damage to the standard MacTeX configuration of TeXLive 2011. > > That left all the asymptote TeX support files in place in the latter. Then I was able to build asymptote from downloaded source, following instructions at http://www.tug.org/texlive/build.html#asymptote. You mentioned disk space was small. $ man port /leaves /clean You can remove work files, distfiles and logs with something like this: $ sudo port clean --all installed or $ sudo port clean --all all You can uninstalled installed ports that are unrequested and have no dependents. $ port echo leaves $ port uninstall leaves Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From allbery.b at gmail.com Wed Apr 18 18:03:44 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Wed, 18 Apr 2012 21:03:44 -0400 Subject: apache 2.4 In-Reply-To: References: <4F8F42BC.1020003@mathiesen.info> Message-ID: On Wed, Apr 18, 2012 at 18:46, Ryan Schmidt wrote: > On Apr 18, 2012, at 17:39, Bjarne D Mathiesen wrote: > > Apache 2.4.1 was released on 21/02-2012 > > What's the status on supporting it in MacPorts ? > > I was not aware it was available, so thanks for letting us know. I guess > the apache2 port's livecheck needs adjustment. Looks like 2.4.2 was > released yesterday. I wonder if I can just update the apache2 port or if > this will cause problems. I don't know what's different in 2.4.x. Apparently it breaks (almost) all plugins (new API/ABI), from what I have been hearing. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Wed Apr 18 18:09:01 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 18 Apr 2012 20:09:01 -0500 Subject: apache 2.4 In-Reply-To: References: <4F8F42BC.1020003@mathiesen.info> Message-ID: <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> On Apr 18, 2012, at 20:03, Brandon Allbery wrote: > On Wed, Apr 18, 2012 at 18:46, Ryan Schmidt wrote: >> On Apr 18, 2012, at 17:39, Bjarne D Mathiesen wrote: >> > Apache 2.4.1 was released on 21/02-2012 >> > What's the status on supporting it in MacPorts ? >> >> I was not aware it was available, so thanks for letting us know. I guess the apache2 port's livecheck needs adjustment. Looks like 2.4.2 was released yesterday. I wonder if I can just update the apache2 port or if this will cause problems. I don't know what's different in 2.4.x. > > Apparently it breaks (almost) all plugins (new API/ABI), from what I have been hearing. I just read in their notes that all plugins must be recompiled, and that only a few source changes might be required. But I have not tried it. If anyone tries 2.4.2, let me know the results. From jam at tigger.ws Wed Apr 18 18:18:14 2012 From: jam at tigger.ws (James Linder) Date: Thu, 19 Apr 2012 09:18:14 +0800 Subject: Which version of "Wine", or am I on the wrong track? In-Reply-To: References: Message-ID: <2CE098FF-F083-4489-9F84-B6434464F68C@tigger.ws> On 18/04/2012, at 10:00 PM, macports-users-request at lists.macosforge.org wrote: >>>> On Apr 15, 2012, at 10:56 AM, Michael_google gmail_Gersten wrote: >>>>> I am not sure which version of Wine to install from Macports (there >>>>> are three), or if this is even the right approach for what I want to >>>>> do. >>>>> >>>>> The goal: Edit a "movie" (screen recording), from the view that 80-90% >>>>> of what I recorded will be tossed. >>>>> iMovie is a failure (as far as I can tell) as selecting sections and >>>>> removing them. >>>> >>>> Pretty sure you can cut frames with iMovie. >> >> I am completely unable to manage selecting frames and deleting them >> with iMovie. Maybe there's a trick that I don't know. >> >> Things/commands/keystrokes behave differently when there is a >> selection inside the current clip and when there is not. >> Things behave differently when you are working with a clip in a >> project vs an event clip. >> I cannot find a way to adjust the left/right ends of a selection >> without simply moving the selection -- the length of the selection >> does not change when I try to adjust the start or end point of a >> selection. >> >> I want to be able to say "This selection is what I want to toss", and >> at other times "This selection is what I want to keep". > > Not reallly how iMovie works. > > What you need to do is just insert 'cuts'. > > Say the following is your video: > > ------------------------------------------ > > Now say you want to remove a chunk in there, you would just 'cut' it in > front of band behind where you want, effectively making 3 separate videos > that are now strung together. > > ----------|------------|------------------ > > Now just click on the middle section and remove it > > Video editing is a little different mind-set from editing pretty much > anything else. Think of your video as a long section of tape, or even > film. If you want to remove frames from a section of film, you cut on > either side of it and remove it, then splice the two ends together. > Since you're all digital now, the splicing is automatic, even giving you > the chance to add a transition for dramatic effect. > > It's been a while since I've done anything in iMovie, but that's the > gist of it. > > But now we're way off topic for this list. :) But THAT is what I like about avidemux, a video editor for bears of little brain (Winnie thur Poo, AA Milne) C V (maybe c for Mac, I don't recall) etc obvious usage with none of this timeline nonsense. James From richard.delaurell at gmail.com Wed Apr 18 18:42:50 2012 From: richard.delaurell at gmail.com (Richard DeLaurell) Date: Wed, 18 Apr 2012 20:42:50 -0500 Subject: OpenAL framework stops kdegames4 upgrade Message-ID: For the past several upgrades the only way to get kdegames4 to successfully install has been to remove the OpenAL folder from my /Library/Frameworks folder while it builds. As a result I do not have sound in any of the kdegames. I tried looking through the old ticket reports, but can not find any explanation. It is not a critical problem, but I would appreciate if someone could tell me if this is fixable and how to do so. Thank you. Richard DeLaurell Snow Leopard 10.6.8; MacPorts 2.0.4 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ram at macports.org Wed Apr 18 18:56:38 2012 From: ram at macports.org (Adam Mercer) Date: Wed, 18 Apr 2012 20:56:38 -0500 Subject: Using MacPorts Python packages in different Python In-Reply-To: <210C080F-EAEB-461A-9D9D-89CBD6B814A0@macports.org> References: <7D7EB574-A0BE-49CF-840A-AEEA3DE44E45@macports.org> <210C080F-EAEB-461A-9D9D-89CBD6B814A0@macports.org> Message-ID: On Tue, Apr 17, 2012 at 14:17, Frank Schima wrote: > py-numpy and py-scipy have atlas variants which use the atlas port instead > of the Accelerate framework. The atlas port does tune to your processor. > Have you tried that? I have Cc'ed Adam, the maintainer of these ports, if he > could comment on their performance with the atlas variant? Maybe the Intel > MKL libraries could be added as a variant? Personally I don't use the atlas variant as I've found it causes a lot of build problems. I find the Accelerate framework fast enough for my needs, but my codes aren't that processor intensive. If someone wanted to add an MKL variant I'd be willing to accept it providing they were willing to support it. Cheers Adam From imgeorgelin at gmail.com Wed Apr 18 19:50:08 2012 From: imgeorgelin at gmail.com (imgeorgelin) Date: Wed, 18 Apr 2012 19:50:08 -0700 (PDT) Subject: Override default Application install location? Message-ID: <33711824.post@talk.nabble.com> I had been a regular, happy user until I tried to install Virtualbox on my iMac running 10.7.3 Lion. The installation of VB itself via Macports went smoothly. But when I tried to install an extension pack downloaded from VB site, I failed because apparently the extension tried to reference a library stored in /Applications/VirtualBox.app/... but by default, Macports installed it in /Applications/Macports/VirtualBox.app/.... So my question is: Can I override the default, say, append something lime "--with-application-dir=..." after the usual "port install virtualbox", so that the final app would be installed in /Applications/? I don't want to change the global settings in macports.conf. And the extension pack is not a port in macports otherwise it would have worked. Thanks! -- View this message in context: http://old.nabble.com/Override-default-Application-install-location--tp33711824p33711824.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From senny.share at gmail.com Wed Apr 18 19:52:54 2012 From: senny.share at gmail.com (Senny Chu) Date: Thu, 19 Apr 2012 10:52:54 +0800 Subject: No subject Message-ID: <91312897-3098-445D-B00B-2DAC5B5F98B8@gmail.com> From jeremy at lavergne.gotdns.org Wed Apr 18 20:22:24 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 18 Apr 2012 23:22:24 -0400 Subject: OpenAL framework stops kdegames4 upgrade In-Reply-To: References: Message-ID: > For the past several upgrades the only way to get kdegames4 to successfully install has been to remove the OpenAL folder from my /Library/Frameworks folder while it builds. As a result I do not have sound in any of the kdegames. > > I tried looking through the old ticket reports, but can not find any explanation. > > It is not a critical problem, but I would appreciate if someone could tell me if this is fixable and how to do so. It's fixable in the sense that eventually kdegames4 will be instructed to ignore your /Library frameworks. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From darylew at mac.com Wed Apr 18 21:19:07 2012 From: darylew at mac.com (Daryle Walker) Date: Thu, 19 Apr 2012 00:19:07 -0400 Subject: Still can't get Apple-GCC 4.2 to build on my Tiger/PowerPC/32-bit system References: <056FCD14-3A81-45AE-8C16-50BFA495D8E1@macports.org> Message-ID: <877C406B-6074-4391-A19F-4BC1F6A4949E@mac.com> These quoted messages are from private e-mails. > On Apr 18, 2012, at 15:40, Daryle Walker wrote: > >> On Apr 15, 2012, at 12:15 PM, Ryan Schmidt wrote: >> >>> On Apr 15, 2012, at 02:36, Daryle Walker wrote: >>> >>>> On Apr 8, 2012, at 10:34 PM, macports-users- >>>> owner at lists.macosforge.org wrote: >>>> >>>>> The problem you are reporting is already known. See: >>>>> >>>>> https://trac.macports.org/ticket/33939" >>>> >>>> So, would I have to switch MacPorts to use the Subversion >>>> (instead of my current standard install) to take advantage of >>>> the fix in r91793, or will the fix bubble up for all users? Do >>>> I have to apply some fix to the MacPorts directories (clean?) >>>> before I can safely update? >>> >>> Fixes to ports are available to all users automatically within 30 >>> minutes. Just "sudo port selfupdate" to get it, then you should >>> be able to clean and install apple-gcc42. >> >> I did "clean apple-gcc42", "selfupdate", then "updated outdated", >> so.... >> >> Well, it still didn't work. It reported an error, and said it was >> in the log file, but this time I can't parse out where the error >> notice is in the file. I didn't even want this program; some >> other program just added it as a dependency, and I still don't >> know which one. And is it safe to add a system compiler later >> that your built-in one (Apple-GCC 4.0.1 in my case)? >> >> Here's the (new) log for the apple-gcc42 build, if it's not too big: > > I looked at your log and it looks like a new problem to me. Please > file a bug report in the issue tracker. Added as ticket #34122 ("Apple-GCC 4.2 doesn't build") . From jasperfrumau at gmail.com Thu Apr 19 00:00:18 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Thu, 19 Apr 2012 14:00:18 +0700 Subject: Tor && Vidalia Ports In-Reply-To: References: Message-ID: Never mind. sudo cat config and sudo gedit config did work. Somehow TextMate showed me a blank file, even when I was using sudo mate config . Not sure yet why. But I can edit the file using gedit On Thu, Apr 19, 2012 at 7:12 AM, Jasper Frumau wrote: > It is not owned by root: > > > $ pwd > /opt/local/etc/privoxy > $ ls -l | grep config > -rw-rw---- 1 privoxy privoxy 57805 Apr 16 10:00 config > -rw-rw---- 1 root admin 57805 Apr 16 10:00 config.mp_backup > -rw-rw---- 1 privoxy privoxy 57805 Apr 19 07:03 config.new > > but by privoxy > > $ id privoxy > uid=507(privoxy) gid=506(privoxy) > groups=506(privoxy),101(com.apple.sharepoint.group.1),402(com.apple.sharepoint.group.2),61(localaccounts),12(everyone) > > and using sudo I still see an empty config file. Privoxy user belongs to > the group privoxy. Perhaps I as the general user do not, even with sudo...?! > > > > > On Thu, Apr 19, 2012 at 4:02 AM, Daniel Ericsson wrote: > >> On 17 apr 2012, at 10:12, Jasper Frumau wrote: >> >> I saw at http://www.privoxy.org/faq/misc.html#TOR how I can configure >> the config file to forward calls to tor by uncommenting >> >> # forward-socks5 / 127.0.0.1:9050 . >> >> in the file config. But the config file in /opt/local/etc/privoxy seems >> to be empty . So is config.new . Is this a MacPorts config setup or am I >> looking in the wrong location? >> >> >> My /opt/local/etc/privoxy/config.new is full of parameters and >> documentation, the file is probably owned by root so are you sure you >> opened it with full privileges? >> >> -- Daniel >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From iandw.au at gmail.com Thu Apr 19 00:55:01 2012 From: iandw.au at gmail.com (Ian Wadham) Date: Thu, 19 Apr 2012 17:55:01 +1000 Subject: OpenAL framework stops kdegames4 upgrade In-Reply-To: References: Message-ID: FYI, KDE Games in KDE 4.9 development is progressively switching to a new KgSound class in libkdegames. This class uses OpenAL and libsndfile, if the latter is found in a version that can load .ogg files, otherwise KgSound falls back to Phonon (but there has been a history of problems with Phonon playing short sounds in time with game actions). In port kdegames4 @4.8.1, I think only KGoldrunner and Granatier are using OpenAL, but some other games have had performance problems reported re the latest Phonon and GStreamer backend (e.g. heavy CPU usage and slow response). OpenAL is definitely the weapon of choice if you want to have sounds in KDE Games. On 19/04/2012, at 1:22 PM, Jeremy Lavergne wrote: >> For the past several upgrades the only way to get kdegames4 to successfully install has been to remove the OpenAL folder from my /Library/Frameworks folder while it builds. As a result I do not have sound in any of the kdegames. >> >> I tried looking through the old ticket reports, but can not find any explanation. >> >> It is not a critical problem, but I would appreciate if someone could tell me if this is fixable and how to do so. > > It's fixable in the sense that eventually kdegames4 will be instructed to ignore your /Library frameworks. Cheers, Ian W. From allbery.b at gmail.com Thu Apr 19 01:39:36 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Thu, 19 Apr 2012 04:39:36 -0400 Subject: Tor && Vidalia Ports In-Reply-To: References: Message-ID: On Thu, Apr 19, 2012 at 03:00, Jasper Frumau wrote: > Never mind. sudo cat config and sudo gedit config did work. Somehow > TextMate showed me a blank file, even when I was using sudo mate config . > Not sure yet why. But I can edit the file using gedit At a guess, "mate" just sends AppleEvents to the real editor instance; you would have to run that as root. But I'd not be surprised to find that TextMate has inside itself some kind of "edit file as root" mechanism. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From macports-ml at seichter.de Thu Apr 19 02:48:23 2012 From: macports-ml at seichter.de (Ralph Seichter) Date: Thu, 19 Apr 2012 11:48:23 +0200 Subject: apache 2.4 In-Reply-To: References: <4F8F42BC.1020003@mathiesen.info> Message-ID: <4F8FDF67.1090509@seichter.de> On 19.04.12 00:46, Ryan Schmidt wrote: > I wonder if I can just update the apache2 port or if this will cause > problems. I did some tests, and found that Subversion 1.7.4 does not compile against Apache 2.4.2. This is not MacPorts-specific, though. -Ralph From sierkb at gmx.de Thu Apr 19 03:03:08 2012 From: sierkb at gmx.de (sierkb at gmx.de) Date: Thu, 19 Apr 2012 12:03:08 +0200 Subject: apache 2.4 In-Reply-To: <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> Message-ID: <152AE36A-B053-409B-9F10-8A24B9BEF920@gmx.de> Am 19.04.2012 um 03:09 schrieb Ryan Schmidt: >> >> Apparently it breaks (almost) all plugins (new API/ABI), from what I have been hearing. > > I just read in their notes that all plugins must be recompiled, and that only a few source changes might be required. But I have not tried it. Apache.org: API Changes in Apache HTTP Server 2.4 since 2.2 http://httpd.apache.org/docs/trunk/developer/new_api_2_4.html Apache.org: API Changes in Apache HTTP Server 2.4 since 2.2: Specific information on upgrading modules from 2.2 http://httpd.apache.org/docs/trunk/developer/new_api_2_4.html#upgrading From hans at stare.cz Thu Apr 19 03:27:06 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 19 Apr 2012 12:27:06 +0200 Subject: How remove port info but not installed files? In-Reply-To: <4F8F58C3.1000002@gmail.com> <4F8EFA3E.1080007@gmail.com> <4F8EE548.2090001@gmail.com> Message-ID: <20120419102706.GA15929@www.stare.cz> On Apr 18 12:01:12, Murray Eisenberg wrote: > 1. Without using MacPorts, I directly installed TeXLive 2011 (as > part of MacTeX). > I didn't realize that that distribution included the source files > and build/install instructions for the asymptote application. So ... > > 2. I used MacPorts to install asymptote. > That automatically did a MacPorts install of texlive 2011 (which, > via #1, was already installed), on which it depended. > > Now I have apparently have a great deal of duplication from texlive > in general, and asymptote in particular On Apr 18 13:30:38, Murray Eisenberg wrote: > Indeed, it's space I want to conserve on my relatively small SSD boot drive. > > It's the original MacTeX TeXLive 2011 installation I want to keep -- > and NOT the MacPorts version. > > (Various reasons for that preference, including a very helpful GUI > maintenance utility that's part of MacTeX.) Well, do the right thing then: create a patch to texlive's Portfile to include this helpful utility in the texlive port :-) Then you can have it all via macports. From hans at stare.cz Thu Apr 19 03:29:58 2012 From: hans at stare.cz (Jan Stary) Date: Thu, 19 Apr 2012 12:29:58 +0200 Subject: Which version of "Wine", or am I on the wrong track? In-Reply-To: <2CE098FF-F083-4489-9F84-B6434464F68C@tigger.ws> References: <2CE098FF-F083-4489-9F84-B6434464F68C@tigger.ws> Message-ID: <20120419102957.GB15929@www.stare.cz> > >>>> On Apr 15, 2012, at 10:56 AM, Michael_google gmail_Gersten wrote: > >>>>> I am not sure which version of Wine to install from Macports (there > >>>>> are three), or if this is even the right approach for what I want to > >>>>> do. > >>>>> > >>>>> The goal: Edit a "movie" (screen recording), from the view that 80-90% > >>>>> of what I recorded will be tossed. I am pretty sure there are ways in MacOS itself to make and edit a screen recording; you most probably do not need to bring the whole wine monster to your system just to do that. From jeremy at lavergne.gotdns.org Thu Apr 19 05:05:33 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Thu, 19 Apr 2012 08:05:33 -0400 Subject: OpenAL framework stops kdegames4 upgrade In-Reply-To: References: Message-ID: <67F14FC1-A9C4-4940-BEBF-9D554896FA66@lavergne.gotdns.org> > FYI, KDE Games in KDE 4.9 development is progressively switching to a > new KgSound class in libkdegames. This class uses OpenAL and libsndfile, > if the latter is found in a version that can load .ogg files, otherwise KgSound > falls back to Phonon (but there has been a history of problems with Phonon > playing short sounds in time with game actions). > > In port kdegames4 @4.8.1, I think only KGoldrunner and Granatier are using > OpenAL, but some other games have had performance problems reported > re the latest Phonon and GStreamer backend (e.g. heavy CPU usage and > slow response). OpenAL is definitely the weapon of choice if you want to > have sounds in KDE Games. That's not the issue: the issue is he has libraries outside of MacPorts that are being pulled in. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From kmichael.aye at gmail.com Thu Apr 19 05:25:28 2012 From: kmichael.aye at gmail.com (K.-Michael Aye) Date: Thu, 19 Apr 2012 14:25:28 +0200 Subject: apple-gcc40 has no g++? Message-ID: Dear all, while apple-gcc42 contains a g++ driver/utility/frontend apple-gcc40 does not. Why is it missing there and would anybody know how I can come by a g++-4.0? Best regards, Michael From iandw.au at gmail.com Thu Apr 19 06:25:49 2012 From: iandw.au at gmail.com (Ian Wadham) Date: Thu, 19 Apr 2012 23:25:49 +1000 Subject: OpenAL framework stops kdegames4 upgrade In-Reply-To: <67F14FC1-A9C4-4940-BEBF-9D554896FA66@lavergne.gotdns.org> References: <67F14FC1-A9C4-4940-BEBF-9D554896FA66@lavergne.gotdns.org> Message-ID: On 19/04/2012, at 10:05 PM, Jeremy Lavergne wrote: >> FYI, KDE Games in KDE 4.9 development is progressively switching to a >> new KgSound class in libkdegames. This class uses OpenAL and libsndfile, >> if the latter is found in a version that can load .ogg files, otherwise KgSound >> falls back to Phonon (but there has been a history of problems with Phonon >> playing short sounds in time with game actions). >> >> In port kdegames4 @4.8.1, I think only KGoldrunner and Granatier are using >> OpenAL, but some other games have had performance problems reported >> re the latest Phonon and GStreamer backend (e.g. heavy CPU usage and >> slow response). OpenAL is definitely the weapon of choice if you want to >> have sounds in KDE Games. > > That's not the issue: the issue is he has libraries outside of MacPorts that are being pulled in. Well, I just wished to warn that the dependency of kdegames4 on OpenAL and any problems arising will increase as more games start to use it. But I do not understand why pulling in a library from outside Macports is necessarily an issue. Sound (with OpenAL) is working for me in KGoldrunner. I did: Tara:~>port search openal openal @1.3 (audio, devel) OpenAL is a cross-platform 3D audio API Tara:~>port installed | grep openal Tara:~>port installed | grep kdegames kdegames4 @4.7.4_0 kdegames4 @4.8.1_0 (active) So it seems sounds in kdegames4 are OK for me but I am not getting OpenAL from Macports. I am using Mac OS X Lion 10.7.2 and Macports 2.0.4. Puzzled, Ian W. From jeremy at lavergne.gotdns.org Thu Apr 19 06:32:28 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Thu, 19 Apr 2012 09:32:28 -0400 Subject: OpenAL framework stops kdegames4 upgrade In-Reply-To: References: <67F14FC1-A9C4-4940-BEBF-9D554896FA66@lavergne.gotdns.org> Message-ID: <93B4DD3E-B1B0-45EC-9454-2EF424D2E4D1@lavergne.gotdns.org> > Well, I just wished to warn that the dependency of kdegames4 on OpenAL > and any problems arising will increase as more games start to use it. > > But I do not understand why pulling in a library from outside Macports is necessarily > an issue. Sound (with OpenAL) is working for me in KGoldrunner. I did: > > Tara:~>port search openal > openal @1.3 (audio, devel) > OpenAL is a cross-platform 3D audio API > Tara:~>port installed | grep openal > Tara:~>port installed | grep kdegames > kdegames4 @4.7.4_0 > kdegames4 @4.8.1_0 (active) > > So it seems sounds in kdegames4 are OK for me but I am not getting OpenAL > from Macports. I am using Mac OS X Lion 10.7.2 and Macports 2.0.4. > > Puzzled, Ian W. The issue is a manually installed framework to /Library, which may be the wrong version/architecture/who knows what, differing from what KDE is expecting. We cannot trust it, and as we saw from earlier in the thread, there are already build issues with it. The issue isn't OpenAL itself; the issue is KDE is currently picking up that specific OpenAL framework in /Library when it definitely should not. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From macintosh at mathiesen.info Thu Apr 19 07:01:40 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Thu, 19 Apr 2012 16:01:40 +0200 Subject: apache 2.4 In-Reply-To: <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> Message-ID: <4F901AC4.70708@mathiesen.info> Ryan Schmidt wrote: > > I just read in their notes that all plugins must be recompiled, and that only a few source changes might be required. But I have not tried it. > > If anyone tries 2.4.2, let me know the results. Do we need a new apache24 port? I think that livecheck didn't pick 2.4 up is due to this being a major rewrite of the codebase. I think that we'll at least need to have 2.2 in macports until all plugins have been confirmed working. Apache has still got apache20, apache22 as legacy versions. -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From macintosh at mathiesen.info Thu Apr 19 07:09:47 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Thu, 19 Apr 2012 16:09:47 +0200 Subject: postfix & databases Message-ID: <4F901CAB.20401@mathiesen.info> It seems as if postfix could use mariadb and mysql55 variants ;-) -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From macintosh at mathiesen.info Thu Apr 19 07:22:55 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Thu, 19 Apr 2012 16:22:55 +0200 Subject: php5-mysql Message-ID: <4F901FBF.2020501@mathiesen.info> does anybody know whether mariadb just works with php5-mysql ??? -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From pixilla at macports.org Thu Apr 19 08:06:46 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Thu, 19 Apr 2012 08:06:46 -0700 Subject: php5-mysql In-Reply-To: <4F901FBF.2020501@mathiesen.info> References: <4F901FBF.2020501@mathiesen.info> Message-ID: On Apr 19, 2012, at 7:22 AM, Bjarne D Mathiesen wrote: > does anybody know whether mariadb just works with php5-mysql ??? Depends which php5-mysql variant is select. The php5-mysql mysqlnd variant (the default) has worked for me with any mysql I have attempted to connect to, so yes. The php5-mysql mysql5 variant has a depends_lib path dependency on bin/mysql_config5, and it looks like mariadb provides bin/mysql_config5, so yes. The php5-mysql mysql4 variant has a depends_lib port dependency on mysql4 which conflicts with the mariadb port, so no. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From phillip.koebbe at gmail.com Thu Apr 19 08:13:47 2012 From: phillip.koebbe at gmail.com (Phillip Koebbe) Date: Thu, 19 Apr 2012 10:13:47 -0500 Subject: php5-mysql In-Reply-To: <4F901FBF.2020501@mathiesen.info> References: <4F901FBF.2020501@mathiesen.info> Message-ID: <40F75DD6-FE1E-4220-BE59-671FFC9ACA49@gmail.com> On Apr 19, 2012, at 9:22 AM, Bjarne D Mathiesen wrote: > does anybody know whether mariadb just works with php5-mysql ??? > In addition to what Bradley provided, this is from http://kb.askmonty.org/en/mariadb-versus-mysql-compatibility For all practical purposes, MariaDB is a binary drop in replacement of the same MySQL version (for example MySQL 5.1 -> MariaDB 5.1, MariaDB 5.2 & MariaDB 5.3 are compatible. MySQL 5.5 will be compatible with MariaDB 5.5). What this means is that: - Data and table definition files (.frm) files are binary compatible. - All client APIs, protocols and structs are identical. - All filenames, binaries, paths, ports, sockets, and etc... should be the same. - All MySQL connectors (PHP, Perl, Python, Java, .NET, MyODBC, Ruby, MySQL C connector etc) work unchanged with MariaDB. - There are some installation issues with PHP5 that you should be aware of (a bug in how the old PHP5 client checks library compatibility). - The mysql-client package also works with MariaDB server. This means that for most cases, you can just uninstall MySQL and install MariaDB and you are good to go. (No need to convert any datafiles if you use same main version, like 5.1). From murrayeisenberg at gmail.com Thu Apr 19 08:28:57 2012 From: murrayeisenberg at gmail.com (Murray Eisenberg) Date: Thu, 19 Apr 2012 11:28:57 -0400 Subject: macports-users Digest, Vol 68, Issue 19 In-Reply-To: References: Message-ID: <4F902F39.5080408@gmail.com> On 4/19/12 10:01 AM, macports-users-request at lists.macosforge.org wrote: > Date: Wed, 18 Apr 2012 18:55:30 +0100 > From: Phil Dobbin > To:macports-users at lists.macosforge.org > Subject: Re: How remove port info but not installed files? > Message-ID:<4F8F0012.4040004 at gmail.com> > > Asymptote can be fetched with tlmgr from within texlive 2011 if it is > not installed already. All the asymptote TeX/LaTeX support files are already installed. The issue is that TeXLive 2011 does not include the compiled binary -- it explicitly says so in installation instructions, where it gives the commands to build it. Do you mean to say that tlmgr can automate building the binary? -- Murray Eisenberg murrayeisenberg at gmail.com 80 Fearing Street phone 413 549-1020 (H) Amherst, MA 01002-1912 From ryandesign at macports.org Thu Apr 19 09:25:41 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 19 Apr 2012 11:25:41 -0500 Subject: postfix & databases In-Reply-To: <4F901CAB.20401@mathiesen.info> References: <4F901CAB.20401@mathiesen.info> Message-ID: <4F2E0E82-9ACB-442F-B48B-8C2B57B5CB16@macports.org> On Apr 19, 2012, at 09:09, Bjarne D Mathiesen wrote: > It seems as if postfix could use mariadb and mysql55 variants ;-) All ports could use a mysql55 variant. We also want to rename mysql5 to mysql51; when we do that, we'll have to rename variants in all ports as well. Since mariadb is a drop-in replacement for mysql, we may want to architect the variants so that users can do this, without needing to select a specific mariadb variant. From ryandesign at macports.org Thu Apr 19 09:36:43 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 19 Apr 2012 11:36:43 -0500 Subject: apache 2.4 In-Reply-To: <4F901AC4.70708@mathiesen.info> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F901AC4.70708@mathiesen.info> Message-ID: <91445EB3-CAB4-465E-AFC3-0702C2140AFC@macports.org> On Apr 19, 2012, at 09:01, Bjarne D Mathiesen wrote: > Ryan Schmidt wrote: >> >> I just read in their notes that all plugins must be recompiled, and that only a few source changes might be required. But I have not tried it. >> >> If anyone tries 2.4.2, let me know the results. > > Do we need a new apache24 port? I'd rather not, if we can possibly avoid it. Doing so would imply that apache2 would have to be renamed to apache22 as well, and apache24, apache22 and apache20 can be installed simultaneously, which would require some reengineering of two or all three of those ports. We only added an apache20 port after the apache2 port was upgraded to version 2.2.x, because I believe one single module (a pre-compiled module, not in MacPorts) was not compatible with 2.2.x. That's no longer the case since some time so I think we could just delete the apache20 port. > I think that livecheck didn't pick 2.4 up is due to this being a major > rewrite of the codebase. It was not intentional that livecheck didn't pick this up, and I've already fixed the livecheck to pick it up. > I think that we'll at least need to have 2.2 in > macports until all plugins have been confirmed working. I have no immediate plans to update apache2 to 2.4.x. The only apache module I use is mod_dav_svn from subversion; since it's already been reported that that doesn't work, I plan to wait until at least that is resolved. Once we're ready to do so, I suggest we update apache2 to 2.4.x, rather than create a new apache24 port. If problems are reported with individual modules we can deal with them then. If necessary then, we can make a new apache22 port, but again I'd rather avoid that. Note the apache2 port is openmaintainer so if someone feels they know exactly what needs to be done to upgrade it and make this a smooth transition, go for it. > Apache has still got apache20, apache22 as legacy versions. I'm sure they do, but that doesn't necessarily dictate that that's what MacPorts should do. From ryandesign at macports.org Thu Apr 19 09:38:35 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 19 Apr 2012 11:38:35 -0500 Subject: OpenAL framework stops kdegames4 upgrade In-Reply-To: References: Message-ID: On Apr 18, 2012, at 20:42, Richard DeLaurell wrote: > For the past several upgrades the only way to get kdegames4 to successfully install has been to remove the OpenAL folder from my /Library/Frameworks folder while it builds. We don't support the use of MacPorts when you have things in /Library/Frameworks, so yes, that's what you should be doing. To simplify your life, you might consider removing everything you have there, and not putting it back. From ryandesign at macports.org Thu Apr 19 09:42:06 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 19 Apr 2012 11:42:06 -0500 Subject: Override default Application install location? In-Reply-To: <33711824.post@talk.nabble.com> References: <33711824.post@talk.nabble.com> Message-ID: On Apr 18, 2012, at 21:50, imgeorgelin wrote: > > I had been a regular, happy user until I tried to install Virtualbox on my > iMac running 10.7.3 Lion. > > The installation of VB itself via Macports went smoothly. But when I tried > to install an extension pack downloaded from VB site, I failed because > apparently the extension tried to reference a library stored in > /Applications/VirtualBox.app/... but by default, Macports installed it in > /Applications/Macports/VirtualBox.app/.... So my question is: > > Can I override the default, say, append something lime > "--with-application-dir=..." after the usual "port install virtualbox", so > that the final app would be installed in /Applications/? > > I don't want to change the global settings in macports.conf. And the > extension pack is not a port in macports otherwise it would have worked. When you say "an extension pack" to you mean "the extension pack"? I thought there was only one. I suggest you wait until we add the virtualbox extension pack to MacPorts: https://trac.macports.org/ticket/31180 To answer your question, yes, you can change the applications_dir, but you should make that decision when installing MacPorts for the first time, before having installed any ports. You would have to install MacPorts from source, instead of from the disk image, and you'd have to uninstall and reinstall all ports so they get installed to the right locations. Also note that if you change applications_dir (or prefix) this way, you will no longer be able to benefit from our pre-compiled binary service. From ryandesign at macports.org Thu Apr 19 09:43:05 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 19 Apr 2012 11:43:05 -0500 Subject: apple-gcc40 has no g++? In-Reply-To: References: Message-ID: <00B5EBEF-16BE-4C7F-A1C7-3F8BC208ABB8@macports.org> On Apr 19, 2012, at 07:25, K.-Michael Aye wrote: > while apple-gcc42 contains a g++ driver/utility/frontend apple-gcc40 does not. > Why is it missing there and would anybody know how I can come by a g++-4.0? I don't know. But why do you want such an old compiler? From dluke at geeklair.net Thu Apr 19 09:48:06 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Thu, 19 Apr 2012 12:48:06 -0400 Subject: apache 2.4 In-Reply-To: <91445EB3-CAB4-465E-AFC3-0702C2140AFC@macports.org> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F901AC4.70708@mathiesen.info> <91445EB3-CAB4-465E-AFC3-0702C2140AFC@macports.org> Message-ID: <3113A4F6-0231-46E7-A752-A338655F6ABC@geeklair.net> On Apr 19, 2012, at 12:36 PM, Ryan Schmidt wrote: > I have no immediate plans to update apache2 to 2.4.x. The only apache module I use is mod_dav_svn from subversion; since it's already been reported that that doesn't work, I plan to wait until at least that is resolved. It would be nice to see some details here (I'll maybe try building it when I get some time). I believe subversion version since something like 1.6.5 could build against apache 2.4 I don't personally use mod_dav_svn, so I haven't tried building it yet. -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From macports-ml at seichter.de Thu Apr 19 09:54:12 2012 From: macports-ml at seichter.de (Ralph Seichter) Date: Thu, 19 Apr 2012 18:54:12 +0200 Subject: apache 2.4 In-Reply-To: <3113A4F6-0231-46E7-A752-A338655F6ABC@geeklair.net> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F901AC4.70708@mathiesen.info> <91445EB3-CAB4-465E-AFC3-0702C2140AFC@macports.org> <3113A4F6-0231-46E7-A752-A338655F6ABC@geeklair.net> Message-ID: <4F904334.2080108@seichter.de> On 19.04.12 18:48, Daniel J. Luke wrote: > I believe subversion version since something like 1.6.5 could build > against apache 2.4 Apache 2.4 introduces some API changes. You'll see compile errors like these: subversion/mod_dav_svn/util.c: In function 'dav_svn__log_err': subversion/mod_dav_svn/util.c:630:20: error: 'dav_error' has no member named 'save_errno' subversion/mod_dav_svn/util.c:631:28: error: 'dav_error' has no member named 'save_errno' A patch has been discussed on the subversion users' mailing list in February 2012. -Ralph From dluke at geeklair.net Thu Apr 19 10:16:53 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Thu, 19 Apr 2012 13:16:53 -0400 Subject: apache 2.4 In-Reply-To: <4F904334.2080108@seichter.de> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F901AC4.70708@mathiesen.info> <91445EB3-CAB4-465E-AFC3-0702C2140AFC@macports.org> <3113A4F6-0231-46E7-A752-A338655F6ABC@geeklair.net> <4F904334.2080108@seichter.de> Message-ID: On Apr 19, 2012, at 12:54 PM, Ralph Seichter wrote: > On 19.04.12 18:48, Daniel J. Luke wrote: >> I believe subversion version since something like 1.6.5 could build >> against apache 2.4 > > Apache 2.4 introduces some API changes. You'll see compile errors like these: > > subversion/mod_dav_svn/util.c: In function 'dav_svn__log_err': > subversion/mod_dav_svn/util.c:630:20: error: 'dav_error' has no member named 'save_errno' > subversion/mod_dav_svn/util.c:631:28: error: 'dav_error' has no member named 'save_errno' > > A patch has been discussed on the subversion users' mailing list in > February 2012. looks like a tiny patch to util.c makes it build (save_errno -> aprerr). I haven't tested it though. You wouldn't happen to have a pointer to the upstream bug report for this? If it (or something like it) has been accepted upstream, it would be pretty straightforward to include it with macports, so we don't need to block apache2 from being upgraded. -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From ryandesign at macports.org Thu Apr 19 10:31:10 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 19 Apr 2012 12:31:10 -0500 Subject: Fwd: apple-gcc40 has no g++? References: Message-ID: <2EB51176-A0A4-4862-9A2F-C47873995812@macports.org> Forwarding reply back to list. Begin forwarded message: > From: Klaus-Michael Aye > Date: April 19, 2012 12:26:14 CDT > To: Ryan Schmidt > Subject: Re: apple-gcc40 has no g++? > > > On 19 Apr 2012, at 18:43, Ryan Schmidt wrote: > >> >> On Apr 19, 2012, at 07:25, K.-Michael Aye wrote: >> >>> while apple-gcc42 contains a g++ driver/utility/frontend apple-gcc40 does not. >>> Why is it missing there and would anybody know how I can come by a g++-4.0? >> >> I don't know. But why do you want such an old compiler? >> >> > The build process of visual for Mac states that one has to choose the gcc version that was used for the compilation of the Python version I am trying to build visual for. And EPD's 32-bit python was compiled with gcc 4.0.1 of Apple. > > > > From macports-ml at seichter.de Thu Apr 19 10:39:28 2012 From: macports-ml at seichter.de (Ralph Seichter) Date: Thu, 19 Apr 2012 19:39:28 +0200 Subject: apache 2.4 In-Reply-To: References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F901AC4.70708@mathiesen.info> <91445EB3-CAB4-465E-AFC3-0702C2140AFC@macports.org> <3113A4F6-0231-46E7-A752-A338655F6ABC@geeklair.net> <4F904334.2080108@seichter.de> Message-ID: <4F904DD0.1030202@seichter.de> On 19.04.12 19:16, Daniel J. Luke wrote: > looks like a tiny patch to util.c makes it build (save_errno -> aprerr). > I haven't tested it though. The best suggested patch (or rather code used in SVN trunk) I've seen so far is mentioned here: http://svn.haxx.se/dev/archive-2012-02/0537.shtml I'm not sure if there is a bug report officially associated with this. -Ralph From matt at geiman.org Thu Apr 19 10:56:34 2012 From: matt at geiman.org (Matt Geiman) Date: Thu, 19 Apr 2012 13:56:34 -0400 Subject: Macports Mirror Message-ID: Hello, I am working on creating a local repository of Macports for some clients that are off-line. I almost have it working perfectly, I only have one dilemma. Some packages, Openssl for instance, insist on being fetched from their actual homepage. In the case of Openssl, it tries to fetch the source from www.openssl.org instead of my local distfiles repository. I noticed it gets this information from the Openssl Port file. Is there any way to change this default behavior? Thanks, -Matt -- Matt Geiman matt at geiman.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From dluke at geeklair.net Thu Apr 19 11:32:47 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Thu, 19 Apr 2012 14:32:47 -0400 Subject: apache 2.4 In-Reply-To: References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F901AC4.70708@mathiesen.info> <91445EB3-CAB4-465E-AFC3-0702C2140AFC@macports.org> <3113A4F6-0231-46E7-A752-A338655F6ABC@geeklair.net> <4F904334.2080108@seichter.de> Message-ID: <0BA8ADCC-ED8E-4BFB-AE3C-D7AF545DB67B@geeklair.net> On Apr 19, 2012, at 1:16 PM, Daniel J. Luke wrote: > looks like a tiny patch to util.c makes it build (save_errno -> aprerr). I haven't tested it though. > > You wouldn't happen to have a pointer to the upstream bug report for this? If it (or something like it) has been accepted upstream, it would be pretty straightforward to include it with macports, so we don't need to block apache2 from being upgraded. I didn't find the bug report, but I did see where the change hit subversion HEAD. I imagine it will be in the next release. We can patch subversion in MacPorts so that it builds with apache 2.4 if/when the apache2 maintainer wants to update :) -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From m74z00219 at gmail.com Thu Apr 19 11:40:16 2012 From: m74z00219 at gmail.com (Chris Ramos) Date: Thu, 19 Apr 2012 13:40:16 -0500 Subject: port installation failing Message-ID: To whom it may concern, I'm considering the daunting task of removing macports due to frustration and time constraints. Frankly, I'm not even sure what I did wrong, but I recently found myself needing to reinstall octave. I was initially using the standalone package, but tossed it due to a failure to call gnuplot. So, I tossed the stand alone gnuplot and aquaterm as well. I believe that installing octave through macports would also make it automatically install gnuplot and aquaterm. I already had macports installed, but I tried to reinstall because I thought I had too due to updating xcode. However, I now use filevault, which means macports couldn't be installed in my user folder, which I think means I now have multiple copies of macports installed. When trying to install octave I get this: sudo port install octave-devel +gcc45 ---> Computing dependencies for gettext ---> Dependencies to be installed: ncurses ---> Activating ncurses @5.9_1 Error: Target org.macports.activate returned: Image error: /opt/local/bin/captoinfo is being used by the active ncursesw port. Please deactivate this port first, or use 'port -f activate ncurses' to force the activation. Error: Failed to install ncurses Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log Error: The following dependencies were not installed: ncurses Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade flex failed To report a bug, see I tried activating ncurses and got this: port -f activate ncurses Error: Insufficient privileges to write to MacPorts install prefix. I tried removing ncurses and I got this: ---> The following versions of ncurses are currently installed: ---> ncurses @5.7_0+darwin_10 ---> ncurses @5.9_1 Does anyone have any clue how to help me? Any help would be appreciated. Thanks, ABD -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Thu Apr 19 11:48:52 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 19 Apr 2012 13:48:52 -0500 Subject: port installation failing In-Reply-To: References: Message-ID: <7045AFC2-C577-4071-8F46-931F56934812@macports.org> On Apr 19, 2012, at 13:40, Chris Ramos wrote: > To whom it may concern, > > I'm considering the daunting task of removing macports due to frustration and time constraints. Frankly, I'm not even sure what I did wrong, but I recently found myself needing to reinstall octave. I was initially using the standalone package, but tossed it due to a failure to call gnuplot. So, I tossed the stand alone gnuplot and aquaterm as well. I believe that installing octave through macports would also make it automatically install gnuplot and aquaterm. > > I already had macports installed, but I tried to reinstall because I thought I had too due to updating xcode. However, I now use filevault, which means macports couldn't be installed in my user folder, which I think means I now have multiple copies of macports installed. > > When trying to install octave I get this: > > sudo port install octave-devel +gcc45 > ---> Computing dependencies for gettext > ---> Dependencies to be installed: ncurses > ---> Activating ncurses @5.9_1 > Error: Target org.macports.activate returned: Image error: /opt/local/bin/captoinfo is being used by the active ncursesw port. Please deactivate this port first, or use 'port -f activate ncurses' to force the activation. > Error: Failed to install ncurses > Log for ncurses is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log > Error: The following dependencies were not installed: ncurses > Error: Unable to upgrade port: 1 > Error: Unable to execute port: upgrade flex failed > To report a bug, see ncursesw was replaced by ncurses a long time ago. You must not have updated this MacPorts installation in over a year; if you had upgraded sooner, this should have been handled more automatically for you but we've already removed those upgrade paths since it was so long ago and we thought everybody would have upgraded by now. You can just force ncursesw to uninstall since it's no longer needed: sudo port -f uninstall ncursesw > I tried activating ncurses and got this: > port -f activate ncurses > Error: Insufficient privileges to write to MacPorts install prefix. > > I tried removing ncurses and I got this: > ---> The following versions of ncurses are currently installed: > ---> ncurses @5.7_0+darwin_10 > ---> ncurses @5.9_1 > > > > Does anyone have any clue how to help me? Any help would be appreciated. Of course you would need to use "sudo" for anything that changes the contents of the MacPorts prefix: sudo port -f activate ncurses But after you uninstall ncursesw as above, you shouldn't have to force the activation of ncurses. From macintosh at mathiesen.info Thu Apr 19 13:24:52 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Thu, 19 Apr 2012 22:24:52 +0200 Subject: apache 2.4 In-Reply-To: <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> Message-ID: <4F907494.1030101@mathiesen.info> Ryan Schmidt wrote: >> Apparently it breaks (almost) all plugins (new API/ABI), from what I have been hearing. > > I just read in their notes that all plugins must be recompiled, and that only a few source changes might be required. But I have not tried it. > > If anyone tries 2.4.2, let me know the results. If I want to try it, is there a way to automatically tell the plugins that they have to recompile ??? In my case it'll be : bash-4.2$ port installed | grep apache mod_evasive @1.10.1_0+apache2 (active) php5 @5.3.10_0+apache2+pear+suhosin (active) bash-4.2$ port installed | grep mod mod_chroot @0.5_0 (active) mod_dnssd @0.6_0 (active) mod_evasive @1.10.1_0+apache2 (active) mod_fastcgi @2.4.6_0 (active) mod_proxy_html @3.0.1_0 (active) mod_python @3.3.1_1 (active) mod_security2 @2.6.0_0 (active) I'm using this in a bash script to update: for outDated in $(${prefix}/bin/port -q outdated | awk '{print $1}' ) do ${prefix}/bin/port clean --all ${outDated} ${prefix}/bin/port -cuRp upgrade ${outDated} done -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From dluke at geeklair.net Thu Apr 19 13:33:04 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Thu, 19 Apr 2012 16:33:04 -0400 Subject: apache 2.4 In-Reply-To: <4F907494.1030101@mathiesen.info> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F907494.1030101@mathiesen.info> Message-ID: On Apr 19, 2012, at 4:24 PM, Bjarne D Mathiesen wrote: > mod_fastcgi @2.4.6_0 (active) This one won't work without a patch (you could probably use mod_fcgid or mod_proxy_fcgi instead, though) -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From macintosh at mathiesen.info Thu Apr 19 14:40:53 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Thu, 19 Apr 2012 23:40:53 +0200 Subject: apache 2.4 In-Reply-To: <4F907494.1030101@mathiesen.info> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F907494.1030101@mathiesen.info> Message-ID: <4F908665.3080605@mathiesen.info> forward from Ryan Schmidt On Apr 19, 2012, at 15:24, Bjarne D Mathiesen wrote: > wrote: >>> Apparently it breaks (almost) all plugins (new API/ABI), from what I have been hearing. >> I just read in their notes that all plugins must be recompiled, and that only a few source changes might be required. But I have not tried it. >> >> If anyone tries 2.4.2, let me know the results. > If I want to try it, is there a way to automatically tell the plugins > that they have to recompile ??? > > In my case it'll be : > bash-4.2$ port installed | grep apache > mod_evasive @1.10.1_0+apache2 (active) > php5 @5.3.10_0+apache2+pear+suhosin (active) > bash-4.2$ port installed | grep mod > mod_chroot @0.5_0 (active) > mod_dnssd @0.6_0 (active) > mod_evasive @1.10.1_0+apache2 (active) > mod_fastcgi @2.4.6_0 (active) > mod_proxy_html @3.0.1_0 (active) > mod_python @3.3.1_1 (active) > mod_security2 @2.6.0_0 (active) > > > I'm using this in a bash script to update: > for outDated in $(${prefix}/bin/port -q outdated | awk '{print $1}' ) > do > ${prefix}/bin/port clean --all ${outDated} > ${prefix}/bin/port -cuRp upgrade ${outDated} > done You can use: sudo port -n upgrade --force X to force port X to rebuild. When we actually commit the update to apache2 2.4.x, we'd have to increase the revision of every module port that we want to get rebuilt. From macintosh at mathiesen.info Thu Apr 19 16:17:53 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Fri, 20 Apr 2012 01:17:53 +0200 Subject: apache 2.4 In-Reply-To: <4F908665.3080605@mathiesen.info> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F907494.1030101@mathiesen.info> <4F908665.3080605@mathiesen.info> Message-ID: <4F909D21.5020305@mathiesen.info> Ryan Schmidt wrote > > When we actually commit the update to apache2 2.4.x, we'd have to > increase the revision of every module port that we want to get rebuilt. Do you have a procedure for doing this or are you interested in a script that'll generate the diff files ??? -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From pixilla at macports.org Thu Apr 19 17:18:14 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Thu, 19 Apr 2012 17:18:14 -0700 Subject: postfix & databases In-Reply-To: <4F2E0E82-9ACB-442F-B48B-8C2B57B5CB16@macports.org> References: <4F901CAB.20401@mathiesen.info> <4F2E0E82-9ACB-442F-B48B-8C2B57B5CB16@macports.org> Message-ID: On Apr 19, 2012, at 9:25 AM, Ryan Schmidt wrote: > > On Apr 19, 2012, at 09:09, Bjarne D Mathiesen wrote: > >> It seems as if postfix could use mariadb and mysql55 variants ;-) > > All ports could use a mysql55 variant. We also want to rename mysql5 to mysql51; when we do that, we'll have to rename variants in all ports as well. Since mariadb is a drop-in replacement for mysql, we may want to architect the variants so that users can do this, without needing to select a specific mariadb variant. I would like to subdir all the mysql ports to remove conflicts. I have a mysql51 port pretty much done. The issue I am having is with the use of mysql_select. When the binaries are symlinked into prefix/bin then port load can load the wrong mysql. I haven't fixed this yet. I temporary fix would be to just not symlink the bin/mysqld, I think that is the issue where mysqld_safe picks up bin/mysqld if it's present. I will commit mysql51 now so others can offer improvements. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From pixilla at macports.org Thu Apr 19 17:23:58 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Thu, 19 Apr 2012 17:23:58 -0700 Subject: postfix & databases In-Reply-To: <4F901CAB.20401@mathiesen.info> References: <4F901CAB.20401@mathiesen.info> Message-ID: <9D157269-FA26-4894-916F-0AD67AE74085@macports.org> On Apr 19, 2012, at 7:09 AM, Bjarne D Mathiesen wrote: > It seems as if postfix could use mariadb and mysql55 variants ;-) mysql51 and percona as well ;-) Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From ryandesign at macports.org Thu Apr 19 20:52:07 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 19 Apr 2012 22:52:07 -0500 Subject: postfix & databases In-Reply-To: References: <4F901CAB.20401@mathiesen.info> <4F2E0E82-9ACB-442F-B48B-8C2B57B5CB16@macports.org> Message-ID: On Apr 19, 2012, at 19:18, Bradley Giesbrecht wrote: > On Apr 19, 2012, at 9:25 AM, Ryan Schmidt wrote: > >> Since mariadb is a drop-in replacement for mysql, we may want to architect the variants so that users can do this, without needing to select a specific mariadb variant. > > I would like to subdir all the mysql ports to remove conflicts. Yes I see now you've already begun doing things where mariadb is its own directory. This is fine, and since I'm trying to get out of the mysql ports, I'll leave it to you. From ryandesign at macports.org Thu Apr 19 20:53:32 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 19 Apr 2012 22:53:32 -0500 Subject: apache 2.4 In-Reply-To: <4F909D21.5020305@mathiesen.info> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F907494.1030101@mathiesen.info> <4F908665.3080605@mathiesen.info> <4F909D21.5020305@mathiesen.info> Message-ID: <8EF20509-6DF1-4EE9-B43A-D42D560C57F2@macports.org> On Apr 19, 2012, at 18:17, Bjarne D Mathiesen wrote: > Ryan Schmidt wrote >> >> When we actually commit the update to apache2 2.4.x, we'd have to >> increase the revision of every module port that we want to get rebuilt. > > Do you have a procedure for doing this or are you interested in a script > that'll generate the diff files ??? I had no specific procedure in mind yet. A number of scripts had floated around to help with this before but I don't have any of them handy. This is part of the reason I'm less than thrilled about doing this update and am therefore postponing it until a later time when I feel like dealing with it. If you have a script handy that might help. From keybounce at gmail.com Thu Apr 19 21:11:52 2012 From: keybounce at gmail.com (Michael_google gmail_Gersten) Date: Thu, 19 Apr 2012 21:11:52 -0700 Subject: Which version of "Wine", or am I on the wrong track? In-Reply-To: <20120419102957.GB15929@www.stare.cz> References: <2CE098FF-F083-4489-9F84-B6434464F68C@tigger.ws> <20120419102957.GB15929@www.stare.cz> Message-ID: > I am pretty sure there are ways in MacOS itself to make and edit > a screen recording; you most probably do not need to bring the whole > wine monster to your system just to do that. There are. But: 1. QuickTime Player cannot record system audio. It only records sound input. So I can either use the built-in microphone (gets sound as feedback out of speakers), or a headset mic, but not both. It records audio playback as mono, and loses left/right channel information. 2. All of the 3rd party stuff I've seen so far -- iShowU, Capture It, Screen flick -- puts a giant, horrendous visible watermark in the front center of the screen in demo mode, making them unusable. IShowU (certain) and Screen Flick (I believe) put a large text message, and sharp text does not encode well ruining the quality; Capture it (I may have this backwards with Screen flick) puts a large, sharp image in the middle that again, does not compress well. Additionally, both Screen Flick and Capture it use their own format for recordings, restricting your ability to do any editing (the only output to a generic format is after encoding/compressing, so you've lost all your quality before you edit and have to re-compress/encode.). None worked even partway well enough in demo mode to even consider paying for. 3. Editing ... well, the people before you mentioned avidemux and ffmpeg; one person has given me tips for iMovie editing and I'll probably send more questions that way this weekend. -- Political and economic blog of a strict constitutionalist http://StrictConstitution.BlogSpot.com This message may have been spell checked by a laptop kitten. From macintosh at mathiesen.info Thu Apr 19 21:27:51 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Fri, 20 Apr 2012 06:27:51 +0200 Subject: dovecot2 In-Reply-To: <2BBA9C2A-2415-4409-A548-487E873E1716@macports.org> References: <4F8F4AB4.8020005@mathiesen.info> <2BBA9C2A-2415-4409-A548-487E873E1716@macports.org> Message-ID: <4F90E5C7.5010502@mathiesen.info> Bradley Giesbrecht wrote: > > On Apr 18, 2012, at 4:13 PM, Bjarne D Mathiesen wrote: > >> dovecot 2.1.1 was released on 23/02-2012 current version 2.1.4 >> dovecot 2.0.20 was released on 09/04-2012 >> >> What's the status on releasing these in Macports ? > > dovecot2 version 2.1.4 > https://trac.macports.org/changeset/92110 > > dovecot2-sieve version 0.3.0 > https://trac.macports.org/changeset/92111 > > dovecot2-antispam version hg.5e8351bcfb29 > https://trac.macports.org/changeset/92112 > > > Regards, > Bradley Giesbrecht (pixilla) > OK - but I'm getting compile errors : bash-4.2$ port installed dovecot2 The following ports are currently installed: dovecot2 @2.0.18_0+ldap+mysql5+postgresql91 (active) bash-4.2$ port info dovecot2 dovecot2 @2.1.4 (mail) Variants: ldap, lucene, mariadb, mysql5, mysql55, percona, postgresql82, postgresql83, postgresql84, postgresql90, postgresql91, solr, universal checking for mysql_config... /macports/bin/mysql_config55 ./configure: line 23124: /macports/bin/mysql_config55: No such file or directory ./configure: line 23125: /macports/bin/mysql_config55: No such file or directory checking for mysql_init in -lmysqlclient... no configure: error: Can't build with MySQL support: libmysqlclient not found at present I'm using mysql5 but it seems to be looking for myslq55 has this something to do with what we are discussing under 'postfix & databases' regarding your work with mysql in general ??? -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From macintosh at mathiesen.info Thu Apr 19 21:33:36 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Fri, 20 Apr 2012 06:33:36 +0200 Subject: dovecot2 In-Reply-To: <2BBA9C2A-2415-4409-A548-487E873E1716@macports.org> References: <4F8F4AB4.8020005@mathiesen.info> <2BBA9C2A-2415-4409-A548-487E873E1716@macports.org> Message-ID: <4F90E720.8010807@mathiesen.info> Bradley Giesbrecht wrote: > > On Apr 18, 2012, at 4:13 PM, Bjarne D Mathiesen wrote: > >> dovecot 2.1.1 was released on 23/02-2012 current version 2.1.4 >> dovecot 2.0.20 was released on 09/04-2012 >> >> What's the status on releasing these in Macports ? > > dovecot2 version 2.1.4 > https://trac.macports.org/changeset/92110 you've got an error in line 107 where you've written configure.env-append MYSQL_CONFIG=${prefix}/bin/mysql_config55 instaed of : configure.env-append MYSQL_CONFIG=${prefix}/bin/mysql_config5 > > dovecot2-sieve version 0.3.0 > https://trac.macports.org/changeset/92111 > > dovecot2-antispam version hg.5e8351bcfb29 > https://trac.macports.org/changeset/92112 > > > Regards, > Bradley Giesbrecht (pixilla) > -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From pixilla at macports.org Thu Apr 19 21:36:50 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Thu, 19 Apr 2012 21:36:50 -0700 Subject: dovecot2 In-Reply-To: <4F90E720.8010807@mathiesen.info> References: <4F8F4AB4.8020005@mathiesen.info> <2BBA9C2A-2415-4409-A548-487E873E1716@macports.org> <4F90E720.8010807@mathiesen.info> Message-ID: <64777E91-2B46-4CE7-8DE5-86B79FF1383A@macports.org> On Apr 19, 2012, at 9:33 PM, Bjarne D Mathiesen wrote: > Bradley Giesbrecht wrote: >> >> On Apr 18, 2012, at 4:13 PM, Bjarne D Mathiesen wrote: >> >>> dovecot 2.1.1 was released on 23/02-2012 current version 2.1.4 >>> dovecot 2.0.20 was released on 09/04-2012 >>> >>> What's the status on releasing these in Macports ? >> >> dovecot2 version 2.1.4 >> https://trac.macports.org/changeset/92110 > > you've got an error in line 107 where you've written > > configure.env-append MYSQL_CONFIG=${prefix}/bin/mysql_config55 > > instaed of : > configure.env-append MYSQL_CONFIG=${prefix}/bin/mysql_config5 Right, I got rid of the versioned symlinks. I'll fix this momentarily. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From macintosh at mathiesen.info Fri Apr 20 00:08:12 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Fri, 20 Apr 2012 09:08:12 +0200 Subject: apache 2.4 In-Reply-To: <8EF20509-6DF1-4EE9-B43A-D42D560C57F2@macports.org> References: <4F8F42BC.1020003@mathiesen.info> <0F3F15C0-8886-4081-95F6-322F24F790A0@macports.org> <4F907494.1030101@mathiesen.info> <4F908665.3080605@mathiesen.info> <4F909D21.5020305@mathiesen.info> <8EF20509-6DF1-4EE9-B43A-D42D560C57F2@macports.org> Message-ID: <4F910B5C.2040403@mathiesen.info> Ryan Schmidt wrote: > > On Apr 19, 2012, at 18:17, Bjarne D Mathiesen wrote: > >> Ryan Schmidt wrote >>> >>> When we actually commit the update to apache2 2.4.x, we'd have to >>> increase the revision of every module port that we want to get rebuilt. >> >> Do you have a procedure for doing this or are you interested in a script >> that'll generate the diff files ??? > > I had no specific procedure in mind yet. A number of scripts had floated around to help with this before but I don't have any of them handy. This is part of the reason I'm less than thrilled about doing this update and am therefore postponing it until a later time when I feel like dealing with it. If you have a script handy that might help. OK -- this bash 4.2 script generates modified portfiles and diff files for all ports that have either a dependency on apache2 -or- a apache2 variant. line-breaks are a bit messy ;-) #!/macports/bin/bash port list | while read portname[0] portname[1] portname[2] do declare founddep=$(port deps ${portname[0]} | grep 'apache2' | wc -l) declare foundvar=$(port variants ${portname[0]} | grep 'apache2' | wc -l) if [[ ${founddep} -eq 1 || ${foundvar} -eq 1 ]] then echo -e "${portname[2]}" mkdir -p portfiles/${portname[2]} cp $(port file ${portname[0]}) portfiles/${portname[2]}/'Portfile.orig' declare portrev=( $( grep 'revision' $(port file ${portname[0]}) ) ) if [[ ${#portrev[@]} -eq 0 ]] then sed -En -e "1,/^version/p" portfiles/${portname[2]}/'Portfile.orig' \ > portfiles/${portname[2]}/'Portfile' echo -e "revison\t\t0" \ >> portfiles/${portname[2]}/'Portfile' sed -E -e "1,/^version/d" portfiles/${portname[2]}/'Portfile.orig' \ >> portfiles/${portname[2]}/'Portfile' else portrev[1]=$(( ++portrev[1] )) sed -E -e "/^revision/s/[[:digit:]]{1,}/${portrev[1]}/" \ portfiles/${portname[2]}/'Portfile.orig' \ > portfiles/${portname[2]}/'Portfile' fi diff -u \ $(port file ${portname[0]}) \ portfiles/${portname[2]}/Portfile \ > portfiles/${portname[2]}/patch-Portfile.diff fi done -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From kameshkk at gmail.com Fri Apr 20 02:40:14 2012 From: kameshkk at gmail.com (Kamesh Krishnamurthy) Date: Fri, 20 Apr 2012 12:40:14 +0300 Subject: Using MacPorts Python packages in different Python In-Reply-To: References: <7D7EB574-A0BE-49CF-840A-AEEA3DE44E45@macports.org> <210C080F-EAEB-461A-9D9D-89CBD6B814A0@macports.org> Message-ID: The MKL-based NumPy is around 4 times faster than the Accelerate Framework, and is faster than Atlas as well (2-3x). It should be possible to incorporate MKL with the NumPy/SciPy in Macports. Intel allows free download of its MKL libraries for non-commercial use: http://software.intel.com/en-us/articles/non-commercial-software-download/ And it also provides instructions on how to build NumPy/SciPy with the MKL libraries: http://software.intel.com/en-us/articles/numpy-scipy-with-mkl/ Do you think MKL can be included as a variant? -Kamesh On 19 April 2012 04:56, Adam Mercer wrote: > On Tue, Apr 17, 2012 at 14:17, Frank Schima > wrote: > > py-numpy and py-scipy have atlas variants which use the atlas port > instead > > of the Accelerate framework. The atlas port does tune to your processor. > > Have you tried that? I have Cc'ed Adam, the maintainer of these ports, > if he > > could comment on their performance with the atlas variant? Maybe the > Intel > > MKL libraries could be added as a variant? > > Personally I don't use the atlas variant as I've found it causes a lot > of build problems. I find the Accelerate framework fast enough for my > needs, but my codes aren't that processor intensive. If someone wanted > to add an MKL variant I'd be willing to accept it providing they were > willing to support it. > > Cheers > > Adam > _______________________________________________ > 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 dmscott100 at gmail.com Fri Apr 20 04:07:16 2012 From: dmscott100 at gmail.com (David Scott) Date: Fri, 20 Apr 2012 12:07:16 +0100 Subject: novaclient Message-ID: I have installed py27-novaclient. When I try to run the client 'argparse' is not found. $ nova-2.7 Traceback (most recent call last): File "/opt/local/bin/nova-2.7", line 5, in from pkg_resources import load_entry_point File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", line 2711, in working_set.require(__requires__) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", line 690, in require needed = self.resolve(parse_requirements(requirements)) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: argparse Now for Python 2.7 argparse is meant to be part of the standard library so what can I do to correct this problem? From deric at macports.org Fri Apr 20 04:27:35 2012 From: deric at macports.org (Daniel Ericsson) Date: Fri, 20 Apr 2012 13:27:35 +0200 Subject: novaclient In-Reply-To: References: Message-ID: On 20 apr 2012, at 13:07, David Scott wrote: > I have installed py27-novaclient. When I try to run the client > 'argparse' is not found. > $ nova-2.7 > Traceback (most recent call last): > File "/opt/local/bin/nova-2.7", line 5, in > from pkg_resources import load_entry_point > File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", > line 2711, in > working_set.require(__requires__) > File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", > line 690, in require > needed = self.resolve(parse_requirements(requirements)) > File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", > line 588, in resolve > raise DistributionNotFound(req) > pkg_resources.DistributionNotFound: argparse > > Now for Python 2.7 argparse is meant to be part of the standard > library so what can I do to correct this problem? I can't reproduce, but what does `head /opt/local/bin/nova-2.7` output? I'm interested in the shebang-line specifically. -- Daniel From dmscott100 at gmail.com Fri Apr 20 04:41:41 2012 From: dmscott100 at gmail.com (David Scott) Date: Fri, 20 Apr 2012 12:41:41 +0100 Subject: novaclient In-Reply-To: References: Message-ID: Here is the output from head. The reference to 2.6.8 seems odd to me. $ head /opt/local/bin/nova-2.7 #!/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python # EASY-INSTALL-ENTRY-SCRIPT: 'python-novaclient==2.6.8','console_scripts','nova' __requires__ = 'python-novaclient==2.6.8' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('python-novaclient==2.6.8', 'console_scripts', 'nova')() ) On 20 April 2012 12:27, Daniel Ericsson wrote: > On 20 apr 2012, at 13:07, David Scott wrote: > >> I have installed py27-novaclient. When I try to run the client >> 'argparse' is not found. >> $ nova-2.7 >> Traceback (most recent call last): >> ?File "/opt/local/bin/nova-2.7", line 5, in >> ? ?from pkg_resources import load_entry_point >> ?File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", >> line 2711, in >> ? ?working_set.require(__requires__) >> ?File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", >> line 690, in require >> ? ?needed = self.resolve(parse_requirements(requirements)) >> ?File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pkg_resources.py", >> line 588, in resolve >> ? ?raise DistributionNotFound(req) >> pkg_resources.DistributionNotFound: argparse >> >> Now for Python 2.7 argparse is meant to be part of the standard >> library so what can I do to correct this problem? > > I can't reproduce, but what does `head /opt/local/bin/nova-2.7` output? I'm interested in the shebang-line specifically. > > -- Daniel From imgeorgelin at gmail.com Fri Apr 20 05:18:07 2012 From: imgeorgelin at gmail.com (imgeorgelin) Date: Fri, 20 Apr 2012 05:18:07 -0700 (PDT) Subject: Override default Application install location? In-Reply-To: References: <33711824.post@talk.nabble.com> Message-ID: <33720177.post@talk.nabble.com> Thanks! I see. As suggested by the ticket submitter, seems like the only workaround right now is to use the install_name_tool for now, since I really like to put everything under Macports' umbrella. Hopefully the extension pack will become a port soon. Ryan Schmidt-24 wrote: > > > On Apr 18, 2012, at 21:50, imgeorgelin wrote: > >> >> I had been a regular, happy user until I tried to install Virtualbox on >> my >> iMac running 10.7.3 Lion. >> >> The installation of VB itself via Macports went smoothly. But when I >> tried >> to install an extension pack downloaded from VB site, I failed because >> apparently the extension tried to reference a library stored in >> /Applications/VirtualBox.app/... but by default, Macports installed it in >> /Applications/Macports/VirtualBox.app/.... So my question is: >> >> Can I override the default, say, append something lime >> "--with-application-dir=..." after the usual "port install virtualbox", >> so >> that the final app would be installed in /Applications/? >> >> I don't want to change the global settings in macports.conf. And the >> extension pack is not a port in macports otherwise it would have worked. > > When you say "an extension pack" to you mean "the extension pack"? I > thought there was only one. > > I suggest you wait until we add the virtualbox extension pack to MacPorts: > > https://trac.macports.org/ticket/31180 > > To answer your question, yes, you can change the applications_dir, but you > should make that decision when installing MacPorts for the first time, > before having installed any ports. You would have to install MacPorts from > source, instead of from the disk image, and you'd have to uninstall and > reinstall all ports so they get installed to the right locations. Also > note that if you change applications_dir (or prefix) this way, you will no > longer be able to benefit from our pre-compiled binary service. > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > -- View this message in context: http://old.nabble.com/Override-default-Application-install-location--tp33711824p33720177.html Sent from the MacPorts - Users mailing list archive at Nabble.com. From ram at macports.org Fri Apr 20 06:13:31 2012 From: ram at macports.org (Adam Mercer) Date: Fri, 20 Apr 2012 08:13:31 -0500 Subject: Using MacPorts Python packages in different Python In-Reply-To: References: <7D7EB574-A0BE-49CF-840A-AEEA3DE44E45@macports.org> <210C080F-EAEB-461A-9D9D-89CBD6B814A0@macports.org> Message-ID: On Fri, Apr 20, 2012 at 04:32, Kamesh Krishnamurthy wrote: > Do you think MKL can be included as a variant? Patches are welcome. Cheers Adam From t.thorsted at gmail.com Fri Apr 20 10:46:01 2012 From: t.thorsted at gmail.com (Tyler Thorsted) Date: Fri, 20 Apr 2012 11:46:01 -0600 Subject: ffmpeg setfield filter Message-ID: Can someone help me figure out how to add the setfield filter to my macports install of ffmpeg? Thank you. Thorsted From macintosh at mathiesen.info Fri Apr 20 12:14:58 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Fri, 20 Apr 2012 21:14:58 +0200 Subject: Override default Application install location? In-Reply-To: <33711824.post@talk.nabble.com> References: <33711824.post@talk.nabble.com> Message-ID: <4F91B5B2.9070408@mathiesen.info> imgeorgelin wrote: > > I had been a regular, happy user until I tried to install Virtualbox on my > iMac running 10.7.3 Lion. > > The installation of VB itself via Macports went smoothly. But when I tried > to install an extension pack downloaded from VB site, I failed because > apparently the extension tried to reference a library stored in > /Applications/VirtualBox.app/... but by default, Macports installed it in > /Applications/Macports/VirtualBox.app/.... So my question is: > > Can I override the default, say, append something lime > "--with-application-dir=..." after the usual "port install virtualbox", so > that the final app would be installed in /Applications/? > > I don't want to change the global settings in macports.conf. And the > extension pack is not a port in macports otherwise it would have worked. > > Thanks! You can just ++ either move it ++ copy it to /Applications after the install You can also edit the portfile and insert a single line that redefines the default Aplicationsdir : nano $(port file virtualbox) insert this line somewhere in the start of the file: applications_dir /Applications -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From pixilla at macports.org Fri Apr 20 12:38:36 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Fri, 20 Apr 2012 12:38:36 -0700 Subject: virtualbox (was: Re: Override default Application install location?) In-Reply-To: References: <33711824.post@talk.nabble.com> Message-ID: <684CD728-F520-47E7-AD05-83A7A7C92749@macports.org> On Apr 19, 2012, at 9:42 AM, Ryan Schmidt wrote: > > On Apr 18, 2012, at 21:50, imgeorgelin wrote: > >> >> I had been a regular, happy user until I tried to install Virtualbox on my >> iMac running 10.7.3 Lion. >> >> The installation of VB itself via Macports went smoothly. But when I tried >> to install an extension pack downloaded from VB site, I failed because >> apparently the extension tried to reference a library stored in >> /Applications/VirtualBox.app/... but by default, Macports installed it in >> /Applications/Macports/VirtualBox.app/.... So my question is: >> >> Can I override the default, say, append something lime >> "--with-application-dir=..." after the usual "port install virtualbox", so >> that the final app would be installed in /Applications/? >> >> I don't want to change the global settings in macports.conf. And the >> extension pack is not a port in macports otherwise it would have worked. > > When you say "an extension pack" to you mean "the extension pack"? I thought there was only one. > > I suggest you wait until we add the virtualbox extension pack to MacPorts: > > https://trac.macports.org/ticket/31180 The virtualbox-extension-pack port has been added. There seems to be build issues with virtualbox if java is not present. This effects the buildbot for Lion. For now I disabled java for Lion+. if {${os.major} > 10} { configure.args-append --disable-java } http://en.wikipedia.org/wiki/VirtualBox Public API (Java, Python, SOAP, XPCOM) to control VM configuration and execution Should we add "--disable-java --disable-python" for all OS versions? The port currently has no dependency on python. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From ryandesign at macports.org Fri Apr 20 13:04:53 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 20 Apr 2012 15:04:53 -0500 Subject: virtualbox In-Reply-To: <684CD728-F520-47E7-AD05-83A7A7C92749@macports.org> References: <33711824.post@talk.nabble.com> <684CD728-F520-47E7-AD05-83A7A7C92749@macports.org> Message-ID: <138B7496-B815-45EA-AC15-3FC66D258EB6@macports.org> On Apr 20, 2012, at 14:38, Bradley Giesbrecht wrote: > There seems to be build issues with virtualbox if java is not present. This effects the buildbot for Lion. As reported here: https://trac.macports.org/ticket/34020 > For now I disabled java for Lion+. > if {${os.major} > 10} { > configure.args-append --disable-java > } > > http://en.wikipedia.org/wiki/VirtualBox > Public API (Java, Python, SOAP, XPCOM) to control VM configuration and execution > > Should we add "--disable-java --disable-python" for all OS versions? The port currently has no dependency on python. For what purpose does VirtualBox use Java? From jruschme at gmail.com Fri Apr 20 13:13:24 2012 From: jruschme at gmail.com (John Ruschmeyer) Date: Fri, 20 Apr 2012 16:13:24 -0400 Subject: OpenSSL upgrade Message-ID: Anybody else on Leopard and/or PPC having problems with the upgrade to OpenSSL 1.0.1a_0? Thanks... JR -------------- next part -------------- An HTML attachment was scrubbed... URL: From dersh at alum.mit.edu Fri Apr 20 13:15:02 2012 From: dersh at alum.mit.edu (Adam Dershowitz) Date: Fri, 20 Apr 2012 13:15:02 -0700 Subject: OpenSSL upgrade In-Reply-To: References: Message-ID: Yes. It worked for me on my Intel box, but failed on my G5 box. --Adam On Apr 20, 2012, at 1:13 PM, John Ruschmeyer wrote: > Anybody else on Leopard and/or PPC having problems with the upgrade to OpenSSL 1.0.1a_0? > > Thanks... > JR > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From pixilla at macports.org Fri Apr 20 13:39:32 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Fri, 20 Apr 2012 13:39:32 -0700 Subject: OpenSSL upgrade In-Reply-To: References: Message-ID: On Apr 20, 2012, at 1:13 PM, John Ruschmeyer wrote: > Anybody else on Leopard and/or PPC having problems with the upgrade to OpenSSL 1.0.1a_0? Issues with use: https://trac.macports.org/ticket/33715 https://trac.macports.org/ticket/33944 // dup of 33715 https://trac.macports.org/ticket/34120 // dup of 33715 Issues with install/upgrade: https://trac.macports.org/ticket/33741 https://trac.macports.org/ticket/34135 Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From dluke at geeklair.net Fri Apr 20 15:26:24 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Fri, 20 Apr 2012 18:26:24 -0400 Subject: OpenSSL upgrade In-Reply-To: References: Message-ID: On Apr 20, 2012, at 4:39 PM, Bradley Giesbrecht wrote: > On Apr 20, 2012, at 1:13 PM, John Ruschmeyer wrote: >> Anybody else on Leopard and/or PPC having problems with the upgrade to OpenSSL 1.0.1a_0? > > Issues with use: > https://trac.macports.org/ticket/33715 This is about 1.0.1, I believe it is fixed in 1.0.1a (it looks like it according to the changelog - I wasn't affected, so I don't have a test case to verify, though). > Issues with install/upgrade: > https://trac.macports.org/ticket/34135 As noted on that ticket, there's a patch that hit OpenSSL head that fixes it (we just need to incorporate it into the port...) [https://trac.macports.org/ticket/34135#comment:6] -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From pixilla at macports.org Fri Apr 20 16:25:07 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Fri, 20 Apr 2012 16:25:07 -0700 Subject: OpenSSL upgrade In-Reply-To: References: Message-ID: <2128C764-B935-4D52-A589-2D00FEB02C87@macports.org> On Apr 20, 2012, at 3:26 PM, Daniel J. Luke wrote: > On Apr 20, 2012, at 4:39 PM, Bradley Giesbrecht wrote: >> On Apr 20, 2012, at 1:13 PM, John Ruschmeyer wrote: >>> Anybody else on Leopard and/or PPC having problems with the upgrade to OpenSSL 1.0.1a_0? >> >> Issues with use: >> https://trac.macports.org/ticket/33715 > > This is about 1.0.1, I believe it is fixed in 1.0.1a (it looks like it according to the changelog - I wasn't affected, so I don't have a test case to verify, though). > >> Issues with install/upgrade: >> https://trac.macports.org/ticket/34135 > > > As noted on that ticket, there's a patch that hit OpenSSL head that fixes it (we just need to incorporate it into the port...) > > [https://trac.macports.org/ticket/34135#comment:6] In my tests the patch at OpenSSL head does not fix my test cases. If it had I would have submitted a port patch. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From dluke at geeklair.net Fri Apr 20 17:38:09 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Fri, 20 Apr 2012 20:38:09 -0400 Subject: OpenSSL upgrade In-Reply-To: <2128C764-B935-4D52-A589-2D00FEB02C87@macports.org> References: <2128C764-B935-4D52-A589-2D00FEB02C87@macports.org> Message-ID: <74BC6CD7-AB05-4B3F-899F-A50A687AA4F3@geeklair.net> On Apr 20, 2012, at 7:25 PM, Bradley Giesbrecht wrote: > On Apr 20, 2012, at 3:26 PM, Daniel J. Luke wrote: >> On Apr 20, 2012, at 4:39 PM, Bradley Giesbrecht wrote: >>> On Apr 20, 2012, at 1:13 PM, John Ruschmeyer wrote: >>>> Anybody else on Leopard and/or PPC having problems with the upgrade to OpenSSL 1.0.1a_0? >>> >>> Issues with use: >>> https://trac.macports.org/ticket/33715 >> >> This is about 1.0.1, I believe it is fixed in 1.0.1a (it looks like it according to the changelog - I wasn't affected, so I don't have a test case to verify, though). >> >>> Issues with install/upgrade: >>> https://trac.macports.org/ticket/34135 >> >> As noted on that ticket, there's a patch that hit OpenSSL head that fixes it (we just need to incorporate it into the port...) >> >> [https://trac.macports.org/ticket/34135#comment:6] > > In my tests the patch at OpenSSL head does not fix my test cases. If it had I would have submitted a port patch. It's not clear to me what you're referring to there. The patch I referred to fixes the build on 10.5/ppc (actually on all non-intel builds). I verified that it builds and passes the openssl test suite with it. If you're referring to upstream's 1.0.1a release (or some other patch) not fixing the tls problem you were seeing with 1.0.1 - I would suggest that you follow up with upstream. -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From pixilla at macports.org Fri Apr 20 18:01:40 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Fri, 20 Apr 2012 18:01:40 -0700 Subject: OpenSSL upgrade In-Reply-To: <74BC6CD7-AB05-4B3F-899F-A50A687AA4F3@geeklair.net> References: <2128C764-B935-4D52-A589-2D00FEB02C87@macports.org> <74BC6CD7-AB05-4B3F-899F-A50A687AA4F3@geeklair.net> Message-ID: <7AD3BB4E-4C1C-486C-B122-78D67DE0F599@macports.org> On Apr 20, 2012, at 5:38 PM, Daniel J. Luke wrote: > On Apr 20, 2012, at 7:25 PM, Bradley Giesbrecht wrote: >> On Apr 20, 2012, at 3:26 PM, Daniel J. Luke wrote: >>> On Apr 20, 2012, at 4:39 PM, Bradley Giesbrecht wrote: >>>> On Apr 20, 2012, at 1:13 PM, John Ruschmeyer wrote: >>>>> Anybody else on Leopard and/or PPC having problems with the upgrade to OpenSSL 1.0.1a_0? >>>> >>>> Issues with use: >>>> https://trac.macports.org/ticket/33715 >>> >>> This is about 1.0.1, I believe it is fixed in 1.0.1a (it looks like it according to the changelog - I wasn't affected, so I don't have a test case to verify, though). >> >> In my tests the patch at OpenSSL head does not fix my test cases. If it had I would have submitted a port patch. > > It's not clear to me what you're referring to there. > > The patch I referred to fixes the build on 10.5/ppc (actually on all non-intel builds). I verified that it builds and passes the openssl test suite with it. > > If you're referring to upstream's 1.0.1a release (or some other patch) not fixing the tls problem you were seeing with 1.0.1 - I would suggest that you follow up with upstream. Yes, I am referring to the unresolved tls problem. Curl can work around the problem but I have found no workaround for openldap for example. It also looks like php soap is broke if you need to make a secure soap call. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From dluke at geeklair.net Fri Apr 20 18:09:34 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Fri, 20 Apr 2012 21:09:34 -0400 Subject: OpenSSL upgrade In-Reply-To: <7AD3BB4E-4C1C-486C-B122-78D67DE0F599@macports.org> References: <2128C764-B935-4D52-A589-2D00FEB02C87@macports.org> <74BC6CD7-AB05-4B3F-899F-A50A687AA4F3@geeklair.net> <7AD3BB4E-4C1C-486C-B122-78D67DE0F599@macports.org> Message-ID: On Apr 20, 2012, at 9:01 PM, Bradley Giesbrecht wrote: > On Apr 20, 2012, at 5:38 PM, Daniel J. Luke wrote: >> If you're referring to upstream's 1.0.1a release (or some other patch) not fixing the tls problem you were seeing with 1.0.1 - I would suggest that you follow up with upstream. > > Yes, I am referring to the unresolved tls problem. Curl can work around the problem but I have found no workaround for openldap for example. It also looks like php soap is broke if you need to make a secure soap call. Did you actually test it? According to https://trac.macports.org/ticket/33715 the problem can be tested by doing: curl -v https://api-aa-3t.paypal.com/2.0 If I run that with macports curl and openssl 1.0.1a on 10.5/ppc and 10.7/x86_64 it works fine. The 1.0.1a changelog refers to 2 tls related fixes (that sound like they match the issue(s) you reported). -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From pixilla at macports.org Fri Apr 20 18:21:10 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Fri, 20 Apr 2012 18:21:10 -0700 Subject: OpenSSL upgrade In-Reply-To: References: <2128C764-B935-4D52-A589-2D00FEB02C87@macports.org> <74BC6CD7-AB05-4B3F-899F-A50A687AA4F3@geeklair.net> <7AD3BB4E-4C1C-486C-B122-78D67DE0F599@macports.org> Message-ID: <58B4F927-2092-4420-B7E5-1774F3AC4EE5@macports.org> On Apr 20, 2012, at 6:09 PM, Daniel J. Luke wrote: > On Apr 20, 2012, at 9:01 PM, Bradley Giesbrecht wrote: >> On Apr 20, 2012, at 5:38 PM, Daniel J. Luke wrote: >>> If you're referring to upstream's 1.0.1a release (or some other patch) not fixing the tls problem you were seeing with 1.0.1 - I would suggest that you follow up with upstream. >> >> Yes, I am referring to the unresolved tls problem. Curl can work around the problem but I have found no workaround for openldap for example. It also looks like php soap is broke if you need to make a secure soap call. > > Did you actually test it? According to https://trac.macports.org/ticket/33715 the problem can be tested by doing: > > curl -v https://api-aa-3t.paypal.com/2.0 > > If I run that with macports curl and openssl 1.0.1a on 10.5/ppc and 10.7/x86_64 it works fine. > > The 1.0.1a changelog refers to 2 tls related fixes (that sound like they match the issue(s) you reported). Thanks, 1.0.1a does work for me on 10.6/x86. I had been testing the patches at openssl and mistakenly thought 1.0.1a had been around a while and that I had tested it. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From phildobbin at gmail.com Sat Apr 21 06:14:15 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Sat, 21 Apr 2012 14:14:15 +0100 Subject: f2c Message-ID: <4F92B2A7.7060509@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, all. I'm trying to use f2c to compile ratfor but there's no fort77 script so I'm getting: `checking for f2c... f2c checking whether the Fortran 77 compiler (f2c ) works... no configure: error: installation or configuration problem: Fortran 77 compiler cannot create executables.` Any workarounds to this or shall I just go grab a tarball? Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPkrKkAAoJEKpMeDHWT5AD3tkH/R8VzqoD6Imfgss0/pnL91zN g0XW7t+3epAAPyH2YU8J90BsekzxhTl39aEONOWPey6YW4+/EO/SW9qnpVgqd9oo R7Hb/bOZb9+uhzvbzB/Ju3Giaq9b5OuuSdDtJzGKLoqw5U6xM4BLTa2uv+py7brN YHLZJ7VtAgkk136LF95rqFsp/Sph4NY7zqzjwSGWVnV9+spDw0ulGdvMZfYzrk92 RBWeeIjK+EzNrzgtcUNpfrIhNkdYuLw3Xx5RciUomyoSm/iEStQ1Re3RLX+iC0VT scETkrgTigMvXcK9+c1EaaQjR6A24Wnpk7ysZ1b/c/X+OV2NvEht15jqL0NqKgM= =5Ypi -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From senny.share at gmail.com Sat Apr 21 07:05:51 2012 From: senny.share at gmail.com (MVP.C) Date: Sat, 21 Apr 2012 22:05:51 +0800 Subject: Contents of macports-users digest... Message-ID: <3C3AF1F0-2A8F-4334-825B-853BF13055A8@gmail.com> From senny.share at gmail.com Sat Apr 21 07:05:51 2012 From: senny.share at gmail.com (MVP.C) Date: Sat, 21 Apr 2012 22:05:51 +0800 Subject: Contents of macports-users digest... Message-ID: <3C3AF1F0-2A8F-4334-825B-853BF13055A8@gmail.com> From ryandesign at macports.org Sat Apr 21 11:18:52 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 21 Apr 2012 13:18:52 -0500 Subject: f2c In-Reply-To: <4F92B2A7.7060509@gmail.com> References: <4F92B2A7.7060509@gmail.com> Message-ID: <8660E9B7-F6F2-493C-8ECB-1C210C89E8F7@macports.org> On Apr 21, 2012, at 08:14, Phil Dobbin wrote: > I'm trying to use f2c to compile ratfor but there's no fort77 script so > I'm getting: > > `checking for f2c... f2c > checking whether the Fortran 77 compiler (f2c ) works... no > configure: error: installation or configuration problem: Fortran 77 > compiler cannot create executables.` > > Any workarounds to this or shall I just go grab a tarball? You should file a bug report in the issue tracker, as usual, and I'll have a look at it. From ryandesign at macports.org Sat Apr 21 11:30:10 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 21 Apr 2012 13:30:10 -0500 Subject: f2c In-Reply-To: <8660E9B7-F6F2-493C-8ECB-1C210C89E8F7@macports.org> References: <4F92B2A7.7060509@gmail.com> <8660E9B7-F6F2-493C-8ECB-1C210C89E8F7@macports.org> Message-ID: <02F0D946-3E4E-421F-A089-5666BA87A4DD@macports.org> On Apr 21, 2012, at 13:18, Ryan Schmidt wrote: > > On Apr 21, 2012, at 08:14, Phil Dobbin wrote: > >> I'm trying to use f2c to compile ratfor but there's no fort77 script so >> I'm getting: >> >> `checking for f2c... f2c >> checking whether the Fortran 77 compiler (f2c ) works... no >> configure: error: installation or configuration problem: Fortran 77 >> compiler cannot create executables.` >> >> Any workarounds to this or shall I just go grab a tarball? > > You should file a bug report in the issue tracker, as usual, and I'll have a look at it. Oh, sorry, I misread your message. I thought you were saying f2c would not compile. So f2c compiles, but then you cannot use f2c to compile some other thing? Hmm. I'm not familiar with how f2c or other fortran things usually work. Sorry. From ryandesign at macports.org Sat Apr 21 11:49:30 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 21 Apr 2012 13:49:30 -0500 Subject: f2c In-Reply-To: <4F92B2A7.7060509@gmail.com> References: <4F92B2A7.7060509@gmail.com> Message-ID: <8F5A0311-18D6-4426-A127-11A9F48F30F2@macports.org> On Apr 21, 2012, at 08:14, Phil Dobbin wrote: > I'm trying to use f2c to compile ratfor but there's no fort77 script so > I'm getting: > > `checking for f2c... f2c > checking whether the Fortran 77 compiler (f2c ) works... no > configure: error: installation or configuration problem: Fortran 77 > compiler cannot create executables.` > > Any workarounds to this or shall I just go grab a tarball? Can you give a reproduction recipe? What files did you download and what commands did you run to try to compile ratfor with f2c? From phildobbin at gmail.com Sat Apr 21 13:30:06 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Sat, 21 Apr 2012 21:30:06 +0100 Subject: f2c In-Reply-To: <8F5A0311-18D6-4426-A127-11A9F48F30F2@macports.org> References: <4F92B2A7.7060509@gmail.com> <8F5A0311-18D6-4426-A127-11A9F48F30F2@macports.org> Message-ID: <4F9318CE.9060005@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 21/04/2012 19:49, Ryan Schmidt wrote: > On Apr 21, 2012, at 08:14, Phil Dobbin wrote: > >> I'm trying to use f2c to compile ratfor but there's no fort77 >> script so I'm getting: >> >> `checking for f2c... f2c checking whether the Fortran 77 compiler >> (f2c ) works... no configure: error: installation or >> configuration problem: Fortran 77 compiler cannot create >> executables.` >> >> Any workarounds to this or shall I just go grab a tarball? > > > Can you give a reproduction recipe? What files did you download and > what commands did you run to try to compile ratfor with f2c? As I understand it, f2c is a fortran77-to-c source code translator which obviates the need for a Fortran compiler but should contain a fort77 script in order to function correctly. I installed ratfor on Debian using apt-get & so I checked the package list & then went here: & grabbed a copy of g77 & then it installed fine. There was no ratfor port but I thought I'd grab f2c for which there was a port as my build set-up is based almost wholly on the ports in /opt/local minus Apple's dev tools of course. I'm guessing the problem was the fort77 script but of course may be completely wrong... Cheers, Phil. - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPkxjKAAoJEKpMeDHWT5ADOQ8H/j3OKpnj5iHGj7u51LD8UkkF juCyq5//ZQEyJ5ZKwvy8ZNDC7622RogPaOT5nsJC6uMnVybQ5GUid9R7bsb9g23j TIGictzm+K6ujxO65w17UTSlOHmHp0fwx/db3PvlHoNcgD2nQnntGNni/cYMvRKv gDzpq1gxGGlJynpPpYaY8z77Q61NAXKtC5ugXRaDJxXaINHDqiVjj9Er1/xDZLxK mQAzAQmid3X9cRDy8TO2ZUrlvQP8L9QwentP3HZchqnl6Fwbra4W11r1lB9IdOO+ JQgiQ8SewunQvXG2BE3J01rTiSNQdf6zt9rYDje3pDrdXBxuychUFWsRZv8oX0w= =CsNG -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From ryandesign at macports.org Sat Apr 21 17:12:10 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sat, 21 Apr 2012 19:12:10 -0500 Subject: f2c In-Reply-To: <4F9318CE.9060005@gmail.com> References: <4F92B2A7.7060509@gmail.com> <8F5A0311-18D6-4426-A127-11A9F48F30F2@macports.org> <4F9318CE.9060005@gmail.com> Message-ID: <85280C96-E810-41CC-939E-D41C9DA43445@macports.org> On Apr 21, 2012, at 15:30, Phil Dobbin wrote: > On 21/04/2012 19:49, Ryan Schmidt wrote: > >> On Apr 21, 2012, at 08:14, Phil Dobbin wrote: >> >>> I'm trying to use f2c to compile ratfor but there's no fort77 >>> script so I'm getting: >>> >>> `checking for f2c... f2c checking whether the Fortran 77 compiler >>> (f2c ) works... no configure: error: installation or >>> configuration problem: Fortran 77 compiler cannot create >>> executables.` >>> >>> Any workarounds to this or shall I just go grab a tarball? >> >> >> Can you give a reproduction recipe? What files did you download and >> what commands did you run to try to compile ratfor with f2c? > > As I understand it, f2c is a fortran77-to-c source code translator > which obviates the need for a Fortran compiler but should contain a > fort77 script in order to function correctly. > > I installed ratfor on Debian using apt-get & so I checked the package > list & then went here: > > > > & grabbed a copy of g77 & then it installed fine. There was no ratfor > port but I thought I'd grab f2c for which there was a port as my build > set-up is based almost wholly on the ports in /opt/local minus Apple's > dev tools of course. > > I'm guessing the problem was the fort77 script but of course may be > completely wrong... I'm still unsure how to reproduce the problem on my system. Can you provide a list of steps I should follow so that I would see the same error you saw? From phildobbin at gmail.com Sat Apr 21 21:56:12 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Sun, 22 Apr 2012 05:56:12 +0100 Subject: f2c In-Reply-To: <85280C96-E810-41CC-939E-D41C9DA43445@macports.org> References: <4F92B2A7.7060509@gmail.com> <8F5A0311-18D6-4426-A127-11A9F48F30F2@macports.org> <4F9318CE.9060005@gmail.com> <85280C96-E810-41CC-939E-D41C9DA43445@macports.org> Message-ID: <4F938F6C.1060803@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/04/2012 01:12, Ryan Schmidt wrote: > On Apr 21, 2012, at 15:30, Phil Dobbin wrote: > >> On 21/04/2012 19:49, Ryan Schmidt wrote: >> >>> On Apr 21, 2012, at 08:14, Phil Dobbin wrote: >>> >>>> I'm trying to use f2c to compile ratfor but there's no fort77 >>>> script so I'm getting: >>>> >>>> `checking for f2c... f2c checking whether the Fortran 77 compiler >>>> (f2c ) works... no configure: error: installation or >>>> configuration problem: Fortran 77 compiler cannot create >>>> executables.` >>>> >>>> Any workarounds to this or shall I just go grab a tarball? >>> >>> >>> Can you give a reproduction recipe? What files did you download and >>> what commands did you run to try to compile ratfor with f2c? >> >> As I understand it, f2c is a fortran77-to-c source code translator >> which obviates the need for a Fortran compiler but should contain a >> fort77 script in order to function correctly. >> >> I installed ratfor on Debian using apt-get & so I checked the package >> list & then went here: >> >> >> >> & grabbed a copy of g77 & then it installed fine. There was no ratfor >> port but I thought I'd grab f2c for which there was a port as my build >> set-up is based almost wholly on the ports in /opt/local minus Apple's >> dev tools of course. >> >> I'm guessing the problem was the fort77 script but of course may be >> completely wrong... > > I'm still unsure how to reproduce the problem on my system. Can you provide a list of steps I should follow so that I would see the same error you saw? $ cd src $ src tar -zxvf ratfor.xxx.tar.gz $ cd ratfor.xxx $ ratfor.xxx ./configure $ creating cache ./config.cache checking for a BSD compatible install... /opt/local/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gawk... gawk checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for g77... no checking for f77... no checking for f2c... f2c checking whether the Fortran 77 compiler (f2c ) works... no configure: error: installation or configuration problem: Fortran 77 compiler cannot create executables. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPk49pAAoJEKpMeDHWT5ADfu4H/1n0Y1KJ7sj/7ccfI+4Cuycm 8eFYOYwkLBunTToXERy9wiIsWhBMZoPtoJJqeEEZll77eHD1bzMgjAZE+qU8Upvp cI+Dmjey5BfPGXkY5UVtYGALoYUfikyBZ+xUn8mdRiKXzNPv6BZ7rFOsHWCYgJyJ q1K9KDM/BJ2Y/7+MkZPVavonRFALTTsfJ6DT+fY49T4+qEZgvlNwpynEvmN6lPsi h9/fBte/YZorXUqEmuV3AgAbDcWojggMoBCTVnfnIvhzNX4jjn/AenOPHewtsJv3 F7OSLPZlhsnaPjy2GY0RZF70PPi8bNVOp3anJAr25JAoPuPfrQSUPeWGYds6sDs= =rEpn -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From jonesc at hep.phy.cam.ac.uk Sun Apr 22 04:55:25 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Sun, 22 Apr 2012 12:55:25 +0100 Subject: f2c In-Reply-To: <4F938F6C.1060803@gmail.com> References: <4F92B2A7.7060509@gmail.com> <8F5A0311-18D6-4426-A127-11A9F48F30F2@macports.org> <4F9318CE.9060005@gmail.com> <85280C96-E810-41CC-939E-D41C9DA43445@macports.org> <4F938F6C.1060803@gmail.com> Message-ID: <35E18DED-E367-4C62-8290-DE62BADA61B8@hep.phy.cam.ac.uk> Hi, I think you might be going about trying to install this the wrong way. ratfor appears to only need f2c, if it cannot find a working fortran compiler, so you just need to give it one. By default it searches for 'f77', but you can change this by setting the environment variable F77. S0.. 1. Install a MacPorts fortran compiler. For instance 'gcc46'. > sudo port install gcc46 This provides the compiler 'gfortran-mp-4.6', so then all you need is Chris-Jones-Macbook-Pro ~/Downloads/ratfor-1.01 > export F77=gfortran-mp-4.6 Chris-Jones-Macbook-Pro ~/Downloads/ratfor-1.01 > ./configure loading cache ./config.cache checking for a BSD compatible install... /opt/local/bin/ginstall -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gawk... gawk checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether the Fortran 77 compiler (gfortran-mp-4.6 ) works... yes checking whether the Fortran 77 compiler (gfortran-mp-4.6 ) is a cross-compiler... no checking whether we are using GNU Fortran 77... yes checking whether gfortran-mp-4.6 accepts -g... yes checking for a BSD compatible install... /opt/local/bin/ginstall -c checking whether ln -s works... yes checking whether make sets ${MAKE}... (cached) yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h Chris-Jones-Macbook-Pro ~/Downloads/ratfor-1.01 > Chris On 22 Apr 2012, at 5:56am, Phil Dobbin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 22/04/2012 01:12, Ryan Schmidt wrote: > >> On Apr 21, 2012, at 15:30, Phil Dobbin wrote: >> >>> On 21/04/2012 19:49, Ryan Schmidt wrote: >>> >>>> On Apr 21, 2012, at 08:14, Phil Dobbin wrote: >>>> >>>>> I'm trying to use f2c to compile ratfor but there's no fort77 >>>>> script so I'm getting: >>>>> >>>>> `checking for f2c... f2c checking whether the Fortran 77 compiler >>>>> (f2c ) works... no configure: error: installation or >>>>> configuration problem: Fortran 77 compiler cannot create >>>>> executables.` >>>>> >>>>> Any workarounds to this or shall I just go grab a tarball? >>>> >>>> >>>> Can you give a reproduction recipe? What files did you download and >>>> what commands did you run to try to compile ratfor with f2c? >>> >>> As I understand it, f2c is a fortran77-to-c source code translator >>> which obviates the need for a Fortran compiler but should contain a >>> fort77 script in order to function correctly. >>> >>> I installed ratfor on Debian using apt-get & so I checked the package >>> list & then went here: >>> >>> >>> >>> & grabbed a copy of g77 & then it installed fine. There was no ratfor >>> port but I thought I'd grab f2c for which there was a port as my build >>> set-up is based almost wholly on the ports in /opt/local minus Apple's >>> dev tools of course. >>> >>> I'm guessing the problem was the fort77 script but of course may be >>> completely wrong... >> >> I'm still unsure how to reproduce the problem on my system. Can you provide a list of steps I should follow so that I would see the same error you saw? > > $ cd src > $ src tar -zxvf ratfor.xxx.tar.gz > $ cd ratfor.xxx > $ ratfor.xxx ./configure > $ creating cache ./config.cache > checking for a BSD compatible install... /opt/local/bin/ginstall -c > checking whether build environment is sane... yes > checking whether make sets ${MAKE}... yes > checking for working aclocal... found > checking for working autoconf... found > checking for working automake... found > checking for working autoheader... found > checking for working makeinfo... found > checking for gawk... gawk > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking for g77... no > checking for f77... no > checking for f2c... f2c > checking whether the Fortran 77 compiler (f2c ) works... no > configure: error: installation or configuration problem: Fortran 77 > compiler cannot create executables. > > Cheers, > > Phil... > > - -- > But masters, remember that I am an ass. > Though it be not written down, > yet forget not that I am an ass. > > Wm. Shakespeare - Much Ado About Nothing > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.17 (Darwin) > Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iQEcBAEBAgAGBQJPk49pAAoJEKpMeDHWT5ADfu4H/1n0Y1KJ7sj/7ccfI+4Cuycm > 8eFYOYwkLBunTToXERy9wiIsWhBMZoPtoJJqeEEZll77eHD1bzMgjAZE+qU8Upvp > cI+Dmjey5BfPGXkY5UVtYGALoYUfikyBZ+xUn8mdRiKXzNPv6BZ7rFOsHWCYgJyJ > q1K9KDM/BJ2Y/7+MkZPVavonRFALTTsfJ6DT+fY49T4+qEZgvlNwpynEvmN6lPsi > h9/fBte/YZorXUqEmuV3AgAbDcWojggMoBCTVnfnIvhzNX4jjn/AenOPHewtsJv3 > F7OSLPZlhsnaPjy2GY0RZF70PPi8bNVOp3anJAr25JAoPuPfrQSUPeWGYds6sDs= > =rEpn > -----END PGP SIGNATURE----- > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From jonesc at hep.phy.cam.ac.uk Sun Apr 22 05:01:07 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Sun, 22 Apr 2012 13:01:07 +0100 Subject: f2c In-Reply-To: <35E18DED-E367-4C62-8290-DE62BADA61B8@hep.phy.cam.ac.uk> References: <4F92B2A7.7060509@gmail.com> <8F5A0311-18D6-4426-A127-11A9F48F30F2@macports.org> <4F9318CE.9060005@gmail.com> <85280C96-E810-41CC-939E-D41C9DA43445@macports.org> <4F938F6C.1060803@gmail.com> <35E18DED-E367-4C62-8290-DE62BADA61B8@hep.phy.cam.ac.uk> Message-ID: Hi, Also, you could run > sudo port select gcc mp-gcc46 That will make MacPorts gcc 4.6 compiler your default compiler suite. This will make 'gcc' point to the same consistent version as the fortran compiler. Having done this, you could also use just 'export F77=gfortran' Finally, if you don't want gcc 4.6, you can pick any of the other compiler versions and do the same sort of thing. cheers Chris On 22 Apr 2012, at 12:55pm, Chris Jones wrote: > Hi, > > I think you might be going about trying to install this the wrong way. ratfor appears to only need f2c, if it cannot find a working fortran compiler, so you just need to give it one. By default it searches for 'f77', but you can change this by setting the environment variable F77. S0.. > > 1. Install a MacPorts fortran compiler. For instance 'gcc46'. > >> sudo port install gcc46 > > This provides the compiler 'gfortran-mp-4.6', so then all you need is > > Chris-Jones-Macbook-Pro ~/Downloads/ratfor-1.01 > export F77=gfortran-mp-4.6 > Chris-Jones-Macbook-Pro ~/Downloads/ratfor-1.01 > ./configure > loading cache ./config.cache > checking for a BSD compatible install... /opt/local/bin/ginstall -c > checking whether build environment is sane... yes > checking whether make sets ${MAKE}... yes > checking for working aclocal... found > checking for working autoconf... found > checking for working automake... found > checking for working autoheader... found > checking for working makeinfo... found > checking for gawk... gawk > checking for gcc... gcc > checking whether the C compiler (gcc ) works... yes > checking whether the C compiler (gcc ) is a cross-compiler... no > checking whether we are using GNU C... yes > checking whether gcc accepts -g... yes > checking whether the Fortran 77 compiler (gfortran-mp-4.6 ) works... yes > checking whether the Fortran 77 compiler (gfortran-mp-4.6 ) is a cross-compiler... no > checking whether we are using GNU Fortran 77... yes > checking whether gfortran-mp-4.6 accepts -g... yes > checking for a BSD compatible install... /opt/local/bin/ginstall -c > checking whether ln -s works... yes > checking whether make sets ${MAKE}... (cached) yes > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > updating cache ./config.cache > creating ./config.status > creating Makefile > creating config.h > Chris-Jones-Macbook-Pro ~/Downloads/ratfor-1.01 > > > Chris > > On 22 Apr 2012, at 5:56am, Phil Dobbin wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 22/04/2012 01:12, Ryan Schmidt wrote: >> >>> On Apr 21, 2012, at 15:30, Phil Dobbin wrote: >>> >>>> On 21/04/2012 19:49, Ryan Schmidt wrote: >>>> >>>>> On Apr 21, 2012, at 08:14, Phil Dobbin wrote: >>>>> >>>>>> I'm trying to use f2c to compile ratfor but there's no fort77 >>>>>> script so I'm getting: >>>>>> >>>>>> `checking for f2c... f2c checking whether the Fortran 77 compiler >>>>>> (f2c ) works... no configure: error: installation or >>>>>> configuration problem: Fortran 77 compiler cannot create >>>>>> executables.` >>>>>> >>>>>> Any workarounds to this or shall I just go grab a tarball? >>>>> >>>>> >>>>> Can you give a reproduction recipe? What files did you download and >>>>> what commands did you run to try to compile ratfor with f2c? >>>> >>>> As I understand it, f2c is a fortran77-to-c source code translator >>>> which obviates the need for a Fortran compiler but should contain a >>>> fort77 script in order to function correctly. >>>> >>>> I installed ratfor on Debian using apt-get & so I checked the package >>>> list & then went here: >>>> >>>> >>>> >>>> & grabbed a copy of g77 & then it installed fine. There was no ratfor >>>> port but I thought I'd grab f2c for which there was a port as my build >>>> set-up is based almost wholly on the ports in /opt/local minus Apple's >>>> dev tools of course. >>>> >>>> I'm guessing the problem was the fort77 script but of course may be >>>> completely wrong... >>> >>> I'm still unsure how to reproduce the problem on my system. Can you provide a list of steps I should follow so that I would see the same error you saw? >> >> $ cd src >> $ src tar -zxvf ratfor.xxx.tar.gz >> $ cd ratfor.xxx >> $ ratfor.xxx ./configure >> $ creating cache ./config.cache >> checking for a BSD compatible install... /opt/local/bin/ginstall -c >> checking whether build environment is sane... yes >> checking whether make sets ${MAKE}... yes >> checking for working aclocal... found >> checking for working autoconf... found >> checking for working automake... found >> checking for working autoheader... found >> checking for working makeinfo... found >> checking for gawk... gawk >> checking for gcc... gcc >> checking whether the C compiler (gcc ) works... yes >> checking whether the C compiler (gcc ) is a cross-compiler... no >> checking whether we are using GNU C... yes >> checking whether gcc accepts -g... yes >> checking for g77... no >> checking for f77... no >> checking for f2c... f2c >> checking whether the Fortran 77 compiler (f2c ) works... no >> configure: error: installation or configuration problem: Fortran 77 >> compiler cannot create executables. >> >> Cheers, >> >> Phil... >> >> - -- >> But masters, remember that I am an ass. >> Though it be not written down, >> yet forget not that I am an ass. >> >> Wm. Shakespeare - Much Ado About Nothing >> >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG/MacGPG2 v2.0.17 (Darwin) >> Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net >> Comment: GPGTools - http://gpgtools.org >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iQEcBAEBAgAGBQJPk49pAAoJEKpMeDHWT5ADfu4H/1n0Y1KJ7sj/7ccfI+4Cuycm >> 8eFYOYwkLBunTToXERy9wiIsWhBMZoPtoJJqeEEZll77eHD1bzMgjAZE+qU8Upvp >> cI+Dmjey5BfPGXkY5UVtYGALoYUfikyBZ+xUn8mdRiKXzNPv6BZ7rFOsHWCYgJyJ >> q1K9KDM/BJ2Y/7+MkZPVavonRFALTTsfJ6DT+fY49T4+qEZgvlNwpynEvmN6lPsi >> h9/fBte/YZorXUqEmuV3AgAbDcWojggMoBCTVnfnIvhzNX4jjn/AenOPHewtsJv3 >> F7OSLPZlhsnaPjy2GY0RZF70PPi8bNVOp3anJAr25JAoPuPfrQSUPeWGYds6sDs= >> =rEpn >> -----END PGP SIGNATURE----- >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From phildobbin at gmail.com Sun Apr 22 05:11:11 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Sun, 22 Apr 2012 13:11:11 +0100 Subject: f2c In-Reply-To: References: <4F92B2A7.7060509@gmail.com> <8F5A0311-18D6-4426-A127-11A9F48F30F2@macports.org> <4F9318CE.9060005@gmail.com> <85280C96-E810-41CC-939E-D41C9DA43445@macports.org> <4F938F6C.1060803@gmail.com> <35E18DED-E367-4C62-8290-DE62BADA61B8@hep.phy.cam.ac.uk> Message-ID: <4F93F55F.2010307@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/04/2012 13:01, Chris Jones wrote: > Also, you could run > > > sudo port select gcc mp-gcc46 > > That will make MacPorts gcc 4.6 compiler your default compiler suite. This will make 'gcc' point to the same consistent version as the fortran compiler. Having done this, you could also use just 'export F77=gfortran' > > Finally, if you don't want gcc 4.6, you can pick any of the other compiler versions and do the same sort of thing. Hi, Chris. Thanks for the tip. In the end I just grabbed a tarball of f77 & used that. Raftor was going into /usr/local anyway so as not mess with /opt/local so f77 went there also. & please everybody, let's not re-open the the usr/local thread again :-) My environment, apart from one hiccup concerning rvm in $HOME/, has functioned great with no problems for nearly a year now with Mac Ports & /usr/local side by side. YMMV... Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPk/VdAAoJEKpMeDHWT5ADhi4IAIF4hr1RSUjTNxsoJn5YcjcH waK6ZdRp8f+IrKz40LaHbH9MlPD4w0mtvmqLLSOPz1im+t5g97dXE1nkJuqb5M2b Kf72DHEY5dNZF/89E8qlbhWhDO8mer4HxKdHg8+OmjtGfbobGoxTLFwLnWRA7b/e FoOAGc1NySJFP6Tch2QGp7VmFr9wdUbK4CsGAbfVsCHP9/sN0XQkwQWtvK7Y+/KR WarkRZbBTCMSTNBJGRV90VGSBTdYdDQOsrkpUCfPS/k3O0DtCgmcMNPbITFa4xZA Gfr2WDThZxlylBn7hzz/XPMR85j0uKkmN4d5C+vmtLhHKjRUsnU9NRzzMYzqiT4= =qszY -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From trg818 at gmail.com Sun Apr 22 05:28:04 2012 From: trg818 at gmail.com (Thomas) Date: Sun, 22 Apr 2012 14:28:04 +0200 Subject: How to really uninstall a failed port? Message-ID: Dear list, I have tried for hours to install py26-pyqt4 and am now stuck with the failure to build qt4-mac. After hours of compiling and filling 4 (!) GB on my disk, this is where it fails: :debug:main Skipping completed org.macports.build (qt4-mac) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.destroot (qt4-mac) :debug:main Privilege de-escalation not attempted as not running as root. :debug:install install phase started at Sun Apr 22 13:32:55 CEST 2012 :notice:install ---> Installing qt4-mac @4.7.4_1+quartz :debug:install Can't run install on this port without elevated privileges. Escal ating privileges back to root. :debug:install euid changed to: 0. egid changed to: 0. :debug:install Executing org.macports.install (qt4-mac) :error:install Target org.macports.install returned: gzip: stdin: unexpected end of file /usr/bin/tar: Unexpected EOF in archive /usr/bin/tar: Error is not recoverable: exiting now :debug:install Backtrace: gzip: stdin: unexpected end of file /usr/bin/tar: Unexpected EOF in archive /usr/bin/tar: Error is not recoverable: exiting now [...] I don't understand what the issue with "root privilege" is - I did of course run port with sudo. To make things worse, it seems that I can't even remove the failed compile with sudo port clean --all qt4-mac or even sudo port clean --all py26-pyqt4 in order to start from scratch. The error remains the same as given above. So, what can I do, and in particular, how can I really remove the failed compile and start over? System info: Mac OS 10.5.8, Xcode 3.1, macports is up to date. Thanks, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdbecque at gmail.com Sun Apr 22 08:09:31 2012 From: mdbecque at gmail.com (M. Daniel Becque) Date: Sun, 22 Apr 2012 10:09:31 -0500 Subject: tcsh --> bash Message-ID: When I installed Macports my machine was configured with tcsh as the default shell [it's a G4 mac running 10.4]. I want to change the default shell to bash. Easy to do but my question is what do I need to change in my Macports setup? It looks like I'll need to add the Macports path to my ~/.profile, but is there anything else I am missing? Thanks dan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason.swails at gmail.com Sun Apr 22 08:22:40 2012 From: jason.swails at gmail.com (Jason Swails) Date: Sun, 22 Apr 2012 11:22:40 -0400 Subject: tcsh --> bash In-Reply-To: References: Message-ID: On Sun, Apr 22, 2012 at 11:09 AM, M. Daniel Becque wrote: > When I installed Macports my machine was configured with tcsh as the > default shell [it's a G4 mac running 10.4]. I want to change the default > shell to bash. > Easy to do but my question is what do I need to change in my Macports > setup? It looks like I'll need to add the Macports path to my ~/.profile, > but is there anything else I am missing? > When MacPorts installed, it just dumped the statement: export PATH=/opt/local/bin:/opt/local/sbin:$PATH to my ~/.bash_profile. Since everything else should be shell-independent, I don't think there's anything else you need. If you're making the switch to bash, though, I highly recommend installing the "bash-completion" port and putting the line: test -f /opt/local/etc/bash_completion && . /opt/local/etc/bash_completion in your ~/.bashrc or ~/.bash_profile. Bash-completion is awesome, and they have completion for just about anything you could want :) (git, ssh, rsync, make, configure, cvs, cups, bip2, autoconf, coreutils--just to name a few. One of my machines claims to have over 200 available bash completion options). All the best, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mdbecque at gmail.com Sun Apr 22 08:40:47 2012 From: mdbecque at gmail.com (M. Daniel Becque) Date: Sun, 22 Apr 2012 10:40:47 -0500 Subject: tcsh --> bash In-Reply-To: References: Message-ID: Thanks for your input. I'll look into bash-completion. I didn't want to cause an inadvertent change in my macports setup. On Sun, Apr 22, 2012 at 10:22 AM, Jason Swails wrote: > > > On Sun, Apr 22, 2012 at 11:09 AM, M. Daniel Becque wrote: > >> When I installed Macports my machine was configured with tcsh as the >> default shell [it's a G4 mac running 10.4]. I want to change the default >> shell to bash. >> Easy to do but my question is what do I need to change in my Macports >> setup? It looks like I'll need to add the Macports path to my ~/.profile, >> but is there anything else I am missing? >> > > When MacPorts installed, it just dumped the statement: > > export PATH=/opt/local/bin:/opt/local/sbin:$PATH > > to my ~/.bash_profile. Since everything else should be shell-independent, > I don't think there's anything else you need. > > If you're making the switch to bash, though, I highly recommend installing > the "bash-completion" port and putting the line: > > test -f /opt/local/etc/bash_completion && . /opt/local/etc/bash_completion > > in your ~/.bashrc or ~/.bash_profile. Bash-completion is awesome, and > they have completion for just about anything you could want :) (git, ssh, > rsync, make, configure, cvs, cups, bip2, autoconf, coreutils--just to name > a few. One of my machines claims to have over 200 available bash completion > options). > > All the best, > Jason > > -- > Jason M. Swails > Quantum Theory Project, > University of Florida > Ph.D. Candidate > 352-392-4032 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pixilla at macports.org Sun Apr 22 09:07:54 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Sun, 22 Apr 2012 09:07:54 -0700 Subject: How to really uninstall a failed port? In-Reply-To: References: Message-ID: On Apr 22, 2012, at 5:28 AM, Thomas wrote: > Dear list, > I have tried for hours to install py26-pyqt4 and am now stuck with the failure to build qt4-mac. After hours of compiling and filling 4 (!) GB on my disk, this is where it fails: > > :debug:main Skipping completed org.macports.build (qt4-mac) > :debug:main Privilege de-escalation not attempted as not running as root. > :debug:main Skipping completed org.macports.destroot (qt4-mac) > :debug:main Privilege de-escalation not attempted as not running as root. > :debug:install install phase started at Sun Apr 22 13:32:55 CEST 2012 > :notice:install ---> Installing qt4-mac @4.7.4_1+quartz > :debug:install Can't run install on this port without elevated privileges. Escal > ating privileges back to root. > :debug:install euid changed to: 0. egid changed to: 0. > :debug:install Executing org.macports.install (qt4-mac) > :error:install Target org.macports.install returned: > gzip: stdin: unexpected end of file Port archives the package files and then installs from this archive, and unfortunately it looks like the archive. I think this command will show you where this archive is located. $ port location qt4-mac /opt/local/var/macports/software/qt4-mac/qt4-mac-4.7.4_1+quartz.darwin_10.x86_64.tbz2 Since qt4-mac takes a while to build you may want to look at the archive and verify that it is really invalid. $ du -h /opt/local/var/macports/software/qt4-mac/qt4-mac-4.7.4_1+quartz.darwin_10.x86_64.tbz2 165M /opt/local/var/macports/software/qt4-mac/qt4-mac-4.7.4_1+quartz.darwin_10.x86_64.tbz2 $ tar jtvf /opt/local/var/macports/software/qt4-mac/qt4-mac-4.7.4_1+quartz.darwin_10.x86_64.tbz2 drwxr-xr-x 0 root wheel 0 Mar 3 16:27 ./ -rw-r--r-- 0 root wheel 12 Mar 3 16:27 ./+COMMENT -rw-r--r-- 0 root wheel 1340898 Mar 3 16:28 ./+CONTENTS -rw-r--r-- 0 root wheel 149 Mar 3 16:27 ./+DESC ... If you want to remove the file this command should do it: $ sudo port uninstall qt4-mac Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From trg818 at gmail.com Sun Apr 22 09:46:18 2012 From: trg818 at gmail.com (Thomas) Date: Sun, 22 Apr 2012 18:46:18 +0200 Subject: How to really uninstall a failed port? In-Reply-To: References: Message-ID: Thanks for your suggestions. On Sun, Apr 22, 2012 at 6:07 PM, Bradley Giesbrecht wrote: > Port archives the package files and then installs from this archive, and > unfortunately it looks like the archive is corrupt. > Possible. > I think this command will show you where this archive is located. > $ port location qt4-mac > > /opt/local/var/macports/software/qt4-mac/qt4-mac-4.7.4_1+quartz.darwin_10.x86_64.tbz2 > No, probably because the installation didn't complete: port location qt4-macError: port location failed: Registry error: qt4-mac not registered as installed. There is an archive file there, however, and it is in the location you suggested: ls -l /opt/local/var/macports/software/qt4-mac/total 159384 -rw-r--r-- 1 macports admin 81604608 Apr 22 06:26 qt4-mac-4.7.4_1+quartz.darwin_9.i386.tgz I just checked the md5sum, and it seems indeed that it is indeed corrupted. > If you want to remove the file this command should do it: > $ sudo port uninstall qt4-mac > No, it doesn't. When I execute this command, nothing seems to happen, and I get no errors, but the archive remains where it is, and when I try to reinstall, I get this: sudo port install qt4-mac at 4.7.4_1+quartz ---> Computing dependencies for qt4-mac ---> Installing qt4-mac @4.7.4_1+quartz Error: Target org.macports.install returned: gzip: stdin: unexpected end of file /usr/bin/tar: Unexpected EOF in archive /usr/bin/tar: Error is not recoverable: exiting now Error: Failed to install qt4-mac Log for qt4-mac is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/main.log Error: The following dependencies were not installed: qt4-mac Error: Status 1 encountered during processing. When I remove the broken tarfile by hand (i.e. mv it to a complete different place), I have: sudo port install qt4-mac at 4.7.4_1+quartz ---> Computing dependencies for qt4-mac ---> Installing qt4-mac @4.7.4_1+quartz Error: Target org.macports.install returned: no destroot found at: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/qt4-mac/work/destroot I suspect there is some information in the database that got screwed up, but how can I fix that? Somehow I must get rid of this tarfile and fetch it again, but how? Regards, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy at lavergne.gotdns.org Sun Apr 22 09:49:57 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sun, 22 Apr 2012 12:49:57 -0400 Subject: How to really uninstall a failed port? In-Reply-To: References: Message-ID: > I suspect there is some information in the database that got screwed up, but how can I fix that? Somehow I must get rid of this tarfile and fetch it again, but how? Did you run clean after you deleted the archive? sudo port clean qt4-mac -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From trg818 at gmail.com Sun Apr 22 09:56:26 2012 From: trg818 at gmail.com (Thomas) Date: Sun, 22 Apr 2012 18:56:26 +0200 Subject: How to really uninstall a failed port? In-Reply-To: References: Message-ID: On Sun, Apr 22, 2012 at 6:49 PM, Jeremy Lavergne wrote: > > I suspect there is some information in the database that got screwed up, > but how can I fix that? Somehow I must get rid of this tarfile and fetch it > again, but how? > Did you run clean after you deleted the archive? > sudo port clean qt4-mac > > I had run that on earlier occasions, but not this time, i.e., after removing the tarfile. You're right! Now it seems that the archive is being fetched again from the server. I'll report how things develop, which may be several hours from now given how long the download and compile take. Thanks, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Sun Apr 22 13:33:06 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 22 Apr 2012 15:33:06 -0500 Subject: How to really uninstall a failed port? In-Reply-To: References: Message-ID: On Apr 22, 2012, at 11:56, Thomas wrote: > I had run that on earlier occasions, but not this time, i.e., after removing the tarfile. You're right! Now it seems that the archive is being fetched again from the server. > I'll report how things develop, which may be several hours from now given how long the download and compile take. MacPorts fetched a distfile, not an archive. Archives are pre-compiled binaries; distfiles are the source from which things are compiled. We don't have any archives for Darwin 9. On OS X you should keep at least 10% of your hard drive empty. Some ports take a lot of space to compile. I've seen some ports take as much as 10GB of disk space during building, most of which is cleaned up after the build is done. I think qt4-mac takes around 6GB of space while it's building. From trg818 at gmail.com Sun Apr 22 15:00:57 2012 From: trg818 at gmail.com (Thomas) Date: Mon, 23 Apr 2012 00:00:57 +0200 Subject: How to really uninstall a failed port? In-Reply-To: References: Message-ID: Hi again, On Sun, Apr 22, 2012 at 6:56 PM, Thomas wrote: > On Sun, Apr 22, 2012 at 6:49 PM, Jeremy Lavergne < > jeremy at lavergne.gotdns.org> wrote: > >> > I suspect there is some information in the database that got screwed >> up, but how can I fix that? Somehow I must get rid of this tarfile and >> fetch it again, but how? >> Did you run clean after you deleted the archive? >> sudo port clean qt4-mac >> > I had run that on earlier occasions, but not this time, i.e., after > removing the tarfile. You're right! Now it seems that the archive is being > fetched again from the server. > Yes, it worked. The compile of qt4-mac and subsequently of py26-pyqt4 without any further problems, as far as I can tell. Thanks again for your input, especially to Jeremy. Cheers, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.todd659 at gmail.com Mon Apr 23 06:02:07 2012 From: andrew.todd659 at gmail.com (Andrew Todd) Date: Mon, 23 Apr 2012 09:02:07 -0400 Subject: emacs-snapshot failing to download Message-ID: Tried last week and this morning. ---> Fetching emacs-snapshot ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from http://emacs.naquadah.org/unstable/ ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from http://distfiles.macports.org/emacs-snapshot ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/emacs-snapshot ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/emacs-snapshot ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from http://jog.id.distfiles.macports.org/macports/mpdistfiles/emacs-snapshot ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from http://lil.fr.distfiles.macports.org/emacs-snapshot ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from http://sea.us.distfiles.macports.org/macports/mpdistfiles/emacs-snapshot ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/emacs-snapshot ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from http://svn.macports.org/repository/macports/distfiles/emacs-snapshot Error: Target org.macports.fetch returned: fetch failed Log for emacs-snapshot is at: /opt/local/var/macports/logs/_Users_atodd_dev_macports_ports_editors_emacs-snapshot/emacs-snapshot/main.log Error: Unable to upgrade port: 1 From jmr at macports.org Mon Apr 23 08:42:16 2012 From: jmr at macports.org (Joshua Root) Date: Tue, 24 Apr 2012 01:42:16 +1000 Subject: MacPorts 2.1.0-beta1 now available for testing In-Reply-To: <4F862C15.2090603@macports.org> References: <4F862C15.2090603@macports.org> Message-ID: <4F957858.9000307@macports.org> Have many people tested this? We've only had one real bug reported so far, and that one was present in 2.0.4. If this is just a really solid release, great; but if nobody is testing it, well, please do or the bugs will just end up in the final release. :-) Cheers, Josh From vince at macports.org Mon Apr 23 08:52:27 2012 From: vince at macports.org (vincent habchi) Date: Mon, 23 Apr 2012 17:52:27 +0200 Subject: MacPorts 2.1.0-beta1 now available for testing In-Reply-To: <4F957858.9000307@macports.org> References: <4F862C15.2090603@macports.org> <4F957858.9000307@macports.org> Message-ID: <09C4624C-6F43-4225-82DD-65AC4B10DF08@macports.org> On 23 avr. 2012, at 17:42, Joshua Root wrote: > Have many people tested this? We've only had one real bug reported so > far, and that one was present in 2.0.4. What?s new in this version? Vincent From jeremy at lavergne.gotdns.org Mon Apr 23 08:56:28 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Mon, 23 Apr 2012 11:56:28 -0400 Subject: MacPorts 2.1.0-beta1 now available for testing In-Reply-To: <09C4624C-6F43-4225-82DD-65AC4B10DF08@macports.org> References: <4F862C15.2090603@macports.org> <4F957858.9000307@macports.org> <09C4624C-6F43-4225-82DD-65AC4B10DF08@macports.org> Message-ID: <206BB87F-6691-4B5A-887E-CEFB29DBD665@lavergne.gotdns.org> >> Have many people tested this? We've only had one real bug reported so >> far, and that one was present in 2.0.4. > > What?s new in this version? https://trac.macports.org/browser/tags/release_2_1_0-beta1/base/ChangeLog -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From vince at macports.org Mon Apr 23 09:03:01 2012 From: vince at macports.org (vincent habchi) Date: Mon, 23 Apr 2012 18:03:01 +0200 Subject: MacPorts 2.1.0-beta1 now available for testing In-Reply-To: <206BB87F-6691-4B5A-887E-CEFB29DBD665@lavergne.gotdns.org> References: <4F862C15.2090603@macports.org> <4F957858.9000307@macports.org> <09C4624C-6F43-4225-82DD-65AC4B10DF08@macports.org> <206BB87F-6691-4B5A-887E-CEFB29DBD665@lavergne.gotdns.org> Message-ID: <4EFDA3EA-83B7-42D4-BBD9-F3543D2B551B@macports.org> ?????? On 23 avr. 2012, at 17:56, Jeremy Lavergne wrote: >> What?s new in this version? > > https://trac.macports.org/browser/tags/release_2_1_0-beta1/base/ChangeLog Thanks! Vincent From ram at macports.org Mon Apr 23 10:11:35 2012 From: ram at macports.org (Adam Mercer) Date: Mon, 23 Apr 2012 12:11:35 -0500 Subject: Group file and registry warnings when upgrading swig-python Message-ID: Hi On updating a couple of my machines today I saw the following: ---> Computing dependencies for swig-python ---> Fetching swig-python ---> Verifying checksum(s) for swig-python ---> Extracting swig-python ---> Configuring swig-python ---> Building swig-python ---> Staging swig-python into destroot ---> Installing swig-python @2.0.5_0 ---> Cleaning swig-python ---> Computing dependencies for swig-python Warning: Group file could not be located. Warning: Failed to open Portfile from registry for swig-python @2.0.4_0 ---> Deactivating swig-python @2.0.4_0 ---> Activating swig-python @2.0.5_0 ---> Cleaning swig-python Warning: Group file could not be located. Warning: Failed to open Portfile from registry for swig-python @2.0.4_0 ---> Uninstalling swig-python @2.0.4_0 Are these warnings anything to worry about? Cheers Adam From jmr at macports.org Mon Apr 23 10:41:14 2012 From: jmr at macports.org (Joshua Root) Date: Tue, 24 Apr 2012 03:41:14 +1000 Subject: MacPorts 2.1.0-beta1 now available for testing In-Reply-To: References: <4F862C15.2090603@macports.org> <4F957858.9000307@macports.org> Message-ID: <4F95943A.8070706@macports.org> A different rsync url that you could put in macports.conf would be possible. I believe there's already one for trunk. On 2012-4-24 03:03 , Daniel wrote: > I would have tested it were it a little bit easier. > > What would people think of a port selfupdate --pre (prerelease or > --beta) flag for updating easily to the testing versions? > > -d > > > On Mon, Apr 23, 2012 at 8:42 AM, Joshua Root > wrote: > > Have many people tested this? We've only had one real bug reported so > far, and that one was present in 2.0.4. If this is just a really solid > release, great; but if nobody is testing it, well, please do or the bugs > will just end up in the final release. :-) > > Cheers, > Josh From ram at macports.org Mon Apr 23 11:25:11 2012 From: ram at macports.org (Adam Mercer) Date: Mon, 23 Apr 2012 13:25:11 -0500 Subject: MacPorts 2.1.0-beta1 now available for testing In-Reply-To: <4F957858.9000307@macports.org> References: <4F862C15.2090603@macports.org> <4F957858.9000307@macports.org> Message-ID: On Mon, Apr 23, 2012 at 10:42, Joshua Root wrote: > Have many people tested this? We've only had one real bug reported so > far, and that one was present in 2.0.4. If this is just a really solid > release, great; but if nobody is testing it, well, please do or the bugs > will just end up in the final release. :-) I've been running it since shortly after it was tagged on a couple of Lion machines and have ran into no problems. Cheers Adam From allbery.b at gmail.com Mon Apr 23 11:38:53 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Mon, 23 Apr 2012 14:38:53 -0400 Subject: MacPorts 2.1.0-beta1 now available for testing In-Reply-To: <4F957858.9000307@macports.org> References: <4F862C15.2090603@macports.org> <4F957858.9000307@macports.org> Message-ID: On Mon, Apr 23, 2012 at 11:42, Joshua Root wrote: > Have many people tested this? We've only had one real bug reported so > far, and that one was present in 2.0.4. If this is just a really solid > release, great; but if nobody is testing it, well, please do or the bugs > will just end up in the final release. :-) > It's been working fine here aside from it getting its knickers in a twist over a half-completed migration away from +universal (for mono) ? which was apparently just fixed with a cairo update. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From ryandesign at macports.org Mon Apr 23 12:26:37 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Mon, 23 Apr 2012 14:26:37 -0500 Subject: emacs-snapshot failing to download In-Reply-To: References: Message-ID: On Apr 23, 2012, at 08:02, Andrew Todd wrote: > Tried last week and this morning. > > ---> Fetching emacs-snapshot > ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from > http://emacs.naquadah.org/unstable/ > ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from > http://distfiles.macports.org/emacs-snapshot > ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from > http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/emacs-snapshot > ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from > http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/emacs-snapshot > ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from > http://jog.id.distfiles.macports.org/macports/mpdistfiles/emacs-snapshot > ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from > http://lil.fr.distfiles.macports.org/emacs-snapshot > ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from > http://sea.us.distfiles.macports.org/macports/mpdistfiles/emacs-snapshot > ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from > http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/emacs-snapshot > ---> Attempting to fetch emacs-snapshot_20120403.orig.tar.xz from > http://svn.macports.org/repository/macports/distfiles/emacs-snapshot > Error: Target org.macports.fetch returned: fetch failed > Log for emacs-snapshot is at: > /opt/local/var/macports/logs/_Users_atodd_dev_macports_ports_editors_emacs-snapshot/emacs-snapshot/main.log > Error: Unable to upgrade port: 1 You should file a bug report in the issue tracker, if one has not already been filed about this problem. From jonesc at hep.phy.cam.ac.uk Mon Apr 23 14:56:27 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Mon, 23 Apr 2012 22:56:27 +0100 Subject: API headers for MacPorts clang/llvm Message-ID: Hi, I'm working on a variant to the root port that requires access to some clang headers. See https://trac.macports.org/ticket/34171 I'm trying to fix the error /Users/chris/Projects/root/core/meta/src/TCintWithCling.cxx:26:10: fatal error: 'clang/AST/ASTContext.h' file not found #include "clang/AST/ASTContext.h" When using MacPorts llvm/clang 3.1 release. Does anyone know what I need to get this header ? cheers Chris -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From jonesc at hep.phy.cam.ac.uk Tue Apr 24 02:24:45 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Tue, 24 Apr 2012 10:24:45 +0100 Subject: API headers for MacPorts clang/llvm In-Reply-To: References: Message-ID: <4F96715D.7080206@hep.phy.cam.ac.uk> Hi, Any takers ? I'm just wondering if the issue is the MacPorts clang ports don't install the development headers ? If so, could these be added ? Chris On 23/04/12 22:56, Chris Jones wrote: > Hi, > > I'm working on a variant to the root port that requires access to some clang headers. See > > https://trac.macports.org/ticket/34171 > > I'm trying to fix the error > > /Users/chris/Projects/root/core/meta/src/TCintWithCling.cxx:26:10: fatal error: 'clang/AST/ASTContext.h' file not found > #include "clang/AST/ASTContext.h" > > When using MacPorts llvm/clang 3.1 release. Does anyone know what I need to get this header ? > > cheers Chris= > > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From dluke at geeklair.net Tue Apr 24 05:22:57 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Tue, 24 Apr 2012 08:22:57 -0400 Subject: API headers for MacPorts clang/llvm In-Reply-To: <4F96715D.7080206@hep.phy.cam.ac.uk> References: <4F96715D.7080206@hep.phy.cam.ac.uk> Message-ID: <3F8CD2DC-22B1-4A50-BE38-61A9459225A7@geeklair.net> On Apr 24, 2012, at 5:24 AM, Chris Jones wrote: > I'm just wondering if the issue is the MacPorts clang ports don't install the development headers ? If so, could these be added ? It's possible - you might get more traction on the -dev list, though ;-) One thing to think about is that if you only need this header to build, you can just download the clang distfile and put it into some place where your build will find it (I believe we used to do this for ports that required the tcl private headers, and we may still do this - but I haven't checked in a while). > On 23/04/12 22:56, Chris Jones wrote: >> Hi, >> >> I'm working on a variant to the root port that requires access to some clang headers. See >> >> https://trac.macports.org/ticket/34171 >> >> I'm trying to fix the error >> >> /Users/chris/Projects/root/core/meta/src/TCintWithCling.cxx:26:10: fatal error: 'clang/AST/ASTContext.h' file not found >> #include "clang/AST/ASTContext.h" >> >> When using MacPorts llvm/clang 3.1 release. Does anyone know what I need to get this header ? -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From raramayo at gmail.com Tue Apr 24 06:46:27 2012 From: raramayo at gmail.com (Rodolfo Aramayo) Date: Tue, 24 Apr 2012 08:46:27 -0500 Subject: Problems updating Mesa Message-ID: Updating Mesa is running into problems retrieving some files: ################################################################################################################## ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/mesa ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/mesa ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://jog.id.distfiles.macports.org/macports/mpdistfiles/mesa ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://sea.us.distfiles.macports.org/macports/mpdistfiles/mesa ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://svn.macports.org/repository/macports/distfiles/mesa Error: Target org.macports.fetch returned: fetch failed Log for mesa is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/mesa/main.log Error: Unable to upgrade port: 1 To report a bug, see ################################################################################################################## The 'tail' of the log reads as follows: ################################################################################################################## :debug:fetch aarnet.au.distfiles.macports.org ping time is 245.732 :debug:fetch her.gr.distfiles.macports.org ping time is 223.232 :debug:fetch jog.id.distfiles.macports.org ping time is 289.245 :debug:fetch lil.fr.distfiles.macports.org ping time is 141.497 :debug:fetch sea.us.distfiles.macports.org ping time is 10000 :debug:fetch ykf.ca.distfiles.macports.org ping time is 91.956 :notice:fetch ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://distfiles.macports.org/mesa :debug:fetch Fetching failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from ftp://ftp.freedesktop.org/pub/mesa/8.0.2/ :debug:fetch Fetching failed:: RETR response: 550 :notice:fetch ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/mesa :debug:fetch Fetching failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://lil.fr.distfiles.macports.org/mesa :debug:fetch Fetching failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/mesa :debug:fetch Fetching failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/mesa :debug:fetch Fetching failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://jog.id.distfiles.macports.org/macports/mpdistfiles/mesa :debug:fetch Fetching failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://sea.us.distfiles.macports.org/macports/mpdistfiles/mesa :debug:fetch Fetching failed:: The requested URL returned error: 404 :notice:fetch ---> Attempting to fetch 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from http://svn.macports.org/repository/macports/distfiles/mesa :debug:fetch Fetching failed:: The requested URL returned error: 404 :error:fetch Target org.macports.fetch returned: fetch failed :debug:fetch Backtrace: fetch failed while executing "portfetch::fetchfiles" (procedure "portfetch::fetch_main" line 17) invoked from within "$procedure $targetname" :info:fetch Warning: the following items did not execute (for mesa): org.macports.install org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot :notice:fetch Log for mesa is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/mesa/main.log ################################################################################################################## From ryandesign at macports.org Tue Apr 24 06:49:31 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 24 Apr 2012 08:49:31 -0500 Subject: Problems updating Mesa In-Reply-To: References: Message-ID: <4BD29EA7-1A8E-4B34-94B2-CB24AF6B28A6@macports.org> On Apr 24, 2012, at 08:46, Rodolfo Aramayo wrote: > Updating Mesa is running into problems retrieving some files: > ################################################################################################################## > ---> Attempting to fetch > 0001-glapi-Correct-size-of-allocated-_glapi_table-struct.patch from > http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/mesa Yes, I already reported that problem to the maintainer: http://lists.macosforge.org/pipermail/macports-dev/2012-April/018893.html Hopefully he'll add the missing files soon. From trg818 at gmail.com Tue Apr 24 08:57:39 2012 From: trg818 at gmail.com (Thomas) Date: Tue, 24 Apr 2012 17:57:39 +0200 Subject: Can I install jpeg6b and jpeg at the same time? Message-ID: Hi list, on my system I have the current version of the JPEG library installed, i.e., jpeg (jpeg8d), and it's activated and seems to work fine; the same is true for openjpeg, as far as I can tell. However, a Python program I have compiled (Frescobaldi, a GUI frontend for the musical typesetter Lilypond) requires the module popplerqt4, which in turn seems to call an older version of the JPEG library, because when I test if popplerqt4 can be imported in a Python shell, I get this error message: >>> import popplerqt4 Traceback (most recent call last): File "", line 1, in ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/popplerqt4.so, 2): Library not loaded: /opt/local/lib/libjpeg.62.dylib Referenced from: /opt/local/lib/libopenjpeg.1.dylib Reason: image not found I assume the older port jpeg6b would provide libjpeg.62.dylib, but when I try to install it, this happens: sudo port install jpeg6b Password: ---> Configuring jpeg6b Error: jpeg6b has been renamed to jpeg. Please install jpeg instead. Error: Target org.macports.configure returned: obsolete port Log for jpeg6b is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_jpeg6b/jpeg6b/main.log Error: Status 1 encountered during processing. Hence my question is: what do I have to do to make both versions live peacefully side-by-side, and is jpeg6b really the right port to use? System: Mac OS 10.5.8, Python 2.6, Poppler 0.18.4, Qt4 4.7.4_1, pyqt4 4.9.1_0 Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy at lavergne.gotdns.org Tue Apr 24 09:00:06 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Tue, 24 Apr 2012 12:00:06 -0400 Subject: Can I install jpeg6b and jpeg at the same time? In-Reply-To: References: Message-ID: <5878DA10-A6F9-4422-9108-3274CD5E82D6@lavergne.gotdns.org> > Error: jpeg6b has been renamed to jpeg. Please install jpeg instead. jpeg6b has been replaced by jpeg, you can no longer use jpeg6b. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From ryandesign at macports.org Tue Apr 24 09:01:55 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Tue, 24 Apr 2012 11:01:55 -0500 Subject: Can I install jpeg6b and jpeg at the same time? In-Reply-To: References: Message-ID: <5F7A3A88-F426-4B80-A19B-931D36049F53@macports.org> On Apr 24, 2012, at 10:57, Thomas wrote: > on my system I have the current version of the JPEG library installed, i.e., jpeg (jpeg8d), and it's activated and seems to work fine; the same is true for openjpeg, as far as I can tell. Great. > However, a Python program I have compiled (Frescobaldi, a GUI frontend for the musical typesetter Lilypond) requires the module popplerqt4, which in turn seems to call an older version of the JPEG library, because when I test if popplerqt4 can be imported in a Python shell, I get this error message: > >>> import popplerqt4 > Traceback (most recent call last): > File "", line 1, in > ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/popplerqt4.so, 2): Library not loaded: /opt/local/lib/libjpeg.62.dylib > Referenced from: /opt/local/lib/libopenjpeg.1.dylib > Reason: image not found What port installed /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/popplerqt4.so? Nothing in MacPorts should be installing into /Library/Frameworks (unless you've changed your frameworks_dir to /Library/Frameworks?have you?) > I assume the older port jpeg6b would provide libjpeg.62.dylib, but when I try to install it, this happens: > sudo port install jpeg6b > Password: > ---> Configuring jpeg6b > Error: jpeg6b has been renamed to jpeg. Please install jpeg instead. > Error: Target org.macports.configure returned: obsolete port > Log for jpeg6b is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_jpeg6b/jpeg6b/main.log > Error: Status 1 encountered during processing. > > Hence my question is: what do I have to do to make both versions live peacefully side-by-side, and is jpeg6b really the right port to use? The jpeg6b port was replaced by the jpeg port a long time ago; it's gone. The openjpeg port, which installed /opt/local/lib/libopenjpeg.1.dylib, should be rebuilt so that it uses the jpeg port instead. sudo port -n upgrade --force openjpeg From trg818 at gmail.com Tue Apr 24 09:06:00 2012 From: trg818 at gmail.com (Thomas) Date: Tue, 24 Apr 2012 18:06:00 +0200 Subject: Can I install jpeg6b and jpeg at the same time? In-Reply-To: <5F7A3A88-F426-4B80-A19B-931D36049F53@macports.org> References: <5F7A3A88-F426-4B80-A19B-931D36049F53@macports.org> Message-ID: On Tue, Apr 24, 2012 at 6:01 PM, Ryan Schmidt wrote: > The openjpeg port, which installed /opt/local/lib/libopenjpeg.1.dylib, > should be rebuilt so that it uses the jpeg port instead. > > sudo port -n upgrade --force openjpeg > > Excellent! That solved it. Thanks a lot! Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From p.fabrizio.salvatore at googlemail.com Wed Apr 25 08:40:03 2012 From: p.fabrizio.salvatore at googlemail.com (Fabrizio Salvatore) Date: Wed, 25 Apr 2012 16:40:03 +0100 Subject: problems installing MacPorts on OS Lion Message-ID: Hi, I've installed MacPorts on my MacBook Pro (OS Lion); I've followed the instructions in http://www.macports.org/install.php (so downloaded Xcode using the AppleStore, installed it, launched it and then downloaded and installed MacPrts' dmg disk image). However, when I do: sudo port -v selfupdate at the end of the installation I have the following message: sudo: port: command not found Any idea why I get this? I'm trying to install MacPorts to be able to then install the 2011 version of telex, the LaTex distribution for Mac. Thanks for any help! Cheers, Fab -- +++++++++++++++++++++++++++++++++++++++++++++++ Dr Fabrizio Salvatore | e-mail: p.f.salvatore at sussex.ac.uk Department of Physics and Astronomy, University of Sussex, Brighton, Sussex, BN1 9QH, United Kingdom Tel.: +44 (0)1273 67 8749; Fax: +44 (0)1273 67 8068 http://epp.phys.susx.ac.uk/epp/FabrizioSalvatore facebook.com/p.fabrizio.salvatore +++++++++++++++++++++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason.swails at gmail.com Wed Apr 25 08:41:57 2012 From: jason.swails at gmail.com (Jason Swails) Date: Wed, 25 Apr 2012 11:41:57 -0400 Subject: problems installing MacPorts on OS Lion In-Reply-To: References: Message-ID: Open up a new shell and type this: echo $PATH Make sure that the directory "/opt/local/bin" is in that echo. If not, you will have to add that directory to your PATH. HTH, Jason On Wed, Apr 25, 2012 at 11:40 AM, Fabrizio Salvatore < p.fabrizio.salvatore at googlemail.com> wrote: > Hi, > > I've installed MacPorts on my MacBook Pro (OS Lion); I've followed the > instructions in http://www.macports.org/install.php (so downloaded Xcode > using the AppleStore, installed it, launched it and then downloaded and > installed MacPrts' dmg disk image). However, when I do: > > sudo port -v selfupdate > > at the end of the installation I have the following message: > > sudo: port: command not found > > Any idea why I get this? I'm trying to install MacPorts to be able to then > install the 2011 version of telex, the LaTex distribution for Mac. > > Thanks for any help! > > Cheers, > > Fab > > -- > +++++++++++++++++++++++++++++++++++++++++++++++ > Dr Fabrizio Salvatore | e-mail: p.f.salvatore at sussex.ac.uk > Department of Physics and Astronomy, University of Sussex, > Brighton, Sussex, BN1 9QH, United Kingdom > Tel.: +44 (0)1273 67 8749; Fax: +44 (0)1273 67 8068 > http://epp.phys.susx.ac.uk/epp/FabrizioSalvatore > > facebook.com/p.fabrizio.salvatore > +++++++++++++++++++++++++++++++++++++++++++++++ > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > > -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 -------------- next part -------------- An HTML attachment was scrubbed... URL: From p.fabrizio.salvatore at googlemail.com Wed Apr 25 08:46:47 2012 From: p.fabrizio.salvatore at googlemail.com (Fabrizio Salvatore) Date: Wed, 25 Apr 2012 16:46:47 +0100 Subject: problems installing MacPorts on OS Lion In-Reply-To: References: Message-ID: Thanks a lot! Cheers, Fab On 25 April 2012 16:41, Jason Swails wrote: > Open up a new shell and type this: > > echo $PATH > > Make sure that the directory "/opt/local/bin" is in that echo. If not, > you will have to add that directory to your PATH. > > HTH, > Jason > > On Wed, Apr 25, 2012 at 11:40 AM, Fabrizio Salvatore < > p.fabrizio.salvatore at googlemail.com> wrote: > >> Hi, >> >> I've installed MacPorts on my MacBook Pro (OS Lion); I've followed the >> instructions in http://www.macports.org/install.php (so downloaded Xcode >> using the AppleStore, installed it, launched it and then downloaded and >> installed MacPrts' dmg disk image). However, when I do: >> >> sudo port -v selfupdate >> >> at the end of the installation I have the following message: >> >> sudo: port: command not found >> >> Any idea why I get this? I'm trying to install MacPorts to be able to >> then install the 2011 version of telex, the LaTex distribution for Mac. >> >> Thanks for any help! >> >> Cheers, >> >> Fab >> >> -- >> +++++++++++++++++++++++++++++++++++++++++++++++ >> Dr Fabrizio Salvatore | e-mail: p.f.salvatore at sussex.ac.uk >> Department of Physics and Astronomy, University of Sussex, >> Brighton, Sussex, BN1 9QH, United Kingdom >> Tel.: +44 (0)1273 67 8749; Fax: +44 (0)1273 67 8068 >> http://epp.phys.susx.ac.uk/epp/FabrizioSalvatore >> >> facebook.com/p.fabrizio.salvatore >> +++++++++++++++++++++++++++++++++++++++++++++++ >> >> >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> >> > > > -- > Jason M. Swails > Quantum Theory Project, > University of Florida > Ph.D. Candidate > 352-392-4032 > -- +++++++++++++++++++++++++++++++++++++++++++++++ Dr Fabrizio Salvatore | e-mail: p.f.salvatore at sussex.ac.uk Department of Physics and Astronomy, University of Sussex, Brighton, Sussex, BN1 9QH, United Kingdom Tel.: +44 (0)1273 67 8749; Fax: +44 (0)1273 67 8068 http://epp.phys.susx.ac.uk/epp/FabrizioSalvatore facebook.com/p.fabrizio.salvatore +++++++++++++++++++++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: From p.fabrizio.salvatore at googlemail.com Wed Apr 25 09:05:00 2012 From: p.fabrizio.salvatore at googlemail.com (Fabrizio Salvatore) Date: Wed, 25 Apr 2012 17:05:00 +0100 Subject: error trying to download texlive Message-ID: Hi all, I'm trying to download texlive using the command: sudo port install texlive but the installation did not complete fully because of this error: ---> Configuring ghostscript Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Error: Failed to install ghostscript Log for ghostscript is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log Error: The following dependencies were not installed: texlive-basic texlive-bin ghostscript libzzip xmlto coreutils gmp docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl findutils fop getopt libxslt poppler curl curl-ca-bundle lcms openjpeg jbigkit poppler-data t1lib texlive-common texlive-common xorg-libXaw groff netpbm jasper psutils texinfo xorg-libXmu xpm xorg-libXp xorg-printproto texlive-bin texlive-documentation-base texlive-basic texlive-bin-extra detex dvipng gd2 latexdiff latexmk texlive-latex texlive-latex pdfjam texlive-latex-recommended pgf texlive-latex-recommended texlive-context texlive-fonts-recommended texlive-math-extra texlive-metapost texlive-xetex texlive-generic-recommended texlive-documentation-english texlive-fontutils texlive-lang-czechslovak texlive-lang-dutch texlive-lang-english texlive-lang-french texlive-lang-german texlive-lang-italian texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-luatex Error: Status 1 encountered during processing. I attach the log file to this email, in case anyone can help me understanding where the problem is. Many thanks for any help! Cheers, FAb -- +++++++++++++++++++++++++++++++++++++++++++++++ Dr Fabrizio Salvatore | e-mail: p.f.salvatore at sussex.ac.uk Department of Physics and Astronomy, University of Sussex, Brighton, Sussex, BN1 9QH, United Kingdom Tel.: +44 (0)1273 67 8749; Fax: +44 (0)1273 67 8068 http://epp.phys.susx.ac.uk/epp/FabrizioSalvatore facebook.com/p.fabrizio.salvatore +++++++++++++++++++++++++++++++++++++++++++++++ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: main.log Type: application/octet-stream Size: 28218 bytes Desc: not available URL: From jeremy at lavergne.gotdns.org Wed Apr 25 09:08:28 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 12:08:28 -0400 Subject: error trying to download texlive In-Reply-To: References: Message-ID: <65CF9EF3-8E85-4757-B02F-96EC5B560F60@lavergne.gotdns.org> > I attach the log file to this email, :notice:configure ---> Configuring ghostscript :debug:configure Using compiler 'System cc' :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -m64' CPPFLAGS='-isystem/opt/local/include' CXXFLAGS='-pipe -O2 -m64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/usr/bin/c++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/cc' FCFLAGS='-pipe -O2 -m64' GI_SCANNER_DISABLE_CACHE='1' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -m64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/cc' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.05" && ./configure --prefix=/opt/local --disable-compile-inits --disable-cups --disable-gtk --without-luratech --with-system-libtiff' :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.05" && ./configure --prefix=/opt/local --disable-compile-inits --disable-cups --disable-gtk --without-luratech --with-system-libtiff :info:configure checking for gcc... /usr/bin/cc :info:configure checking whether the C compiler works... no :info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.05': :info:configure configure: error: C compiler cannot create executables :info:configure See `config.log' for more details Can you grab the config.log as well? It should be in: `port work ghostscript`/ghostscript-9.05/ -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From larry.velazquez at gmail.com Wed Apr 25 10:17:42 2012 From: larry.velazquez at gmail.com (=?iso-8859-1?Q?Lawrence_Vel=E1zquez?=) Date: Wed, 25 Apr 2012 13:17:42 -0400 Subject: error trying to download texlive In-Reply-To: <65CF9EF3-8E85-4757-B02F-96EC5B560F60@lavergne.gotdns.org> References: <65CF9EF3-8E85-4757-B02F-96EC5B560F60@lavergne.gotdns.org> Message-ID: <41A70299-E0CB-4490-9004-9A32A4BE9B33@gmail.com> On Apr 25, 2012, at 12:08 p.m., Jeremy Lavergne wrote: > :info:configure checking for gcc... /usr/bin/cc > :info:configure checking whether the C compiler works... no > :info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.05': > :info:configure configure: error: C compiler cannot create executables > :info:configure See `config.log' for more details Have you installed the Xcode command line tools? https://trac.macports.org/wiki/ProblemHotlist#xcode43 vq From punk.kish at gmail.com Wed Apr 25 11:58:16 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 13:58:16 -0500 Subject: PostgreSQL 91 does not start automatically Message-ID: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> I am completely foxed by this... When I restart my computer, postgresql91-server and apache2 do not start up automatically. If I type $ sudo port load postgresql91-server I get the message that the "port is already loaded". Then I do the following and it starts up fine $ sudo port unload postgresql91-server $ sudo port load postgresql91-server I have the same issue with apache2 with a slight difference. It doesn?t start automatically on computer reboot, but starts fine when I type $ sudo port load apache2 This makes unattended reboot (for example, restart automatically after power failure) a deal-breaker. I see nothing of consequence in the logs anywhere. Suggestions? -- Puneet Kishor From jeremy at lavergne.gotdns.org Wed Apr 25 12:00:29 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 15:00:29 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> Message-ID: > I am completely foxed by this... When I restart my computer, postgresql91-server and apache2 do not start up automatically. If I type > > $ sudo port load postgresql91-server > > I get the message that the "port is already loaded". Then I do the following and it starts up fine > > $ sudo port unload postgresql91-server > $ sudo port load postgresql91-server > > I have the same issue with apache2 with a slight difference. It doesn?t start automatically on computer reboot, but starts fine when I type > > $ sudo port load apache2 > > This makes unattended reboot (for example, restart automatically after power failure) a deal-breaker. > > I see nothing of consequence in the logs anywhere. > > Suggestions? Do the logs at least show the package daemons being read at boot? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From punk.kish at gmail.com Wed Apr 25 12:11:47 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 14:11:47 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> Message-ID: On Apr 25, 2012, at 2:00 PM, Jeremy Lavergne wrote: >> I am completely foxed by this... When I restart my computer, postgresql91-server and apache2 do not start up automatically. If I type >> >> $ sudo port load postgresql91-server >> >> I get the message that the "port is already loaded". Then I do the following and it starts up fine >> >> $ sudo port unload postgresql91-server >> $ sudo port load postgresql91-server >> >> I have the same issue with apache2 with a slight difference. It doesn?t start automatically on computer reboot, but starts fine when I type >> >> $ sudo port load apache2 >> >> This makes unattended reboot (for example, restart automatically after power failure) a deal-breaker. >> >> I see nothing of consequence in the logs anywhere. >> >> Suggestions? > > Do the logs at least show the package daemons being read at boot? > Which logs should I look at? Nothing I can see in Pg and Apache2 logs. -- Puneet Kishor From vince at macports.org Wed Apr 25 12:12:51 2012 From: vince at macports.org (Vincent Habchi) Date: Wed, 25 Apr 2012 21:12:51 +0200 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> Message-ID: <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> > Which logs should I look at? Nothing I can see in Pg and Apache2 logs. You should have a log in ${prefix}/log/postgresql91, no? Vincent From jeremy at lavergne.gotdns.org Wed Apr 25 12:17:10 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 15:17:10 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> Message-ID: <2B95370B-AFCE-449B-8AD9-527B8D7435F3@lavergne.gotdns.org> > Which logs should I look at? Nothing I can see in Pg and Apache2 logs. Well if those logs don't indicate they're even trying to start that says there's either a conflict or they're simply not loaded. Check the system log. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From punk.kish at gmail.com Wed Apr 25 12:18:35 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 14:18:35 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> Message-ID: <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> On Apr 25, 2012, at 2:12 PM, Vincent Habchi wrote: >> Which logs should I look at? Nothing I can see in Pg and Apache2 logs. > > You should have a log in ${prefix}/log/postgresql91, no? > > Vincent as I noted above, there is nothing I can discern in posgresql91.log that shows any attempt was made to run anything. Nevertheless, when I typed $ sudo port load postgresql91-server I got the message that the port was already loaded. Yet, it was not running. So, I unloaded the port and then loaded it again, and the db started fine. -- Puneet Kishor From vince at macports.org Wed Apr 25 12:20:49 2012 From: vince at macports.org (Vincent Habchi) Date: Wed, 25 Apr 2012 21:20:49 +0200 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> Message-ID: <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> > as I noted above, there is nothing I can discern in posgresql91.log that shows any attempt was made to run anything. Nevertheless, when I typed > > $ sudo port load postgresql91-server > > I got the message that the port was already loaded. Yet, it was not running. So, I unloaded the port and then loaded it again, and the db started fine. Did you check the ownership and permissions of your ${prefix}/var/db/postgresql91 directory and subdirectories? Vincent From punk.kish at gmail.com Wed Apr 25 12:23:07 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 14:23:07 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> Message-ID: <7AC51763-7F48-4AFC-AB6A-023386D27C51@gmail.com> On Apr 25, 2012, at 2:20 PM, Vincent Habchi wrote: >> as I noted above, there is nothing I can discern in posgresql91.log that shows any attempt was made to run anything. Nevertheless, when I typed >> >> $ sudo port load postgresql91-server >> >> I got the message that the port was already loaded. Yet, it was not running. So, I unloaded the port and then loaded it again, and the db started fine. > > Did you check the ownership and permissions of your ${prefix}/var/db/postgresql91 directory and subdirectories? > of course... if the ownership and permissions were wrong, PostgreSQL wouldn't start at all, would it? Again, as I said, it doesn't start by itself on system restart. But, once I unload it and load it again, it starts fine. -- Puneet Kishor From jeremy at lavergne.gotdns.org Wed Apr 25 12:23:22 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 15:23:22 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> Message-ID: > Did you check the ownership and permissions of your ${prefix}/var/db/postgresql91 directory and subdirectories? Keep in mind: _both_ postgres and apache are not successfully running at boot. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From phildobbin at gmail.com Wed Apr 25 12:30:17 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Wed, 25 Apr 2012 20:30:17 +0100 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> Message-ID: <4F9850C9.1030506@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/04/2012 19:58, Puneet Kishor wrote: > I am completely foxed by this... When I restart my computer, postgresql91-server and apache2 do not start up automatically. If I type > > $ sudo port load postgresql91-server > > I get the message that the "port is already loaded". Then I do the following and it starts up fine > > $ sudo port unload postgresql91-server > $ sudo port load postgresql91-server > > I have the same issue with apache2 with a slight difference. It doesn?t start automatically on computer reboot, but starts fine when I type > > $ sudo port load apache2 > > This makes unattended reboot (for example, restart automatically after power failure) a deal-breaker. > > I see nothing of consequence in the logs anywhere. > > Suggestions? Don't know what you use for Apache (I just downloaded a script of the InterWeb) but if you just want something that starts postgres so you can get on with your life, try this: Very helpful chap he is too if you get stuck. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPmFDGAAoJEKpMeDHWT5ADzdcIAIqQyFw7Wr16Ws0S7JP5DHmF wFviR99sNLvItx/JEAcnaWxfdsiLQrG57R/ExDDve9VLoL/oua47D5qaYf6IjpCN 0DgoNCJw1D3UdJv13GjeYG2zNn6Fq0Y9MvlHW5f7apI7NO+YYlXgRi9gtymqkwpz CjNYcUcAXWCaPQYlTNWySPD3EO5ccTrV2wgffzMgxUlOpGf5XQ2LeFFyhE4CDexz w7DcRwcavLxzoBS+FI7goTJ86+MV58uHbV3JNR/YwNKo2DzyL1wa5q4Qt16Q6XKX EfEoKtjzF5bnFb/w8MZyoDcaPBye0zayElDCuLYxX1gGd+kNJDTblCBGTWDhmS4= =Aw+y -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From vince at macports.org Wed Apr 25 12:31:37 2012 From: vince at macports.org (Vincent Habchi) Date: Wed, 25 Apr 2012 21:31:37 +0200 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> Message-ID: <53696FED-2774-4095-9169-0B7FF6005865@macports.org> On 25 avr. 2012, at 21:23, Jeremy Lavergne wrote: > Keep in mind: _both_ postgres and apache are not successfully running at boot. Thanks for reminding me that. Are you sure the partition on which your binaries reside is mounted when the launchd daemon starts? V. From jeremy at lavergne.gotdns.org Wed Apr 25 12:36:51 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 15:36:51 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <53696FED-2774-4095-9169-0B7FF6005865@macports.org> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> Message-ID: > Thanks for reminding me that. > > Are you sure the partition on which your binaries reside is mounted when the launchd daemon starts? I'm suspicious of colliding Apple daemons at boot, but there should be messages about them in the system log as they try to launch and fail. If there's absolutely nothing, we need to find out if his launchd plists are even "installed" to /Library/LaunchDaemons. I think MacPorts symlinks them into there, right? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From jeremy at lavergne.gotdns.org Wed Apr 25 12:38:29 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 15:38:29 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> Message-ID: > If there's absolutely nothing, we need to find out if his launchd plists are even "installed" to /Library/LaunchDaemons. I think MacPorts symlinks them into there, right? But since they say already loaded, they've got to be there and something is colliding. System load should reveal all... -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From vince at macports.org Wed Apr 25 12:41:50 2012 From: vince at macports.org (Vincent Habchi) Date: Wed, 25 Apr 2012 21:41:50 +0200 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> Message-ID: <40DAEBA8-532A-46AD-8BBC-1BCFA018DB48@macports.org> On 25 avr. 2012, at 21:38, Jeremy Lavergne wrote: > But since they say already loaded, they've got to be there and something is colliding. > > System load should reveal all? That?s baffling. Or something kills the processes just after they are launched. Jeremy, are you using an iPhone to answer? :) Vincent From jeremy at lavergne.gotdns.org Wed Apr 25 12:47:15 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 15:47:15 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <40DAEBA8-532A-46AD-8BBC-1BCFA018DB48@macports.org> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <40DAEBA8-532A-46AD-8BBC-1BCFA018DB48@macports.org> Message-ID: > That?s baffling. Or something kills the processes just after they are launched. > > Jeremy, are you using an iPhone to answer? :) Nope, the build laptop is the only Apple product I've got these days; I'm just spewing my stream of consciousness/babbling. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From vince at macports.org Wed Apr 25 12:51:15 2012 From: vince at macports.org (Vincent Habchi) Date: Wed, 25 Apr 2012 21:51:15 +0200 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <40DAEBA8-532A-46AD-8BBC-1BCFA018DB48@macports.org> Message-ID: On 25 avr. 2012, at 21:47, Jeremy Lavergne wrote: > Nope, the build laptop is the only Apple product I've got these days; I'm just spewing my stream of consciousness/babbling. That's was just because the "log" you typed in your previous message has magically been altered into "load", so I thought this was the unmistakable evidence of an iPhone spelling corrector! ;) I'm going to bed (it's late over here in old Europe). Sorry to let you pondering alone on this oddity. Have fun! Vincent From punk.kish at gmail.com Wed Apr 25 12:53:23 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 14:53:23 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> Message-ID: <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> On Apr 25, 2012, at 2:38 PM, Jeremy Lavergne wrote: >> If there's absolutely nothing, we need to find out if his launchd plists are even "installed" to /Library/LaunchDaemons. I think MacPorts symlinks them into there, right? > > But since they say already loaded, they've got to be there and something is colliding. > > System load should reveal all... > I am going to restart everything later today and watch all the logs and report back with what I find. Many thanks all. -- Puneet Kishor From punk.kish at gmail.com Wed Apr 25 13:38:26 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 15:38:26 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> Message-ID: Ok... some findings below. On Apr 25, 2012, at 2:53 PM, Puneet Kishor wrote: > > On Apr 25, 2012, at 2:38 PM, Jeremy Lavergne wrote: > >>> If there's absolutely nothing, we need to find out if his launchd plists are even "installed" to /Library/LaunchDaemons. I think MacPorts symlinks them into there, right? >> >> But since they say already loaded, they've got to be there and something is colliding. >> >> System load should reveal all... >> > > > > I am going to restart everything later today and watch all the logs and report back with what I find. Many thanks all. > > I restarted the machine, and this time, well, this time Postgres came up. A bit of a relief. The last time may have been some reason that I am unable to pinpoint. However, apache2 did not start. I got the following message in my system.log Apr 25 15:21:35 mumbai org.macports.apache2[102]: Syntax error on line 40 of /opt/local/apache2/conf/httpd.conf: Here is line 40 in /opt/local/apache2/conf/httpd.conf 37-# prevent Apache from glomming onto all bound IP addresses. 38-# 39-#Listen 12.34.56.78:80 40:Listen mumbai.geology.wisc.edu:80 41- 42-# 43-# Dynamic Shared Object (DSO) Support 44-# Regardless, I type the following on the command line $ which httpd /opt/local/apache2/bin/httpd $ httpd -t Syntax OK $ sudo apachectl start and, it starts fine. So, for now, Pg is behaving correctly, but apache2 refuses to start automatically. Searching for apache2 in system.log I get the following punkish at mumbai /var/log$grep apache2 system.log Apr 25 15:21:35 mumbai org.macports.apache2[102]: [Wed Apr 25 15:21:35 2012] [crit] (OS 1)Unknown host: alloc_listener: failed to set up sockaddr for mumbai.geology.wisc.edu Apr 25 15:21:35 mumbai org.macports.apache2[102]: Syntax error on line 40 of /opt/local/apache2/conf/httpd.conf: Apr 25 15:21:35 mumbai org.macports.apache2[102]: Listen setup failed Suggestions? -- Puneet Kishor From punk.kish at gmail.com Wed Apr 25 13:42:23 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 15:42:23 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> Message-ID: <716A2184-5D68-4061-BF7D-C09B85A6B8E5@gmail.com> Even more below... On Apr 25, 2012, at 3:38 PM, Puneet Kishor wrote: > Ok... some findings below. > > > On Apr 25, 2012, at 2:53 PM, Puneet Kishor wrote: > >> >> On Apr 25, 2012, at 2:38 PM, Jeremy Lavergne wrote: >> >>>> If there's absolutely nothing, we need to find out if his launchd plists are even "installed" to /Library/LaunchDaemons. I think MacPorts symlinks them into there, right? >>> >>> But since they say already loaded, they've got to be there and something is colliding. >>> >>> System load should reveal all... >>> >> >> >> >> I am going to restart everything later today and watch all the logs and report back with what I find. Many thanks all. >> >> > > > I restarted the machine, and this time, well, this time Postgres came up. A bit of a relief. The last time may have been some reason that I am unable to pinpoint. > > However, apache2 did not start. I got the following message in my system.log > > Apr 25 15:21:35 mumbai org.macports.apache2[102]: Syntax error on line 40 of /opt/local/apache2/conf/httpd.conf: > > > Here is line 40 in /opt/local/apache2/conf/httpd.conf > > 37-# prevent Apache from glomming onto all bound IP addresses. > 38-# > 39-#Listen 12.34.56.78:80 > 40:Listen mumbai.geology.wisc.edu:80 > 41- > 42-# > 43-# Dynamic Shared Object (DSO) Support > 44-# > > Regardless, I type the following on the command line > > $ which httpd > /opt/local/apache2/bin/httpd > $ httpd -t > Syntax OK > $ sudo apachectl start > > and, it starts fine. So, for now, Pg is behaving correctly, but apache2 refuses to start automatically. Searching for apache2 in system.log I get the following > > punkish at mumbai /var/log$grep apache2 system.log > Apr 25 15:21:35 mumbai org.macports.apache2[102]: [Wed Apr 25 15:21:35 2012] [crit] (OS 1)Unknown host: alloc_listener: failed to set up sockaddr for mumbai.geology.wisc.edu > Apr 25 15:21:35 mumbai org.macports.apache2[102]: Syntax error on line 40 of /opt/local/apache2/conf/httpd.conf: > Apr 25 15:21:35 mumbai org.macports.apache2[102]: Listen setup failed > > > Suggestions? > > > searching for that 'alloc_listener' string turns up the following http://lists.freebsd.org/pipermail/freebsd-apache/2011-May/002339.html I am running apache2 2.2.22 punkish at mumbai /var/log$httpd -v Server version: Apache/2.2.22 (Unix) Server built: Apr 2 2012 19:27:17 Could this be a bug that still remains in apache2 itself? -- Puneet Kishor > From jeremy at lavergne.gotdns.org Wed Apr 25 13:42:23 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 16:42:23 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> Message-ID: <4F4BA616-F5CA-441F-9770-14A1D258C92C@lavergne.gotdns.org> > $ sudo apachectl start And `which apachectl` ? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From punk.kish at gmail.com Wed Apr 25 13:43:15 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 15:43:15 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <4F4BA616-F5CA-441F-9770-14A1D258C92C@lavergne.gotdns.org> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <4F4BA616-F5CA-441F-9770-14A1D258C92C@lavergne.gotdns.org> Message-ID: On Apr 25, 2012, at 3:42 PM, Jeremy Lavergne wrote: >> $ sudo apachectl start > > And `which apachectl` ? > all my paths are correct. $which apachectl /opt/local/apache2/bin/apachectl -- Puneet Kishor From jeremy at lavergne.gotdns.org Wed Apr 25 13:44:38 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 16:44:38 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <4F4BA616-F5CA-441F-9770-14A1D258C92C@lavergne.gotdns.org> Message-ID: <0674332A-23B5-4392-B152-C6B26FAF0B5A@lavergne.gotdns.org> > all my paths are correct. > > $which apachectl > /opt/local/apache2/bin/apachectl Okay, because in the past /opt/local/apache2/bin wasn't part of the PATH :-) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From dluke at geeklair.net Wed Apr 25 13:47:48 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Wed, 25 Apr 2012 16:47:48 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> Message-ID: On Apr 25, 2012, at 4:38 PM, Puneet Kishor wrote: > I restarted the machine, and this time, well, this time Postgres came up. A bit of a relief. The last time may have been some reason that I am unable to pinpoint. > > However, apache2 did not start. I got the following message in my system.log > > Apr 25 15:21:35 mumbai org.macports.apache2[102]: Syntax error on line 40 of /opt/local/apache2/conf/httpd.conf: > > Here is line 40 in /opt/local/apache2/conf/httpd.conf > > 37-# prevent Apache from glomming onto all bound IP addresses. > 38-# > 39-#Listen 12.34.56.78:80 > 40:Listen mumbai.geology.wisc.edu:80 > 41- > 42-# > 43-# Dynamic Shared Object (DSO) Support > 44-# > > Regardless, I type the following on the command line > > $ which httpd > /opt/local/apache2/bin/httpd > $ httpd -t > Syntax OK > $ sudo apachectl start > > and, it starts fine. So, for now, Pg is behaving correctly, but apache2 refuses to start automatically. Searching for apache2 in system.log I get the following > > punkish at mumbai /var/log$grep apache2 system.log > Apr 25 15:21:35 mumbai org.macports.apache2[102]: [Wed Apr 25 15:21:35 2012] [crit] (OS 1)Unknown host: alloc_listener: failed to set up sockaddr for mumbai.geology.wisc.edu > Apr 25 15:21:35 mumbai org.macports.apache2[102]: Syntax error on line 40 of /opt/local/apache2/conf/httpd.conf: > Apr 25 15:21:35 mumbai org.macports.apache2[102]: Listen setup failed > > Suggestions? My guess is that apache can't resolve that hostname when it is trying to startup at boot (maybe the network isn't up yet, maybe bind isn't running yet, maybe the firewall hasn't been configured yet...) -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From jeremy at lavergne.gotdns.org Wed Apr 25 13:54:23 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 16:54:23 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> Message-ID: <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> > My guess is that apache can't resolve that hostname when it is trying to startup at boot (maybe the network isn't up yet, maybe bind isn't running yet, maybe the firewall hasn't been configured yet...) Can you send us the plist (and possibly wrapper it uses) for apache? I'm curious if it's missing NetworkState or has some other oddity we've not noticed. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From punk.kish at gmail.com Wed Apr 25 13:55:02 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 15:55:02 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> Message-ID: <9A2E2EEF-9D52-4673-8B8A-CFF6BB3CC6C7@gmail.com> On Apr 25, 2012, at 3:47 PM, Daniel J. Luke wrote: >> punkish at mumbai /var/log$grep apache2 system.log >> Apr 25 15:21:35 mumbai org.macports.apache2[102]: [Wed Apr 25 15:21:35 2012] [crit] (OS 1)Unknown host: alloc_listener: failed to set up sockaddr formumbai.geology.wisc.edu >> Apr 25 15:21:35 mumbai org.macports.apache2[102]: Syntax error on line 40 of /opt/local/apache2/conf/httpd.conf: >> Apr 25 15:21:35 mumbai org.macports.apache2[102]: Listen setup failed >> >> Suggestions? > > > My guess is that apache can't resolve that hostname when it is trying to startup at boot (maybe the network isn't up yet, maybe bind isn't running yet, maybe the firewall hasn't been configured yet...) Any suggestions to fix this? Whatever it is that is not running when apache2 tries to start automatically, seems to be fixed when I then start it from the command line. Is there a way to modify the start script so it waits and retries until the "sockaddr" can be set up? Also, does this have any bearing? http://lists.freebsd.org/pipermail/freebsd-apache/2011-May/002339.html -- Puneet Kishor From punk.kish at gmail.com Wed Apr 25 13:56:56 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 15:56:56 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> Message-ID: On Apr 25, 2012, at 3:54 PM, Jeremy Lavergne wrote: >> My guess is that apache can't resolve that hostname when it is trying to startup at boot (maybe the network isn't up yet, maybe bind isn't running yet, maybe the firewall hasn't been configured yet...) > > Can you send us the plist (and possibly wrapper it uses) for apache? > > I'm curious if it's missing NetworkState or has some other oddity we've not noticed. > Here you go... $less /Library/LaunchDaemons/org.macports.apache2.plist Labelorg.macports.apache2 ProgramArguments /opt/local/bin/daemondo --label=apache2 --start-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart ; --pid=none Debug Disabled KeepAlive ---- $less /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper #!/bin/sh # # MacPorts generated daemondo support script # # # Init # prefix=/opt/local # # Start # Start() { [ -x /opt/local/apache2/bin/apachectl ] && /opt/local/apache2/bin/apachectl start > /dev/null } # # Stop # Stop() { [ -r /opt/local/apache2/logs/httpd.pid ] && /opt/local/apache2/bin/apachectl stop > /dev/null } # # Restart # Restart() { /opt/local/apache2/bin/apachectl restart > /dev/null } # # Run # Run(){ case $1 in start ) Start ;; stop ) Stop ;; restart) Restart ;; * ) echo "$0: unknown argument: $1";; esac } # # Run a phase based on the selector # Run $1 From jeremy at lavergne.gotdns.org Wed Apr 25 14:04:19 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 17:04:19 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> Message-ID: <085F9F9E-8072-4EEE-9C05-33817994F98B@lavergne.gotdns.org> > $less /Library/LaunchDaemons/org.macports.apache2.plist > > "http://www.apple.com/DTDs/PropertyList-1.0.dtd" > > > > Labelorg.macports.apache2 > ProgramArguments > > /opt/local/bin/daemondo > --label=apache2 > --start-cmd > /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper > start > ; > --stop-cmd > /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper > stop > ; > --restart-cmd > /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper > restart > ; > --pid=none > > Debug > Disabled > KeepAlive > > Looks like it's not waiting for networking, and it's disabled? I'd change KeepAlive from a bool to a dict, and inside it place NetworkState set to true. From man 5 launchd.plist: KeepAlive NetworkState If true, the job will be kept alive as long as the network is up, where up is defined as at least one non-loopback interface being up and having IPv4 or IPv6 addresses assigned to them. If false, the job will be kept alive in the inverse condition. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From dluke at geeklair.net Wed Apr 25 14:05:09 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Wed, 25 Apr 2012 17:05:09 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> Message-ID: On Apr 25, 2012, at 4:54 PM, Jeremy Lavergne wrote: >> My guess is that apache can't resolve that hostname when it is trying to startup at boot (maybe the network isn't up yet, maybe bind isn't running yet, maybe the firewall hasn't been configured yet...) > > Can you send us the plist (and possibly wrapper it uses) for apache? it's probably one we generate: startupitem.create yes startupitem.start \ "\[ -x ${prefix}/${name}/bin/apachectl \] && ${prefix}/${name}/bin/apachectl start > /dev/null" startupitem.stop \ "\[ -r ${prefix}/${name}/logs/httpd.pid \] && ${prefix}/${name}/bin/apachectl stop > /dev/null" startupitem.restart \ "${prefix}/${name}/bin/apachectl restart > /dev/null" > I'm curious if it's missing NetworkState or has some other oddity we've not noticed. I would bet that adding startupitem.netchange yes would fix this (as we had to add it to the bind9 port for similar reasons). It would be really good if we supported NetworkState as well (I don't think we do, yet). -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From dluke at geeklair.net Wed Apr 25 14:07:21 2012 From: dluke at geeklair.net (Daniel J. Luke) Date: Wed, 25 Apr 2012 17:07:21 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <085F9F9E-8072-4EEE-9C05-33817994F98B@lavergne.gotdns.org> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> <085F9F9E-8072-4EEE-9C05-33817994F98B@lavergne.gotdns.org> Message-ID: On Apr 25, 2012, at 5:04 PM, Jeremy Lavergne wrote: >> $less /Library/LaunchDaemons/org.macports.apache2.plist >> >> > "http://www.apple.com/DTDs/PropertyList-1.0.dtd" > >> >> >> Labelorg.macports.apache2 >> ProgramArguments >> >> /opt/local/bin/daemondo >> --label=apache2 >> --start-cmd >> /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper >> start >> ; >> --stop-cmd >> /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper >> stop >> ; >> --restart-cmd >> /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper >> restart >> ; >> --pid=none >> >> Debug >> Disabled >> KeepAlive >> >> > > Looks like it's not waiting for networking, and it's disabled? > > I'd change KeepAlive from a bool to a dict, and inside it place NetworkState set to true. > > From man 5 launchd.plist: > KeepAlive > NetworkState > If true, the job will be kept alive as long as the network is up, > where up is defined as at least one non-loopback interface being up > and having IPv4 or IPv6 addresses assigned to them. If false, the > job will be kept alive in the inverse condition. One thing you can do, is to make a copy of the plist of your own (give it a new name that won't conflict with the macports namespace) and use it to manage your apache2 instance. You don't get port load/port unload, but you can do the above customization and not have it wiped out when you upgrade apache2 in the future. -- Daniel J. Luke +========================================================+ | *---------------- dluke at geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+ From punk.kish at gmail.com Wed Apr 25 14:07:32 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 16:07:32 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> Message-ID: <854A7F33-92C1-4B49-AE36-02EF7C0754D7@gmail.com> All fixed for now.... I changed the following line in my httpd.conf - Listen mumbai.geology.wisc.edu:80 + Listen 80 Now, there is no specific IP or network address for apache2 to check, so it doesn't seem to trip over that check, and starts happily on its own. Perhaps a more dependable fix would be useful. Many thanks everyone. On Apr 25, 2012, at 4:05 PM, Daniel J. Luke wrote: > On Apr 25, 2012, at 4:54 PM, Jeremy Lavergne wrote: >>> My guess is that apache can't resolve that hostname when it is trying to startup at boot (maybe the network isn't up yet, maybe bind isn't running yet, maybe the firewall hasn't been configured yet...) >> >> Can you send us the plist (and possibly wrapper it uses) for apache? > > it's probably one we generate: > > startupitem.create yes > startupitem.start \ > "\[ -x ${prefix}/${name}/bin/apachectl \] && ${prefix}/${name}/bin/apachectl start > /dev/null" > startupitem.stop \ > "\[ -r ${prefix}/${name}/logs/httpd.pid \] && ${prefix}/${name}/bin/apachectl stop > /dev/null" > startupitem.restart \ > "${prefix}/${name}/bin/apachectl restart > /dev/null" > >> I'm curious if it's missing NetworkState or has some other oddity we've not noticed. > > > I would bet that adding startupitem.netchange yes would fix this (as we had to add it to the bind9 port for similar reasons). > > It would be really good if we supported NetworkState as well (I don't think we do, yet). -- Puneet Kishor From jeremy at lavergne.gotdns.org Wed Apr 25 14:11:48 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Wed, 25 Apr 2012 17:11:48 -0400 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <854A7F33-92C1-4B49-AE36-02EF7C0754D7@gmail.com> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> <854A7F33-92C1-4B49-AE36-02EF7C0754D7@gmail.com> Message-ID: > All fixed for now.... > > > I changed the following line in my httpd.conf > > - Listen mumbai.geology.wisc.edu:80 > + Listen 80 > > > Now, there is no specific IP or network address for apache2 to check, so it doesn't seem to trip over that check, and starts happily on its own. > > Perhaps a more dependable fix would be useful. > > Many thanks everyone. That might appear to fix apache for now, does postgres needs a similar configuration change? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From punk.kish at gmail.com Wed Apr 25 14:14:45 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Wed, 25 Apr 2012 16:14:45 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> <854A7F33-92C1-4B49-AE36-02EF7C0754D7@gmail.com> Message-ID: <429F5415-56C8-4D23-B2B6-6E774A9FED6F@gmail.com> On Apr 25, 2012, at 4:11 PM, Jeremy Lavergne wrote: >> All fixed for now.... >> >> >> I changed the following line in my httpd.conf >> >> - Listen mumbai.geology.wisc.edu:80 >> + Listen 80 >> >> >> Now, there is no specific IP or network address for apache2 to check, so it doesn't seem to trip over that check, and starts happily on its own. >> >> Perhaps a more dependable fix would be useful. >> >> Many thanks everyone. > > That might appear to fix apache for now, does postgres needs a similar configuration change? > No, Postgres seems to be behaving well for now. I suspect the problem I had was very event-specific. The machine had gone down because of a power fluctuation, which resulted in an unclean shutdown of Pg, which caused it to barf and croak when coming back up again. Now, through three reboots it has come up without any fuss. Many thanks, -- Puneet Kishor From ryandesign at macports.org Wed Apr 25 15:58:18 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Wed, 25 Apr 2012 17:58:18 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: <854A7F33-92C1-4B49-AE36-02EF7C0754D7@gmail.com> References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> <854A7F33-92C1-4B49-AE36-02EF7C0754D7@gmail.com> Message-ID: On Apr 25, 2012, at 16:07, Puneet Kishor wrote: > All fixed for now.... > > > I changed the following line in my httpd.conf > > - Listen mumbai.geology.wisc.edu:80 > + Listen 80 > > > Now, there is no specific IP or network address for apache2 to check, so it doesn't seem to trip over that check, and starts happily on its own. > > Perhaps a more dependable fix would be useful. I was going to suggest: Listen 144.92.206.113:80 I presume it was the DNS resolving capability that wasn't available that early during startup, so using the IP address should bypass the need for that capability. I thought it was recommended not to use a hostname in the Listen (or other similar) directives because of problems like these, but I can't find any actual documentation of that. From punk.kish at gmail.com Wed Apr 25 17:51:53 2012 From: punk.kish at gmail.com (Mr. Puneet Kishor) Date: Wed, 25 Apr 2012 19:51:53 -0500 Subject: PostgreSQL 91 does not start automatically In-Reply-To: References: <49249CBC-BA66-42D2-8842-B5DE877D34A2@gmail.com> <27A90F06-1027-4DC3-9B34-C973315BEC9D@macports.org> <48FF6FCE-9A3C-41B3-A21B-56DC6DF482B9@gmail.com> <8829329B-CF16-4D66-B2E0-05C94E0E64EB@macports.org> <53696FED-2774-4095-9169-0B7FF6005865@macports.org> <0554AA98-AC26-47E0-AAA1-AC3666276495@gmail.com> <6A823A2D-D56B-4302-B418-844AFA05427E@lavergne.gotdns.org> <854A7F33-92C1-4B49-AE36-02EF7C0754D7@gmail.com> Message-ID: <2D3B93E2-5C88-4B6E-A2BB-1AF6CC1175BD@gmail.com> On Apr 25, 2012, at 5:58 PM, Ryan Schmidt wrote: > > On Apr 25, 2012, at 16:07, Puneet Kishor wrote: > >> All fixed for now.... >> >> >> I changed the following line in my httpd.conf >> >> - Listen mumbai.geology.wisc.edu:80 >> + Listen 80 >> >> >> Now, there is no specific IP or network address for apache2 to check, so it doesn't seem to trip over that check, and starts happily on its own. >> >> Perhaps a more dependable fix would be useful. > > I was going to suggest: > > Listen 144.92.206.113:80 > > I presume it was the DNS resolving capability that wasn't available that early during startup, so using the IP address should bypass the need for that capability. > > I thought it was recommended not to use a hostname in the Listen (or other similar) directives because of problems like these, but I can't find any actual documentation of that. > > Possibly. Although, I added the name and the IP address to /etc/hosts, but that too did not help. Just taking way the IP or network address and just using the port number resolved the issue. -- Puneet Kishor From eijkhout at tacc.utexas.edu Thu Apr 26 15:58:31 2012 From: eijkhout at tacc.utexas.edu (Victor Eijkhout) Date: Thu, 26 Apr 2012 22:58:31 +0000 Subject: gcc selecting does not update gfortran Message-ID: <43AD7995-274D-4446-BA3C-837AE6FE9FD4@tacc.utexas.edu> [albook:~/Current/petsc-course/course20120514/fsolutions] %% port select gcc Available versions for gcc: gcc42 llvm-gcc42 mp-gcc46 (active) mp-gcc48 none [albook:~/Current/petsc-course/course20120514/fsolutions] %% sudo port select --set gcc mp-gcc46 Selecting 'mp-gcc46' for 'gcc' succeeded. 'mp-gcc46' is now active. [albook:~/Current/petsc-course/course20120514/fsolutions] %% gfortran --version GNU Fortran (GCC) 4.8.0 20120415 (experimental) Copyright (C) 2012 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING [albook:~/Current/petsc-course/course20120514/fsolutions] %% which gfortran /opt/local/bin/gfortran From ryandesign at macports.org Thu Apr 26 16:18:24 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 26 Apr 2012 18:18:24 -0500 Subject: gcc selecting does not update gfortran In-Reply-To: <43AD7995-274D-4446-BA3C-837AE6FE9FD4@tacc.utexas.edu> References: <43AD7995-274D-4446-BA3C-837AE6FE9FD4@tacc.utexas.edu> Message-ID: <2DE8D26C-D409-4575-94AB-6CD7500DB5CD@macports.org> On Apr 26, 2012, at 17:58, Victor Eijkhout wrote: > [albook:~/Current/petsc-course/course20120514/fsolutions] %% port select gcc > Available versions for gcc: > gcc42 > llvm-gcc42 > mp-gcc46 (active) > mp-gcc48 > none > [albook:~/Current/petsc-course/course20120514/fsolutions] %% sudo port select --set gcc mp-gcc46 > Selecting 'mp-gcc46' for 'gcc' succeeded. 'mp-gcc46' is now active. > [albook:~/Current/petsc-course/course20120514/fsolutions] %% gfortran --version > GNU Fortran (GCC) 4.8.0 20120415 (experimental) > Copyright (C) 2012 Free Software Foundation, Inc. > > GNU Fortran comes with NO WARRANTY, to the extent permitted by law. > You may redistribute copies of GNU Fortran > under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING > > [albook:~/Current/petsc-course/course20120514/fsolutions] %% which gfortran > /opt/local/bin/gfortran It works for me switching between gcc46 and gcc47. I don't have gcc48 installed. gcc48 may be special because it does not install java or fortran by default, and those two cannot be installed simultaneously; this may be related to: https://trac.macports.org/ticket/33561 Does "sudo port select --set gcc none" properly delete the gfortran and other links? If not, delete them manually. Then you should be able to select the desired version. From eijkhout at tacc.utexas.edu Thu Apr 26 17:48:58 2012 From: eijkhout at tacc.utexas.edu (Victor Eijkhout) Date: Fri, 27 Apr 2012 00:48:58 +0000 Subject: gcc selecting does not update gfortran In-Reply-To: <2DE8D26C-D409-4575-94AB-6CD7500DB5CD@macports.org> References: <43AD7995-274D-4446-BA3C-837AE6FE9FD4@tacc.utexas.edu> <2DE8D26C-D409-4575-94AB-6CD7500DB5CD@macports.org> Message-ID: On Apr 26, 2012, at 6:18 PM, Ryan Schmidt wrote: > Does "sudo port select --set gcc none" properly delete the gfortran and other links? My problem may have been due to there being an alias in addition to the links. Dang. Sorry to have bothered you. Victor. From eijkhout at tacc.utexas.edu Thu Apr 26 18:02:39 2012 From: eijkhout at tacc.utexas.edu (Victor Eijkhout) Date: Fri, 27 Apr 2012 01:02:39 +0000 Subject: strange gfortran problem Message-ID: this may be more suited for the dev list?. I have a small fortran program that gives different (read: wrong) output on macports from on linux. [albook:~/Current/petsc-course/course20120514/fsolutions] %% gfortran --version GNU Fortran (GCC) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING [albook:~/Current/petsc-course/course20120514/fsolutions] %% gfortran sizeof.f [albook:~/Current/petsc-course/course20120514/fsolutions] %% a.out int4: 8 int8: 16 ### that should be 4 & 8 [albook:~/Current/petsc-course/course20120514/fsolutions] %% cat sizeof.f program main integer(kind=selected_int_kind(5)) a integer(kind=selected_int_kind(10)) b write(*,*) 'int4:',sizeof(a) write(*,*) 'int8:',sizeof(b) end [albook:~/Current/petsc-course/course20120514/fsolutions] %% which gfortran /opt/local/bin/gfortran [albook:~/Current/petsc-course/course20120514/fsolutions] %% ls -l `!!` ls -l `which gfortran ` lrwxr-xr-x 1 root admin 30 Apr 26 19:44 /opt/local/bin/gfortran@ -> /opt/local/bin/gfortran-mp-4.6 From ryandesign at macports.org Thu Apr 26 19:58:10 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Thu, 26 Apr 2012 21:58:10 -0500 Subject: strange gfortran problem In-Reply-To: References: Message-ID: <723BFB18-25B5-46D6-A424-5F2B4F49867B@macports.org> On Apr 26, 2012, at 20:02, Victor Eijkhout wrote: > this may be more suited for the dev list?. I think we're probably not fortran experts here; you may have to ask the developers of gcc instead. Test with gcc47 and gcc48 first of course to make sure it's not a problem they've already fixed. > I have a small fortran program that gives different (read: wrong) output on macports from on linux. > > [albook:~/Current/petsc-course/course20120514/fsolutions] %% gfortran --version > GNU Fortran (GCC) 4.6.3 > Copyright (C) 2011 Free Software Foundation, Inc. > > GNU Fortran comes with NO WARRANTY, to the extent permitted by law. > You may redistribute copies of GNU Fortran > under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING > > [albook:~/Current/petsc-course/course20120514/fsolutions] %% gfortran sizeof.f > [albook:~/Current/petsc-course/course20120514/fsolutions] %% a.out > int4: 8 > int8: 16 > ### that should be 4 & 8 > [albook:~/Current/petsc-course/course20120514/fsolutions] %% cat sizeof.f > program main > integer(kind=selected_int_kind(5)) a > integer(kind=selected_int_kind(10)) b > write(*,*) 'int4:',sizeof(a) > write(*,*) 'int8:',sizeof(b) > end > [albook:~/Current/petsc-course/course20120514/fsolutions] %% which gfortran > /opt/local/bin/gfortran > [albook:~/Current/petsc-course/course20120514/fsolutions] %% ls -l `!!` > ls -l `which gfortran ` > lrwxr-xr-x 1 root admin 30 Apr 26 19:44 /opt/local/bin/gfortran@ -> /opt/local/bin/gfortran-mp-4.6 From eijkhout at tacc.utexas.edu Thu Apr 26 20:23:18 2012 From: eijkhout at tacc.utexas.edu (Victor Eijkhout) Date: Fri, 27 Apr 2012 03:23:18 +0000 Subject: strange gfortran problem In-Reply-To: <723BFB18-25B5-46D6-A424-5F2B4F49867B@macports.org> References: <723BFB18-25B5-46D6-A424-5F2B4F49867B@macports.org> Message-ID: <70A4FBB9-485E-4E4E-9F3F-823B4E597F42@tacc.utexas.edu> On Apr 26, 2012, at 9:58 PM, Ryan Schmidt wrote: > Test with gcc47 and gcc48 I did, at least version 4.8. But the problem is that it behaves differently with MacPorts than the gcc distribution on Linux, so the package maintainer for gcc might know more about it. Victor. From jason.swails at gmail.com Thu Apr 26 21:22:06 2012 From: jason.swails at gmail.com (Jason Swails) Date: Fri, 27 Apr 2012 00:22:06 -0400 Subject: strange gfortran problem In-Reply-To: <70A4FBB9-485E-4E4E-9F3F-823B4E597F42@tacc.utexas.edu> References: <723BFB18-25B5-46D6-A424-5F2B4F49867B@macports.org> <70A4FBB9-485E-4E4E-9F3F-823B4E597F42@tacc.utexas.edu> Message-ID: <3122EE7A-827F-44E5-BA9B-222303E8BDCA@gmail.com> The problem is actually with MacPorts 4.3.2. A little more accurately, this is NOT an actual bug. The problem is that the behavior you are seeing is allowed under the Fortran standard -- that's why selected_int_kind exists in the first place. I had to issue a patch for a piece of software that used selected_real_kind(), but assumed that it would always return 8 as used. From all the searching I did, I found that this behavior was perfectly within the Fortran standard, and that we had to become compliant with it. My suggestion is to avoid roll-your-own precision to avoid problems like this. If you need to use it, make sure you always use the enquiry intrinsics (selected_real_kind and selected_int_kind), and never assume it will take a particular value. To reiterate, this behavior ONLY arose when I built all my ports with Xcode 4.3.2, and never with older Xcodes (that is, if I built gcc4x with Xcode 4.3.2, it would happen regardless of which FCC I built). I agree the behavior differs in my experiences with Linux, but there are other OSes and compilers that behave differently as well (or so I read). HTH, Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 On Apr 26, 2012, at 11:23 PM, Victor Eijkhout wrote: > > On Apr 26, 2012, at 9:58 PM, Ryan Schmidt wrote: > >> Test with gcc47 and gcc48 > > I did, at least version 4.8. But the problem is that it behaves differently with MacPorts than the gcc distribution on Linux, so the package maintainer for gcc might know more about it. > > Victor. > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From eijkhout at tacc.utexas.edu Thu Apr 26 22:14:12 2012 From: eijkhout at tacc.utexas.edu (Victor Eijkhout) Date: Fri, 27 Apr 2012 05:14:12 +0000 Subject: strange gfortran problem In-Reply-To: <3122EE7A-827F-44E5-BA9B-222303E8BDCA@gmail.com> References: <723BFB18-25B5-46D6-A424-5F2B4F49867B@macports.org> <70A4FBB9-485E-4E4E-9F3F-823B4E597F42@tacc.utexas.edu> <3122EE7A-827F-44E5-BA9B-222303E8BDCA@gmail.com> Message-ID: <7A305700-5DD3-4915-B1C4-1E2964E4B052@tacc.utexas.edu> On Apr 26, 2012, at 11:22 PM, Jason Swails wrote: > The problem is that the behavior you are seeing is allowed under the Fortran standard I'll take your word for it. I ran into this when I compiling some software that used kind(5) as a synonym for INTEGER*4 (after all, 32k is 5 digits) and such, and I was getting type errors. I'll pass on your information to the authors. Victor. From allbery.b at gmail.com Thu Apr 26 23:02:50 2012 From: allbery.b at gmail.com (Brandon Allbery) Date: Fri, 27 Apr 2012 02:02:50 -0400 Subject: strange gfortran problem In-Reply-To: <7A305700-5DD3-4915-B1C4-1E2964E4B052@tacc.utexas.edu> References: <723BFB18-25B5-46D6-A424-5F2B4F49867B@macports.org> <70A4FBB9-485E-4E4E-9F3F-823B4E597F42@tacc.utexas.edu> <3122EE7A-827F-44E5-BA9B-222303E8BDCA@gmail.com> <7A305700-5DD3-4915-B1C4-1E2964E4B052@tacc.utexas.edu> Message-ID: On Fri, Apr 27, 2012 at 01:14, Victor Eijkhout wrote: > On Apr 26, 2012, at 11:22 PM, Jason Swails wrote: > > The problem is that the behavior you are seeing is allowed under the > Fortran standard > > I'll take your word for it. I ran into this when I compiling some software > that used kind(5) as a synonym for INTEGER*4 (after all, 32k is 5 digits) > and such, and I was getting type errors. > IBM claims: http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlf101l.doc%2Fxlflr%2Fintkind.htm *SELECTED_INT_KIND(R)* Returns a value of the kind type parameter of an integer data type that represents all integer values n with -10R < n < 10R. Neither -99,999 nor 99,999 fit in INTEGER*4. -- brandon s allbery allbery.b at gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms -------------- next part -------------- An HTML attachment was scrubbed... URL: From Frederic.Dubois at univ-montp2.fr Fri Apr 27 09:01:28 2012 From: Frederic.Dubois at univ-montp2.fr (=?ISO-8859-1?Q?Fr=E9d=E9ric_Dubois?=) Date: Fri, 27 Apr 2012 18:01:28 +0200 Subject: strange gfortran problem In-Reply-To: References: <723BFB18-25B5-46D6-A424-5F2B4F49867B@macports.org> <70A4FBB9-485E-4E4E-9F3F-823B4E597F42@tacc.utexas.edu> <3122EE7A-827F-44E5-BA9B-222303E8BDCA@gmail.com> <7A305700-5DD3-4915-B1C4-1E2964E4B052@tacc.utexas.edu> Message-ID: <4F9AC2D8.6080307@univ-montp2.fr> Hello, I don't understand the last comment of this mail. Following IBM link its said: Examples SELECTED_INT_KIND (9) has the value 4, signifying that an INTEGER with kind type 4 can represent all values from 10^-9 to 10^9 . Regards Le 27/04/12 08:02, Brandon Allbery a ?crit : > On Fri, Apr 27, 2012 at 01:14, Victor Eijkhout > > wrote: > > On Apr 26, 2012, at 11:22 PM, Jason Swails wrote: > > The problem is that the behavior you are seeing is allowed under > the Fortran standard > > I'll take your word for it. I ran into this when I compiling some > software that used kind(5) as a synonym for INTEGER*4 (after all, > 32k is 5 digits) and such, and I was getting type errors. > > > IBM claims: > http://publib.boulder.ibm.com/infocenter/lnxpcomp/v8v101/index.jsp?topic=%2Fcom.ibm.xlf101l.doc%2Fxlflr%2Fintkind.htm > > *SELECTED_INT_KIND(R)* > > Returns a value of the kind type parameter of an integer data type > that represents all integer values n with -10^R < n < 10^R . > > Neither -99,999 nor 99,999 fit in INTEGER*4. > > -- > > brandon s allbery allbery.b at gmail.com > wandering unix systems administrator (available) (412) 475-9364 vm/sms > > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users -- Fr?d?ric Dubois, Eng, PhD LMGC - UMR CNRS 5508 Universit? de Montpellier 2, cc 048 Place Eug?ne Bataillon 34095 Montpellier Cedex 05 Tel 33/0 467144984 - Fax 33/0 467143923 http://www.lmgc.univ-montp2.fr/~dubois http://www.lmgc.univ-montp2.fr/~dubois/LMGC90 From vince at macports.org Fri Apr 27 09:41:42 2012 From: vince at macports.org (vincent habchi) Date: Fri, 27 Apr 2012 18:41:42 +0200 Subject: =?utf-8?Q?PostGIS_2.0.1_=C3=9F_port?= Message-ID: <2C869711-6095-46DF-93B9-AD336A0A2CE9@macports.org> Chers amis, liebe Freude, cari amici, dear friends, I am about to commit the PostGIS 2.0 port. It is going to be v.2.0.1-svn because 2.0.0 has a bug that prevents successful compilation with clang. I reported it, and it has been corrected in svn. This can be upgraded to 2.0.1 when it is released. Question: ideally PostGIS should be indexed under both databases and gis. Is it permissible to change in the 2.0 Portfile ? Thanks Vincent From punk.kish at gmail.com Fri Apr 27 09:53:02 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Fri, 27 Apr 2012 11:53:02 -0500 Subject: =?iso-8859-1?Q?Re=3A_PostGIS_2=2E0=2E1_=DF_port?= In-Reply-To: <2C869711-6095-46DF-93B9-AD336A0A2CE9@macports.org> References: <2C869711-6095-46DF-93B9-AD336A0A2CE9@macports.org> Message-ID: <5FC6131D-74C8-45A6-83DF-AE54FE2D9476@gmail.com> Vincent, Not an answer to your question, but a comment -- you are my hero. Well, you will be my hero once all of the below is done :-) On Apr 27, 2012, at 11:41 AM, vincent habchi wrote: > Chers amis, liebe Freude, cari amici, dear friends, > > I am about to commit the PostGIS 2.0 port. It is going to be v.2.0.1-svn because 2.0.0 has a bug that prevents successful compilation with clang. I reported it, and it has been corrected in svn. This can be upgraded to 2.0.1 when it is released. > > Question: ideally PostGIS should be indexed under both databases and gis. Is it permissible to change in the 2.0 Portfile ? > > Thanks > Vincent -- Puneet Kishor From MK-MacPorts at techno.ms Fri Apr 27 13:58:36 2012 From: MK-MacPorts at techno.ms (=?iso-8859-1?Q?Marko_K=E4ning?=) Date: Fri, 27 Apr 2012 22:58:36 +0200 Subject: gnuplot on MacPorts with aqua? Message-ID: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> Hi users, is there anyone out there who tried to run MacPorts' version of gnuplot? I don't know what I am doing wrong, but for some reason my gnuplot 4.4p4 installed through MacPorts doesn't work unless I change the console from aqua to x11. Greets, Marko From jason.swails at gmail.com Fri Apr 27 14:04:38 2012 From: jason.swails at gmail.com (Jason Swails) Date: Fri, 27 Apr 2012 17:04:38 -0400 Subject: gnuplot on MacPorts with aqua? In-Reply-To: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> References: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> Message-ID: Works fine for me: $ port installed gnuplot The following ports are currently installed: gnuplot @4.4.4_0+luaterm+pangocairo (active) It plots on aqua just fine... This is on an OS X 10.7.3 box that was upgraded from 10.6, running Xcode 4.2. HTH, Jason On Fri, Apr 27, 2012 at 4:58 PM, Marko K?ning wrote: > Hi users, > > is there anyone out there who tried to run MacPorts' version of gnuplot? > > I don't know what I am doing wrong, but for some reason my gnuplot 4.4p4 > installed through MacPorts doesn't work unless I change the console from > aqua to x11. > > Greets, > Marko > _______________________________________________ > 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 MK-MacPorts at techno.ms Fri Apr 27 14:08:36 2012 From: MK-MacPorts at techno.ms (=?iso-8859-1?Q?Marko_K=E4ning?=) Date: Fri, 27 Apr 2012 23:08:36 +0200 Subject: gnuplot on MacPorts with aqua? In-Reply-To: References: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> Message-ID: <7B8B2728-A716-4349-B8F1-1E3032677FA5@techno.ms> On Apr 27, 2012, at 11:04 PM, Jason Swails wrote: > $ port installed gnuplot > The following ports are currently installed: > gnuplot @4.4.4_0+luaterm+pangocairo (active) > > It plots on aqua just fine... This is on an OS X 10.7.3 box that was upgraded from 10.6, running Xcode 4.2. Same on my end, except that I am on OS X 10.6.8 with Xcode 3.2.6! Well, and it doesn't work with aqua, unfortunately. :-/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason.swails at gmail.com Fri Apr 27 14:13:53 2012 From: jason.swails at gmail.com (Jason Swails) Date: Fri, 27 Apr 2012 17:13:53 -0400 Subject: gnuplot on MacPorts with aqua? In-Reply-To: <7B8B2728-A716-4349-B8F1-1E3032677FA5@techno.ms> References: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> <7B8B2728-A716-4349-B8F1-1E3032677FA5@techno.ms> Message-ID: Have you tried rebuilding aquaterm with MacPorts? On Fri, Apr 27, 2012 at 5:08 PM, Marko K?ning wrote: > > On Apr 27, 2012, at 11:04 PM, Jason Swails wrote: > > $ port installed gnuplot > The following ports are currently installed: > gnuplot @4.4.4_0+luaterm+pangocairo (active) > > It plots on aqua just fine... This is on an OS X 10.7.3 box that was > upgraded from 10.6, running Xcode 4.2. > > > Same on my end, except that I am on OS X 10.6.8 with Xcode 3.2.6! > > Well, and it doesn't work with aqua, unfortunately. :-/ > > _______________________________________________ > 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 MK-MacPorts at techno.ms Fri Apr 27 14:16:36 2012 From: MK-MacPorts at techno.ms (=?iso-8859-1?Q?Marko_K=E4ning?=) Date: Fri, 27 Apr 2012 23:16:36 +0200 Subject: gnuplot on MacPorts with aqua? In-Reply-To: References: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> <7B8B2728-A716-4349-B8F1-1E3032677FA5@techno.ms> Message-ID: <5F8257EB-DD8E-464A-B1B0-B409D62669CA@techno.ms> On Apr 27, 2012, at 11:13 PM, Jason Swails wrote: > Have you tried rebuilding aquaterm with MacPorts? Hmm, well, I have it installed just fine: $ port installed aquaterm The following ports are currently installed: aquaterm @1.0.1_5 (active) Could rebuilding it change the situation? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason.swails at gmail.com Fri Apr 27 15:55:34 2012 From: jason.swails at gmail.com (Jason Swails) Date: Fri, 27 Apr 2012 18:55:34 -0400 Subject: gnuplot on MacPorts with aqua? In-Reply-To: <5F8257EB-DD8E-464A-B1B0-B409D62669CA@techno.ms> References: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> <7B8B2728-A716-4349-B8F1-1E3032677FA5@techno.ms> <5F8257EB-DD8E-464A-B1B0-B409D62669CA@techno.ms> Message-ID: On Fri, Apr 27, 2012 at 5:16 PM, Marko K?ning wrote: > On Apr 27, 2012, at 11:13 PM, Jason Swails wrote: > > Have you tried rebuilding aquaterm with MacPorts? > > > Hmm, well, I have it installed just fine: > > $ port installed aquaterm > The following ports are currently installed: > aquaterm @1.0.1_5 (active) > > Could rebuilding it change the situation? > Potentially -- MacPorts doesn't check to see if there is something wrong with the files that belong to each installed port -- just that it's there. If something has changed, I could imagine aquaterm breaking (I've had trouble with it in the past, but not with my current system). To be thorough, I would uninstall and reinstall both aquaterm (first) and gnuplot (after). Hopefully this works... Jason -- Jason M. Swails Quantum Theory Project, University of Florida Ph.D. Candidate 352-392-4032 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff at ayendesigns.com Fri Apr 27 16:38:14 2012 From: jeff at ayendesigns.com (Jeff Greenberg) Date: Fri, 27 Apr 2012 19:38:14 -0400 Subject: Help with conjoined apaches Message-ID: I installed macports lamp, and what seems to be happening is that apachectl reports based on the osx stack in terms of where the config file is, the vhosts, etc, and apache uses its config files too. But requesting a page seems to use the macports server path and ignore the vhosts. Should I remove the macports stack and just add mysql to lion's apache, or is there a way to straighten out this mess? From jeremy at lavergne.gotdns.org Fri Apr 27 17:54:22 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Fri, 27 Apr 2012 20:54:22 -0400 Subject: Help with conjoined apaches In-Reply-To: References: Message-ID: > I installed macports lamp, and what seems to be happening is that apachectl reports based on the osx stack in terms of where the config file is, the vhosts, etc, and apache uses its config files too. But requesting a page seems to use the macports server path and ignore the vhosts. Should I remove the macports stack and just add mysql to lion's apache, or is there a way to straighten out this mess? Sounds like you're just using the system's apachectl binary. Does your path contains /opt/local/apache2/bin? Also, `which -a apachectl` may help you see which one you're using. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From ryandesign at macports.org Fri Apr 27 17:56:55 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Fri, 27 Apr 2012 19:56:55 -0500 Subject: Help with conjoined apaches In-Reply-To: References: Message-ID: <5BEE3FB4-FDB5-4611-8CD5-876B592A4CAD@macports.org> On Apr 27, 2012, at 18:38, Jeff Greenberg wrote: > I installed macports lamp, and what seems to be happening is that apachectl reports based on the osx stack in terms of where the config file is, the vhosts, etc, and apache uses its config files too. But requesting a page seems to use the macports server path and ignore the vhosts. Should I remove the macports stack and just add mysql to lion's apache, or is there a way to straighten out this mess? I don't think there's a mess, I just think there's a misunderstanding that you think running "apachectl" will get you the version installed by MacPorts, and that's not usually the case, unless as Jeremy said you modified your PATH. So either modify your PATH, or just run the MacPorts apachectl by its full path. From macintosh at mathiesen.info Fri Apr 27 21:28:28 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Sat, 28 Apr 2012 06:28:28 +0200 Subject: apache2 httpd 2.4.2 - mod_mono @1.1.16.1 In-Reply-To: <4F9B6FF9.6030501@mathiesen.info> References: <4F95511C.60203@mathiesen.info> <4F9B6FF9.6030501@mathiesen.info> Message-ID: <4F9B71EC.1070102@mathiesen.info> Bjarne D Mathiesen wrote: > fails to compile > > port install mod_mono @1.1.16.1 > ---> Computing dependencies for mod_mono > ---> Dependencies to be installed: mono libgdiplus libexif xsp > > the dependencies install without any problems hmmm ... it looks af if it's a variation on the same problem as with mod_evasive: :info:build mod_mono.c:1355:33: error: no member named 'remote_ip' in 'struct conn_rec' :info:build size += strlen (r->connection->remote_ip) + sizeof (int32_t); :info:build mod_mono.c:365:35: error: no member named 'remote_addr' in 'struct conn_rec' :info:build apr_sockaddr_port_get (&port, c->remote_addr); If someone can find what remote_addr should be replace with I can attempt to construct a patch This is not a module I'm interested in at present, so if someone has an interest in it, please reply -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From MK-MacPorts at techno.ms Fri Apr 27 23:39:37 2012 From: MK-MacPorts at techno.ms (=?iso-8859-1?Q?Marko_K=E4ning?=) Date: Sat, 28 Apr 2012 08:39:37 +0200 Subject: gnuplot on MacPorts with aqua? In-Reply-To: References: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> <7B8B2728-A716-4349-B8F1-1E3032677FA5@techno.ms> <5F8257EB-DD8E-464A-B1B0-B409D62669CA@techno.ms> Message-ID: > On Apr 27, 2012, at 11:13 PM, Jason Swails wrote: >> Have you tried rebuilding aquaterm with MacPorts? Well, I've done that just now and it didn't change anything. X11 works, aqua doesn't. :-( -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasperfrumau at gmail.com Sat Apr 28 01:46:15 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sat, 28 Apr 2012 15:46:15 +0700 Subject: Mosh errors Message-ID: I installed mosh as an alternative SSH. When I tried to connect to a server I got this: mosh me at domain.com me at domain.com's password: bash: mosh-server: command not found Connection to domain.com closed. /opt/local/bin/mosh: Did not find mosh server startup message. when I use ssh I can connect without any issues. Any ideas how I can fix this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonesc at hep.phy.cam.ac.uk Sat Apr 28 03:32:23 2012 From: jonesc at hep.phy.cam.ac.uk (Chris Jones) Date: Sat, 28 Apr 2012 11:32:23 +0100 Subject: Mosh errors In-Reply-To: References: Message-ID: Hi, This really has nothing to do with MacPorts. See http://mosh.mit.edu/ and the F.A.Q. Q: I'm getting 'mosh-server not found'. Please make sure that mosh is installed on the client, and mosh (or at least mosh-server) is installed on the server you are trying to connect to. If you install mosh-server in your home directory, please see the "Server binary outside path" instructions in the Usage section, above. Chris On 28 Apr 2012, at 9:46am, Jasper Frumau wrote: > I installed mosh as an alternative SSH. When I tried to connect to a server I got this: > > mosh me at domain.com > me at domain.com's password: > bash: mosh-server: command not found > Connection to domain.com closed. > /opt/local/bin/mosh: Did not find mosh server startup message. > > when I use ssh I can connect without any issues. Any ideas how I can fix this? > > _______________________________________________ > 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2966 bytes Desc: not available URL: From jasperfrumau at gmail.com Sat Apr 28 03:48:37 2012 From: jasperfrumau at gmail.com (Jasper Frumau) Date: Sat, 28 Apr 2012 17:48:37 +0700 Subject: Mosh errors In-Reply-To: References: Message-ID: I see. Thanks. I guess it will be a Mosh server side issue :-) On Sat, Apr 28, 2012 at 5:32 PM, Chris Jones wrote: > Hi, > > This really has nothing to do with MacPorts. > > See > > http://mosh.mit.edu/ > > and the F.A.Q. > > Q: I'm getting 'mosh-server not found'. > Please make sure that mosh is installed on the client, and mosh (or at > least mosh-server) is installed on the server you are trying to connect to. > If you install mosh-server in your home directory, please see the "Server > binary outside path" instructions in the Usage section, above. > > Chris > > On 28 Apr 2012, at 9:46am, Jasper Frumau wrote: > > I installed mosh as an alternative SSH. When I tried to connect to a > server I got this: > > mosh me at domain.com > me at domain.com's password: > bash: mosh-server: command not found > Connection to domain.com closed. > /opt/local/bin/mosh: Did not find mosh server startup message. > > when I use ssh I can connect without any issues. Any ideas how I can fix > this? > > _______________________________________________ > 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 jeremy at lavergne.gotdns.org Sat Apr 28 17:31:02 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sat, 28 Apr 2012 20:31:02 -0400 Subject: Help with conjoined apaches In-Reply-To: <20120428172318.804c86d0f7e2d7fea66bf47f0edba67b.a8ad82c03c.wbe@email12.secureserver.net> References: <20120428172318.804c86d0f7e2d7fea66bf47f0edba67b.a8ad82c03c.wbe@email12.secureserver.net> Message-ID: > I do have an /opt/local/apache2, but not /opt/local/apache2/bin. 'which' responds with /usr/sbin That means you're always running Apple's apachectl---so far. There should be one installed by MacPorts as well. Look for in the package list or peruse the /opt/local/apache2 directory, then make sure you have the path to it prepended to your $PATH so it gets used rather than the system one. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From jeremy at lavergne.gotdns.org Sat Apr 28 17:57:33 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sat, 28 Apr 2012 20:57:33 -0400 Subject: Help with conjoined apaches In-Reply-To: <20120428175441.804c86d0f7e2d7fea66bf47f0edba67b.e1308aec61.wbe@email12.secureserver.net> References: <20120428175441.804c86d0f7e2d7fea66bf47f0edba67b.e1308aec61.wbe@email12.secureserver.net> Message-ID: > I did a 'find / -name 'apachectl' and the /usr/sbin is the only instance. Is there a way to get macports to refresh the installation? You can deactivate apache2, then activate it again: sudo port deactivate apache2 sudo port activate apache2 First, would you mind checking the port contents though? Surely it's part of the package, perhaps named apache2ctl? port contents apache2 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From jeremy at lavergne.gotdns.org Sat Apr 28 18:18:29 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sat, 28 Apr 2012 21:18:29 -0400 Subject: Fwd: Help with conjoined apaches References: <57A32145-CDBB-4563-882C-3D8A3D23F0A6@macports.org> Message-ID: <082E84E0-C0BD-4808-941A-21C6BBCE6CF2@lavergne.gotdns.org> From: Bradley Giesbrecht >> I did a 'find / -name 'apachectl' and the /usr/sbin is the only instance. Is there a way to get macports to refresh the installation? > > You can deactivate apache2, then activate it again: > sudo port deactivate apache2 > sudo port activate apache2 > > First, would you mind checking the port contents though? Surely it's part of the package, perhaps named apache2ctl? > port contents apache2 It is named apachectl and /opt/local/apache2/bin needs to be in PATH _BEFORE_ /usr/sbin if you don't want to specify the full path to MacPorts apache2 apachectl: $ echo $PATH /opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin $ which apachectl /opt/local/apache2/bin/apachectl $ port contents apache2 | grep /bin/ /opt/local/apache2/bin/ab /opt/local/apache2/bin/apachectl /opt/local/apache2/bin/apxs /opt/local/apache2/bin/checkgid /opt/local/apache2/bin/dbmmanage /opt/local/apache2/bin/envvars-std /opt/local/apache2/bin/htcacheclean /opt/local/apache2/bin/htdbm /opt/local/apache2/bin/htdigest /opt/local/apache2/bin/htpasswd /opt/local/apache2/bin/httpd /opt/local/apache2/bin/httxt2dbm /opt/local/apache2/bin/logresolve /opt/local/apache2/bin/rotatelogs Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From jeremy at lavergne.gotdns.org Sat Apr 28 18:36:38 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sat, 28 Apr 2012 21:36:38 -0400 Subject: Help with conjoined apaches In-Reply-To: <20120428183035.804c86d0f7e2d7fea66bf47f0edba67b.a1c37f5bc0.wbe@email12.secureserver.net> References: <20120428183035.804c86d0f7e2d7fea66bf47f0edba67b.a1c37f5bc0.wbe@email12.secureserver.net> Message-ID: <0EF206BC-D955-4334-A507-3D42467CA8FA@lavergne.gotdns.org> > This gets stranger and stranger. Ports says apache2 isn't installed. And I have no mysql command anymore. This was all working 2 weeks ago. It appears that somehow it got trashed. Should I start again with 'ports install' apache2 and mysql5? That's pretty bizarre: but yes you can definitely reinstall. When installing again, it might say there are files that already exist. If that happens (and I'm pretty sure it will) you'll have to add the -f flag to ports, to move those files out of the way. sudo port -f install apache2 When these files are moved, they're all given a suffix. You can use the find command to locate all files sharing this name and remove them. find /opt/local -type f -name "*.mp_XXXXXXXXXX" -print -delete Now, keep in mind the pattern MacPorts reports is what you need to put in the command, or you can be more cavalier and just use "*.mp_*", which is obviously risky. You might also want to review `port installed`, just in case something else is amiss. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From jeremy at lavergne.gotdns.org Sat Apr 28 19:02:43 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sat, 28 Apr 2012 22:02:43 -0400 Subject: Help with conjoined apaches In-Reply-To: <20120428185847.804c86d0f7e2d7fea66bf47f0edba67b.b6482318f8.wbe@email12.secureserver.net> References: <20120428185847.804c86d0f7e2d7fea66bf47f0edba67b.b6482318f8.wbe@email12.secureserver.net> Message-ID: <5BBE8CBE-E58A-4466-BADE-9CA442BED22B@lavergne.gotdns.org> > It wanted me to self-update and then freshen what is installed. I'm getting: > > Warning: Xcode appears to be installed but xcodebuild is unusable; some ports will likely fail to build. > Warning: You may need to run `sudo xcode-select -switch /Applications/Xcode.app` > > on everything. I recently installed the ios sdk which brough with it a newer version of xcode, which is likely the cause, but what will that switch do to it if I execute it? Running that command will properly set the path for xcodebuild, as some packages' source code is distributed as xcode projects. Be sure to check the Problem Hotlist on the MacPorts site for all Xcode upgrade issues: https://trac.macports.org/wiki/ProblemHotlist#xcode43 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From pixilla at macports.org Sat Apr 28 19:05:42 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Sat, 28 Apr 2012 19:05:42 -0700 Subject: Help with conjoined apaches In-Reply-To: <0EF206BC-D955-4334-A507-3D42467CA8FA@lavergne.gotdns.org> References: <20120428183035.804c86d0f7e2d7fea66bf47f0edba67b.a1c37f5bc0.wbe@email12.secureserver.net> <0EF206BC-D955-4334-A507-3D42467CA8FA@lavergne.gotdns.org> Message-ID: <99977550-A015-4F43-A791-D0AFA8D40D7B@macports.org> On Apr 28, 2012, at 6:36 PM, Jeremy Lavergne wrote: >> This gets stranger and stranger. Ports says apache2 isn't installed. And I have no mysql command anymore. This was all working 2 weeks ago. It appears that somehow it got trashed. Should I start again with 'ports install' apache2 and mysql5? > > That's pretty bizarre: but yes you can definitely reinstall. When installing again, it might say there are files that already exist. If that happens (and I'm pretty sure it will) you'll have to add the -f flag to ports, to move those files out of the way. > > sudo port -f install apache2 > > When these files are moved, they're all given a suffix. You can use the find command to locate all files sharing this name and remove them. > > find /opt/local -type f -name "*.mp_XXXXXXXXXX" -print -delete > > Now, keep in mind the pattern MacPorts reports is what you need to put in the command, or you can be more cavalier and just use "*.mp_*", which is obviously risky. > > > > You might also want to review `port installed`, just in case something else is amiss. Yes, please post the following commands: echo $PATH which port grep -v -E "^#|^$" /opt/local/etc/macports/macports.conf port installed Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From jeremy at lavergne.gotdns.org Sat Apr 28 19:18:55 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sat, 28 Apr 2012 22:18:55 -0400 Subject: Help with conjoined apaches In-Reply-To: <20120428191557.804c86d0f7e2d7fea66bf47f0edba67b.1b0e658803.wbe@email12.secureserver.net> References: <20120428191557.804c86d0f7e2d7fea66bf47f0edba67b.1b0e658803.wbe@email12.secureserver.net> Message-ID: > Ok, but is xcodebuild unusable because it's not there, or because the new xcode version's xcodebuild isn't liked by macports? If the latter, and it changes the path, how would I switch it back in order to use the iphone sdk version? When Xcode updated, it didn't update it's command line tools to point to the new location (moved from /Developer to /Applications/Xcode.app). This breaks anything that uses the command line tools until you manually run Xcode's command to update this. MacPorts likes xcodebuild, you just have to ensure xcodebuild functions. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From pixilla at macports.org Sat Apr 28 19:28:04 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Sat, 28 Apr 2012 19:28:04 -0700 Subject: Help with conjoined apaches In-Reply-To: <20120428191326.804c86d0f7e2d7fea66bf47f0edba67b.86f79fcd76.wbe@email12.secureserver.net> References: <20120428191326.804c86d0f7e2d7fea66bf47f0edba67b.86f79fcd76.wbe@email12.secureserver.net> Message-ID: <671D227A-9A98-45CC-91A0-2B39C698A7FD@macports.org> Jeff, try to remember to reply to the list by hitting "Reply All". On Apr 28, 2012, at 7:13 PM, jeff at ayendesigns.com wrote: > MacBook-Pro:/ acme$ echo $PATH > /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin Add "/opt/local/apache2/bin:" to the front of you PATH env variable in ~/.profile. > MacBook-Pro:/ acme$ which port > /opt/local/bin/port > > MacBook-Pro:/ acme$ grep -v -E "^#|^$" /opt/local/etc/macports/macports.conf > prefix /opt/local > portdbpath /opt/local/var/macports > applications_dir /Applications/MacPorts > frameworks_dir /opt/local/Library/Frameworks > sources_conf /opt/local/etc/macports/sources.conf > variants_conf /opt/local/etc/macports/variants.conf > universal_archs x86_64 i386 This looks reasonable. > MacBook-Pro:/ acme$ port installed > The following ports are currently installed: > apr @1.4.5_1 > ... > zlib @1.2.6_0 (active) Ok, no apache2 or mysql5 is installed. If you added any virtualhosts to apache or databases to mysql they should still be there. What is the output of this: find /opt/local/apache2 find /opt/local/var/db/mysql5 Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From pixilla at macports.org Sat Apr 28 19:48:54 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Sat, 28 Apr 2012 19:48:54 -0700 Subject: Help with conjoined apaches In-Reply-To: <20120428193431.804c86d0f7e2d7fea66bf47f0edba67b.cd56cdc01c.wbe@email12.secureserver.net> References: <20120428193431.804c86d0f7e2d7fea66bf47f0edba67b.cd56cdc01c.wbe@email12.secureserver.net> Message-ID: <568A383B-E15C-420E-88DB-5A298D3DC4C2@macports.org> Please rely to the list. On Apr 28, 2012, at 7:34 PM, jeff at ayendesigns.com wrote: > MacBook-Pro:/ acme$ find /opt/local/apache2 > /opt/local/apache2 > /opt/local/apache2/conf > /opt/local/apache2/conf/extra > /opt/local/apache2/conf/extra/httpd-autoindex.conf > /opt/local/apache2/conf/extra/httpd-dav.conf > /opt/local/apache2/conf/extra/httpd-default.conf > /opt/local/apache2/conf/extra/httpd-info.conf > /opt/local/apache2/conf/extra/httpd-languages.conf > /opt/local/apache2/conf/extra/httpd-manual.conf > /opt/local/apache2/conf/extra/httpd-mpm.conf > /opt/local/apache2/conf/extra/httpd-multilang-errordoc.conf > /opt/local/apache2/conf/extra/httpd-phpmyadmin.conf > /opt/local/apache2/conf/extra/httpd-ssl.conf > /opt/local/apache2/conf/extra/httpd-userdir.conf > /opt/local/apache2/conf/extra/httpd-vhosts.conf > /opt/local/apache2/conf/httpd.conf > /opt/local/apache2/conf/httpd.conf.bak > /opt/local/apache2/htdocs > /opt/local/apache2/htdocs/drupal > /opt/local/apache2/logs > /opt/local/apache2/logs/access_log > /opt/local/apache2/logs/dev.scrubslife.com-access_log > /opt/local/apache2/logs/dev.scrubslife.com-error_log > /opt/local/apache2/logs/dummy-host.example.com-access_log > /opt/local/apache2/logs/dummy-host.example.com-error_log > /opt/local/apache2/logs/error_log > > /opt/local/var/db/mysql5 > /opt/local/var/db/mysql5/ib_logfile0 > /opt/local/var/db/mysql5/ib_logfile1 > /opt/local/var/db/mysql5/ibdata1 > /opt/local/var/db/mysql5/Jeff-Greenbergs-MacBook-Pro.local.err > /opt/local/var/db/mysql5/mysql > /opt/local/var/db/mysql5/mysql/columns_priv.frm > /opt/local/var/db/mysql5/mysql/columns_priv.MYD > /opt/local/var/db/mysql5/mysql/columns_priv.MYI > /opt/local/var/db/mysql5/mysql/db.frm > /opt/local/var/db/mysql5/mysql/db.MYD > /opt/local/var/db/mysql5/mysql/db.MYI > /opt/local/var/db/mysql5/mysql/event.frm > /opt/local/var/db/mysql5/mysql/event.MYD > /opt/local/var/db/mysql5/mysql/event.MYI > /opt/local/var/db/mysql5/mysql/func.frm > /opt/local/var/db/mysql5/mysql/func.MYD > /opt/local/var/db/mysql5/mysql/func.MYI > /opt/local/var/db/mysql5/mysql/general_log.CSM > /opt/local/var/db/mysql5/mysql/general_log.CSV > /opt/local/var/db/mysql5/mysql/general_log.frm > /opt/local/var/db/mysql5/mysql/help_category.frm > /opt/local/var/db/mysql5/mysql/help_category.MYD > /opt/local/var/db/mysql5/mysql/help_category.MYI > /opt/local/var/db/mysql5/mysql/help_keyword.frm > /opt/local/var/db/mysql5/mysql/help_keyword.MYD > /opt/local/var/db/mysql5/mysql/help_keyword.MYI > /opt/local/var/db/mysql5/mysql/help_relation.frm > /opt/local/var/db/mysql5/mysql/help_relation.MYD > /opt/local/var/db/mysql5/mysql/help_relation.MYI > /opt/local/var/db/mysql5/mysql/help_topic.frm > /opt/local/var/db/mysql5/mysql/help_topic.MYD > /opt/local/var/db/mysql5/mysql/help_topic.MYI > /opt/local/var/db/mysql5/mysql/host.frm > /opt/local/var/db/mysql5/mysql/host.MYD > /opt/local/var/db/mysql5/mysql/host.MYI > /opt/local/var/db/mysql5/mysql/ndb_binlog_index.frm > /opt/local/var/db/mysql5/mysql/ndb_binlog_index.MYD > /opt/local/var/db/mysql5/mysql/ndb_binlog_index.MYI > /opt/local/var/db/mysql5/mysql/plugin.frm > /opt/local/var/db/mysql5/mysql/plugin.MYD > /opt/local/var/db/mysql5/mysql/plugin.MYI > /opt/local/var/db/mysql5/mysql/proc.frm > /opt/local/var/db/mysql5/mysql/proc.MYD > /opt/local/var/db/mysql5/mysql/proc.MYI > /opt/local/var/db/mysql5/mysql/procs_priv.frm > /opt/local/var/db/mysql5/mysql/procs_priv.MYD > /opt/local/var/db/mysql5/mysql/procs_priv.MYI > /opt/local/var/db/mysql5/mysql/servers.frm > /opt/local/var/db/mysql5/mysql/servers.MYD > /opt/local/var/db/mysql5/mysql/servers.MYI > /opt/local/var/db/mysql5/mysql/slow_log.CSM > /opt/local/var/db/mysql5/mysql/slow_log.CSV > /opt/local/var/db/mysql5/mysql/slow_log.frm > /opt/local/var/db/mysql5/mysql/tables_priv.frm > /opt/local/var/db/mysql5/mysql/tables_priv.MYD > /opt/local/var/db/mysql5/mysql/tables_priv.MYI > /opt/local/var/db/mysql5/mysql/time_zone.frm > /opt/local/var/db/mysql5/mysql/time_zone.MYD > /opt/local/var/db/mysql5/mysql/time_zone.MYI > /opt/local/var/db/mysql5/mysql/time_zone_leap_second.frm > /opt/local/var/db/mysql5/mysql/time_zone_leap_second.MYD > /opt/local/var/db/mysql5/mysql/time_zone_leap_second.MYI > /opt/local/var/db/mysql5/mysql/time_zone_name.frm > /opt/local/var/db/mysql5/mysql/time_zone_name.MYD > /opt/local/var/db/mysql5/mysql/time_zone_name.MYI > /opt/local/var/db/mysql5/mysql/time_zone_transition.frm > /opt/local/var/db/mysql5/mysql/time_zone_transition.MYD > /opt/local/var/db/mysql5/mysql/time_zone_transition.MYI > /opt/local/var/db/mysql5/mysql/time_zone_transition_type.frm > /opt/local/var/db/mysql5/mysql/time_zone_transition_type.MYD > /opt/local/var/db/mysql5/mysql/time_zone_transition_type.MYI > /opt/local/var/db/mysql5/mysql/user.frm > /opt/local/var/db/mysql5/mysql/user.MYD > /opt/local/var/db/mysql5/mysql/user.MYI > /opt/local/var/db/mysql5/test None of these files are provided by MacPorts and files provided by apache2 and mysql5 are missing so somehow apache2 and mysql5 were most likely uninstalled by port. Do you try to do a forced upgrade apache2 and mysql5 that failed? I think that would have uninstalled apache2 and mysql5 before building and installing. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From jeff at ayendesigns.com Sat Apr 28 19:52:50 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sat, 28 Apr 2012 19:52:50 -0700 Subject: Help with conjoined apaches Message-ID: <20120428195250.804c86d0f7e2d7fea66bf47f0edba67b.10ccf46bef.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From jeremy at lavergne.gotdns.org Sat Apr 28 20:00:07 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sat, 28 Apr 2012 23:00:07 -0400 Subject: Help with conjoined apaches In-Reply-To: <568A383B-E15C-420E-88DB-5A298D3DC4C2@macports.org> References: <20120428193431.804c86d0f7e2d7fea66bf47f0edba67b.cd56cdc01c.wbe@email12.secureserver.net> <568A383B-E15C-420E-88DB-5A298D3DC4C2@macports.org> Message-ID: > None of these files are provided by MacPorts and files provided by apache2 and mysql5 are missing so somehow apache2 and mysql5 were most likely uninstalled by port. > > Do you try to do a forced upgrade apache2 and mysql5 that failed? I think that would have uninstalled apache2 and mysql5 before building and installing. I'd check the code for that one; pretty sure uninstall should never happen until immediately before activate (unless the port itself commands otherwise). -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From jeff at ayendesigns.com Sat Apr 28 21:50:09 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sat, 28 Apr 2012 21:50:09 -0700 Subject: Help with conjoined apaches Message-ID: <20120428215009.804c86d0f7e2d7fea66bf47f0edba67b.abb6dfa813.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From phildobbin at gmail.com Sun Apr 29 01:23:19 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Sun, 29 Apr 2012 09:23:19 +0100 Subject: Help with conjoined apaches In-Reply-To: <20120428215009.804c86d0f7e2d7fea66bf47f0edba67b.abb6dfa813.wbe@email12.secureserver.net> References: <20120428215009.804c86d0f7e2d7fea66bf47f0edba67b.abb6dfa813.wbe@email12.secureserver.net> Message-ID: <4F9CFA77.6060303@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/04/2012 05:50, jeff at ayendesigns.com wrote: > Getting warmer :) I installed apache2, mysql5, mysql5-server, php5 and > phpmyadmin. Apache is pointing to the correct place for apachectl after > I added the path to .profile. > > The trouble I'm having now is mysql. I'm getting: > > ERROR 2002 (HY000): Can't connect to local MySQL server through socket > '/opt/local/var/run/mysql5/mysqld.sock First of all, have you checked that mysql-server is actually running? Quickest way other than the cli is open Activity Monitor & select `All processes` & enter `mysqld` in the search box. Or from the cli 'ps -ef | grep mysql' If it isn't running, start the server. If it is running, it's because mysqld can't find the required `mysqld.sock`. In which case re-starting the server should automatically generate the mysqld.sock file. Also if you enter `ERROR 2002 (HY000): Can't connect to local MySQL server through socket` in Google, you'll get about a million hits. It's a very common problem when first installing/upgrading MySQL. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPnPp0AAoJEKpMeDHWT5ADhAMH/3LimzJtKhayUzRUPFDgwc10 +7I9t/X7tvop0AtxwTUsnOxBMiFuyXr1XTR54XkPY4ZV4Wc4DYqr8teUWZKXXWX4 J6876wRHf/N5gM2Quf5W2w/bDA6UV9Is2uMyRr8mHNKfV8dJBoyFi8MzNJ/+844B 5bpw8QnDn/gYNjYYf40AMSpyyl91BhAviVMExVAvleyhYiA0EesWCrrcL4YP2AWZ q8NoRRqPcssEwYGRxqVFVqPh7h0VAaK42wVQJPxyY0Krd+XawpzNSdwLdU6QWN72 W3ssoD0DdwcrKeyDxehpe1+ppoAWr6P4MDS4iPcpNQZFiylimx0NGv7zobrRzuk= =Hgyy -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From vince at macports.org Sun Apr 29 01:47:54 2012 From: vince at macports.org (vincent habchi) Date: Sun, 29 Apr 2012 10:47:54 +0200 Subject: New port: postgis2 (PostGIS 2.0) Message-ID: <030794D3-7A5F-4BA4-93F0-4C5DAE9D4658@macports.org> Hi everybody, I?ve committed this morning in r92462 a new port corresponding to PostGIS v 2.0 and up. This port is incompatible with postgis, that is to say PostGIS 1.x. Both install the same files at the same place. It is therefore *mandatory* before you upgrade to save your databases, uninstall postgis 1.5 first by removing it from your PostGreSQL environment (you should have a script uninstall_postgis in ${prefix}/share/postgresqlXX/contrib/postgis) and then by uninstalling the port, compile the postgis2 port, and restore your databases using the provided script. Further instructions on the PostGIS site http://postgis.refractions.net. Be careful of some side effects: the_geom is now called geom, SRID is limited to 999,999, etc. PostGIS 2 requires Geos >= 3.3.2 so you must upgrade this library too. Please try and report any bug you may find. Thanks, Vincent From mojca.miklavec.lists at gmail.com Sun Apr 29 03:46:43 2012 From: mojca.miklavec.lists at gmail.com (Mojca Miklavec) Date: Sun, 29 Apr 2012 12:46:43 +0200 Subject: gnuplot on MacPorts with aqua? In-Reply-To: References: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> <7B8B2728-A716-4349-B8F1-1E3032677FA5@techno.ms> <5F8257EB-DD8E-464A-B1B0-B409D62669CA@techno.ms> Message-ID: On Sat, Apr 28, 2012 at 08:39, Marko K?ning wrote: >> On Apr 27, 2012, at 11:13 PM, Jason Swails wrote: >> >> Have you tried rebuilding aquaterm with MacPorts? > > Well, I've done that just now and it didn't change anything. > X11 works, aqua doesn't. :-( In what way does it fail? Do you happen to have /Applications/AquaTerm.app installed? Do you happen to use i386 gnuplot? Both reasons will almost surely make the old (= what is currently installed in macports) version of AquaTerm fail. If you have the system-wide AquaTerm installed, it might help to completely remove AquaTerm installed on the system (just rm /Applications/AquaTerm.app, /Library/Frameworks/AquaTerm.framework, /usr/lib/libaquaterm*, /usr/local/include/aquaterm). If you have 32-bit gnuplot it might help to use 64-bit only (you may not enable wxwidgets variant). BACKGROUND Let me explain a bit of a background. AquaTerm does some communication between gnuplot and AquaTerm.app. That works perfectly fine as long as gnuplot and AquaTerm.app run either both in 32-bit or both 64-bit, else there are problems when data is transferred between both. If you are using 64-bit system and happen to have 32-bit gnuplot then AquaTerm will fire up in 64-bit mode by default and gnuplot will send 32-bit integers to it, so it will fail to work. With substantial patches by Alexander Wittig AquaTerm 1.1.0 was released about a year ago - which fixed the majority of these problems. But now there is a problem if you compile gnuplot with the old aquaterm library and gnuplot starts the new AquaTerm.app from /Applications instead of /Applications/MacPorts. In AquaTerm 1.1.0 two show stoppers remained (when 32 and 64-bit was mixed, plots were not cleared; and after doing "set term aqua " the numbers on both axes were transparent), which is why I was reluctant to ask macports to upgrade. On top of that I realized that Per Persson didn't upload tar.gz with source to sourceforge, only AquaTerm1.1.0.dmg which was probably the main reason why macports didn't automatically pick it up. Some time ago Alexander fixed the bug with failure to clear the plot. Last week I found and fixed the bug with transparent labels. I have created a repository on https://github.com/mojca/aquaterm_aquaterm/ which according to my current knowledge fixes all the major bugs (there are still many compiler warnings when compiling on Lion; I didn't research how to get rid of them yet). I suggested to Per to do a new release, but he seems to be busy enough and might not have time to look into it right now. I planned to prepare an experimental package for MacPorts fetching the source from GitHub, just to get a broader audience being able to test if there are any remaining bugs. GNUPLOT It would be perfect if gnuplot had slightly more flexibility to: a) specifying which aquaterm to use if there are many versions on the system b) explicitly enable or disable aquaterm c) use "-framework AquaTerm" and "-F/path/to/Frameworks" instead of "-I/path/to/include/" and "-laquaterm" d) specify a different default terminal even when aquaterm is installed The (c) part was an explicit wish of Per Persson, the rest are my own "feature requests". I submitted two patches to gnuplot to do (a)-(d), see: http://sourceforge.net/tracker/index.php?func=detail&aid=3476165&group_id=2055&atid=302055 http://sourceforge.net/tracker/?func=detail&aid=3476336&group_id=2055&atid=302055 or for (a)-(c): https://github.com/mojca/gnuplot/blob/mojca/m4/apple.m4 One of the main developers consequently applied the following patch which solves (b) only: https://github.com/mojca/gnuplot/commit/e68660baab61725e74d24438ea72774208e03600 by disabling aquaterm by default and only providing a switch to enable it. (I'm sorry for sending links to unofficial version of repository, but I'm not aware of a nice way to link to single commits on ViewVC, http://gnuplot.cvs.sourceforge.net/gnuplot/) One of the main "problems" is that nobody in the core development team of Gnuplot is a mac user, so they depend solely on external people sending patches and providing feedback. There is lack of both (people sending patches for OS X and people testing the patches and providing valuable feedback). I wanted to submit some of the mentined patches also on the Macports tracker to get more testers, but I would first like to get gnuplot 4.6.0 included into MacPorts before AquaTerm hacks are discussed, see: http://trac.macports.org/ticket/33596 I volunteered to become gnuplot maintainer, but I need some experienced developer with commit rights first to review the patch and do the final commit to SVN. Mojca From jeff at ayendesigns.com Sun Apr 29 05:24:16 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sun, 29 Apr 2012 05:24:16 -0700 Subject: Help with conjoined apaches Message-ID: <20120429052416.804c86d0f7e2d7fea66bf47f0edba67b.39b147d5a8.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From punk.kish at gmail.com Sun Apr 29 05:42:10 2012 From: punk.kish at gmail.com (Puneet Kishor) Date: Sun, 29 Apr 2012 07:42:10 -0500 Subject: New port: postgis2 (PostGIS 2.0) In-Reply-To: <030794D3-7A5F-4BA4-93F0-4C5DAE9D4658@macports.org> References: <030794D3-7A5F-4BA4-93F0-4C5DAE9D4658@macports.org> Message-ID: On Apr 29, 2012, at 3:47 AM, vincent habchi wrote: > Hi everybody, > > I?ve committed this morning in r92462 a new port corresponding to PostGIS v 2.0 and up. > This port is incompatible with postgis, that is to say PostGIS 1.x. Both install the same files at the same place. Hmmm... That's a deal breaker for me. I don't have two machines to test it out. Since the two different versions can haooily coexist, why not make it so instead of requiring uninstalling PostGIS 1.5? > > It is therefore *mandatory* before you upgrade to save your databases, uninstall postgis 1.5 first by removing it from your PostGreSQL environment (you should have a script uninstall_postgis in ${prefix}/share/postgresqlXX/contrib/postgis) and then by uninstalling the port, compile the postgis2 port, and restore your databases using the provided script. Further instructions on the PostGIS site http://postgis.refractions.net. > > Be careful of some side effects: the_geom is now called geom, SRID is limited to 999,999, etc. > > PostGIS 2 requires Geos >= 3.3.2 so you must upgrade this library too. > > Please try and report any bug you may find. > > Thanks, > Vincent > > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From phildobbin at gmail.com Sun Apr 29 06:23:39 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Sun, 29 Apr 2012 14:23:39 +0100 Subject: Help with conjoined apaches In-Reply-To: <20120429052416.804c86d0f7e2d7fea66bf47f0edba67b.39b147d5a8.wbe@email12.secureserver.net> References: <20120429052416.804c86d0f7e2d7fea66bf47f0edba67b.39b147d5a8.wbe@email12.secureserver.net> Message-ID: <4F9D40DB.4000100@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/04/2012 13:24, jeff at ayendesigns.com wrote: > It is running. Activity monitor shows mysqld running under user > _mysql.First of all, have you checked that mysql-server is actually > running? I had found a million hits :) I spent quite a bit of time > reading them, trying what seemed logical, modifying what I did to > account for the age of some (many refer to user mysql and now it's > _mysql), etc., to no avail. > > I stopped mysql, at which point the process disappears from Activity > Monitor as it should. Restart it, and the process reappears, but so does > the mysock error :( Does `/private/tmp/mysql.sock` exist (there's also a symlink at `/var/mysql/mysql.sock`)? Your best bet is to read the official MySQL reference docs at: Cheers, Phil... > > Quickest way other than the cli is open Activity Monitor & select `All > processes` & enter `mysqld` in the search box. > > Or from the cli 'ps -ef | grep mysql' > > If it isn't running, start the server. If it is running, it's because > mysqld can't find the required `mysqld.sock`. In which case re-starting > the server should automatically generate the mysqld.sock file. > > Also if you enter `ERROR 2002 (HY000): Can't connect to local MySQL > server through socket` in Google, you'll get about a million hits. It's > a very common problem when first installing/upgrading MySQL. - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPnUDZAAoJEKpMeDHWT5ADc94IAKDNbu2g6SyluCRp5fnKAkFB ICJeeD/WsrzCoGR/0Ouifdwj+g08tSh67ugjFwULeEnueaf4bCJjdMJtrT1gis+3 e0sKskxEr0d1HQAGUY9odSbjoyYtX0rjJhd9f0T1zUvIixiRt/v2ziysSNbRHAJq uAHt8XWB5tNUMpR4y7SPvkVPgRvNhYx3zFTxMuD54zq23oUultAqLmVzyCBGpwWZ O6tkSf129XSs6vE+tKWoGKqf7bls3WwiF2o5z5mw1LXrQGTrK5CmfrjfcFj1fvEg hHTpjVbi9bs0SplOFPc8wNreslNNU37M1hGFWqTJPPRBCQxHu0A6BpvdD3AstlI= =XHLh -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From marcelo.chiapparini at gmail.com Sun Apr 29 07:25:34 2012 From: marcelo.chiapparini at gmail.com (Marcelo Chiapparini) Date: Sun, 29 Apr 2012 11:25:34 -0300 Subject: error message: Couldn't determine your Xcode version Message-ID: Hello! When I try to run "port upgrade outdated" I get the output below. How can I fix the problem? Thanks in advance! - I do have installed Xcode 4.3.2 (4E2002) - I do have installed Command Line Tools - I ran "xcode-select -switch /Applications/Xcode.app" Here is the error message: Yggdrasill3:~ marcelo$ sudo port upgrade outdated Warning: xcodebuild exists but failed to execute Warning: Xcode appears to be installed but xcodebuild is unusable; some ports will likely fail to build. Warning: You may need to run `sudo xcode-select -switch /Applications/Xcode.app` ---> Extracting libunwind-headers Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild -version'). Error: Error: If you have not installed Xcode, install it now; see: Error: http://guide.macports.org/chunked/installing.xcode.html Error: Error: Target org.macports.extract returned: unable to find Xcode Log for libunwind-headers is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libunwind-headers/libunwind-headers/main.log Error: Problem while installing libunwind-headers To report a bug, see Marcelo -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy at lavergne.gotdns.org Sun Apr 29 08:02:54 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sun, 29 Apr 2012 11:02:54 -0400 Subject: error message: Couldn't determine your Xcode version In-Reply-To: References: Message-ID: > When I try to run "port upgrade outdated" I get the output below. How can I fix the problem? Thanks in advance! > > - I do have installed Xcode 4.3.2 (4E2002) > - I do have installed Command Line Tools > - I ran "xcode-select -switch /Applications/Xcode.app" > > Here is the error message: > > Yggdrasill3:~ marcelo$ sudo port upgrade outdated > Warning: xcodebuild exists but failed to execute > Warning: Xcode appears to be installed but xcodebuild is unusable; some ports will likely fail to build. > Warning: You may need to run `sudo xcode-select -switch /Applications/Xcode.app` > ---> Extracting libunwind-headers > Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild -version'). > Error: > Error: If you have not installed Xcode, install it now; see: > Error: http://guide.macports.org/chunked/installing.xcode.html What happens when you run xcodebuild? sudo xcodebuild -version My guess is the license hasn't been accepted: sudo xcodebuild -license -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From punk.kish at gmail.com Sun Apr 29 08:23:50 2012 From: punk.kish at gmail.com (Mr. Puneet Kishor) Date: Sun, 29 Apr 2012 10:23:50 -0500 Subject: Macports list severely depleted Message-ID: I saw the latest release of Postgis 2.0 required Geos 3.3.2, but I can't find anything greater than 3.3.1. In fact, the entire macports list seems quite depleted. ---- The MacPorts Project currently distributes 11298 ports, organized across 85 different categories and available below for viewing. This form allows you to search the MacPorts software index, last updated on (unknown) at (unknown). Search by: Or view the complete ports list (11298 ports). ---- I know (from memory) there should be more than 13K ports. -- Puneet Kishor From jeremy at lavergne.gotdns.org Sun Apr 29 08:33:16 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sun, 29 Apr 2012 11:33:16 -0400 Subject: Macports list severely depleted In-Reply-To: References: Message-ID: > I saw the latest release of Postgis 2.0 required Geos 3.3.2, but I can't find anything greater than 3.3.1. In fact, the entire macports list seems quite depleted. > > ---- > The MacPorts Project currently distributes 11298 ports, organized across 85 different categories and available below for viewing. This form allows you to search the MacPorts software index, last updated on (unknown) at (unknown). > > > Search by: > > Or view the complete ports list (11298 ports). > ---- `port echo all | wc -l` also shows over 13k for me. Something probably broke the periodic update on the web site again, and this indicates we aren't atomically update the ports list. I'm pretty sure wms got an automated email about it :-) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From marcelo.chiapparini at gmail.com Sun Apr 29 08:33:06 2012 From: marcelo.chiapparini at gmail.com (Marcelo Chiapparini) Date: Sun, 29 Apr 2012 12:33:06 -0300 Subject: error message: Couldn't determine your Xcode version In-Reply-To: References: Message-ID: 2012/4/29 Jeremy Lavergne > > When I try to run "port upgrade outdated" I get the output below. How > can I fix the problem? Thanks in advance! > > > > - I do have installed Xcode 4.3.2 (4E2002) > > - I do have installed Command Line Tools > > - I ran "xcode-select -switch /Applications/Xcode.app" > > > > Here is the error message: > > > > Yggdrasill3:~ marcelo$ sudo port upgrade outdated > > Warning: xcodebuild exists but failed to execute > > Warning: Xcode appears to be installed but xcodebuild is unusable; some > ports will likely fail to build. > > Warning: You may need to run `sudo xcode-select -switch > /Applications/Xcode.app` > > ---> Extracting libunwind-headers > > Error: Couldn't determine your Xcode version (from '/usr/bin/xcodebuild > -version'). > > Error: > > Error: If you have not installed Xcode, install it now; see: > > Error: http://guide.macports.org/chunked/installing.xcode.html > > What happens when you run xcodebuild? > sudo xcodebuild -version > > My guess is the license hasn't been accepted: > sudo xcodebuild -license > > Hi Jeremy, thanks for the reply. Here is the result of the command: marcelo$ sudo xcodebuild -version Password: error: can't exec '/Applications/Xcode.app/usr/bin/xcodebuild' (No such file or directory) May be a problem with a path? thanks Marcelo -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeremy at lavergne.gotdns.org Sun Apr 29 08:38:12 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sun, 29 Apr 2012 11:38:12 -0400 Subject: error message: Couldn't determine your Xcode version In-Reply-To: References: Message-ID: <96FB4C7F-ADFC-41FF-A3BF-61BC3F5C1095@lavergne.gotdns.org> > Hi Jeremy, thanks for the reply. Here is the result of the command: > > marcelo$ sudo xcodebuild -version > Password: > error: can't exec '/Applications/Xcode.app/usr/bin/xcodebuild' (No such file or directory) > > May be a problem with a path? Yes, looks like Xcode has its path wrong. See what it is, just in case: sudo xcode-select -print-path Then switch it to the expected one again: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From vince at macports.org Sun Apr 29 09:17:26 2012 From: vince at macports.org (vincent habchi) Date: Sun, 29 Apr 2012 18:17:26 +0200 Subject: Macports list severely depleted In-Reply-To: References: Message-ID: Le 29 avr. 2012 ? 17:33, Jeremy Lavergne a ?crit : >> I saw the latest release of Postgis 2.0 required Geos 3.3.2, but I can't find anything greater than 3.3.1. In fact, the entire macports list seems quite depleted. >> >> ---- >> The MacPorts Project currently distributes 11298 ports, organized across 85 different categories and available below for viewing. This form allows you to search the MacPorts software index, last updated on (unknown) at (unknown). >> >> >> Search by: >> >> Or view the complete ports list (11298 ports). >> ---- > > `port echo all | wc -l` also shows over 13k for me. 13766 on my side. As for Geos 3.3.2 I commited a new Portfile yesturday. The update is simple: update version number and checksums and you?re done. Vincent From pixilla at macports.org Sun Apr 29 09:41:18 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Sun, 29 Apr 2012 09:41:18 -0700 Subject: gnuplot on MacPorts with aqua? In-Reply-To: References: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> <7B8B2728-A716-4349-B8F1-1E3032677FA5@techno.ms> <5F8257EB-DD8E-464A-B1B0-B409D62669CA@techno.ms> Message-ID: <00E14BDB-3573-4CAF-9895-667150EC1EE7@macports.org> On Apr 29, 2012, at 3:46 AM, Mojca Miklavec wrote: > On Sat, Apr 28, 2012 at 08:39, Marko K?ning wrote: >>> On Apr 27, 2012, at 11:13 PM, Jason Swails wrote: >>> >>> Have you tried rebuilding aquaterm with MacPorts? >> >> Well, I've done that just now and it didn't change anything. >> X11 works, aqua doesn't. :-( > > GNUPLOT > > It would be perfect if gnuplot had slightly more flexibility to: > a) specifying which aquaterm to use if there are many versions on the system > b) explicitly enable or disable aquaterm > c) use "-framework AquaTerm" and "-F/path/to/Frameworks" instead of > "-I/path/to/include/" and "-laquaterm" > d) specify a different default terminal even when aquaterm is installed > > The (c) part was an explicit wish of Per Persson, the rest are my own > "feature requests". > > I submitted two patches to gnuplot to do (a)-(d), see: > http://sourceforge.net/tracker/index.php?func=detail&aid=3476165&group_id=2055&atid=302055 > http://sourceforge.net/tracker/?func=detail&aid=3476336&group_id=2055&atid=302055 > or for (a)-(c): > https://github.com/mojca/gnuplot/blob/mojca/m4/apple.m4 > > One of the main developers consequently applied the following patch > which solves (b) only: > https://github.com/mojca/gnuplot/commit/e68660baab61725e74d24438ea72774208e03600 > by disabling aquaterm by default and only providing a switch to enable it. > > (I'm sorry for sending links to unofficial version of repository, but > I'm not aware of a nice way to link to single commits on ViewVC, > http://gnuplot.cvs.sourceforge.net/gnuplot/) > > One of the main "problems" is that nobody in the core development team > of Gnuplot is a mac user, so they depend solely on external people > sending patches and providing feedback. There is lack of both (people > sending patches for OS X and people testing the patches and providing > valuable feedback). Mojca, thanks for the background. Send links to patches along with any conditions of when they should be applied. At some point this discussion should probably be moved to macports-dev at lists.macosforge.org. > I wanted to submit some of the mentined patches also on the Macports > tracker to get more testers, but I would first like to get gnuplot > 4.6.0 included into MacPorts before AquaTerm hacks are discussed, see: > http://trac.macports.org/ticket/33596 On 10.6 I applied this patch the upgrade of gnuplot finished without issue. http://trac.macports.org/attachment/ticket/33596/gnuplot4_6_0-v2.diff > I volunteered to become gnuplot maintainer, but I need some > experienced developer with commit rights first to review the patch and > do the final commit to SVN. Mojca: since you are the maintainer of gnuplot and that ticket has a lot of patches is the patch I applied ready for commit? If so and know one has already committed by the time I return from a 4 hour working meeting I'll commit this for you. Regards, Bradley Giesbrecht (pixilla) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From jeremy at lavergne.gotdns.org Sun Apr 29 10:07:25 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sun, 29 Apr 2012 13:07:25 -0400 Subject: Macports list severely depleted In-Reply-To: References: Message-ID: <282CE15F-11C1-49A7-BFD0-B2523A78492B@lavergne.gotdns.org> >>> I saw the latest release of Postgis 2.0 required Geos 3.3.2, but I can't find anything greater than 3.3.1. In fact, the entire macports list seems quite depleted. >>> >>> ---- >>> The MacPorts Project currently distributes 11298 ports, organized across 85 different categories and available below for viewing. This form allows you to search the MacPorts software index, last updated on (unknown) at (unknown). >>> >>> >>> Search by: >>> >>> Or view the complete ports list (11298 ports). >>> ---- The root cause was fixed in r92473. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From macintosh at mathiesen.info Sun Apr 29 10:16:46 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Sun, 29 Apr 2012 19:16:46 +0200 Subject: Macports list severely depleted In-Reply-To: References: Message-ID: <4F9D777E.1080909@mathiesen.info> Mr. Puneet Kishor wrote: > I saw the latest release of Postgis 2.0 required Geos 3.3.2, but I can't find anything greater than 3.3.1. In fact, the entire macports list seems quite depleted. > > ---- > The MacPorts Project currently distributes 11298 ports, organized across 85 different categories and available below for viewing. This form allows you to search the MacPorts software index, last updated on (unknown) at (unknown). > > Search by: > Or view the complete ports list (11298 ports). > ---- > > I know (from memory) there should be more than 13K ports. > > -- > Puneet Kishor port -d sync Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 13940 -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From jeff at ayendesigns.com Sun Apr 29 10:33:10 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sun, 29 Apr 2012 10:33:10 -0700 Subject: mysql problem with socket (was Help with conjoined apaches) Message-ID: <20120429103310.804c86d0f7e2d7fea66bf47f0edba67b.9445f84200.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From phildobbin at gmail.com Sun Apr 29 11:02:46 2012 From: phildobbin at gmail.com (Phil Dobbin) Date: Sun, 29 Apr 2012 19:02:46 +0100 Subject: mysql problem with socket (was Help with conjoined apaches) In-Reply-To: <20120429103310.804c86d0f7e2d7fea66bf47f0edba67b.9445f84200.wbe@email12.secureserver.net> References: <20120429103310.804c86d0f7e2d7fea66bf47f0edba67b.9445f84200.wbe@email12.secureserver.net> Message-ID: <4F9D8246.1050005@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/04/2012 18:33, jeff at ayendesigns.com wrote: > That link came up non-existent [snip] > > > > >; trailing bracket caused that. Cheers, Phil... - -- But masters, remember that I am an ass. Though it be not written down, yet forget not that I am an ass. Wm. Shakespeare - Much Ado About Nothing -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: ??auto-key-locate cert pka ldap hkp://keys.gnupg.net Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPnYJEAAoJEKpMeDHWT5ADjDMH/ihNeFs+EfX4F4qxflnc9M7L UM0ZrMH6H6owIzkX2Io/p9Fg9EvgRdB86h4jikyD6WL8VB6kEyoyEwMeswOlq2pP y7ww9Ff/OrMJ4rpbeaevGRhnDYjC+NamQ4avU7urCjMF0fhnG3cyFKq7KYpHTj0L klC+nvDw8q6wzIgoh1q45wDVO2WyNLBCURbSStB735Cc7bemLl85fmByyQCdx7pn 76082i68FwkepDfI83qM30i41EL0q2DkogwPZPItS0kEhLbQFwi6KwhzO7AR/kAJ m6pEOKOT2TOMyhpL75z/TgCopOmiQ8qoouxAfebilgwx2rClQKoa2iDYq3QYaFA= =rC5/ -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 3865 bytes Desc: S/MIME Cryptographic Signature URL: From marcelo.chiapparini at gmail.com Sun Apr 29 11:25:27 2012 From: marcelo.chiapparini at gmail.com (Marcelo Chiapparini) Date: Sun, 29 Apr 2012 15:25:27 -0300 Subject: error message: Couldn't determine your Xcode version In-Reply-To: <96FB4C7F-ADFC-41FF-A3BF-61BC3F5C1095@lavergne.gotdns.org> References: <96FB4C7F-ADFC-41FF-A3BF-61BC3F5C1095@lavergne.gotdns.org> Message-ID: 2012/4/29 Jeremy Lavergne > > Hi Jeremy, thanks for the reply. Here is the result of the command: > > > > marcelo$ sudo xcodebuild -version > > Password: > > error: can't exec '/Applications/Xcode.app/usr/bin/xcodebuild' (No such > file or directory) > > > > May be a problem with a path? > > Yes, looks like Xcode has its path wrong. > > See what it is, just in case: > sudo xcode-select -print-path > > Then switch it to the expected one again: > sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer > > Before implementing your advice: Yggdrasill3:~ marcelo$ sudo xcode-select -print-path Password: /Applications/Xcode.app After your advice: Yggdrasill3:~ marcelo$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer Yggdrasill3:~ marcelo$ sudo xcodebuild -version Xcode 4.3.2 Build version 4E2002 Now port is running fine. The problem was fixed! Thanks a lot t Jeremy Regards, Marcelo -------------- next part -------------- An HTML attachment was scrubbed... URL: From mojca.miklavec.lists at gmail.com Sun Apr 29 11:27:57 2012 From: mojca.miklavec.lists at gmail.com (Mojca Miklavec) Date: Sun, 29 Apr 2012 20:27:57 +0200 Subject: gnuplot on MacPorts with aqua? In-Reply-To: <00E14BDB-3573-4CAF-9895-667150EC1EE7@macports.org> References: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> <7B8B2728-A716-4349-B8F1-1E3032677FA5@techno.ms> <5F8257EB-DD8E-464A-B1B0-B409D62669CA@techno.ms> <00E14BDB-3573-4CAF-9895-667150EC1EE7@macports.org> Message-ID: On Sun, Apr 29, 2012 at 18:41, Bradley Giesbrecht wrote: > On Apr 29, 2012, at 3:46 AM, Mojca Miklavec wrote: > >> I wanted to submit some of the mentined patches also on the Macports >> tracker to get more testers, but I would first like to get gnuplot >> 4.6.0 included into MacPorts before AquaTerm hacks are discussed, see: >> ? ?http://trac.macports.org/ticket/33596 > > On 10.6 I applied this patch the upgrade of gnuplot finished without issue. > http://trac.macports.org/attachment/ticket/33596/gnuplot4_6_0-v2.diff > >> I volunteered to become gnuplot maintainer, but I need some >> experienced developer with commit rights first to review the patch and >> do the final commit to SVN. > > Mojca: since you are the maintainer of gnuplot and that ticket has a lot of patches At first I uploaded each file/patch separately, but was later instructed that a single patchfile against SVN trunk is better (consequently there are a lot of leftovers from the era before that). There are only two files that are relevant now: - gnuplot4_6_0-v2-cocoa.diff - gnuplot4_6_0-v2.diff They are basically the same, except that the first one uses Cocoa and the second one uses Carbon (and is also shorter). The functionality should be exactly the same. > is the patch I applied ready for commit? > If so and know one has already committed by the time I return from a 4 hour working meeting I'll commit this for you. The patch is ready from my point of view. But as a "senior macports developer" you can check if it complies with all the macports guidelines before committing it. (Are there any guidelines/suggestions about filenames of patchfiles? I've seen everything from *.diff to *.patch to patch-filename to patch-filename.diff. This is a trivial issue though.) In case that you apply the patch, please also close the following two tickets: http://trac.macports.org/ticket/18795 http://trac.macports.org/ticket/31483 Mojca From vince at macports.org Sun Apr 29 12:14:11 2012 From: vince at macports.org (vincent habchi) Date: Sun, 29 Apr 2012 21:14:11 +0200 Subject: New port: postgis2 (PostGIS 2.0) In-Reply-To: References: <030794D3-7A5F-4BA4-93F0-4C5DAE9D4658@macports.org> Message-ID: <2CBC4FFC-8AC5-4E84-8872-8E7D913E882E@macports.org> Hi Puneet, >> I?ve committed this morning in r92462 a new port corresponding to PostGIS v 2.0 and up. >> This port is incompatible with postgis, that is to say PostGIS 1.x. Both install the same files at the same place. > > > Hmmm... That's a deal breaker for me. I don't have two machines to test it out. Since the two different versions can haooily coexist, why not make it so instead of requiring uninstalling PostGIS 1.5? Because PostGIS 2.0 won?t compile with PostGIS 1.5 installed. There are several include files that PostGIS 1.5/2.0 installs in ${prefix}/include that take precedence over the ones furnished with the distribution (because -I${prefix}/include appears before other -I? during compilation). Thus, if you have PostGIS 1.5 installed, PostGIS 2.0 will mistakenly use the already installed headers to compile and fail. Besides, I am not sure that the libraries installed by PostGIS 1.5 and PostGIS 2.0, albeit bearing the same name, have the same API. Vincent From ryandesign at macports.org Sun Apr 29 13:58:12 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 29 Apr 2012 15:58:12 -0500 Subject: gnuplot on MacPorts with aqua? In-Reply-To: References: <1D2C89C2-E35C-4E22-8364-AB877C95ED66@techno.ms> <7B8B2728-A716-4349-B8F1-1E3032677FA5@techno.ms> <5F8257EB-DD8E-464A-B1B0-B409D62669CA@techno.ms> <00E14BDB-3573-4CAF-9895-667150EC1EE7@macports.org> Message-ID: On Apr 29, 2012, at 13:27, Mojca Miklavec wrote: > (Are there any guidelines/suggestions > about filenames of patchfiles? I've seen everything from *.diff to > *.patch to patch-filename to patch-filename.diff. This is a trivial > issue though.) The guideline is that the patchfile name should be "patch-FILE.diff" where FILE is the path to the file being patched, relative to ${patch.dir} (which unless you've changed it is the same as ${worksrcpath}). Replace slashes with dashes. For example if you're patching the file src/lib/foo.h then the patchfile name would be "patch-src-lib-foo.h.diff". If you're patching more than one file but all the patches are to solve the same issue then it might make more sense to have a single patchfile, in which case you can name it patch-ISSUE.diff" where ISSUE is some short identifier describing the issue being fixed. For example, many ports are needing patches these days to be compatible with glib 2.32, so often that patch will get named "patch-glib-2.32.diff". Running "port lint --nitpick" will let you know if any patchfile names aren't following the recommendations. But as you say patchfile naming is trivial, and we have many ports whose patchfile names don't follow these recommendations, and I'm not overly concerned about that. From ryandesign at macports.org Sun Apr 29 14:05:09 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 29 Apr 2012 16:05:09 -0500 Subject: Help with conjoined apaches In-Reply-To: References: <20120428193431.804c86d0f7e2d7fea66bf47f0edba67b.cd56cdc01c.wbe@email12.secureserver.net> <568A383B-E15C-420E-88DB-5A298D3DC4C2@macports.org> Message-ID: <4ABA1CC8-DB75-4329-8B07-89A30774E0A4@macports.org> On Apr 28, 2012, at 22:00, Jeremy Lavergne wrote: >> None of these files are provided by MacPorts and files provided by apache2 and mysql5 are missing so somehow apache2 and mysql5 were most likely uninstalled by port. >> >> Do you try to do a forced upgrade apache2 and mysql5 that failed? I think that would have uninstalled apache2 and mysql5 before building and installing. > > I'd check the code for that one; pretty sure uninstall should never happen until immediately before activate (unless the port itself commands otherwise). Whether intentionally or not, MacPorts was changed a few versions ago so that running sudo port -n upgrade --force foo will FIRST uninstall the current version of foo, THEN build the new version of foo, which might fail, leaving you with no installed version of foo. From jeremy at lavergne.gotdns.org Sun Apr 29 14:07:11 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Sun, 29 Apr 2012 17:07:11 -0400 Subject: Help with conjoined apaches In-Reply-To: <4ABA1CC8-DB75-4329-8B07-89A30774E0A4@macports.org> References: <20120428193431.804c86d0f7e2d7fea66bf47f0edba67b.cd56cdc01c.wbe@email12.secureserver.net> <568A383B-E15C-420E-88DB-5A298D3DC4C2@macports.org> <4ABA1CC8-DB75-4329-8B07-89A30774E0A4@macports.org> Message-ID: > Whether intentionally or not, MacPorts was changed a few versions ago so that running > > sudo port -n upgrade --force foo > > will FIRST uninstall the current version of foo, THEN build the new version of foo, which might fail, leaving you with no installed version of foo. Huh. I guess that's handy for when a package will pick up its own headers that were installed instead of using the ones that are in the source. I must have forgotten about it happening :-) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From ryandesign at macports.org Sun Apr 29 14:08:14 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 29 Apr 2012 16:08:14 -0500 Subject: mysql problem with socket In-Reply-To: <20120429103310.804c86d0f7e2d7fea66bf47f0edba67b.9445f84200.wbe@email12.secureserver.net> References: <20120429103310.804c86d0f7e2d7fea66bf47f0edba67b.9445f84200.wbe@email12.secureserver.net> Message-ID: On Apr 29, 2012, at 12:33, jeff at ayendesigns.com wrote: > That link came up non-existent, but I checked the mysql site and found the published solution about checking for the existence of the .sock file and moving it if it's in the wrong place. > > So, I found that there was mysql.sock in /private/tmp, but the error indicates it's being looked for in /opt/local/var/run/mysql5, so I moved it there, and I changed the group from 'wheel' to '_mysql'. > > Once moved, mysql would not start. I did a 'which -a "mysql5"' and it is in /opt/local/bin. However, moving the .sock file back to /private/tmp immediately caused mysql to start again. > > So, the question is if mysql is looking for the .sock file in the port path, and the mysql process running is from the port path, why does having the socket where it's being looked for break mysql rather than allowing me to run the command line program? Do not move a socket file. MySQL needs it to be where it put it. For a normal MacPorts mysql5 install the socket file is supposed to be at /opt/local/var/run/mysql5/mysqld.sock. If it's in /private/tmp instead, then you probably asked for it to be there by modifying your my.cnf file to say so. I recommend you don't do that, and instead use the socket at its default location. It's up to you of course. You can have MySQL put the socket wherever you want. But then you also have to tell all other software that uses MySQL (php, etc) where the socket is, so it can find it. From macintosh at mathiesen.info Sun Apr 29 15:05:39 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Mon, 30 Apr 2012 00:05:39 +0200 Subject: postfix & databases In-Reply-To: <4F901CAB.20401@mathiesen.info> References: <4F901CAB.20401@mathiesen.info> Message-ID: <4F9DBB33.3020507@mathiesen.info> Bjarne D Mathiesen wrote: > It seems as if postfix could use mariadb and mysql55 variants ;-) > I've done some work on adding variant for all the other mysql implementation to postfix. before I submit at patch I'ld like someone to just go over my code to see if it's correct :-) variant mysql5 \ conflicts mysql55 mariadb \ description "add mysql support via mysql5.1" { depends_lib-append path:lib/mysql5/bin/mysql_config:mysql5 lappend CCARGS -DHAS_MYSQL "-I${prefix}/include/mysql5/mysql" lappend AUXLIBS "-L${prefix}/lib/mysql5/mysql" -lmysqlclient -lz -lm } variant mysql55 \ conflicts mysql5 mariadb \ description "add mysql support via mysql5.5" { depends_lib-append path:lib/mysql55/bin/mysql_config:mysql55 lappend CCARGS -DHAS_MYSQL "-I${prefix}/include/mysql55/mysql" lappend AUXLIBS "-L${prefix}/lib/mysql55/mysql" -lmysqlclient -lz -lm } variant mariadb \ conflicts mysql5 mysql55 \ description "add mysql support via mariadb" { depends_lib-append path:lib/mariadb/bin/mysql_config:mariadb lappend CCARGS -DHAS_MYSQL "-I${prefix}/include/mariadb/mysql" lappend AUXLIBS "-L${prefix}/lib/mariadb/mysql" -lmysqlclient -lz -lm } variant percona \ conflicts mysql5 mysql55 \ description "add mysql support via percona" { depends_lib-append path:lib/percona/bin/mysql_config:percona lappend CCARGS -DHAS_MYSQL "-I${prefix}/include/percona/mysql" lappend AUXLIBS "-L${prefix}/lib/percona/mysql" -lmysqlclient -lz -lm } thanks, -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3 From jeff at ayendesigns.com Sun Apr 29 15:21:07 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sun, 29 Apr 2012 15:21:07 -0700 Subject: mysql problem with socket Message-ID: <20120429152107.804c86d0f7e2d7fea66bf47f0edba67b.2b681af084.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From ryandesign at macports.org Sun Apr 29 15:33:00 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 29 Apr 2012 17:33:00 -0500 Subject: mysql problem with socket In-Reply-To: <20120429152107.804c86d0f7e2d7fea66bf47f0edba67b.2b681af084.wbe@email12.secureserver.net> References: <20120429152107.804c86d0f7e2d7fea66bf47f0edba67b.2b681af084.wbe@email12.secureserver.net> Message-ID: <38A2C703-22A0-4F0C-B7F0-05B6BFB5F9CE@macports.org> On Apr 29, 2012, at 17:21, jeff at ayendesigns.com wrote: > That would be a nice easy fix, to undo a change I made to my.cnf :-) but in looking at the two lines in /opt/local/etc/mysql5/my.cnf (2 lines?! is there another and that's the problem?) There are many locations where mysql will look for a my.cnf. I don't know what all they are nor what order they're checked in, but I'm sure the MySQL documentation will tell you. From ryandesign at macports.org Sun Apr 29 15:38:08 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 29 Apr 2012 17:38:08 -0500 Subject: Group file and registry warnings when upgrading swig-python In-Reply-To: References: Message-ID: <9E7F8CA5-5394-42B7-83B9-2B7069DE65B8@macports.org> On Apr 23, 2012, at 12:11, Adam Mercer wrote: > On updating a couple of my machines today I saw the following: > > ---> Computing dependencies for swig-python > ---> Fetching swig-python > ---> Verifying checksum(s) for swig-python > ---> Extracting swig-python > ---> Configuring swig-python > ---> Building swig-python > ---> Staging swig-python into destroot > ---> Installing swig-python @2.0.5_0 > ---> Cleaning swig-python > ---> Computing dependencies for swig-python > Warning: Group file could not be located. > Warning: Failed to open Portfile from registry for swig-python @2.0.4_0 > ---> Deactivating swig-python @2.0.4_0 > ---> Activating swig-python @2.0.5_0 > ---> Cleaning swig-python > Warning: Group file could not be located. > Warning: Failed to open Portfile from registry for swig-python @2.0.4_0 > ---> Uninstalling swig-python @2.0.4_0 Me too. > Are these warnings anything to worry about? No, it's only because the old port had been installed before you were using the sqlite registry (i.e. before you upgraded to MacPorts 2). From jeff at ayendesigns.com Sun Apr 29 15:39:13 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sun, 29 Apr 2012 15:39:13 -0700 Subject: mysql problem with socket Message-ID: <20120429153913.804c86d0f7e2d7fea66bf47f0edba67b.d924c4edca.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From ryandesign at macports.org Sun Apr 29 15:50:05 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 29 Apr 2012 17:50:05 -0500 Subject: mysql problem with socket In-Reply-To: <20120429153913.804c86d0f7e2d7fea66bf47f0edba67b.d924c4edca.wbe@email12.secureserver.net> References: <20120429153913.804c86d0f7e2d7fea66bf47f0edba67b.d924c4edca.wbe@email12.secureserver.net> Message-ID: On Apr 29, 2012, at 17:39, jeff at ayendesigns.com wrote: > Well, let's back up a second. I installed mysql and mysql-server yesterday, and didn't make any manual changes, so should the my.cnf in the standard ports path (/opt/local/etc) only have 2 entries in it normally? It's normal for /opt/local/etc/mysql5/my.cnf not to exist. MacPorts MySQL doesn't install it for you. If it exists, it's because you created it and put things into it. It can contain whatever you need or want in order to configure MySQL. As long as you do not set "socket=whatever" in a my.cnf file, it should use the default socket location I mentioned earlier. /etc is another place where a my.cnf would be found. More documentation at: http://dev.mysql.com/doc/refman/5.1/en/option-files.html > Is it a matter then of adding the path to the front of $PATH $PATH has nothing to do with where MySQL looks for my.cnf or where it puts the socket file. > or renaming the other instances to .old? If you find other my.cnf files on your drive and you don't wish for them to be used, you can delete them or rename them as you like. On Apr 29, 2012, at 17:21, jeff at ayendesigns.com wrote: > I also see a my.cnf at > /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/mysql4/files/my.cnf This is part of the mysql4 port definition. It will not interfere with MySQL or be used by MySQL from this location. You should not delete any files in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports because they are needed by MacPorts and anyway they'll be replaced next time you sync or selfupdate. > /usr/local/mysql-5.5.15-osx10.6-x86_64/mysql-test/suite/federated/my.cnf > /usr/local/mysql-5.5.15-osx10.6-x86_64/mysql-test/suite/rpl/my.cnf These are part of a MySQL installation you installed in /usr/local. These probably also won't interfere with MacPorts MySQL. However you should remove this copy of MySQL. Although installing MySQL in /usr/local/mysql-* shouldn't be a problem for MacPorts, users frequently report problems with other software installed in /usr/local, therefore I recommend you do not install anything in /usr/local when you already use MacPorts. If you want MySQL 5.5 instead of 5.1, use the mysql55 port. From jeff at ayendesigns.com Sun Apr 29 15:59:10 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sun, 29 Apr 2012 15:59:10 -0700 Subject: mysql problem with socket Message-ID: <20120429155910.804c86d0f7e2d7fea66bf47f0edba67b.14abb9a9f9.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From ryandesign at macports.org Sun Apr 29 16:07:19 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 29 Apr 2012 18:07:19 -0500 Subject: mysql problem with socket In-Reply-To: <20120429155910.804c86d0f7e2d7fea66bf47f0edba67b.14abb9a9f9.wbe@email12.secureserver.net> References: <20120429155910.804c86d0f7e2d7fea66bf47f0edba67b.14abb9a9f9.wbe@email12.secureserver.net> Message-ID: On Apr 29, 2012, at 17:59, jeff at ayendesigns.com wrote: > I stopped mysql, renamed the other 3 cnf files to cnf.old, and restarted it. It is still using the sock in /private/tmp even though the only cnf file points to /opt/local. I'm at a loss...should I grep for /private/tmp to try and find where it's buried?? If you have not already done so, you could try to locate all my.cnf files using: find / -name my.cnf Are you sure the mysql that's being started is the one MacPorts installed, and not the one you installed in /usr/local? How are you starting / stopping mysql? From jeff at ayendesigns.com Sun Apr 29 16:22:40 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sun, 29 Apr 2012 16:22:40 -0700 Subject: mysql problem with socket Message-ID: <20120429162240.804c86d0f7e2d7fea66bf47f0edba67b.165b9b8eff.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From punk.kish at gmail.com Sun Apr 29 16:23:11 2012 From: punk.kish at gmail.com (Mr. Puneet Kishor) Date: Sun, 29 Apr 2012 18:23:11 -0500 Subject: mysql problem with socket In-Reply-To: References: <20120429155910.804c86d0f7e2d7fea66bf47f0edba67b.14abb9a9f9.wbe@email12.secureserver.net> Message-ID: <94B7DDF5-7F2D-45BF-8AF1-2D0C98DF48D8@gmail.com> On Apr 29, 2012, at 6:07 PM, Ryan Schmidt wrote: > Are you sure the mysql that's being started is the one MacPorts installed, and not the one you installed in /usr/local? How are you starting / stopping mysql? The above is possibly the commonest mistake, and it is easy to check and correct. One can easily determine which program is actually running by typing the following $ ps -ax | grep mysql For example, if I run the above for postgres (I don't have mysql running to demonstrate that), I get $ps -ax | grep postgres 61697 ?? 0:00.11 /opt/local/bin/daemondo --label=postgresql91-server --start-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper restart ; --pid=none 62940 ttys000 0:00.00 grep postgres As is visible, it is the postgres version installed by MacPorts that is running. MacPorts installs *everything* under /opt/local and nothing anywhere else. The next thing is to figure out which program will launch if you just type it on the command line. The easiest way to determine that is to type $ which For example, with `pg_ctl` I get $which pg_ctl /opt/local/lib/postgresql91/bin/pg_ctl Also, check your path by typing the following $echo $PATH That too will indicate which program will be launched if it were fired without explicitly specifying the path. -- Puneet Kishor From pixilla at macports.org Sun Apr 29 16:28:35 2012 From: pixilla at macports.org (Bradley Giesbrecht) Date: Sun, 29 Apr 2012 16:28:35 -0700 Subject: Help with conjoined apaches In-Reply-To: References: <20120428193431.804c86d0f7e2d7fea66bf47f0edba67b.cd56cdc01c.wbe@email12.secureserver.net> <568A383B-E15C-420E-88DB-5A298D3DC4C2@macports.org> Message-ID: <8D10BF5A-4935-4D03-AE57-355FD456E5A9@macports.org> On Apr 28, 2012, at 8:00 PM, Jeremy Lavergne wrote: >> None of these files are provided by MacPorts and files provided by apache2 and mysql5 are missing so somehow apache2 and mysql5 were most likely uninstalled by port. >> >> Do you try to do a forced upgrade apache2 and mysql5 that failed? I think that would have uninstalled apache2 and mysql5 before building and installing. > > I'd check the code for that one; pretty sure uninstall should never happen until immediately before activate (unless the port itself commands otherwise). I have done force upgrades several times recently and I seem to recall that the active port is force uninstalled before its replacement is built. I was on a live server and remembered thinking how unfortunate this is. Here is a quick test with bash-completion showing uninstall happening first: $ sudo port clean --all bash-completion ---> Cleaning bash-completion $ port installed bash-completion The following ports are currently installed: bash-completion @1.3_4 bash-completion @1.3_5 (active) $ sudo port -s upgrade --force bash-completion ---> Cleaning bash-completion ---> Unable to uninstall bash-completion @1.3_5, the following ports depend on it: ---> git-core @1.7.9.2_0+bash_completion+doc+pcre+python27 ---> git-core @1.7.9.4_0+bash_completion+credential_osxkeychain+doc+pcre+python27 ---> git-core @1.7.9.5_0+bash_completion+credential_osxkeychain+doc+pcre+python27 ---> mercurial @2.1_0+bash_completion ---> mercurial @2.1.2_0+bash_completion ---> subversion @1.7.3_1+bash_completion ---> subversion @1.7.4_0+bash_completion Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating bash-completion @1.3_5 ---> Unable to deactivate bash-completion @1.3_5, the following ports depend on it: ---> git-core @1.7.9.5_0+bash_completion+credential_osxkeychain+doc+pcre+python27 ---> mercurial @2.1.2_0+bash_completion ---> subversion @1.7.4_0+bash_completion Warning: Deactivate forced. Proceeding despite dependencies. ---> Cleaning bash-completion ---> Uninstalling bash-completion @1.3_5 ---> Cleaning bash-completion ---> Fetching distfiles for bash-completion ---> Attempting to fetch bash-completion-1.3.tar.bz2 from http://distfiles.macports.org/bash-completion ---> Verifying checksum(s) for bash-completion ---> Extracting bash-completion ---> Applying patches to bash-completion ---> Configuring bash-completion ---> Building bash-completion ---> Staging bash-completion into destroot ---> Installing bash-completion @1.3_5 ---> Activating bash-completion @1.3_5 To use bash_completion, add the following lines at the end of your .bash_profile: if [ -f /opt/local/etc/bash_completion ]; then . /opt/local/etc/bash_completion fi ---> Cleaning bash-completion ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2763 bytes Desc: not available URL: From ryandesign at macports.org Sun Apr 29 16:30:30 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 29 Apr 2012 18:30:30 -0500 Subject: mysql problem with socket In-Reply-To: <20120429162240.804c86d0f7e2d7fea66bf47f0edba67b.165b9b8eff.wbe@email12.secureserver.net> References: <20120429162240.804c86d0f7e2d7fea66bf47f0edba67b.165b9b8eff.wbe@email12.secureserver.net> Message-ID: On Apr 29, 2012, at 18:22, jeff at ayendesigns.com wrote: > I had checked with 'find', and /opt/locale/etc/mysql5 is the only my.cnf file. I'm not sure that the mysqld process is port's, only that 'which' shows mysql5 being port's. I start it and stop it via the settings panel. What "settings panel"? MacPorts MySQL doesn't include any GUI components. From jeff at ayendesigns.com Sun Apr 29 16:37:27 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sun, 29 Apr 2012 16:37:27 -0700 Subject: mysql problem with socket Message-ID: <20120429163727.804c86d0f7e2d7fea66bf47f0edba67b.2190570b74.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From jeff at ayendesigns.com Sun Apr 29 16:40:21 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sun, 29 Apr 2012 16:40:21 -0700 Subject: mysql problem with socket Message-ID: <20120429164021.804c86d0f7e2d7fea66bf47f0edba67b.4b9b358e5d.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From punk.kish at gmail.com Sun Apr 29 16:50:29 2012 From: punk.kish at gmail.com (Mr. Puneet Kishor) Date: Sun, 29 Apr 2012 18:50:29 -0500 Subject: mysql problem with socket In-Reply-To: <20120429164021.804c86d0f7e2d7fea66bf47f0edba67b.4b9b358e5d.wbe@email12.secureserver.net> References: <20120429164021.804c86d0f7e2d7fea66bf47f0edba67b.4b9b358e5d.wbe@email12.secureserver.net> Message-ID: Yup, you are running the mysql version *not* installed by MacPorts. If you look below, you are running `/usr/local/mysql/bin/mysqld` which either you knowingly installed, or was installed by some other program without you realizing. The reason `which mysqld` shows nothing is because /opt/local/lib/mysql5/bin is not in your path. You should not start mysql via the Control Panel. That was not installed by MacPorts, and starting that is causing the issues that you are facing. On Apr 29, 2012, at 6:40 PM, jeff at ayendesigns.com wrote: > 'which' shows nothing for mysqld or mysql, but for mysql5 shows /opt/local... > > ps reveals > > 2025 ?? 0:00.24 /opt/local/bin/daemondo --label=mysql5 --start-cmd /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper restart ; --pid=none > 26834 ?? 0:00.02 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/MacBook-Pro.local.pid > 26906 ?? 0:01.38 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/data/MacBook-Pro.local.err --pid-file=/usr/local/mysql/data/MacBook-Pro.local.pid > 28475 ttys000 0:00.00 grep mysql > > > Are you sure the mysql that's being started is the one MacPorts installed, and not the one you installed in /usr/local? How are you starting / stopping mysql? > > > The above is possibly the commonest mistake, and it is easy to check and correct. > > One can easily determine which program is actually running by typing the following > > $ ps -ax | grep mysql > > For example, if I run the above for postgres (I don't have mysql running to demonstrate that), I get > > $ps -ax | grep postgres > 61697 ?? 0:00.11 /opt/local/bin/daemondo --label=postgresql91-server --start-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper restart ; --pid=none > 62940 ttys000 0:00.00 grep postgres > > > As is visible, it is the postgres version installed by MacPorts that is running. MacPorts installs *everything* under /opt/local and nothing anywhere else. > > The next thing is to figure out which program will launch if you just type it on the command line. The easiest way to determine that is to type > > $ which > > For example, with `pg_ctl` I get > > $which pg_ctl > /opt/local/lib/postgresql91/bin/pg_ctl > > Also, check your path by typing the following > > $echo $PATH > > > That too will indicate which program will be launched if it were fired without explicitly specifying the path. > > -- > Puneet Kishor > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From jeff at ayendesigns.com Sun Apr 29 17:23:48 2012 From: jeff at ayendesigns.com (Jeff Greenberg) Date: Sun, 29 Apr 2012 20:23:48 -0400 Subject: mysql problem with socket In-Reply-To: References: <20120429164021.804c86d0f7e2d7fea66bf47f0edba67b.4b9b358e5d.wbe@email12.secureserver.net> Message-ID: I'll edit $PATH. What is the proper way to start it? Sent from my iPhone On Apr 29, 2012, at 7:50 PM, "Mr. Puneet Kishor" wrote: > Yup, you are running the mysql version *not* installed by MacPorts. If you look below, you are running `/usr/local/mysql/bin/mysqld` which either you knowingly installed, or was installed by some other program without you realizing. > > The reason `which mysqld` shows nothing is because /opt/local/lib/mysql5/bin is not in your path. > > You should not start mysql via the Control Panel. That was not installed by MacPorts, and starting that is causing the issues that you are facing. > > > On Apr 29, 2012, at 6:40 PM, jeff at ayendesigns.com wrote: > >> 'which' shows nothing for mysqld or mysql, but for mysql5 shows /opt/local... >> >> ps reveals >> >> 2025 ?? 0:00.24 /opt/local/bin/daemondo --label=mysql5 --start-cmd /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.mysql5/mysql5.wrapper restart ; --pid=none >> 26834 ?? 0:00.02 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/MacBook-Pro.local.pid >> 26906 ?? 0:01.38 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/usr/local/mysql/data/MacBook-Pro.local.err --pid-file=/usr/local/mysql/data/MacBook-Pro.local.pid >> 28475 ttys000 0:00.00 grep mysql >> >>> Are you sure the mysql that's being started is the one MacPorts installed, and not the one you installed in /usr/local? How are you starting / stopping mysql? >> >> >> The above is possibly the commonest mistake, and it is easy to check and correct. >> >> One can easily determine which program is actually running by typing the following >> >> $ ps -ax | grep mysql >> >> For example, if I run the above for postgres (I don't have mysql running to demonstrate that), I get >> >> $ps -ax | grep postgres >> 61697 ?? 0:00.11 /opt/local/bin/daemondo --label=postgresql91-server --start-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper start ; --stop-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper stop ; --restart-cmd /opt/local/etc/LaunchDaemons/org.macports.postgresql91-server/postgresql91-server.wrapper restart ; --pid=none >> 62940 ttys000 0:00.00 grep postgres >> >> >> As is visible, it is the postgres version installed by MacPorts that is running. MacPorts installs *everything* under /opt/local and nothing anywhere else. >> >> The next thing is to figure out which program will launch if you just type it on the command line. The easiest way to determine that is to type >> >> $ which >> >> For example, with `pg_ctl` I get >> >> $which pg_ctl >> /opt/local/lib/postgresql91/bin/pg_ctl >> >> Also, check your path by typing the following >> >> $echo $PATH >> >> >> That too will indicate which program will be launched if it were fired without explicitly specifying the path. >> >> -- >> Puneet Kishor >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> _______________________________________________ >> macports-users mailing list >> macports-users at lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > From jeff at ayendesigns.com Sun Apr 29 17:47:02 2012 From: jeff at ayendesigns.com (jeff at ayendesigns.com) Date: Sun, 29 Apr 2012 17:47:02 -0700 Subject: mysql problem with socket Message-ID: <20120429174702.804c86d0f7e2d7fea66bf47f0edba67b.1ce07a8b5c.wbe@email12.secureserver.net> An HTML attachment was scrubbed... URL: From punk.kish at gmail.com Sun Apr 29 17:57:57 2012 From: punk.kish at gmail.com (Mr. Puneet Kishor) Date: Sun, 29 Apr 2012 19:57:57 -0500 Subject: mysql problem with socket In-Reply-To: <20120429174702.804c86d0f7e2d7fea66bf47f0edba67b.1ce07a8b5c.wbe@email12.secureserver.net> References: <20120429174702.804c86d0f7e2d7fea66bf47f0edba67b.1ce07a8b5c.wbe@email12.secureserver.net> Message-ID: <07C15AAD-926B-4AC4-8A50-9DBC121F6231@gmail.com> On Apr 29, 2012, at 7:47 PM, jeff at ayendesigns.com wrote: > There is no mysqld in that directory ... there are mysqld_multi and mysqld_safe, but with that path added to $PATH 'which' still comes up empty > Aaaaah... well, mysqld_safe is just a safe version of starting the mysql daemon. So, the only issue is that you somehow have mysql installed under /usr/local (dunno how it got there, but you must have installed it somehow without realizing), and also one installed under /opt/local (installed by macports). So, you just want the one from macports to start up. First, make sure the one under /usr/local is turned off. You can do so via System Preferences. Once you turn it off, make sure it is really off by looking in the Activity Monitor (you can filter by 'mysql') which is really just a gui front-end to ps. Then, make sure /opt/local/lib/mysql5/bin is in your path. You can set the path variable in .bashrc or .bash_profile (which is usually called by .bashrc). Once you set that, you can either quit Terminal and start it again, or just type `source ~/.bash_profile` to make sure the new setting of path takes effect. Then, start macport's mysql by typing `sudo port load ` (I don't know the exact name of the mysql port installed by macport. Check again that mysql is running. If it is not, then mysql didn't start because of some other reason. Check the logs to figure out why. Yes, all this is frustrating and mysterious for us who are not so versed in all this, but the good thing is that you have to figure this out only once. Once you figure it out, one, you know how forever, and two, you never have to worry about it. > > The reason `which mysqld` shows nothing is because /opt/local/lib/mysql5/bin is not in your path. > > _______________________________________________ > macports-users mailing list > macports-users at lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users From punk.kish at gmail.com Sun Apr 29 19:41:03 2012 From: punk.kish at gmail.com (Mr. Puneet Kishor) Date: Sun, 29 Apr 2012 21:41:03 -0500 Subject: R and R-framework Message-ID: On my iMac I installed both ports successfully as a precursor to installing PL/R by hand (PL/R is not available in MacPorts). $sudo port install R $sudo port install R-framework On my MBA (same operating system), the second command failed with the following message $sudo port install R .. ---> Staging R into destroot ---> Installing R @2.15.0_0+gcc45+recommended ---> Activating R @2.15.0_0+gcc45+recommended ---> Cleaning R $sudo port install R-framework ---> Computing dependencies for R-framework Error: Unable to execute port: Can't install R-framework because conflicting ports are installed: R To report a bug, see Gak! How do I debug this? -- Puneet Kishor From ryandesign at macports.org Sun Apr 29 20:25:55 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 29 Apr 2012 22:25:55 -0500 Subject: R and R-framework In-Reply-To: References: Message-ID: <15A377EE-E5A5-42FC-AD95-FAD783601320@macports.org> On Apr 29, 2012, at 21:41, Mr. Puneet Kishor wrote: > On my iMac I installed both ports successfully as a precursor to installing PL/R by hand (PL/R is not available in MacPorts). > > $sudo port install R > $sudo port install R-framework > > > On my MBA (same operating system), the second command failed with the following message > > $sudo port install R > .. > ---> Staging R into destroot > ---> Installing R @2.15.0_0+gcc45+recommended > ---> Activating R @2.15.0_0+gcc45+recommended > ---> Cleaning R > $sudo port install R-framework > ---> Computing dependencies for R-framework > Error: Unable to execute port: Can't install R-framework because conflicting ports are installed: R > To report a bug, see > > > Gak! How do I debug this? The ports conflict. You're not supposed to be able to install both at the same time. Pick one or the other. From ryandesign at macports.org Sun Apr 29 20:27:45 2012 From: ryandesign at macports.org (Ryan Schmidt) Date: Sun, 29 Apr 2012 22:27:45 -0500 Subject: mysql problem with socket In-Reply-To: <07C15AAD-926B-4AC4-8A50-9DBC121F6231@gmail.com> References: <20120429174702.804c86d0f7e2d7fea66bf47f0edba67b.1ce07a8b5c.wbe@email12.secureserver.net> <07C15AAD-926B-4AC4-8A50-9DBC121F6231@gmail.com> Message-ID: On Apr 29, 2012, at 19:57, Mr. Puneet Kishor wrote: > > On Apr 29, 2012, at 7:47 PM, jeff at ayendesigns.com wrote: > >> There is no mysqld in that directory ... there are mysqld_multi and mysqld_safe, but with that path added to $PATH 'which' still comes up empty >> > > > Aaaaah... well, mysqld_safe is just a safe version of starting the mysql daemon. So, the only issue is that you somehow have mysql installed under /usr/local (dunno how it got there, but you must have installed it somehow without realizing), and also one installed under /opt/local (installed by macports). > > So, you just want the one from macports to start up. > > First, make sure the one under /usr/local is turned off. You can do so via System Preferences. Once you turn it off, make sure it is really off by looking in the Activity Monitor (you can filter by 'mysql') which is really just a gui front-end to ps. > > Then, make sure /opt/local/lib/mysql5/bin is in your path. You can set the path variable in .bashrc or .bash_profile (which is usually called by .bashrc). Once you set that, you can either quit Terminal and start it again, or just type `source ~/.bash_profile` to make sure the new setting of path takes effect. > > Then, start macport's mysql by typing `sudo port load ` (I don't know the exact name of the mysql port installed by macport. > > Check again that mysql is running. If it is not, then mysql didn't start because of some other reason. Check the logs to figure out why. > > Yes, all this is frustrating and mysterious for us who are not so versed in all this, but the good thing is that you have to figure this out only once. Once you figure it out, one, you know how forever, and two, you never have to worry about it. A guide for setting up MacPorts MySQL is here: https://trac.macports.org/wiki/howto/MAMP#mysql Hopefully those instructions haven't bitrotted too much. From jeremy.dubreil at free.fr Mon Apr 30 07:06:13 2012 From: jeremy.dubreil at free.fr (=?utf-8?B?SsOpcsOpbXk=?= Dubreil) Date: Mon, 30 Apr 2012 16:06:13 +0200 (CEST) Subject: oasis package In-Reply-To: <940993621.89502511.1335794403602.JavaMail.root@zimbra33-e6.priv.proxad.net> Message-ID: <861430559.89518431.1335794773004.JavaMail.root@zimbra33-e6.priv.proxad.net> Hi all, I am getting the following error when I try to install the package oasis [oasis @0.3.0~rc3 (devel)]: $ sudo port install oasis ---> Computing dependencies for oasis ---> Building oasis Error: Target org.macports.build returned: shell command failed (see log for details) Log for oasis is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_oasis/oasis/main.log Error: Status 1 encountered during processing. To report a bug, see Does anybody know where it may come from or should I directly fill in a bug report ? Thanks in advance, Jeremy From jeremy at lavergne.gotdns.org Mon Apr 30 07:08:42 2012 From: jeremy at lavergne.gotdns.org (Jeremy Lavergne) Date: Mon, 30 Apr 2012 10:08:42 -0400 Subject: oasis package In-Reply-To: <861430559.89518431.1335794773004.JavaMail.root@zimbra33-e6.priv.proxad.net> References: <861430559.89518431.1335794773004.JavaMail.root@zimbra33-e6.priv.proxad.net> Message-ID: > Error: Target org.macports.build returned: shell command failed (see log for details) > Log for oasis is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_oasis/oasis/main.log Please file a ticket with the log file attached: http://guide.macports.org/#project.tickets -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 8796 bytes Desc: not available URL: From larry.velazquez at gmail.com Mon Apr 30 07:14:51 2012 From: larry.velazquez at gmail.com (=?utf-8?Q?Lawrence_Vel=C3=A1zquez?=) Date: Mon, 30 Apr 2012 10:14:51 -0400 Subject: oasis package In-Reply-To: <861430559.89518431.1335794773004.JavaMail.root@zimbra33-e6.priv.proxad.net> References: <861430559.89518431.1335794773004.JavaMail.root@zimbra33-e6.priv.proxad.net> Message-ID: <4F3105BA-8CAC-438D-95DF-451D97BB372A@gmail.com> On Apr 30, 2012, at 10:06 AM, J?r?my Dubreil wrote: > Log for oasis is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_oasis/oasis/main.log If you could show us this log, it'd be great. vq Sent from my iPhone From macintosh at mathiesen.info Mon Apr 30 14:59:58 2012 From: macintosh at mathiesen.info (Bjarne D Mathiesen) Date: Mon, 30 Apr 2012 23:59:58 +0200 Subject: mysql problem with socket In-Reply-To: References: <20120429174702.804c86d0f7e2d7fea66bf47f0edba67b.1ce07a8b5c.wbe@email12.secureserver.net> <07C15AAD-926B-4AC4-8A50-9DBC121F6231@gmail.com> Message-ID: <4F9F0B5E.4050200@mathiesen.info> Ryan Schmidt wrote: > > A guide for setting up MacPorts MySQL is here: > > https://trac.macports.org/wiki/howto/MAMP#mysql > > Hopefully those instructions haven't bitrotted too much. There's also: https://trac.macports.org/wiki/howto/MySQLWorkbench -- Bjarne D Mathiesen K?benhavn N ; Danmark ; Europa ---------------------------------------------------------------------- denne besked er skrevet i et totalt M$-frit milj? MacOS X 10.7.3 Lion ; 2.8GHz Intel Core i7 ; 16GB 1067MHz DDR3