| Summary: | dev-lang/php-5.3.3-r1 fails to build with USE=solid | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Christian Faulhammer (RETIRED) <fauli> |
| Component: | New packages | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Christian Faulhammer (RETIRED)
2010-09-15 14:23:54 UTC
Created attachment 247477 [details]
build.log
One thing I'm noticing is that you don't have solid's libs ready? * Unable to locate /usr/local/solid/lib/libl2x.so or /usr/local/solid/lib/libl2x.a * Please correct this by creating the following links and reconfiguring: * /usr/local/solid/lib/libl2x.a -> /usr/local/solid/lib/libl2x.a * /usr/local/solid/lib/l2x.so -> /usr/local/solid/lib/libl2x.so There seems to be something fishy going on during configure. Can you post your /var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/config.log please? I haven't got that failure with the same useflags (as Christian mentioned in the first comment) on a fresh installed system. I haven't got any /usr/local/solid directory!? Is there a package that provides it!?! No, Gentoo does not provide solid libraries in any package. It's directly available from IBM (via http://www-01.ibm.com/software/data/soliddb/). Building the PHP extension for it is controlled via the solid USE flag. OK, i got fooled a bit, as i copied Christians USE variable above and haven't recognized that there were some asterisks.... m( However... it compiles just fine without solid for me but it fails with a slightly different error as Christian got, when solid is enabled (Not sure if it is related to the trial version of soliddb that I've got from the terribly organized IBM website). But it really seems just soliddb that causes the odbc stuff to break. /usr/local/solid/include/sqlext.h:1912: note: expected 'SQLHSTMT' but argument is of type 'HSTMT' /var/tmp/portage/dev-lang/php-5.3.3-r1/work/sapis-build/cli/ext/odbc/php_odbc.c:3729: warning: passing argument 1 of 'SQLNumResultCols' makes integer from pointer without a cast I don't know if it is worth to block the security bug, when there is a message like: * *DO NOT* file bugs about compile failures or issues you're having * when using one of those flags, as we aren't able to support them. * |=|=|=|=|=|=| You are on your own if you use them! |=|=|=|=|=|=| php with odbc seems quite ok otherwise (it's just solid that is different from faulis listing): [ebuild R ] dev-lang/php-5.3.3-r1 USE="apache2 bcmath berkdb bzip2 calendar cgi cjk cli crypt ctype curl curlwrappers doc embed enchant exif fileinfo filter fpm ftp gd gdbm gmp hash iconv imap inifile intl ipv6 json kerberos kolab ldap ldap-sasl mysql nls odbc pcntl phar pic posix postgres readline session simplexml snmp soap sockets spell sqlite ssl suhosin sysvipc threads tokenizer truetype unicode wddx xml xmlreader xmlrpc xmlwriter xpm xsl zip zlib -adabas -birdstep -cdb -concurrentmodphp -db2 -dbmaker -debug -empress -empress-bcs -esoob -firebird -flatfile -frontbase -gd-external -interbase -iodbc -libedit -mssql -mysqli -mysqlnd -oci8 -oci8-instant-client -pdo -qdbm -recode -sapdb -sharedext -sharedmem -solid -sqlite3 -sybase-ct -tidy" 0 kB Andreas, you are right...my failure. |