|
|
Subject: Re: can not compile fileUtils package - msg#00023
List: gnu.utils
walid ben amor wrote:
> I have downloaded the fileUtils source code and I compiled it on my
> HP-UX workstation but this does not succeed :
> this is the error :
The fileutils package is the old, old version of coreutils. I think
you will have much better luck trying to compile the coreutils
version. Try this one:
ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.2.1.tar.gz
The latest test release is here:
ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.3.0.tar.gz
Note that on HP-UX I do not install the following list of programs
from GNU coreutils. I use the native HP-UX versions instead. I
recommend that you do the same on HP-UX.
false hostname logname pinky sync true uptime users who
Bob
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
can not compile fileUtils package
Hello,
I have downloaded the fileUtils source code and I compiled it on my
HP-UX workstation but this does not succeed :
this is the error :
###################################
% make
No suffix list.
make all-recursive
No suffix list.
Making all in lib
make all-am
source='hash.c' object='hash.o' libtool=no \
depfile='.deps/hash.Po' tmpdepfile='.deps/hash.TPo' \
depmode=hp /bin/sh ../depcomp \
cc -DLIBDIR=\"/users/almap/walid/fileutils-4.1//lib\"
-DHAVE_CONFIG_H -I.. -I. -I../intl -g -c -o hash.o `test -f hash.c ||
echo './'`hash.c
cc: "hash.h", line 33: error 1000: Unexpected symbol: "*".
cc: "hash.h", line 77: error 1000: Unexpected symbol: "Hash_comparator".
cc: "hash.h", line 111: error 1000: Unexpected symbol:
"Hash_comparator".
cc: "hash.h", line 33: error 1505: Function may not return a function or
an array.
cc: "hash.h", line 33: error 1573: Type of "Hash_comparator" is
undefined due to an illegal declaration.
cc: "hash.h", line 33: error 1573: Type of "_Bool" is undefined due to
an illegal declaration.
cc: "hash.h", line 35: error 1573: Type of "Hash_processor" is undefined
due to an illegal declaration.
cc: "hash.h", line 52: error 1573: Type of "is_n_buckets" is undefined
due to an illegal declaration.
cc: "hash.h", line 52: error 1578: Size of struct or union member is
unknown.
cc: "hash.h", line 77: error 1573: Type of "comparator" is undefined due
to an illegal declaration.
cc: "hash.h", line 77: error 1578: Size of struct or union member is
unknown.
cc: "hash.h", line 98: error 1573: Type of "hash_table_ok" is undefined
due to an illegal declaration.
cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
###################################
Thanks for help.
Next Message by Date:
click to view message preview
Using gettext for runtime translations
HallÃchen!
For the Texinfo (actually makeinfo), we need to translate things
like "see section" or "node" to various languages. The best way
would be (for German as an example)
translation = super_gettext("see ", "de");
However, this doesn't exist (yet?). So I have to set the locale
manually. Using "setenv", I have to tell gettext to empty its
cache, according to the gettext manual. Is this also true if one
uses setlocale()? Is setenv better that setlocale for some reason?
And most importantly: What is a reliable way to know the language's
name? For example, German is "de", but this doesn't work. Instead,
it has to be "de_DE". Does "ll_CC" work always and everywhere,
given that the translations are properly installed? Is there a
decent fallback mechanism or do I have to mimic one?
Thank you!
TschÃ,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
Previous Message by Thread:
click to view message preview
can not compile fileUtils package
Hello,
I have downloaded the fileUtils source code and I compiled it on my
HP-UX workstation but this does not succeed :
this is the error :
###################################
% make
No suffix list.
make all-recursive
No suffix list.
Making all in lib
make all-am
source='hash.c' object='hash.o' libtool=no \
depfile='.deps/hash.Po' tmpdepfile='.deps/hash.TPo' \
depmode=hp /bin/sh ../depcomp \
cc -DLIBDIR=\"/users/almap/walid/fileutils-4.1//lib\"
-DHAVE_CONFIG_H -I.. -I. -I../intl -g -c -o hash.o `test -f hash.c ||
echo './'`hash.c
cc: "hash.h", line 33: error 1000: Unexpected symbol: "*".
cc: "hash.h", line 77: error 1000: Unexpected symbol: "Hash_comparator".
cc: "hash.h", line 111: error 1000: Unexpected symbol:
"Hash_comparator".
cc: "hash.h", line 33: error 1505: Function may not return a function or
an array.
cc: "hash.h", line 33: error 1573: Type of "Hash_comparator" is
undefined due to an illegal declaration.
cc: "hash.h", line 33: error 1573: Type of "_Bool" is undefined due to
an illegal declaration.
cc: "hash.h", line 35: error 1573: Type of "Hash_processor" is undefined
due to an illegal declaration.
cc: "hash.h", line 52: error 1573: Type of "is_n_buckets" is undefined
due to an illegal declaration.
cc: "hash.h", line 52: error 1578: Size of struct or union member is
unknown.
cc: "hash.h", line 77: error 1573: Type of "comparator" is undefined due
to an illegal declaration.
cc: "hash.h", line 77: error 1578: Size of struct or union member is
unknown.
cc: "hash.h", line 98: error 1573: Type of "hash_table_ok" is undefined
due to an illegal declaration.
cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
###################################
Thanks for help.
Next Message by Thread:
click to view message preview
Using gettext for runtime translations
HallÃchen!
For the Texinfo (actually makeinfo), we need to translate things
like "see section" or "node" to various languages. The best way
would be (for German as an example)
translation = super_gettext("see ", "de");
However, this doesn't exist (yet?). So I have to set the locale
manually. Using "setenv", I have to tell gettext to empty its
cache, according to the gettext manual. Is this also true if one
uses setlocale()? Is setenv better that setlocale for some reason?
And most importantly: What is a reliable way to know the language's
name? For example, German is "de", but this doesn't work. Instead,
it has to be "de_DE". Does "ll_CC" work always and everywhere,
given that the translations are properly installed? Is there a
decent fallback mechanism or do I have to mimic one?
Thank you!
TschÃ,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
|
|