You are not logged in.

#1 2012-01-16 21:49:48

srikanthradix
Member
Registered: 2010-10-19
Posts: 35

How to install rpm from yaourt?

I tried yaourt -S rpm. It is giving me some errors. Can you please help?

In file included from dbconfig.c:14:0:
./rpmdb.h:433:5: error: unknown type name 'DB_SEQUENCE'
./rpmdb.h:490:5: error: unknown type name 'DB_LOGC'
./rpmdb.h:491:5: error: unknown type name 'DB_MPOOLFILE'
In file included from dbconfig.c:14:0:
./rpmdb.h: In function 'rpmlkId':
./rpmdb.h:877:9: error: 'DB_ENV' has no member named 'lock_id'
./rpmdb.h: In function 'rpmlkIdFree':
./rpmdb.h:888:9: error: 'DB_ENV' has no member named 'lock_id_free'
./rpmdb.h: In function 'rpmlkGet':
./rpmdb.h:901:9: error: 'DB_ENV' has no member named 'lock_get'
In file included from dbconfig.c:14:0:
./rpmdb.h: In function 'rpmlkPut':
./rpmdb.h:913:9: error: 'DB_ENV' has no member named 'lock_put'
./rpmdb.h: In function 'rpmlgcOpen':
./rpmdb.h:924:5: error: unknown type name 'DB_LOGC'
./rpmdb.h:927:9: error: 'DB_ENV' has no member named 'log_cursor'
./rpmdb.h: At top level:
./rpmdb.h:935:28: error: unknown type name 'DB_LSN'
./rpmdb.h: In function 'rpmlgcClose':
./rpmdb.h:947:5: error: unknown type name 'DB_LOGC'
./rpmdb.h:949:28: error: request for member 'close' in something not a structure or union
./rpmdb.h: At top level:
./rpmdb.h:957:1: error: unknown type name 'DB_LSN'
./rpmdb.h: In function 'rpmlgcFile':
./rpmdb.h:960:19: error: 'DB_ENV' has no member named 'log_file'
./rpmdb.h: At top level:
./rpmdb.h:967:1: error: unknown type name 'DB_LSN'
./rpmdb.h: In function 'rpmlgcFlush':
./rpmdb.h:970:19: error: 'DB_ENV' has no member named 'log_flush'
./rpmdb.h: In function 'rpmlgcPrintf':
./rpmdb.h:981:19: error: 'DB_ENV' has no member named 'log_printf'
./rpmdb.h: At top level:
./rpmdb.h:988:28: error: unknown type name 'DB_LSN'
./rpmdb.h: In function 'rpmmpfSyncAll':
./rpmdb.h:1001:5: error: unknown type name 'DB_LSN'
./rpmdb.h:1003:9: error: 'DB_ENV' has no member named 'memp_sync'
./rpmdb.h: In function 'rpmmpfTrickle':
./rpmdb.h:1016:9: error: 'DB_ENV' has no member named 'memp_trickle'
./rpmdb.h: In function 'rpmmpfClose':
./rpmdb.h:1025:5: error: unknown type name 'DB_MPOOLFILE'
./rpmdb.h:1027:24: error: request for member 'close' in something not a structure or union
./rpmdb.h: In function 'rpmmpfGet':
./rpmdb.h:1037:5: error: unknown type name 'DB_MPOOLFILE'
./rpmdb.h:1039:17: error: request for member 'get' in something not a structure or union
./rpmdb.h: In function 'rpmmpfOpen':
./rpmdb.h:1049:5: error: unknown type name 'DB_MPOOLFILE'
./rpmdb.h:1054:9: error: 'DB_ENV' has no member named 'memp_fcreate'
./rpmdb.h:1059:13: error: request for member 'open' in something not a structure or union
./rpmdb.h: In function 'rpmmpfPut':
./rpmdb.h:1071:5: error: unknown type name 'DB_MPOOLFILE'
./rpmdb.h:1072:26: error: 'DB_PRIORITY_DEFAULT' undeclared (first use in this function)
./rpmdb.h:1072:26: note: each undeclared identifier is reported only once for each function it appears in
./rpmdb.h:1073:17: error: request for member 'put' in something not a structure or union
./rpmdb.h: In function 'rpmmpfSync':
./rpmdb.h:1082:5: error: unknown type name 'DB_MPOOLFILE'
./rpmdb.h:1083:24: error: request for member 'sync' in something not a structure or union
make[4]: *** [librpmdb_la-dbconfig.lo] Error 1
make[4]: Leaving directory `/tmp/yaourt-tmp-srikanth/aur-rpm/src/rpm-5.3.5/rpmdb'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-srikanth/aur-rpm/src/rpm-5.3.5/rpmdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-srikanth/aur-rpm/src/rpm-5.3.5/rpmdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-srikanth/aur-rpm/src/rpm-5.3.5'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build rpm.
==> Restart building rpm ? [y/N]

This profile is scheduled for deletion.

Offline

#2 2012-01-16 21:56:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install rpm from yaourt?

The latest development release doesn't build - see comments on the AUR page: https://aur.archlinux.org/packages.php?ID=16857

Do you need it for any particular reason?

Last edited by karol (2012-01-16 21:56:39)

Offline

#3 2012-01-16 22:05:44

srikanthradix
Member
Registered: 2010-10-19
Posts: 35

Re: How to install rpm from yaourt?

I am trying to install Oracle into my arch system.

I downloaded the file.

[srikanth@myhost Downloads]$ sudo pacman -U rpm.tar.gz 
Password: 
error: missing package metadata in rpm.tar.gz
error: 'rpm.tar.gz': invalid or corrupted package
[srikanth@myhost Downloads]$ sudo yaourt -U rpm.tar.gz 
error: missing package metadata in rpm.tar.gz
error: 'rpm.tar.gz': invalid or corrupted package
[srikanth@myhost Downloads]$ uname -a
Linux myhost 3.1.9-2-ARCH #1 SMP PREEMPT Sat Jan 14 09:11:37 CET 2012 x86_64 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz GenuineIntel GNU/Linux

This profile is scheduled for deletion.

Offline

#4 2012-01-16 22:08:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install rpm from yaourt?

It's not an Arch package, it's just some tarball. If you downloaded it from the AUR, you have to build it first.

Offline

#5 2012-01-20 09:53:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: How to install rpm from yaourt?

Have you read https://wiki.archlinux.org/index.php/Ar … Repository ?
Which Oracle app are you trying to install exactly?

Offline

#6 2012-01-20 12:21:55

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: How to install rpm from yaourt?

In these situations, I don't really understand the logic, why not just use an RPM based distribution? Or if you enjoy Arch, why not take the time to learn pacman and the AUR?
...Or as karol has asked, essentially why do you need RPM for a package?

Anyway, not meaning to be offensive; I'm just genuinely curious as to the reasoning.

Offline

Board footer

Powered by FluxBB