build ICU get problem

Dauser2007

Verified User
Joined
Dec 5, 2007
Messages
209
build ICU get problem :confused:


Code:
make[2]: Leaving directory `/usr/local/directadmin/custombuild/icu/source/tools/ctestfw'
make[2]: Entering directory `/usr/local/directadmin/custombuild/icu/source/tools/ctestfw'
gcc -D_REENTRANT -I../../common -I../../i18n -I./../toolutil -I.   -DT_CTEST_IMPLEMENTATION -g -O2  -fvisibility=hidden -c -DPIC -fPIC -o ctest.o ctest.c
g++ -D_REENTRANT -I../../common -I../../i18n -I./../toolutil -I.   -DT_CTEST_IMPLEMENTATION -g -O2  -fvisibility=hidden -c -DPIC -fPIC -o tstdtmod.o tstdtmod.cpp
g++ -D_REENTRANT -I../../common -I../../i18n -I./../toolutil -I.   -DT_CTEST_IMPLEMENTATION -g -O2  -fvisibility=hidden -c -DPIC -fPIC -o testdata.o testdata.cpp
g++ -D_REENTRANT -I../../common -I../../i18n -I./../toolutil -I.   -DT_CTEST_IMPLEMENTATION -g -O2  -fvisibility=hidden -c -DPIC -fPIC -o datamap.o datamap.cpp
g++ -D_REENTRANT -I../../common -I../../i18n -I./../toolutil -I.   -DT_CTEST_IMPLEMENTATION -g -O2  -fvisibility=hidden -c -DPIC -fPIC -o uperf.o uperf.cpp
g++ -D_REENTRANT -I../../common -I../../i18n -I./../toolutil -I.   -DT_CTEST_IMPLEMENTATION -g -O2  -fvisibility=hidden -c -DPIC -fPIC -o dbgutil.o dbgutil.cpp
g++ -D_REENTRANT -I../../common -I../../i18n -I./../toolutil -I.   -DT_CTEST_IMPLEMENTATION -g -O2  -fvisibility=hidden -c -DPIC -fPIC -o udbgutil.o udbgutil.cpp
g++ -g -O2  -fvisibility=hidden   -shared -Wl,-soname -Wl,libicutest.so.40 -o libicutest.so.40.0 ctest.o tstdtmod.o testdata.o datamap.o uperf.o dbgutil.o udbgutil.o -L../../lib -licutu -L../../lib -licui18n -L../../lib -licuuc -L../../lib -L../../stubdata -licudata -lpthread -lm 
rm -f libicutest.so.40 && ln -s libicutest.so.40.0 libicutest.so.40
rm -f libicutest.so && ln -s libicutest.so.40.0 libicutest.so
make[2]: Leaving directory `/usr/local/directadmin/custombuild/icu/source/tools/ctestfw'
make[1]: Making `all' in `makeconv'
make[2]: Entering directory `/usr/local/directadmin/custombuild/icu/source/tools/makeconv'
generating dependency information for gencnvex.c
generating dependency information for genmbcs.c
generating dependency information for ucnvstat.c
generating dependency information for makeconv.c
make[2]: Leaving directory `/usr/local/directadmin/custombuild/icu/source/tools/makeconv'
make[2]: Entering directory `/usr/local/directadmin/custombuild/icu/source/tools/makeconv'
gcc -D_REENTRANT -I../../common -I./../toolutil  -g -O2  -c   -o makeconv.o makeconv.c
gcc -D_REENTRANT -I../../common -I./../toolutil  -g -O2  -c   -o ucnvstat.o ucnvstat.c
gcc -D_REENTRANT -I../../common -I./../toolutil  -g -O2  -c   -o genmbcs.o genmbcs.c
gcc -D_REENTRANT -I../../common -I./../toolutil  -g -O2  -c   -o gencnvex.o gencnvex.c
g++ -g -O2   -o ../../bin/makeconv makeconv.o ucnvstat.o genmbcs.o gencnvex.o -L../../lib -licutu -L../../lib -licui18n -L../../lib -licuuc -L../../lib -L../../stubdata -licudata -lpthread -lm  
../../lib/libicuuc.so: undefined reference to `icudt40_dat'
collect2: ld returned 1 exit status
make[2]: *** [../../bin/makeconv] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/icu/source/tools/makeconv'
make[1]: *** [all-recursive] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/icu/source/tools'
make: *** [all-recursive] Error 2
 
The update of ICU also fails on my DA test server. I started the update by running ./build all after getting the latest build script and data.

I have read a (n old) post suggesting to use Yum (or apt) to install this instead, will try that tonight.

Bye,

Harro


the last bit of output before it breaks the update:
uprops.c:275: warning: implicit declaration of function âunorm_getQuickCheck_44â
uprops.c:277: warning: implicit declaration of function âunorm_getFCD16FromCodePointâ
uprops.c: In function âuprops_getSource_44â:
uprops.c:377: error: âUPROPS_SRC_HSTâ undeclared (first use in this function)
uprops.c:377: error: (Each undeclared identifier is reported only once
uprops.c:377: error: for each function it appears in.)
make[1]: *** [uprops.o] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/icu/source/common'
make: *** [all-recursive] Error 2
 
Ok, so "yum install icu" works without errors.

However, yum installs icu to a different folder than the custombuild script, so if I do "./build all", it still tries to install/compile icu again.

custombuild installs to: /usr/local/icu
yum installs to: /usr/sbin/

So the question is:

a) is it possible to provide an alternate install location to yum (searching online seems to suggest that it is not possible), so I can install to /usr/local/icu ?

b) Is it necessary for custombuild to install icu in that folder, or could I modify the build script to point to the /usr/sbin location (or will that break other components)?

c) why does icu give compile errors through custombuild, I installed and updated all packages before using ./build all (but maybe ICU is a new addition)?

It seems that ICU is called from PHP6 and MySQL. So what happens if I remove the ICU call altogether from the build script?

Thoughts on the above are very welcome!

Kind regards,

Harro

p.s. I run DA 1.37.0
 
Back
Top