Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118582 - ODBTP allows any platform to remotely access Win32-based databases.
Summary: ODBTP allows any platform to remotely access Win32-based databases.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://odbtp.sourceforge.net/
Whiteboard: [php-overlay]
Keywords: EBUILD, InOverlay
: 133795 143275 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-10 14:39 UTC by fintan
Modified: 2006-08-08 23:12 UTC (History)
2 users (show)

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


Attachments
Adds pecl odbtp support to php (pecl-odbtp-1.1.4.ebuild,913 bytes, text/plain)
2006-01-11 12:16 UTC, fintan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fintan 2006-01-10 14:39:30 UTC
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.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-01-10 16:16:40 UTC
- 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
Comment 2 fintan 2006-01-11 12:16:51 UTC
Created attachment 76854 [details]
Adds pecl odbtp support to php
Comment 3 fintan 2006-01-11 12:19:45 UTC
Sorry about that. Is there away I can edit above to take out the ebuild info?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-01-13 18:19:40 UTC
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.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-05-19 10:42:19 UTC
*** Bug 133795 has been marked as a duplicate of this bug. ***
Comment 6 Matthew Schultz 2006-05-19 10:51:29 UTC
Does this cover compiling the odbtp library as well as the php module?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-08-08 23:12:32 UTC
*** Bug 143275 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-08-08 23:12:58 UTC
CHTEKK, is this ready for portage?