Turn on COBOL language in Firebird SQL Pre-processor

Bug #198383 reported by Richard Gunn
4
Affects Status Importance Assigned to Milestone
firebird2.0 (Debian)
Fix Released
Undecided
Damyan Ivanov
firebird2.0 (Ubuntu)
Fix Released
Wishlist
Popa Adrian Marius

Bug Description

Binary package hint: firebird2.0-super and firebird2.0-classic

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu hardy (development branch)"

I'm using OpenCobol on Ubuntu and would like to pre-process my COBOL code in order to access Firebird databases. This can be achieved by using the Firebird SQL pre-processor, GPRE. Unfortunately, the Firebird/Interbase SQL pre-processor (GPRE) has been compiled with the default language options only. This means it will only pre-process C and C++.

I downloaded the source for the entire Firebird suite and found that there is an option in the build configuration file to switch on the COBOL pre-processor in GPRE. The build option is --with-gpre-cobol . Enabling this option won't guarantee seamless integration between OpenCobol and Firebird, but it is a big step in the right direction.

I would like to request that future builds of the Firebird RDBMS include this option. It will make OpenCobol far more useful on Debian/Ubuntu than it currently is.

Murat Gunes (mgunes)
Changed in firebird2.0:
importance: Undecided → Wishlist
description: updated
Revision history for this message
Popa Adrian Marius (mapopa) wrote :

i can create an package with -with-gpre-cobol if you want to and add it into my ppa archive

Changed in firebird2.0:
assignee: nobody → mapopa
status: New → In Progress
Revision history for this message
Damyan Ivanov (dmn-debian) wrote :

Please someone report this on the Debian BTS to remind me to add it in the packages for Debian too.

Changed in firebird2.0:
assignee: nobody → dmn-debian
status: New → In Progress
Revision history for this message
Damyan Ivanov (dmn-debian) wrote :

Changes:
 firebird2.0 (2.0.3.12981.ds1-15) unstable; urgency=low
 .
   * port-arm.patch: s/$/_/ in src/gpre/cob.cpp to fix FTBFS on arm
   * add --with-gpre-cobol to ./configure flags. LP#198383
   * refresh all patches with --no-timestamps --no-index -p ab

Changed in firebird2.0:
status: In Progress → Fix Released
Revision history for this message
Popa Adrian Marius (mapopa) wrote :
Changed in firebird2.0:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.