Problem with ".configure" (php-5.5.4) and libxml2

From: Date: Sun, 06 Oct 2013 13:09:57 +0000
Subject: Problem with ".configure" (php-5.5.4) and libxml2
Groups: php.install 
Request: Send a blank email to php-install+get-20324@lists.php.net to get a copy of this message
Hi to all of you, This is my first mail to any mailing list, so please tell me if i'm doing something wronge. Here is my intention for installing php-5.5.4: I'm having a NAS on which i use optware with running php 5.2. Now i wanted to install an "owncloud", but they need php >5.2. I'm still at the ".configure"-part and already fixed some problems. At the moment i run the following command: ./configure --with-libxml-dir='/opt' --with-mysql --enable-zip Now he finds my libxml, but still he does not like it. But i'm not sure, whether the problem is located at the gcc-compiler, the libxml-libraries or the php-5.5.4 configuration code. In fine i have no clue at all. Here is the (hopefully) important part of the configure.log: ---------------------------------------------------------------------------------- configure:22004: checking libxml2 install dir configure:22019: result: /opt configure:22031: checking for xml2-config path configure:22045: result: /opt/bin/xml2-config configure:22189: checking whether libxml build works configure:22216: gcc -o conftest -g -O2 -fvisibility=hidden -Wl,-rpath,/opt/lib -L/opt/lib conftest.c
         -lm -lnsl  -lxml2 -lz -lm >&5
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: /lib/libc.so.6: warning: sh_link not set for section `.ARM.exidx'
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/bin/ld: /lib/ld-linux.so.3: warning: sh_link not set for section `.ARM.exidx'
/opt/arm-none-linux-gnueabi/lib/libdl.so.2: undefined reference to `_dl_tls_get_addr_soft@GLIBC_PRIVATE'
collect2: ld returned 1 exit status configure:22216: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" .... | #define HSREGEX 1 | #define REGEX 1 | /* end confdefs.h. */ | |
|     char xmlInitParser();
|     int main() {
|       xmlInitParser();
|       return 0;
|     }
| configure:22227: result: no configure:22229: error: build test failed. Please check the config.log for details. ---------------------------------------------------------------------------------- I use gcc-4.2. If there are more necessary informations missing, pls tell me. I'm thankful for every hint, what i actually can do, to get this working. Kind regards, Jason Marx

« previous php.install (#20324) next »