rpm 3.0.1 built on AIX 4.3.2 and Dec alpha 4.0 with gcc 2.8. rpm -qip package_filename.rpm reports "-qip: unknown option" the same code built on x86 solaris (gcc 2.8) works just fine. Aix/Dec also fail when built with egcs 2.91.66.
Please reopen this bug if rpm-3.0.3 still exhibits this behavior. I think I've fixed the problem, but have not access to AIX and/or Tru64 to test.
It still happens to me with rpm-3.0.3 and rpm-3.0.4 on Solaris and Linux, no matter, which compiler /*gcc-2.95 or SUNWspro*/ I'm using. It smells, it has something to do with (rc- and macro-)files. I'm always working with an ``--rcfile'' commandline. I'm not aware of other major differences to the mainstream[, where it obviously works].