Thank you very much Martin 

I think it's caused by env variables settings, especially path settings.

I find a useful instruction link:
http://asds.dacya.ucm.es/doku.php?id=people:alorca:grid_from_scratch

Now I'm re-installing with reference to it... Hopefully it will get
through...

Kindest regards
Wei


-----Original Message-----
From: Martin Feller [mailto:[email protected]] 
Sent: 11 August 2009 14:46
To: Wei Guo
Cc: [email protected]
Subject: Re: [gt-user] Installation problem of GT 4.2.1

I don't know what's the matter, but the error happens in the component
gridway. If you don't need gridway you might get the stuff built if
you remove "gridway" from the list of dependencies in the main target
"all" of the main Makefile

-Martin

Wei Guo wrote:
> Dear all
> 
> I'm installing GT 4.2.1 on an Ubuntu 8.04 server, while getting make
error.
> The
> error info is pasted below. I think it is caused by configuration. Could
> anybody
> please help? Thanks very much!
> 
> 
> ..................................
> ..................................
>  /home/nimbus/work/nimbus/globus-4.2.1/sbin/gpt-build  
> -srcdir=source-trees/replica/replication/client/java/source gcc32dbg
> gpt-build ====> CHECKING BUILD DEPENDENCIES FOR
> globus_replica_replication_client_java
> SKIPPING REBUILD of noflavor
> /home/nimbus/work/nimbus/globus-4.2.1/sbin/gpt-build  
> -srcdir=source-trees/ws-gram/client/c/rendezvous/source gcc32dbg
> gpt-build ====> CHECKING BUILD DEPENDENCIES FOR globus_rendezvous
> SKIPPING REBUILD of gcc32dbg
> /home/nimbus/work/nimbus/globus-4.2.1/sbin/gpt-build  
> -srcdir=source-trees/gridway gcc32dbg
> gpt-build ====> CHECKING BUILD DEPENDENCIES FOR gridway
> gpt-build ====> Changing to
> /home/nimbus/work/nimbus/gt4.2.1-all-source-installer/source-trees/gridway
> gpt-build ====> BUILDING FLAVOR gcc32dbg
> /usr/bin/make
> make[1]: Entering directory
>
`/home/nimbus/work/nimbus/gt4.2.1-all-source-installer/source-trees/gridway'
> Making all in src
> make[2]: Entering directory
>
`/home/nimbus/work/nimbus/gt4.2.1-all-source-installer/source-trees/gridway/
> src'
> Makefile:1282: warning: overriding commands for target `drmaa/.dirstamp'
> Makefile:1238: warning: ignoring old commands for target `drmaa/.dirstamp'
> Makefile:1410: warning: overriding commands for target `cmds/.dirstamp'
> Makefile:1393: warning: ignoring old commands for target `cmds/.dirstamp'
> Makefile:1465: warning: overriding commands for target `em_mad/.dirstamp'
> Makefile:1456: warning: ignoring old commands for target
`em_mad/.dirstamp'
> Makefile:1589: warning: overriding commands for target `gwd/.dirstamp'
> Makefile:1569: warning: ignoring old commands for target `gwd/.dirstamp'
> Makefile:1603: warning: overriding commands for target
`scheduler/.dirstamp'
> Makefile:1595: warning: ignoring old commands for target
> `scheduler/.dirstamp'
> Makefile:1617: warning: overriding commands for target `test/.dirstamp'
> Makefile:1613: warning: ignoring old commands for target `test/.dirstamp'
> Makefile:1628: warning: overriding commands for target `tm_mad/.dirstamp'
> Makefile:1623: warning: ignoring old commands for target
`tm_mad/.dirstamp'
> /bin/bash ../libtool --tag=CC --mode=compile /usr/bin/gcc
> -DPACKAGE_NAME=\"GridWay\" -DPACKAGE_TARNAME=\"gridway\"
> -DPACKAGE_VERSION=\"5.4.0\" -DPACKAGE_STRING=\"GridWay\ 5.4.0\"
> -DPACKAGE_BUGREPORT=\"[email protected]\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DPACKAGE=\"gw\" -DVERSION=\"5.4.0\"
> -DHAVE_LIBPTHREAD=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_DIRENT_H=1
> -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_LIBINTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1
> -DHAVE_NETINET_IN_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1
> -DHAVE_SYS_SOCKET_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1
> -DHAVE_MBSTATE_T=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1
> -DHAVE_WORKING_FORK=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKET_H=1
> -DSELECT_TYPE_ARG1=int -DSELECT_TYPE_ARG234=\(fd_set\ \*\)
> -DSELECT_TYPE_ARG5=\(struct\ timeval\ \*\)
-DLSTAT_FOLLOWS_SLASHED_SYMLINK=1
> -DHAVE_VPRINTF=1 -DHAVE_DUP2=1 -DHAVE_GETCWD=1 -DHAVE_GETHOSTBYNAME=1
> -DHAVE_GETHOSTNAME=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1
-DHAVE_REALPATH=1
> -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1
> -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -I. -I.
> -I../include  -I/usr/include -I/usr/include/linux  
> -I/home/nimbus/work/nimbus/globus-4.2.1/include
> -I/home/nimbus/work/nimbus/globus-4.2.1/include/gcc32dbg  -g   -Wall
> -DGW_GLOBUS_DIRS -c -o
>
./common/__srcdir__drmaa_libdrmaa___GLOBUS_FLAVOR_NAME__la-gw_file_parser.lo
> `test -f './common/gw_file_parser.c' || echo
'./'`./common/gw_file_parser.c
>  /usr/bin/gcc -DPACKAGE_NAME=\"GridWay\" -DPACKAGE_TARNAME=\"gridway\"
> -DPACKAGE_VERSION=\"5.4.0\" "-DPACKAGE_STRING=\"GridWay 5.4.0\""
> -DPACKAGE_BUGREPORT=\"[email protected]\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DPACKAGE=\"gw\" -DVERSION=\"5.4.0\"
> -DHAVE_LIBPTHREAD=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_DIRENT_H=1
> -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_LIBINTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_NETDB_H=1
> -DHAVE_NETINET_IN_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1
> -DHAVE_SYS_SOCKET_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1
> -DHAVE_MBSTATE_T=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1
> -DHAVE_WORKING_FORK=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_SOCKET_H=1
> -DSELECT_TYPE_ARG1=int "-DSELECT_TYPE_ARG234=(fd_set *)"
> "-DSELECT_TYPE_ARG5=(struct timeval *)" -DLSTAT_FOLLOWS_SLASHED_SYMLINK=1
> -DHAVE_VPRINTF=1 -DHAVE_DUP2=1 -DHAVE_GETCWD=1 -DHAVE_GETHOSTBYNAME=1
> -DHAVE_GETHOSTNAME=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMSET=1
-DHAVE_REALPATH=1
> -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCASECMP=1 -DHAVE_STRCHR=1
> -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSTR=1 -I. -I.
> -I../include -I/usr/include -I/usr/include/linux
> -I/home/nimbus/work/nimbus/globus-4.2.1/include
> -I/home/nimbus/work/nimbus/globus-4.2.1/include/gcc32dbg -g -Wall
> -DGW_GLOBUS_DIRS -c ./common/gw_file_parser.c  -fPIC -DPIC -o
>
./common/.libs/__srcdir__drmaa_libdrmaa___GLOBUS_FLAVOR_NAME__la-gw_file_par
> ser.
> o
> In file included from /usr/include/stdio.h:75,
>                  from ./common/gw_file_parser.c:18:
> /usr/include/libio.h:332: error: expected specifier-qualifier-list before
> 'size_t'
> /usr/include/libio.h:364: error: expected declaration specifiers or '...'
> before
> 'size_t'
> /usr/include/libio.h:373: error: expected declaration specifiers or '...'
> before
> 'size_t'
> /usr/include/libio.h:493: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '_IO_sgetn'
> In file included from ./common/gw_file_parser.c:18:
> /usr/include/stdio.h:312: error: expected declaration specifiers or '...'
> before
> 'size_t'
> /usr/include/stdio.h:319: error: expected declaration specifiers or '...'
> before
> 'size_t'
> /usr/include/stdio.h:361: error: expected declaration specifiers or '...'
> before
> 'size_t'
> /usr/include/stdio.h:363: error: format string argument not a string type
> /usr/include/stdio.h:365: error: expected declaration specifiers or '...'
> before
> 'size_t'
> /usr/include/stdio.h:678: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'fread'
> /usr/include/stdio.h:684: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'fwrite'
> /usr/include/stdio.h:706: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'fread_unlocked'
> /usr/include/stdio.h:708: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'fwrite_unlocked'
> In file included from ./common/gw_file_parser.c:20:
> /usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '__ctype_get_mb_cur_max'
> In file included from /usr/include/sys/types.h:133,
>                  from /usr/include/stdlib.h:320,
>                  from ./common/gw_file_parser.c:20:
> /usr/include/linux/time.h:10: error: expected specifier-qualifier-list
> before
> 'time_t'
> /usr/include/linux/time.h:16: error: expected specifier-qualifier-list
> before
> 'time_t'
> In file included from /usr/include/sys/select.h:46,
>                  from /usr/include/sys/types.h:220,
>                  from /usr/include/stdlib.h:320,
>                  from ./common/gw_file_parser.c:20:
> /usr/include/bits/time.h:70: error: redefinition of 'struct timeval'
> In file included from ./common/gw_file_parser.c:20:
> /usr/include/stdlib.h:337: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:367: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:369: error: nonnull argument with out-of-range
operand
> number (argument 1, operand 4)
> /usr/include/stdlib.h:471: error: expected ')' before '__size'
> /usr/include/stdlib.h:473: error: expected ')' before '__nmemb'
> /usr/include/stdlib.h:485: error: expected declaration specifiers or '...'
> before 'size_t'
> In file included from /usr/include/stdlib.h:497,
>                  from ./common/gw_file_parser.c:20:
> /usr/include/alloca.h:33: error: expected ')' before '__size'
> In file included from ./common/gw_file_parser.c:20:
> /usr/include/stdlib.h:502: error: expected ')' before '__size'
> /usr/include/stdlib.h:507: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:507: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:681: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:681: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:682: error: nonnull argument with out-of-range
operand
> number (argument 1, operand 5)
> /usr/include/stdlib.h:686: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:686: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:687: error: nonnull argument with out-of-range
operand
> number (argument 1, operand 4)
> /usr/include/stdlib.h:759: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:762: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:766: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:770: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:779: error: expected declaration specifiers or '...'
> before 'size_t'
> /usr/include/stdlib.h:782: error: expected ')' before '*' token
> /usr/include/stdlib.h:786: error: expected declaration specifiers or '...'
> before 'wchar_t'
> /usr/include/stdlib.h:790: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'mbstowcs'
> /usr/include/stdlib.h:793: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'wcstombs'
> ./common/gw_file_parser.c: In function 'gw_parse_line':
> ./common/gw_file_parser.c:32: warning: implicit declaration of function
> 'strdup'
> ./common/gw_file_parser.c:32: warning: incompatible implicit declaration
of
> built-in function 'strdup'
> ./common/gw_file_parser.c:34: warning: implicit declaration of function
> 'strtok_r'
> ./common/gw_file_parser.c:34: warning: assignment makes pointer from
integer
> without a cast
> ./common/gw_file_parser.c:38: warning: implicit declaration of function
> 'strcasecmp'
> ./common/gw_file_parser.c:40: warning: implicit declaration of function
> 'strchr'
> ./common/gw_file_parser.c:40: warning: incompatible implicit declaration
of
> built-in function 'strchr'
> ./common/gw_file_parser.c: In function 'gw_parse_file':
> ./common/gw_file_parser.c:74: warning: incompatible implicit declaration
of
> built-in function 'strchr'
> make[2]: ***
>
[common/__srcdir__drmaa_libdrmaa___GLOBUS_FLAVOR_NAME__la-gw_file_parser.lo]
> Error 1
> make[2]: Leaving directory
>
`/home/nimbus/work/nimbus/gt4.2.1-all-source-installer/source-trees/gridway/
> src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
>
`/home/nimbus/work/nimbus/gt4.2.1-all-source-installer/source-trees/gridway'
> 
> ERROR: Build has failed
> make: *** [gridway] Error 2
> nim...@ubuntu:~/work/nimbus/gt4.2.1-all-source-installer$ 
> 
> 
> kindest regards
> Wei
> 
> 


-- 
Martin Feller
The Globus Alliance
Computation Institute at University of Chicago
Mathematics & Computer Science Division at Argonne National Laboratory
Phone: 630 252-4826


Reply via email to