hi Cant load informix online 5.2 on linux -8 ( rpm file)
Posted in 2003
Topics: Installation, Setup & Upgrades, Platform-Specific Issues
Hello friends REcently i download Informix online5.2 ffrom iiug.org site for Liunx. Now i am trying to load this online5.2 version on linux 8. I have already user informix created and am giving the followin coomand from the root. rpm -i --relocate /opt/informix=$INFORMIXDIR 110197612040731.RPM THIS gives me the following error: ERROR: INFORMIXDIR doest match the target directry name provided in the rpm command. If you are not installing this product in the default INFORMIXDIR name for Linux (/opt/informix), You must provide your INFORMIX dIRECTORY name with the -- prefix ( rpm 2.x Syntax) or -- relocated ( rpm 3.x Syntax) paramater in your rpm -i command line. then again i used the following also but gives me the same error: rpm -i --prefix /usr/informix 110197612040731.RPM So pleaes anyone suggest me what t do next. REgards RATHORE sending to informix-list
Hi,
this looks like a known rpm bug in RedHat Linux 8, see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=75057 for more
information.
The bug should be fixed in rpm-4.2-0.42 .
Solution:
The following workarounds are possible:
1. Using rpm for the installation, the package can only be installed into
/opt/informix directory. In order to do so you need to set two environment
variables like this:
export RPM_INSTALL_PREFIX=/opt/informix
export INFORMIXDIR=/opt/informix
2. To install the package into a directory other than /opt/informix , you
have to convert the package from rpm format to cpio format:
rpm2cpio online.rpm > online.cpio
Then install the resulting cpio package the same way as on other platforms,
i.e. with commands like the following:
cpio -idumv < online.cpio
installonline
Andreas
RATHER wrote:
>
> Hello friends
>
> REcently i download Informix online5.2 ffrom iiug.org site for Liunx.
> Now i am trying to load this online5.2 version on linux 8. I have already
> user informix created and am giving the followin coomand from the root.
>
> rpm -i --relocate /opt/informix=$INFORMIXDIR 110197612040731.RPM
>
> THIS gives me the following error:
>
> ERROR: INFORMIXDIR doest match the target directry name provided in the
> rpm
> command. If you are not installing this product in the default
> INFORMIXDIR
> name for Linux (/opt/informix), You must provide your INFORMIX dIRECTORY
> name with the -- prefix ( rpm 2.x Syntax) or -- relocated ( rpm 3.x
> Syntax) paramater in your rpm -i command line.
> then again i used the following also but gives me the same error:
>
> rpm -i --prefix /usr/informix 110197612040731.RPM
>
> So pleaes anyone suggest me what t do next.
>
> REgards
>
> RATHORE
>
>
>
> sending to informix-list