[greenstone-users] compile greenstone on AIX 5.3

From K M Ku
DateWed Jul 16 22:53:40 2008
Subject [greenstone-users] compile greenstone on AIX 5.3
Anyone has successfully compiled it on AIX 5.3?

I tried many ways but the 'make' gives:

root:/opt/gsdl-2.80-src/gsdl:>gmake all

for odir in indexers; do

echo making all in $odir;

(cd $odir && gmake nojava) || exit 1;

done

making all in indexers

gmake[1]: Entering directory `/opt/gsdl-2.80-src/gsdl/indexers'

for odir in packages/unac; do

echo making nojava in $odir;

(cd $odir && gmake all) || exit 1;

done

making nojava in packages/unac

gmake[2]: Entering directory
`/opt/gsdl-2.80-src/gsdl/indexers/packages/unac'

gmake[2]: Nothing to be done for `all'.

gmake[2]: Leaving directory `/opt/gsdl-2.80-src/gsdl/indexers/packages/unac'

for odir in mg mgpp; do

echo making nojava in $odir;

(cd $odir && gmake nojava) || exit 1;

done

making nojava in mg

gmake[2]: Entering directory `/opt/gsdl-2.80-src/gsdl/indexers/mg'

for subdir in lib src/text; do

echo making nojava in $subdir;

(cd $subdir && gmake all) || exit 1;

done

making nojava in lib

gmake[3]: Entering directory `/opt/gsdl-2.80-src/gsdl/indexers/mg/lib'

gmake[3]: Nothing to be done for `all'.

gmake[3]: Leaving directory `/opt/gsdl-2.80-src/gsdl/indexers/mg/lib'

making nojava in src/text

gmake[3]: Entering directory `/opt/gsdl-2.80-src/gsdl/indexers/mg/src/text'

gmake[3]: Nothing to be done for `all'.

gmake[3]: Leaving directory `/opt/gsdl-2.80-src/gsdl/indexers/mg/src/text'

gmake[2]: Leaving directory `/opt/gsdl-2.80-src/gsdl/indexers/mg'

making nojava in mgpp

gmake[2]: Entering directory `/opt/gsdl-2.80-src/gsdl/indexers/mgpp'

for subdir in lib text ; do

echo making nojava in $subdir;

(cd $subdir && gmake all) || exit 1;

done

making nojava in lib

gmake[3]: Entering directory `/opt/gsdl-2.80-src/gsdl/indexers/mgpp/lib'

gcc -c -DHAVE_CONFIG_H -I.. -I. -g -O2 -ansi -fPIC xmalloc.c

In file included from ./sysfuncs.h:104,

from xmalloc.c:22:

/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/ctype.h:150:
error: expected ')' before 'wctype_t'

In file included from ./sysfuncs.h:128,

from xmalloc.c:22:

/opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/string.h:254:
error: expected declaration specifiers or '...' before 'ssize_t'

In file included from ./sysfuncs.h:280,

from xmalloc.c:22:

/usr/include/unistd.h:870: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'f_fork'

/usr/include/unistd.h:909: error: expected declaration specifiers or '...'
before 'gid_t'

/usr/include/unistd.h:918: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'fclear'

/usr/include/unistd.h:919: error: expected declaration specifiers or '...'
before 'off_t'

/usr/include/unistd.h:919: error: expected declaration specifiers or '...'
before 'off_t'

/usr/include/unistd.h:924: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'llseek'

In file included from xmalloc.c:22:

./sysfuncs.h:300: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'lseek'

gmake[3]: *** [xmalloc.o] Error 1

gmake[3]: Leaving directory `/opt/gsdl-2.80-src/gsdl/indexers/mgpp/lib'

gmake[2]: *** [nojava] Error 1

gmake[2]: Leaving directory `/opt/gsdl-2.80-src/gsdl/indexers/mgpp'

gmake[1]: *** [nojava] Error 1

gmake[1]: Leaving directory `/opt/gsdl-2.80-src/gsdl/indexers'

gmake: *** [all] Error 1

hkulweb@root:/opt/gsdl-2.80-src/gsdl:>make

for odir in indexers; do echo making all in $odir; (cd $odir &&
make nojava) || exit 1; done

making all in indexers

"Makefile", line 33: make: 1254-055 Dependency line needs colon or double
colon operator.

"Makefile", line 35: make: 1254-055 Dependency line needs colon or double
colon operator.

"Makefile", line 37: make: 1254-055 Dependency line needs colon or double
colon operator.

make: 1254-058 Fatal errors encountered -- cannot continue.

make: 1254-004 The error code from the last command is 1.

Stop.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20080716/a7effc8d/attachment-0001.html