I'm afraid that I can't help you. Perhaps you should send your query to the grass user mail list
Michael Barton
____________________
C. Michael Barton, Professor
School of Human Origins, Cultures, & Societies
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA
Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>
On May 26, 2004, at 2:57 AM, nagaraju chilukuri wrote:
I am Nagaraju.
I was trying to Cross compile GRASS for an "arm" based machine\.In that, while i was running configure it was asking for "curses"\. So i started with cross compiling of curses\. My GRASS is in /usr/local\. wheni used "configure" command for ncurses ,finally it gave the following response \*\* Configuration summary for NCURSES 5\.4 20040208: bin directory: /usr/bin lib directory: /usr/lib include directory: /usr/include man directory: /usr/man terminfo directory: /usr/share/terminfo From this i understood that it is not going for /usr/local \. While i gave make \(or\) make sources it gave the following response is given
root@localhost ncurses-5.4]# make sources
cd man && make DESTDIR="" sources
make[1]: Entering directory `/usr/local/ncurses-5.4/man'
sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail >terminfo.5make[1]: Leaving directory `/usr/local/ncurses-5.4/man'
cd include && make DESTDIR="" sources
make[1]: Entering directory `/usr/local/ncurses-5.4/include'
cat curses.head >curses.h
AWK=gawk sh ./MKkey_defs.sh ./Caps >>curses.h
sh -c 'if test "chtype" = "cchar_t" ; then cat ./curses.wide >>curses.h ; fi'
cat ./curses.tail >>curses.h
sh ./MKhashsize.sh ./Caps >hashsize.h
AWK=gawk sh ./MKncurses_def.sh ./ncurses_defs >ncurses_def.h
AWK=gawk sh ./MKparametrized.sh ./Caps >parametrized.h
gawk -f MKterm.h.awk ./Caps > term.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h term.h
** edit: HAVE_TCGETATTR 1
** edit: HAVE_TERMIOS_H 1
** edit: HAVE_TERMIO_H 1
** edit: BROKEN_LINKER 0
make[1]: Leaving directory `/usr/local/ncurses-5.4/include'
cd ncurses && make DESTDIR="" sources
make[1]: Entering directory `/usr/local/ncurses-5.4/ncurses'
sh ./base/MKlib_gen.sh "arm-linux-gcc -E -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -D_GNU_SOURCE -DNDEBUG" "gawk" generated <../include/curses.h | \
fgrep undef >\.\./include/nomacros\.h
gawk -f ./tinfo/MKnames.awk ./../include/Caps
cat namehdr boolnames boolfnames numnames numfnames strnames strfnames nameftr >names.c
cat namehdr boolcodes numcodes strcodes codeftr >codes.c
rm -f namehdr nameftr codeftr boolnames boolfnames boolcodes numnames numfnames
numcodes strnames strfnames strcodes
arm-linux-gcc -o make_hash -DHAVE_CONFIG_H -I../ncurses -I. -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 -DMAIN_PROGRAM ./tinfo/comp_hash.c
sh ./tinfo/MKcaptab.awk gawk ./../include/Caps > comp_captab.c
./tinfo/MKcaptab.awk: line 20: ./make_hash: cannot execute binary file
./tinfo/MKcaptab.awk: line 21: ./make_hash: cannot execute binary file
sh ./tty/MKexpanded.sh "arm-linux-gcc -E" -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -D_GNU_SOURCE -DNDEBUG > expanded.c
sh ./tinfo/MKfallback.sh /usr/share/terminfo ../misc/terminfo.src >fallback.c
arm-linux-gcc -o make_keys -DHAVE_CONFIG_H -I../ncurses -I. -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 ./tinfo/make_keys.c
AWK=gawk sh ./tinfo/MKkeys_list.sh ../include/Caps | sort >keys.list
./make_keys keys.list > init_keytry.h
/bin/sh: line 1: ./make_keys: cannot execute binary file
make[1]: *** [init_keytry.h] Error 126
make[1]: Leaving directory `/usr/local/ncurses-5.4/ncurses'
make: *** [sources] Error 2
>>>>Here I saw that it was trying to execute the "make_keys" file but it was unable to do that.
Actually the binaraies are getting produces for the HOST(arm).
I think that is why it is unable to execute.If i thought something wrong ,
Then please convey me what went wrong.
So please suggest me some method to solve this problem.
Thanking you,
Nagaraju
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now