DA installation fails on Fedora 8

chow

Verified User
Joined
Aug 27, 2003
Messages
123
Location
The Netherlands
Installed DA on Fedora 8.. After installation in the controlpanel I see the error
cannot find file: /usr/local/bin/php

I tried:
./build clean
./build update
./build php

That exits with the error:

../../bins/zziptest.c: In function 'main':
../../bins/zziptest.c:76: error: invalid lvalue in assignment
make[3]: *** [zziptest.o] Error 1
make[3]: Leaving directory `/usr/local/directadmin/customapache/zziplib-0.10.82/ i686-pc-linux-gnu/bins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/zziplib-0.10.82/ i686-pc-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/zziplib-0.10.82/ i686-pc-linux-gnu'
make: *** [all-all] Error 2

What is the problem???
 
i have the same error :( will contact support staff 'cuz i need it really quick :( Well.. i'm not sure.. this is my error:

/usr/bin/install -c -m 644 include/libcharset.h /usr/local/directadmin/custombui ld/libiconv-1.11/lib/libcharset.h
/usr/bin/install -c -m 644 include/localcharset.h.inst /usr/local/directadmin/cu stombuild/libiconv-1.11/lib/localcharset.h
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libiconv-1.11/lib charset'
cd lib && make all
make[1]: Entering directory `/usr/local/directadmin/custombuild/libiconv-1.11/li b'
if test -n "yes"; then \
/bin/sh ../libtool --mode=link gcc -I. -I. -I../include -I./../includ e -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/usr/local/lib\" -DBUILDING _LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr /local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -fPIC -DPIC -DLIBICONV_PLUG ./icon v.c ./../libcharset/lib/localcharset.c ./relocatable.c -shared -o preloadable_li biconv_linux.so; \
else \
/bin/sh ../libtool --mode=link gcc -I. -I. -I../include -I./../includ e -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/usr/local/lib\" -DBUILDING _LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr /local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -KPIC -DPIC -DLIBICONV_PLUG ./icon v.c ./../libcharset/lib/localcharset.c ./relocatable.c -shared -o preloadable_li biconv_linux.so; \
fi
mkdir .libs
chmod 777 .libs
gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden - DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATAB LE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_ prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG _H -fPIC -DPIC -DLIBICONV_PLUG ./iconv.c ./../libcharset/lib/localcharset.c ./re locatable.c -shared -o preloadable_libiconv_linux.so
In file included from ./cns11643.h:31,
from ./converters.h:209,
from ./iconv.c:67:
./cns11643_2.h:232: error: 'b' undeclared here (not in a function)
./cns11643_2.h:316: error: 'ff' undeclared here (not in a function)
./cns11643_2.h:317: error: expected '}' before numeric constant
In file included from ./cns11643.h:31,
from ./converters.h:209,
from ./iconv.c:67:
./cns11643_2.h:401:3: error: invalid suffix "xa8b7" on integer constant
./cns11643_2.h:401:15: error: invalid suffix "b" on integer constant
./cns11643_2.h:783:43: error: invalid suffix "xa8b9301" on integer constant
./cns11643_2.h:785:19: error: invalid suffix "xa8b9324" on integer constant
./cns11643_2.h:788:43: error: invalid suffix "xa8b9710" on integer constant
In file included from ./cns11643.h:37,
from ./converters.h:209,
from ./iconv.c:67:
./cns11643_15.h:948: warning: large integer implicitly truncated to unsigned typ e
make[1]: *** [preloadable_libiconv_linux.so] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libiconv-1.11/lib '
make: *** [all] Error 2

*** The make has failed, do you want to try to make again? (y,n):
 
Last edited:
Hello,

Regarding zzip, this is the fix for the 0.10.82 version:
http://help.directadmin.com/item.php?id=177

But I've recently updated the build script to use 0.13.45 for the Fedora 8 builds, so if you type:

./build update

again, give it another try.

CLCK: For the libiconv error, I have not seen that one before. You may need to google it.

John
 
Hi John,

I googled the error, but can't find anything for it. It has to do with only libiconv package. Isn't there a newer, or older version, i can try?

[root@www04 libiconv-1.11]# make
cd lib && make all
make[1]: Entering directory `/usr/local/directadmin/custombuild/libiconv-1.11/lib'
if test -n "yes"; then \
/bin/sh ../libtool --mode=link gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -fPIC -DPIC -DLIBICONV_PLUG ./iconv.c ./../libcharset/lib/localcharset.c ./relocatable.c -shared -o preloadable_libiconv_linux.so; \
else \
/bin/sh ../libtool --mode=link gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -KPIC -DPIC -DLIBICONV_PLUG ./iconv.c ./../libcharset/lib/localcharset.c ./relocatable.c -shared -o preloadable_libiconv_linux.so; \
fi
gcc -I. -I. -I../include -I./../include -I.. -I./.. -g -O2 -fvisibility=hidden -DLIBDIR=\"/usr/local/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/usr/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -fPIC -DPIC -DLIBICONV_PLUG ./iconv.c ./../libcharset/lib/localcharset.c ./relocatable.c -shared -o preloadable_libiconv_linux.so
In file included from ./cns11643.h:31,
from ./converters.h:209,
from ./iconv.c:67:
./cns11643_2.h:232: error: 'b' undeclared here (not in a function)
./cns11643_2.h:316: error: 'ff' undeclared here (not in a function)
./cns11643_2.h:317: error: expected '}' before numeric constant
In file included from ./cns11643.h:31,
from ./converters.h:209,
from ./iconv.c:67:
./cns11643_2.h:401:3: error: invalid suffix "xa8b7" on integer constant
./cns11643_2.h:401:15: error: invalid suffix "b" on integer constant
./cns11643_2.h:783:43: error: invalid suffix "xa8b9301" on integer constant
./cns11643_2.h:785:19: error: invalid suffix "xa8b9324" on integer constant
./cns11643_2.h:788:43: error: invalid suffix "xa8b9710" on integer constant
In file included from ./cns11643.h:37,
from ./converters.h:209,
from ./iconv.c:67:
./cns11643_15.h:948: warning: large integer implicitly truncated to unsigned type
make[1]: *** [preloadable_libiconv_linux.so] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libiconv-1.11/lib'
make: *** [all] Error 2
[root@www04 libiconv-1.11]#

:(
 
Hello,

I've updated iconv in the build script to 1.12 from 1.11.
Type:

./build update

then give it another try.

John
 
Hi John,

It seems like it's working! Thanks!
Is it better to do a full reinstall of DA or can i just simply recompile php?
 
Back
Top