[GRASS-user] cvs make problems

I have a new computer with an AMD 64 Athlon X2 chip and a gig of ram. I want to install 6.3 cvs with 64 bit support. The steps I have followed (more or less are )
- cvs update (today)
- run CFLAGS="-O2 -mcpu=athlon -Wall" LDFLAGS="-s"

- configure with the options listed below

./configure \
           --enable-largefile \
           --with-postgres-includes=/usr/local/pgsql/include/ \
           --with-proj-includes=/usr/local/include/ \
           --with-proj-share=/usr/share/proj/ \
           --with-postgres-libs=/usr/local/pgsql/lib/ \
           --with-readline-libs=/usr/local/lib/ \
           --with-readline-includes=/usr/local/include/readline/ \
           --enable-64bit/ \
           --with-libs=/usr/lib64 \
           --with-readline=yes
- make

The make returns error 1. The first place I can find with a problem (although I haven't dumped the output to a text file is
Makefile:108: warning: overriding commands for target `clean'
../include/Make/Rules.make:34: warning: ignoring old commands for target `clean'
make[1]: Leaving directory `/usr/local/grass6/macosx'
if [ 0 -eq 1 ] ; then make -C locale; fi
cp -f AUTHORS COPYING README REQUIREMENTS.html /usr/local/grass6/dist.x86_64-unknown-linux-gnu/
cp -f /usr/local/grass6/bin.x86_64-unknown-linux-gnu/grass63 /usr/local/grass6/dist.x86_64-unknown-linux-gnu/grass63.tmp
build_html_index.sh
cp: cannot create regular file `../dist.x86_64-unknown-linux-gnu/docs/html/nviz/': Is a directory
chmod: cannot access `../dist.x86_64-unknown-linux-gnu/docs/html/nviz/grassdocs.css': No such file or directory
cp: cannot create regular file `../dist.x86_64-unknown-linux-gnu/docs/html/nviz/': Is a directory
chmod: cannot access `../dist.x86_64-unknown-linux-gnu/docs/html/nviz/grass_logo.png': No such file or directory

Then I get a long list of modules with errors.

Any help appreciated!

Thanks, Jerry
Gerald Nelson
Professor, Dept. of Agricultural and Consumer Economics
University of Illinois, Urbana-Champaign
office: 217-333-6465
cell: 217-390-7888
315 Mumford Hall
1301 W. Gregory
Urbana, IL 61801

Try using '-mcpu=athlon64'. I have a similar system which compiles
fine. Let me know if you still have problems.

BTW, you don't really need readline. IIRC, it's only used in r.mapcalc
for command history.

On Mon, 2007-07-09 at 11:16 -0500, Gerald Nelson wrote:

I have a new computer with an AMD 64 Athlon X2 chip and a gig of ram. I want to install 6.3 cvs with 64 bit support. The steps I have followed (more or less are )
- cvs update (today)
- run CFLAGS="-O2 -mcpu=athlon -Wall" LDFLAGS="-s"

- configure with the options listed below

./configure \
           --enable-largefile \
           --with-postgres-includes=/usr/local/pgsql/include/ \
           --with-proj-includes=/usr/local/include/ \
           --with-proj-share=/usr/share/proj/ \
           --with-postgres-libs=/usr/local/pgsql/lib/ \
           --with-readline-libs=/usr/local/lib/ \
           --with-readline-includes=/usr/local/include/readline/ \
           --enable-64bit/ \
           --with-libs=/usr/lib64 \
           --with-readline=yes
- make

The make returns error 1. The first place I can find with a problem (although I haven't dumped the output to a text file is
Makefile:108: warning: overriding commands for target `clean'
../include/Make/Rules.make:34: warning: ignoring old commands for target `clean'
make[1]: Leaving directory `/usr/local/grass6/macosx'
if [ 0 -eq 1 ] ; then make -C locale; fi
cp -f AUTHORS COPYING README REQUIREMENTS.html /usr/local/grass6/dist.x86_64-unknown-linux-gnu/
cp -f /usr/local/grass6/bin.x86_64-unknown-linux-gnu/grass63 /usr/local/grass6/dist.x86_64-unknown-linux-gnu/grass63.tmp
build_html_index.sh
cp: cannot create regular file `../dist.x86_64-unknown-linux-gnu/docs/html/nviz/': Is a directory
chmod: cannot access `../dist.x86_64-unknown-linux-gnu/docs/html/nviz/grassdocs.css': No such file or directory
cp: cannot create regular file `../dist.x86_64-unknown-linux-gnu/docs/html/nviz/': Is a directory
chmod: cannot access `../dist.x86_64-unknown-linux-gnu/docs/html/nviz/grass_logo.png': No such file or directory

--
Brad Douglas <rez touchofmadness com> KB8UYR/6
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785

Tried adding 64 and removing the readline stuff. Started from make
distclean. Still getting the same set of errors.

This error message is puzzling

cp: cannot create regular file

`../dist.x86_64-unknown-linux-gnu/docs/html/nviz/': Is a directory

Is there some string completion command that is missing a variable?

Jerry

-----Original Message-----
From: Brad Douglas [mailto:rez@touchofmadness.com]
Sent: Monday, July 09, 2007 12:31 PM
To: Gerald Nelson
Cc: grassuser@grass.itc.it
Subject: Re: [GRASS-user] cvs make problems

Try using '-mcpu=athlon64'. I have a similar system which compiles
fine. Let me know if you still have problems.

BTW, you don't really need readline. IIRC, it's only used in r.mapcalc
for command history.

On Mon, 2007-07-09 at 11:16 -0500, Gerald Nelson wrote:

I have a new computer with an AMD 64 Athlon X2 chip and a gig of ram. I

want to install 6.3 cvs with 64 bit support. The steps I have followed (more
or less are )

- cvs update (today)
- run CFLAGS="-O2 -mcpu=athlon -Wall" LDFLAGS="-s"

- configure with the options listed below

./configure \
           --enable-largefile \
           --with-postgres-includes=/usr/local/pgsql/include/ \
           --with-proj-includes=/usr/local/include/ \
           --with-proj-share=/usr/share/proj/ \
           --with-postgres-libs=/usr/local/pgsql/lib/ \
           --with-readline-libs=/usr/local/lib/ \
           --with-readline-includes=/usr/local/include/readline/ \
           --enable-64bit/ \
           --with-libs=/usr/lib64 \
           --with-readline=yes
- make

The make returns error 1. The first place I can find with a problem

(although I haven't dumped the output to a text file is

Makefile:108: warning: overriding commands for target `clean'
../include/Make/Rules.make:34: warning: ignoring old commands for target

`clean'

make[1]: Leaving directory `/usr/local/grass6/macosx'
if [ 0 -eq 1 ] ; then make -C locale; fi
cp -f AUTHORS COPYING README REQUIREMENTS.html

/usr/local/grass6/dist.x86_64-unknown-linux-gnu/

cp -f /usr/local/grass6/bin.x86_64-unknown-linux-gnu/grass63

/usr/local/grass6/dist.x86_64-unknown-linux-gnu/grass63.tmp

build_html_index.sh
cp: cannot create regular file

`../dist.x86_64-unknown-linux-gnu/docs/html/nviz/': Is a directory

chmod: cannot access

`../dist.x86_64-unknown-linux-gnu/docs/html/nviz/grassdocs.css': No such
file or directory

cp: cannot create regular file

`../dist.x86_64-unknown-linux-gnu/docs/html/nviz/': Is a directory

chmod: cannot access

`../dist.x86_64-unknown-linux-gnu/docs/html/nviz/grass_logo.png': No such
file or directory

--
Brad Douglas <rez touchofmadness com> KB8UYR/6
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785

JerryNelson wrote:

Tried adding 64 and removing the readline stuff. Started from make
distclean. Still getting the same set of errors.

This error message is puzzling

cp: cannot create regular file

`../dist.x86_64-unknown-linux-gnu/docs/html/nviz/': Is a directory

Is there some string completion command that is missing a variable?

Jerry

I have recently made some changes to get (one day) parallelized compilation
working. Hope that the problem is unrelated (for me it works).

Markus
--
View this message in context: http://www.nabble.com/cvs-make-problems-tf4050368.html#a11524075
Sent from the Grass - Users mailing list archive at Nabble.com.

Jerry Nelson wrote:

Tried adding 64 and removing the readline stuff. Started from make
distclean. Still getting the same set of errors.

This error message is puzzling
> cp: cannot create regular file
`../dist.x86_64-unknown-linux-gnu/docs/html/nviz/': Is a directory

make clean?
make distclean?

(get rid of dist.x86_64-unknown-linux-gnu)

Hamish