Re: /usr/local

2009-10-04 Thread Peter B. West
On 30/09/2009, at 3:21 PM, Ryan Schmidt wrote: On Sep 29, 2009, at 23:59, Peter B. West wrote: Following some recent messages about problems with software in /usr/ local. I had a look. I had quite a bit of stuff in there. hg mysql tcl/tk gfortran gcc in libexec wireshark Note it is only s

Re: How to fix the problem of "Cannot open display"?

2009-10-04 Thread Peng Yu
On Sun, Oct 4, 2009 at 10:05 PM, Ryan Schmidt wrote: > On Oct 4, 2009, at 20:12, Peng Yu wrote: > >> I deleted 'export DISPLAY=localhost:0' in my ~/.bash_profile. I also >> installed the xorg-server port and the quartz-wm port, and started >> /Applications/MacPorts/X11.app. Then I started gnome-te

Re: How to fix the problem of "Cannot open display"?

2009-10-04 Thread Ryan Schmidt
On Oct 4, 2009, at 20:12, Peng Yu wrote: I deleted 'export DISPLAY=localhost:0' in my ~/.bash_profile. I also installed the xorg-server port and the quartz-wm port, and started /Applications/MacPorts/X11.app. Then I started gnome-terminal. But I got the following error. Would you please let me k

OpenSceneGraph debug libraries?

2009-10-04 Thread Randolph Fritz
Is there any way I can get MacPorts to build debug versions of the OSG libraries? Or does it already do so and me not knowing? -- Randolph Fritz design machine group, architecture department, university of washington rfr...@u.washington.edu -or- rfritz...@gmail.com _

Re: .bashrc .profile .bash_profile

2009-10-04 Thread Scott Haneda
Thanks for all this great info, I think I am getting a handle on it much better now. I always had it hobbled together, but do believe I am getting to a point where I understand the repercussions of the files and settings I am creating. More comments inline below... On Oct 2, 2009, at 9:19

Re: How to fix the problem of "Cannot open display"?

2009-10-04 Thread Peng Yu
On Sun, Oct 4, 2009 at 6:05 PM, Ryan Schmidt wrote: > > On Oct 4, 2009, at 16:32, Brandon Allbery wrote: > >> On Oct 4, 2009, at 16:54 , Peng Yu wrote: >>> >>> I started X11.app in /Applications/Utilities. But I still got the same >>> error as that in my original post. What's the problem? >> >> Yo

Re: php5 and sqlite

2009-10-04 Thread M. Brooks Clark
On Oct 4, 2009, at 18:37, M. Brooks Clark wrote: I have installed php5 along with php5-sqlite. When I try to access a mysql database using PHP, however, I get an exception. The line to open the database is: $db = new PDO("sqlite:/opt/local/var/wview/archive/ weatherAverages.sqlite"); The

Re: using macports and numpy dependency

2009-10-04 Thread Artie Ziff
Thank you bryan and ryan. I need to spend more time with `port search ` results. I found this, in the interim: sudo port install py26-pip sudo pip-2.6 install numpy Thank you for setting me on the narrow strait. Cheers, AZ ___ macports-users mailing

Re: using macports and numpy dependency

2009-10-04 Thread Ryan Schmidt
On Oct 4, 2009, at 19:26, Artie Ziff wrote: Does MacPorts "info" indicate that numpy module is configured (in MacPorts) to work only with python24? Yes. I already had python26 installed and selected. Is there a way to specify to MacPorts not to install python24, in this situation, and use

Re: using macports and numpy dependency

2009-10-04 Thread Bryan Blackburn
On Sun, Oct 04, 2009 at 05:26:39PM -0700, Artie Ziff said: > Hello, > > Perhaps someone can clarify dependency details? > > Does MacPorts "info" indicate that numpy module is configured (in > MacPorts) to work only with python24? > > I already had python26 installed and selected. > > Is there a

Re: php5 and sqlite

2009-10-04 Thread Ryan Schmidt
On Oct 4, 2009, at 18:37, M. Brooks Clark wrote: I have installed php5 along with php5-sqlite. When I try to access a mysql database using PHP, however, I get an exception. The line to open the database is: $db = new PDO("sqlite:/opt/local/var/wview/archive/ weatherAverages.sqlite"); The

using macports and numpy dependency

2009-10-04 Thread Artie Ziff
Hello, Perhaps someone can clarify dependency details? Does MacPorts "info" indicate that numpy module is configured (in MacPorts) to work only with python24? I already had python26 installed and selected. Is there a way to specify to MacPorts not to install python24, in this situation, and use

php5 and sqlite

2009-10-04 Thread M. Brooks Clark
I have installed php5 along with php5-sqlite. When I try to access a mysql database using PHP, however, I get an exception. The line to open the database is: $db = new PDO("sqlite:/opt/local/var/wview/archive/ weatherAverages.sqlite"); The exception I get is: "could not find driver" Am I

Re: How to fix the problem of "Cannot open display"?

2009-10-04 Thread Ryan Schmidt
On Oct 4, 2009, at 16:32, Brandon Allbery wrote: On Oct 4, 2009, at 16:54 , Peng Yu wrote: I started X11.app in /Applications/Utilities. But I still got the same error as that in my original post. What's the problem? You'll need to run gnome-terminal from the initial xterm, or from X11's

Re: How to fix the problem of "Cannot open display"?

2009-10-04 Thread Brandon Allbery
On Oct 4, 2009, at 16:54 , Peng Yu wrote: I started X11.app in /Applications/Utilities. But I still got the same error as that in my original post. What's the problem? You'll need to run gnome-terminal from the initial xterm, or from X11's Application menu, or after starting X11 do "export DI

Re: Issue with mutt-devel after MacPorts update

2009-10-04 Thread Bryan Blackburn
On Sun, Oct 04, 2009 at 03:55:11PM -0400, Doctor Who said: > On Sun, Oct 4, 2009 at 3:42 PM, Bryan Blackburn wrote: > > On Sun, Oct 04, 2009 at 09:49:50AM -0400, Doctor Who said: > >> I had mutt-devel working with no issues on my Snow Leopard install > >> until I did a complete uninstall and reins

Re: How to fix the problem of "Cannot open display"?

2009-10-04 Thread Peng Yu
On Sun, Oct 4, 2009 at 3:14 PM, Brandon Allbery wrote: > On Oct 4, 2009, at 16:08 , Peng Yu wrote: >> >> On Sun, Oct 4, 2009 at 12:55 PM, Brandon Allbery >> wrote: >>> >>> On Oct 4, 2009, at 13:53 , Peng Yu wrote: $ gnome-terminal $Failed to parse arguments: Cannot open display: >>

Re: How to fix the problem of "Cannot open display"?

2009-10-04 Thread Brandon Allbery
On Oct 4, 2009, at 16:08 , Peng Yu wrote: On Sun, Oct 4, 2009 at 12:55 PM, Brandon Allbery wrote: On Oct 4, 2009, at 13:53 , Peng Yu wrote: $ gnome-terminal $Failed to parse arguments: Cannot open display: Unless you built Gtk+ with native Aqua support (which I think won't yet work with

Re: How to fix the problem of "Cannot open display"?

2009-10-04 Thread Peng Yu
On Sun, Oct 4, 2009 at 12:55 PM, Brandon Allbery wrote: > On Oct 4, 2009, at 13:53 , Peng Yu wrote: >> >> $ gnome-terminal >> $Failed to parse arguments: Cannot open display: > > > Unless you built Gtk+ with native Aqua support (which I think won't yet work > with GNOME stuff), you need to install

Re: Issue with mutt-devel after MacPorts update

2009-10-04 Thread Doctor Who
On Sun, Oct 4, 2009 at 3:42 PM, Bryan Blackburn wrote: > On Sun, Oct 04, 2009 at 09:49:50AM -0400, Doctor Who said: >> I had mutt-devel working with no issues on my Snow Leopard install >> until I did a complete uninstall and reinstall of MacPorts to the >> latest version.  The issue is specifical

Re: Issue with mutt-devel after MacPorts update

2009-10-04 Thread Bryan Blackburn
On Sun, Oct 04, 2009 at 09:49:50AM -0400, Doctor Who said: > I had mutt-devel working with no issues on my Snow Leopard install > until I did a complete uninstall and reinstall of MacPorts to the > latest version. The issue is specifically with getting the > "headercache" piece working again. > >

Re: How to fix the problem of "Cannot open display"?

2009-10-04 Thread Brandon Allbery
On Oct 4, 2009, at 13:53 , Peng Yu wrote: $ gnome-terminal $Failed to parse arguments: Cannot open display: Unless you built Gtk+ with native Aqua support (which I think won't yet work with GNOME stuff), you need to install and run Apple's X11. -- brandon s. allbery [solaris,freebsd,perl,p

How to fix the problem of "Cannot open display"?

2009-10-04 Thread Peng Yu
Hi, I installed X Code and MacPorts. After I installed gnome-terminal using MacPorts, I got the following error when I try to run it. Can somebody let me know how to fix it? Thank you! Regards, Peng $ gnome-terminal $Failed to parse arguments: Cannot open display: ___

Issue with mutt-devel after MacPorts update

2009-10-04 Thread Doctor Who
I had mutt-devel working with no issues on my Snow Leopard install until I did a complete uninstall and reinstall of MacPorts to the latest version. The issue is specifically with getting the "headercache" piece working again. I install mutt-devel with the following variants: sudo port install m

Re: [ffmpeg] CPU capabilities: None!

2009-10-04 Thread Gonzalo HIGUERA DÍAZ
2009-09-26, staticfloat wrote: > > Hey, I'm using macports to install ffmpeg, and whether I use ffmpeg-devel or > ffmpeg, the executable I get never has any optimizations built into it! > This causes ffmpeg to run at ridiculously slow speeds!  Can anyone else shed > any light as to how to fix this