Re: Compile PostGIS 2.0 (SVN)

2011-08-29 Thread JP Glutting
Thanks Ryan, I deleted the source directory for postgis 2.0 SVN, started a new shell and unzipped it, so start over clean. Then I set the environmental variables: *export CPPFLAGS=-I/opt/local/include export LDFLAGS=-L/opt/local/lib export CPATH=/opt/local/include export

Re: Compile PostGIS 2.0 (SVN)

2011-08-27 Thread JP Glutting
issue). GEOS wouldn't compile as universal. I asked on the Postgis list (for a previous version that had the same problem), but got no response. Any hints welcome. Thanks, JP On Wed, Apr 27, 2011 at 11:03 AM, JP Glutting jpglutt...@gmail.com wrote: Hi Vincent, A question - how would

Re: Compile PostGIS 2.0 (SVN)

2011-08-27 Thread JP Glutting
issue, and you folks have better things to do with your time. Cheers, JP But I got the same error. On Sat, Aug 27, 2011 at 7:42 PM, Ryan Schmidt ryandes...@macports.orgwrote: On Aug 27, 2011, at 10:25, JP Glutting wrote: I am resurrecting this old thread, because I am having more

Re: py27-numeric is replaced by py24-numeric ???

2011-07-31 Thread JP Glutting
Hi Scott / Jeremy, Sorry to get back to this late - I was travelling. I also installed py27-numeric first as well, but it got me when I installed py27-reportlab. Any suggestions on a good work-around for this issue? Thanks! JP [Forgot to reply to all :-( ] On Fri, Jul 29, 2011 at 8:08 PM,

Re: py27-numeric is replaced by py24-numeric ???

2011-07-31 Thread JP Glutting
Working perfectly now, thanks! On Mon, Aug 1, 2011 at 4:41 AM, Joshua Root j...@macports.org wrote: The problem should be worked around now, so just selfupdate and you should be fine. - Josh On 2011-8-1 01:38 , JP Glutting wrote: Hi Scott / Jeremy, Sorry to get back to this late - I

py27-numeric is replaced by py24-numeric ???

2011-07-29 Thread JP Glutting
I just tried to upgrade outdated packages, and the first message on the list was: -- py27-numeric is replaced by py24-numeric I imagine that pyXX-numeric is deprecated, to fall back on py24-numeric, but this affects py27-reportlab (which in turn affects py27-biopython, which is what I want). It

Re: py27-numeric is replaced by py24-numeric ???

2011-07-29 Thread JP Glutting
...@macports.orgwrote: port selfupdate On Jul 29, 2011, at 10:26, JP Glutting wrote: I just tried to upgrade outdated packages, and the first message on the list was: -- py27-numeric is replaced by py24-numeric I imagine that pyXX-numeric is deprecated, to fall back on py24-numeric

Re: py27-numeric is replaced by py24-numeric ???

2011-07-29 Thread JP Glutting
2.4? Cheers, JP On Fri, Jul 29, 2011 at 1:35 PM, Jeremy Huddleston jerem...@macports.orgwrote: port selfupdate On Jul 29, 2011, at 10:26, JP Glutting wrote: I just tried to upgrade outdated packages, and the first message on the list was: -- py27-numeric is replaced by py24-numeric

Re: py27-numeric is replaced by py24-numeric ???

2011-07-29 Thread JP Glutting
... On Jul 29, 2011, at 11:35 AM, Jeremy Huddleston wrote: port selfupdate On Jul 29, 2011, at 10:26, JP Glutting wrote: I just tried to upgrade outdated packages, and the first message on the list was: -- py27-numeric is replaced by py24-numeric I imagine that pyXX

Re: py27-numeric is replaced by py24-numeric ???

2011-07-29 Thread JP Glutting
: py27-numeric py27-tkinter py27-pil py27-reportlab I already had everything else. Scott On Fri, Jul 29, 2011 at 12:40 PM, JP Glutting jpglutt...@gmail.com wrote: No, I don't understand it either. In fact, I am not sure why Reportlab or Biopython depend on numeric, if anything is should

Re: Compile PostGIS 2.0 (SVN)

2011-04-27 Thread JP Glutting
Hi Vincent, A question - how would that affect the postgis variant of qgis? I assume that is doesn't work with Postgis 2.0 or rasters at the moment. JP On Tue, Apr 26, 2011 at 7:06 AM, vincent habchi vi...@macports.org wrote: Hi there, not quoting the thread, I think it may be wise to add a

Re: Compile PostGIS 2.0 (SVN)

2011-04-26 Thread JP Glutting
Thanks. I'm using sudo because I didn't chown or chmod the src/ directory or subdirectories. ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Compile PostGIS 2.0 (SVN)

2011-04-25 Thread JP Glutting
Hello All, I am having some trouble trying to compile the latest PostGIS code ( http://postgis.refractions.net/download/). I need the raster support in the new version. I can't seem to get the code to compile on OS X, using Macports for the dependencies. So far, configure is complaining about not

Compiling wktraster for PostGIS

2011-04-09 Thread JP Glutting
Hello All, I am trying to compile the wktraster extension for PostGIS 1.5.2, which I have installed through MacPorts. I also downloaded and unzipped the source code to /opt/local/src/postgis-1.5.2/ Wktraster is an extension that provides the same geometry interface as other PostGIS features. It

Re: Compiling wktraster for PostGIS

2011-04-09 Thread JP Glutting
that autoclean just got rid of the intermediate stuff, like object files, not all of the source code (like make clean, basically, although I admit I don't understand all the ins and outs of make). Cheers, JP On Sat, Apr 9, 2011 at 8:37 AM, JP Glutting jpglutt...@gmail.com wrote: Hello All, I am trying

Compiling PL/R (R language module for PostgreSQL database)

2011-02-14 Thread JP Glutting
Hi, I am trying to install the PL/R module for Postgres. It creates PL/R, a procedural language for using R from within Postgres itself. (Note: this module is called plr, while Macports has a module called plr which implements the Ruby procedural language for Postgres, but I don't have that

Re: Compiling PL/R (R language module for PostgreSQL database)

2011-02-14 Thread JP Glutting
Well, to answer my own question, the simlinks worked. I hope it doesn't blow up on me later. I am still curious, though, if there is a canonical solution to this kind of problem. Cheers, JP On Mon, Feb 14, 2011 at 3:54 PM, JP Glutting jpglutt...@gmail.com wrote: Hi, I am trying to install

Re: Compiling PL/R (R language module for PostgreSQL database)

2011-02-14 Thread JP Glutting
you are on this list, is PL/R actually packaged for Macports? Or might you consider it? I couldn't find it in in the package list. Cheers, JP On Mon, Feb 14, 2011 at 6:50 PM, Joe Conway m...@joeconway.com wrote: JP Glutting jpglutting at gmail.com writes: I am trying to install the PL/R

Re: Compiling PL/R (R language module for PostgreSQL database)

2011-02-14 Thread JP Glutting
- Bioinformatics http://www.jpglutting.com On Mon, Feb 14, 2011 at 9:44 PM, Joe Conway m...@joeconway.com wrote: On 02/14/2011 12:33 PM, JP Glutting wrote: I love PL/R, it is going to be great for my Master's thesis project. Thanks for making it! I also see it being a real powerful tool going forward

cmake build fails on Java header

2010-10-23 Thread JP Glutting
I am having a problem building cmake. It fails trying to access jni.h, from the Java headers: CMake Error at Tests/CMakeLists.txt:1630 (FILE): file Internal CMake error when trying to open file: /System/Library/Frameworks/JavaVM.framework/Headers/jni.h for reading. -- Configuring

pyuic4 and pyrcc4 not found - python upgrade?

2010-08-27 Thread JP Glutting
I suddenly can't find pyuic4 and pyrcc4 with which pyuic4, so my Makefile for my QT Designer files stopped working. pyuic4 is still installed, and works, the path is: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/pyuic4 but the terminal app has lost them. Did anyone else have

Can't import GDAL into Python (2.5 or 2.6)

2010-08-20 Thread JP Glutting
I haven't used GDAL from Python before, so I may be failing to understand something here, but I can't use import gdal from either Python 2.5 or Python 2.6. I have GDAL installed (sudo port install gdal +python25 +python26 +sqlite3) and it is listed as active. i had gdal 1.6.2_3 installed before,

Re: Can't import GDAL into Python (2.5 or 2.6)

2010-08-20 Thread JP Glutting
Which is odd, because I have a gdal.py file (and an osgeo directory) in my /opt/local/lib/python2.6/site-packages directory. But nothing else. I imagine they were supposed to have been installed in /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages On Aug

Re: Can't import GDAL into Python (2.5 or 2.6)

2010-08-20 Thread JP Glutting
because I have two versions installed. Let me try to get rid of one of them. Cheers, JP On Aug 20, 2010, at 1:12 PM, Vincent Habchi wrote: Le 20 août 2010 à 13:03, JP Glutting a écrit : Which is odd, because I have a gdal.py file (and an osgeo directory) in my /opt/local/lib/python2.6/site

Re: Can't import GDAL into Python (2.5 or 2.6)

2010-08-20 Thread JP Glutting
I did see this, though: checking for python bindings... enabled checking for python setuptools... found checking for old-gen python bindings... disabled configure: creating ./config.status config.status: creating GDALmake.opt config.status: WARNING: GDALmake.opt.in seems to ignore the

Re: Can't import GDAL into Python (2.5 or 2.6)

2010-08-20 Thread JP Glutting
Vincent, Thanks very much. I will try it out and let you know how it works. Cheers, JP On Fri, Aug 20, 2010 at 3:19 PM, Vincent Habchi vi...@macports.org wrote: JP, you will find in attachement a new version of the Portfile and a new patch file that should work. If your installation is

Re: Can't import GDAL into Python (2.5 or 2.6)

2010-08-20 Thread JP Glutting
Hi Vincent, That didn't seem to resolve the problem, but i am not sure I installed everything properly. I am a little out of my depth as far as the ins-and-outs of Macports packages go. Maybe someone else can give it a try and see if it works for them (if they have the problem - since no one