Would like it added to portage. # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-odbtp/pecl-odbtp-1.1.4.ebuild,v 1.1 2006/01/10 22:28:01 PHP_EXT_NAME="odbtp" PHP_EXT_PECL_PKG="odbtp" PHP_EXT_INI="yes" PHP_EXT_ZENDEXT="no" inherit php-ext-pecl-r1 KEYWORDS="~ppc ~ppc64 ~sparc ~x86" DESCRIPTION="This extension provides a set of ODBTP, Open Database Transport Protocol, client functions. ODBTP allows any platform to remotely access Win32-based databases. Linux and UNIX clients can use this extension to access Win32 databases like MS SQL Server, MS Access and Visual FoxPro." LICENSE="LGPL" SLOT="0" IUSE="" #DEPEND="${DEPEND} # sys-apps/file" need_php_by_category src_compile() { has_php my_conf="--with-odbtp" # php-ext-pecl-r1_src_compile } Compiles fine without php-ext-pecl-r1_src_compile. Craps out with php-ext-pecl-r1_src_compile Calculating dependencies ...done! >>> emerge (1 of 1) dev-php4/pecl-odbtp-1.1.4 to / >>> md5 files ;-) pecl-odbtp-1.1.4.ebuild >>> md5 files ;-) pecl-odbtp-1.1.3.ebuild >>> md5 files ;-) files/digest-pecl-odbtp-1.0.4 >>> md5 files ;-) files/digest-pecl-odbtp-1.1.3 >>> md5 files ;-) files/digest-pecl-odbtp-1.1.4 >>> md5 src_uri ;-) odbtp-1.1.4.tgz >>> Unpacking source... >>> Unpacking odbtp-1.1.4.tgz to /var/tmp/portage/pecl-odbtp-1.1.4/work tar: A lone zero block at 315 >>> Source unpacked. * * Using dev-lang/php-4.4.1-r3 * Configuring for: PHP Api Version: 20020918 Zend Module Api No: 20020429 Zend Extension Api No: 20050606 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether gcc and cc understand -c and -o together... yes checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking for PHP prefix... /usr/lib/php4 checking for PHP includes... -I/usr/lib/php4/include/php -I/usr/lib/php4/include/php/main -I/usr/lib/php4/include/php/TSRM -I/usr/lib/php4/include/php/Zend checking for PHP extension directory... /usr/lib/php4/lib/php/extensions/no-debug-non-zts-20020429 checking for re2c... exit 0; checking for gawk... gawk checking for ODBTP support... yes, shared checking for ODBTP/MSSQL support... yes, shared checking for odbtp files in default path... not found configure: error: Please reinstall the ODBTP distribution !!! ERROR: dev-php4/pecl-odbtp-1.1.4 failed. !!! Function php-ext-source-r1_src_compile, Line 44, Exitcode 1 !!! Unable to configure code to compile !!! If you need support, post the topmost build error, NOT this status message.
- Don't inline ebuilds, attach them as plain text. - Please have a look at http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Created attachment 76854 [details] Adds pecl odbtp support to php
Sorry about that. Is there away I can edit above to take out the ebuild info?
A fixed ebuild for dev-php{4,5}/pecl-odbtp is now in our PHP overlay - see http://svn.gnqs.org/projects/gentoo-php-overlay/ Will be in portage when tested/ready. Thanks.
*** Bug 133795 has been marked as a duplicate of this bug. ***
Does this cover compiling the odbtp library as well as the php module?
*** Bug 143275 has been marked as a duplicate of this bug. ***
CHTEKK, is this ready for portage?