[GRASS5] 57 compile error

OK... what stupid thing am I forgetting here. I'm trying to update my 53 and 57 sources via cvs. I did (I think this has always worked before):

cd /where/your/grass530/lives/
cvs update -dP
configure
make
make install

cd /where/your/grass57/lives/
make mixclean
cvs update -dP
make mix
configure ...
make

However, I'm getting the following on the final make for 57:

de ]; then mkdir /Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.2.0/include; fi
if [ ! -d /Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.2.0/include/vect ]; then mkdir /Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.2.0/include/vect; fi
cp ../include/*.h /Users/kirkw/grass5_dev/grass57_cvs/dist.powerpc-apple-darwin7.2.0/include/
cp: ../include/CC.h: No such file or directory
cp: ../include/vbuildlib.h: No such file or directory
cp: ../include/vask.h: No such file or directory
cp: ../include/transform.h: No such file or directory
cp: ../include/std_incs.h: No such file or directory
cp: ../include/sitelib.h: No such file or directory
cp: ../include/site.h: No such file or directory
cp: ../include/shhopt.h: No such file or directory
cp: ../include/segment.h: No such file or directory
cp: ../include/search.h: No such file or directory
cp: ../include/rowio.h: No such file or directory
cp: ../include/region_bm.h: No such file or directory
cp: ../include/readsites.h: No such file or directory
cp: ../include/pbmplus.h: No such file or directory
cp: ../include/patterns.h: No such file or directory
cp: ../include/ortholib.h: No such file or directory
cp: ../include/monitors.h: No such file or directory
cp: ../include/lock.h: No such file or directory
cp: ../include/linkm.h: No such file or directory
cp: ../include/lapack.h: No such file or directory
cp: ../include/label_bm.h: No such file or directory
cp: ../include/la.h: No such file or directory
cp: ../include/imagery.h: No such file or directory
cp: ../include/imagedefs.h: No such file or directory
cp: ../include/icon_bm.h: No such file or directory
cp: ../include/icon.h: No such file or directory
cp: ../include/ibtree.h: No such file or directory
cp: ../include/help.h: No such file or directory
cp: ../include/graph.h: No such file or directory
cp: ../include/gproj_api.h: No such file or directory
cp: ../include/gmath.h: No such file or directory
cp: ../include/glocale.h: No such file or directory
cp: ../include/geom.h: No such file or directory
cp: ../include/geo.h: No such file or directory
cp: ../include/edit.h: No such file or directory
cp: ../include/dlg_bm.h: No such file or directory
cp: ../include/dlg.h: No such file or directory
cp: ../include/display.h: No such file or directory
cp: ../include/dig_atts.h: No such file or directory
cp: ../include/devlib.h: No such file or directory
cp: ../include/datetime.h: No such file or directory
cp: ../include/colors.h: No such file or directory
cp: ../include/btree.h: No such file or directory
cp: ../include/blas.h: No such file or directory
cp: ../include/bitmap.h: No such file or directory
cp: ../include/bdlg_bm.h: No such file or directory
cp: ../include/V_.h: No such file or directory
cp: ../include/Paintlib.h: No such file or directory
cp: ../include/P_datetime.h: No such file or directory
cp: ../include/G3d.h: No such file or directory
cp: ../include/D.h: No such file or directory
make[1]: *** [headers] Error 1
make: *** [default] Error 1

------------------------------------------------------------------------
Kirk R. Wythers tel: 612.625.2261
Dept. of Forest Resources fax: 612.625.5212
University of Minnesota email: kwythers@umn.edu
------------------------------------------------------------------------

On Mon, Mar 15, 2004 at 10:17:03AM -0600, Kirk R. Wythers wrote:

OK... what stupid thing am I forgetting here. I'm trying to update my
53 and 57 sources via cvs. I did (I think this has always worked
before):

cd /where/your/grass530/lives/
cvs update -dP
configure
make
make install

cd /where/your/grass57/lives/
make mixclean
cvs update -dP
make mix
configure ...
make

However, I'm getting the following on the final make for 57:

[...]

cp: ../include/CC.h: No such file or directory
cp: ../include/vbuildlib.h: No such file or directory

Are you sure that you have set:
configure --with-grass50=/where/your/grass530/lives [...]

?

Markus

Ya... I think so

#compilation of GRASS 5.7 on Mac OSX with shared libraries

./configure --with-grass50=/Users/kirkw/grass5_dev/grass53_cvs \
--enable-shared \
--enable-64bit \
--with-postgres-includes=/sw/include/postgresql \
--with-postgres-libs=/sw/lib/postgresql \
--with-gdal=/usr/local/bin/gdal-config \
--with-includes="/usr/X11R6/include /sw/include" \
--with-libs="/usr/X11R6/lib /sw/lib" \
--with-freetype \
--with-freetype-includes=/usr/X11R6/include/freetype2 \
--with-motif \
--with-glw \
--with-readline \
--with-proj \
--with-cxx

On Mar 15, 2004, at 10:22 AM, Markus Neteler wrote:

Are you sure that you have set:
configure --with-grass50=/where/your/grass530/lives [...]

?

Markus

------------------------------------------------------------------------
Kirk R. Wythers tel: 612.625.2261
Dept. of Forest Resources fax: 612.625.5212
University of Minnesota email: kwythers@umn.edu
------------------------------------------------------------------------

Don't you do the configure BEFORE the make mix? This is how I've always done it. No problems with the 3/13 cvs snapshot this weekend for me on MOSX.

On Mar 15, 2004, at 10:17 AM, Kirk R. Wythers wrote:

OK... what stupid thing am I forgetting here. I'm trying to update my 53 and 57 sources via cvs. I did (I think this has always worked before):

cd /where/your/grass530/lives/
cvs update -dP
configure
make
make install

cd /where/your/grass57/lives/
make mixclean
cvs update -dP
make mix
configure ...
make

-----
William Kyngesburye <kyngchaos@charter.net>
http://webpages.charter.net/kyngchaos/

"Oh, look, I seem to have fallen down a deep, dark hole. Now what does that remind me of? Ah, yes - life."

- Marvin

That's how I've done it before as well. And tha't how I did this time too (on my first try). When that yielded the error, I tried the order that was spelled out in the 57 INSTALL file. You know... when something doesn't work, THEN read the INSTALL file.

Kirk
On Mar 15, 2004, at 11:05 AM, William K wrote:

Don't you do the configure BEFORE the make mix? This is how I've always done it. No problems with the 3/13 cvs snapshot this weekend for me on MOSX.

On Mar 15, 2004, at 10:17 AM, Kirk R. Wythers wrote:

------------------------------------------------------------------------
Kirk R. Wythers tel: 612.625.2261
Dept. of Forest Resources fax: 612.625.5212
University of Minnesota email: kwythers@umn.edu
------------------------------------------------------------------------

On Mon, Mar 15, 2004 at 11:29:47AM -0600, Kirk R. Wythers wrote:

That's how I've done it before as well. And tha't how I did this time
too (on my first try). When that yielded the error, I tried the order
that was spelled out in the 57 INSTALL file. You know... when something
doesn't work, THEN read the INSTALL file.

And then, if you find errors in the INSTALL file, please report :slight_smile:

Markus

Kirk
On Mar 15, 2004, at 11:05 AM, William K wrote:

>Don't you do the configure BEFORE the make mix? This is how I've
>always done it. No problems with the 3/13 cvs snapshot this weekend
>for me on MOSX.
>
>On Mar 15, 2004, at 10:17 AM, Kirk R. Wythers wrote:
>
------------------------------------------------------------------------
Kirk R. Wythers tel: 612.625.2261
Dept. of Forest Resources fax: 612.625.5212
University of Minnesota email: kwythers@umn.edu
------------------------------------------------------------------------

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

--
Markus Neteler <neteler itc it> http://mpa.itc.it
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy