[horde] rpm install question db2_dba

Tim Olson tim at 5000feet.com
Tue Jan 22 06:24:38 PST 2002


Sorry,

I'm trying to install via the following files:
horde-1.2.7-1rh6.noarch.rpm
horde-mysql-1.2.7-1rh6.noarch.rpm
imp-2.2.7-1rh6.noarch.rpm
freetype-1.3.1-5.src.rpm
php-3.0.17-1.6.2horde1.src.rpm

and then also
RedHat sparc's standard apache RPMS's (latest)
RedHat sparc's standard imap RPMS's (latest)

my biggest problem is when I try to do an rpm --rebuild on php-3.0.17
I also tried doing "make" in the src directory.

I get these errors:  (sorry so long...don't know what's critical)

Tim
See Below ---VVVVV

gcc -fPIC -O2 -m32 -mtune=ultrasparc -DLINUX=22 -I/usr/include/db1
-DEAPI -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_MODULE  -I. -I.  
-I/usr/include/apache                  -I/usr/include/apache    -c
functions/dba_db2.c -o functions/dba_db2.o
functions/dba_db2.c:57: parse error before `DBC'
functions/dba_db2.c:57: warning: no semicolon at end of struct or union
functions/dba_db2.c:58: warning: data definition has no type or storage
class
functions/dba_db2.c: In function `dba_open_db2':
functions/dba_db2.c:68: `DB_UNKNOWN' undeclared (first use in this
function)
functions/dba_db2.c:68: (Each undeclared identifier is reported only
once
functions/dba_db2.c:68: for each function it appears in.)
functions/dba_db2.c:72: `DB_RDONLY' undeclared (first use in this
function)
functions/dba_db2.c:73: `DB_CREATE' undeclared (first use in this
function)
functions/dba_db2.c:75: `DB_TRUNCATE' undeclared (first use in this
function)
functions/dba_db2.c:88: parse error before `)'
functions/dba_db2.c: In function `dba_close_db2':
functions/dba_db2.c:96: `dba' undeclared (first use in this function)
functions/dba_db2.c: In function `dba_fetch_db2':
functions/dba_db2.c:107: `dba' undeclared (first use in this function)
functions/dba_db2.c:108: parse error before `gkey'
functions/dba_db2.c:108: `gkey' undeclared (first use in this function)
functions/dba_db2.c: In function `dba_update_db2':
functions/dba_db2.c:121: `dba' undeclared (first use in this function)
functions/dba_db2.c:122: parse error before `gkey'
functions/dba_db2.c:122: `gkey' undeclared (first use in this function)
functions/dba_db2.c:129: `DB_NOOVERWRITE' undeclared (first use in this
function)
functions/dba_db2.c: In function `dba_exists_db2':
functions/dba_db2.c:138: `dba' undeclared (first use in this function)
functions/dba_db2.c:139: parse error before `gkey'
functions/dba_db2.c:139: `gkey' undeclared (first use in this function)
functions/dba_db2.c: In function `dba_delete_db2':
functions/dba_db2.c:150: `dba' undeclared (first use in this function)
functions/dba_db2.c:151: parse error before `gkey'
functions/dba_db2.c:151: `gkey' undeclared (first use in this function)
functions/dba_db2.c: In function `dba_firstkey_db2':
functions/dba_db2.c:158: `dba' undeclared (first use in this function)
functions/dba_db2.c: In function `dba_nextkey_db2':
functions/dba_db2.c:179: `dba' undeclared (first use in this function)
functions/dba_db2.c:180: parse error before `gkey'
functions/dba_db2.c:183: `gkey' undeclared (first use in this function)
functions/dba_db2.c:184: `gval' undeclared (first use in this function)
functions/dba_db2.c:186: `DB_NEXT' undeclared (first use in this
function)
functions/dba_db2.c:188: `nkey' undeclared (first use in this function)
functions/dba_db2.c: In function `dba_sync_db2':
functions/dba_db2.c:202: `dba' undeclared (first use in this function)
make: *** [functions/dba_db2.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.64212 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.64212 (%build)



Jan Schneider wrote:
> 
> Zitat von Tim Olson <tim at 5000feet.com>:
> 
> > Hi,
> >
> > If this is the wrong place to post this, someone kindly redirect me.
> > It's my first posting.
> >
> >
> > I spent a bunch of time over the weekend downloading and installing
> > horde and imp on a sparc 5, running RedHat.   I had already
> > had apache installed and working by RPM, and I was able to
> > rebuild most of the src.rpm's to get horde and imp installed and
> > working.  I wanted to use MySQL database.  I got to the point where
> > I was setting up Horde/IMP, and it was all working fine except when
> > I tried to go into IMP, I got messages that indicated that it couldn't
> > work with MySQL.
> >
> > This I kind of expected, since out of all the RPMS, the one I couldn't
> > get to rebuild was the php-3.x.x.src.rpm rpm.  I had to install the
> > redhat provided php-3.18 or whatever version PHP rpm instead, that was
> > made without MySQL support.
> >
> > Here's the heart of my question:
> >
> > Whenever I tried to rebuild the horde-supplied php RPM, I got many
> > errors relating to db2_dba being undefined.
> >
> > Does anyone know a work-around or what package I'd need to install
> > or what I can do to make this rpm rebuild properly?  The only thing
> > I could come up with is that my system is using all current RPMS
> > from redhat, such as RPM version 4.x, and DB3, and all of those
> > packages.
> >
> > Please give me some suggestions or point me in the right direction
> > as to where to look.  I couldn't find anything too specific
> > in the README's or FAQ's regarding this.
> 
> You should tell us what version of Horde/IMP you try to install. Just a
> quick note: If you want to install IMP 3.0 you need PHP 4.1. 3.x isn't
> sufficient.
> 
> Jan.
>




More information about the horde mailing list