custombuild error (php)

kariha

Verified User
Joined
Sep 12, 2011
Messages
46
i tryed ./build all d, ./build all, ./build php n
I was working with 3 different versions until yesterday. I removed the other 2 php versions from options.

When I run the ./build php n command I get the following error.

Code:
...
::~CodePointBreakIterator()':
/usr/local/directadmin/custombuild/php-7.3.19/ext/intl/breakiterator/codepointiterator_internal.cpp:70: undefined reference to `icu_58::BreakIterator::~BreakIterator()'
ext/intl/breakiterator/.libs/codepointiterator_internal.o: In function `PHP::CodePointBreakIterator::~CodePointBreakIterator()':
/usr/local/directadmin/custombuild/php-7.3.19/ext/intl/breakiterator/codepointiterator_internal.cpp:76: undefined reference to `icu_58::UMemory::operator delete(void*)'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:(.data.rel.ro._ZTIN3PHP22CodePointBreakIteratorE[_ZTIN3PHP22CodePointBreakIteratorE]+0x10): undefined reference to `typeinfo for icu_58::BreakIterator'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:(.data.rel.ro._ZTVN3PHP22CodePointBreakIteratorE[_ZTVN3PHP22CodePointBreakIteratorE]+0xa8): undefined reference to `icu_58::BreakIterator::getRuleStatus() const'
ext/intl/breakiterator/.libs/codepointiterator_internal.o:(.data.rel.ro._ZTVN3PHP22CodePointBreakIteratorE[_ZTVN3PHP22CodePointBreakIteratorE]+0xb0): undefined reference to `icu_58::BreakIterator::getRuleStatusVec(int*, int, UErrorCode&)'
collect2: error: ld returned 1 exit status
make: *** [sapi/phpdbg/phpdbg] Error 1

i want 3 php version.
php 7.3, 7.0 and 5.4
how can i fix? thanks.
 
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-693.11.6.el7.x86_64

yesterday I was using 7.3,7.0 and 5.4.
I made the 5.4 version 5.5 and I can't go back to 5.4 again.
the problem occurred after that.
 
To build just 5.4 you may use "./build php_expert". It might be some compatibility issue between old version of ICU (required for 5.4) and 7.3.
 
I want only version 7.3 to be used. I currently get an error even though there is only 1 php version.

Code:
[root@root custombuild]# ./build php_expert
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: linux.darkpenguin.net
 * extras: centosmirror.netcup.net
 * updates: mirror.plustech.de
Package epel-release-7-11.noarch already installed and latest version
Nothing to do
Loaded plugins: fastestmirror


Error getting repository data for epel, repository not found
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: linux.darkpenguin.net
 * extras: centosmirror.netcup.net
 * updates: mirror.plustech.de
No package libuv-devel available.
Error: Nothing to do
Found /usr/local/directadmin/custombuild/libzip-1.6.1.tar.gz
Extracting ...
Done.
Configuring libzip-1.6.1...
./build: line 16329: cmake3: command not found
Done. Making libzip-1.6.1...
Trying to make libzip...
make: *** No targets specified and no makefile found.  Stop.
 
Try:
Code:
yum -y install cmake3
cd /usr/local/directadmin/custombuild
./build set php2_release no
./build set php3_release no
./build icu
./build php n
 
i cant install "cmake3". i installed "cmake"
and i got an error build icu step.
Code:
make[2]: *** [../../bin/uconv] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/icu/source/extra/uconv'
make[1]: *** [all-recursive] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/icu/source/extra'
make: *** [all-recursive] Error 2

i attached icu install screen logs
 

Attachments

Weird, it looks like centos6 to me :/ If license has the support included - I'd suggest opening a DA ticket on it.
 
Back
Top