Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464300 - dev-lang/php-5.5.0-beta2-r3[iodbc] - fails to build
Summary: dev-lang/php-5.5.0-beta2-r3[iodbc] - fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-03 08:34 UTC by Vadim A. Misbakh-Soloviov (mva)
Modified: 2013-04-07 17:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (php55.build.log,604.54 KB, text/plain)
2013-04-03 08:35 UTC, Vadim A. Misbakh-Soloviov (mva)
Details
emerge --info (emergeinfo.log,15.80 KB, text/plain)
2013-04-03 08:35 UTC, Vadim A. Misbakh-Soloviov (mva)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2013-04-03 08:34:08 UTC
build log in attach.
It seems, it needs -I/usr/include/iodbc to build correctly

Reproducible: Always
Comment 1 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2013-04-03 08:35:34 UTC
Created attachment 344164 [details]
build.log
Comment 2 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2013-04-03 08:35:57 UTC
Created attachment 344166 [details]
emerge --info
Comment 3 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2013-04-03 09:11:26 UTC
Alternatively, it can be that patch:

--- ext/odbc/php_odbc_includes.h        2013-03-27 22:31:13.000000000 +0400
+++ ext/odbc/php_odbc_includes.h    2013-04-03 13:09:38.085331814 +0400
@@ -101,7 +101,7 @@
 #define ODBC_TYPE "iODBC"
 #include <sql.h>
 #include <sqlext.h>
-#include <iodbcext.h>
+#include <iodbc/iodbcext.h>
 #define HAVE_SQL_EXTENDED_FETCH 1

 #elif defined(HAVE_UNIXODBC) /* unixODBC library */
Comment 4 Ole Markus With (RETIRED) gentoo-dev 2013-04-04 06:27:47 UTC
The actual issue is not using pkg-config for detecting cflags. I'll see if I can push a patch for that.
Comment 5 Ole Markus With (RETIRED) gentoo-dev 2013-04-06 10:45:10 UTC
See if things are fixed by the new revbump