At 9:55 AM -0400 10/8/02, Kevin Horton wrote:
>At 9:05 AM -0400 10/8/02, Benjamin Reed wrote:
>>Kevin Horton [[EMAIL PROTECTED]] wrote:
>>
>>> 2. Problem 2 - missing postgres_fe.h. Even after I install
>>> postgresql-dev, the grass install fails, apparently because it can't
>>> find postgres_fe.h (I'm no expert here - is this really the cause?)
>>>
>>> I rooted around in /sw/include/postgresql, and found
>>> /sw/include/postgresql/server/postgres.h and postgres_fe.h, and I
>>> found /sw/include/postgresql/internal/postgres_fe.h. Could either of
>>> these be the ones grass is looking for? If so, is that a problem
>>> with the grass package, or the postgresql package? Or, is there
>>> something I should do on my system to sort all this out?
>>
>>Yeah, as of PostgreSQL 7.2, they've moved headers around a bit. The grass
>>build probably needs to be updated to add an include path to thoe server and
>>internal directories.
>>
>Could I possibly solve the problem by creating sym links in
>/sw/include/postgresql to those two headers, or would that create
>other issues?
>
>Kevin Horton
>
Well, I made sym links to the problem header files, and that let the
grass compile apparently finish, but the install failed.
The symlinks I created:
[cube:~] kwh% cd /sw/include/postgresql/
[cube:/sw/include/postgresql] kwh% sudo ln -s server/postgres.h
[cube:/sw/include/postgresql] kwh% sudo ln -s server/postgres_fe.h
The install phase failed as follows:
Creating link for v.to.sites
Creating link for v.transform
Creating link for v.what
GISBASE=/sw/src/grass-5.0.0pre3-2/grass5.0.0pre3/dist.powerpc-apple-darwin5.5
MACHINENAME=`uname -n` /bin/sh src/CMD/generic/POST_INSTALL.sh
powerpc-apple-darwin5.5
GRASS GIS source code compiled successfully.
* Check file error.log for modules not been compiled due to error.
* Install GRASS with (possibly as root)
make install
/sw/src/grass-5.0.0pre3-2/grass5.0.0pre3/bin.powerpc-apple-darwin5.2/gmake5
src.garden/grass.postgresql
Can't exec
"/sw/src/grass-5.0.0pre3-2/grass5.0.0pre3/bin.powerpc-apple-darwin5.2/gmake5":
No such file or directory at /sw/lib/perl5/Fink/Services.pm line 216.
### execution of failed, exit code -1
Failed: compiling grass-5.0.0pre3-2 failed
I tried installing grass again, but it failed in the exact same way.
I looked at
/sw/src/grass-5.0.0pre3-2/grass5.0.0pre3/bin.powerpc-apple-darwin5.2/gmake5
- it calls a gmake.sh script, but I don't know enough about unix to
even begin to figure out where things are going off the rails there.
So, does anyone have any bright ideas of what I can try next, or do I
simply need to wait for the grass package to be updated?
Thanks,
Kevin
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users