Hello
I am trying to install the libiconv on Solaris 10:
SunOS unknown 5.10 Generic_120012-14 i86pc i386 i86pc
the make gives me the following output (I copied from around the error, hopefully long enough to refveal t he problem:
****************************************************************************************************************************************
mv string.h-t string.h
rm -f unistd.h-t unistd.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
sed -e 's|@''HAVE_UNISTD_H''@|1|g' \
-e 's/@''INCLUDE_NEXT''@/include_next/g' \
-e 's|@''NEXT_UNISTD_H''@|<unistd.h>|g' \
-e 's|@''GNULIB_CHOWN''@|0|g' \
-e 's|@''GNULIB_DUP2''@|0|g' \
-e 's|@''GNULIB_FCHDIR''@|0|g' \
-e 's|@''GNULIB_FTRUNCATE''@|0|g' \
-e 's|@''GNULIB_GETCWD''@|0|g' \
-e 's|@''GNULIB_GETLOGIN_R''@|0|g' \
-e 's|@''GNULIB_LCHOWN''@|0|g' \
-e 's|@''GNULIB_LSEEK''@|0|g' \
-e 's|@''GNULIB_READLINK''@|1|g' \
-e 's|@''GNULIB_SLEEP''@|0|g' \
-e 's|@''HAVE_DUP2''@|1|g' \
-e 's|@''HAVE_FTRUNCATE''@|1|g' \
-e 's|@''HAVE_READLINK''@|1|g' \
-e 's|@''HAVE_SLEEP''@|1|g' \
-e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
-e 's|@''REPLACE_CHOWN''@|0|g' \
-e 's|@''REPLACE_FCHDIR''@|0|g' \
-e 's|@''REPLACE_GETCWD''@|0|g' \
-e 's|@''REPLACE_LCHOWN''@|0|g' \
-e 's|@''REPLACE_LSEEK''@|0|g' \
< ./unistd.in.h; \
} > unistd.h-t
mv unistd.h-t unistd.h
make all-am
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c areadlink.c
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c malloca.c
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c progname.c
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c -o width.o `test -f 'uniwidth/width.c' || echo './'`uniwidth/width.c
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c xmalloc.c
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c xstrdup.c
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c xreadlink.c
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c canonicalize-lgpl.c
gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -g -O2 -c error.c
rm -f libicrt.a
false cru libicrt.a areadlink.o malloca.o progname.o width.o xmalloc.o xstrdup.o xreadlink.o canonicalize-lgpl.o error.o
*** Error code 255
make: Fatal error: Command failed for target `libicrt.a'
Current working directory /export/home/mhelal1/thesis/exp/scores/ext_info/libiconv-1.12/srclib
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /export/home/mhelal1/thesis/exp/scores/ext_info/libiconv-1.12/srclib
*** Error code 1
dmake: Fatal error: Command failed for target `all'
****************************************************************************************************************************************
on later runs, it gives me:
****************************************************************************************************************************************
cd srclib && make all
make all-am
rm -f libicrt.a
false cru libicrt.a areadlink.o malloca.o progname.o width.o xmalloc.o xstrdup.o xreadlink.o canonicalize-lgpl.o error.o
*** Error code 255
make: Fatal error: Command failed for target `libicrt.a'
Current working directory /export/home/mhelal1/thesis/exp/scores/ext_info/libiconv-1.12/srclib
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /export/home/mhelal1/thesis/exp/scores/ext_info/libiconv-1.12/srclib
*** Error code 1
dmake: Fatal error: Command failed for target `all'
****************************************************************************************************************************************
I appreciate your help a lot, thank you, a
Kind Regards,
Manal Helal