Thread: PG 7.0.2 Install
Hi, I am trying to install 7.0.2 on an alpha box running Red Hat Linux 6.2. I was told that the 7.0.2 rpm's have an alpha patch in them and that would be the best bet for success. Yet, I have run into a little problem. When I try to install the rpm (rpm -i postgresql-7_0_2-2_i386.rpm) I get errors stating failed dependencies on some of the 'so's (specifically libc.so.6, libcrpyt.so.1, libdl.so.2, libm.so.6, libnsl.so.1). It is true that those are not there. In my /lib/ directory there are symbolic links for all of these with a '.1' suffix pointing to another file (ie: libc.so.6.1 -> libc.2.3.1.so). Therefore, along those lines, I added the missing 'so's as symbolic links to the original file. This did not resolve the failed dependencies. It seems that rpm doesn't recognize that those symbolic links are there. I tried rebuilding the rpm database, but that didn't seem to make any difference. I am out of ideas, does any one have any suggestions? Thanks! Darrin ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
"Darrin Ladd" <darrin_ladd@hotmail.com> writes: > I am trying to install 7.0.2 on an alpha box running Red Hat Linux 6.2. I > was told that the 7.0.2 rpm's have an alpha patch in them and that would be > the best bet for success. Yet, I have run into a little problem. When I > try to install the rpm (rpm -i postgresql-7_0_2-2_i386.rpm) You obviously can't install postgresql binary RPMs for Intel on an Alpha - get the SRPM and do a rpm --rebuild of it. -- Trond Eivind Glomsrød Red Hat, Inc.
Ok, so I'm an idiot...sorry. While running the *correct* rpm (SRPM: postgresql-7_0_2-1_src.rpm), it keeps failing. It appears to be trying to implement the python interface, but the required config directory with the make file is missing off the file system. The following is the standard output from the rpm run: All of PostgreSQL is successfully made. Ready to install. + pushd interfaces/python /usr/src/redhat/BUILD/postgresql-7.0.2/src/interfaces/python /usr/src/redhat/BUILD/postgresql-7.0.2/src /usr/src/redhat/BUILD/postgresql-7.0.2 +cp /usr/lib/python1.5/config/Makefile.pre.in . cp: /usr/lib/python1.5/config/Makefile.pre.in: No such file or directory Bad exit status from var/tmp/rpm-tmp.64387(%build) I don't need the python interface, but am not sure how to get around this so that I can have a successful build. The /usr/lib/python1.5 directory is there, but there is no config directory under that. Can I just perform a gmake install, since the make finished successfully? Or is there a way to turn the python option off of the build? Sorry if this is another stupid question, I am very new to all of this. Thank you for your help, Darrin >From: teg@redhat.com (Trond Eivind Glomsr�d) >To: "Darrin Ladd" <darrin_ladd@hotmail.com> >CC: pgsql-general@postgresql.org >Subject: Re: [GENERAL] PG 7.0.2 Install >Date: 18 Aug 2000 16:50:22 -0400 > >"Darrin Ladd" <darrin_ladd@hotmail.com> writes: > > > I am trying to install 7.0.2 on an alpha box running Red Hat Linux 6.2. >I > > was told that the 7.0.2 rpm's have an alpha patch in them and that would >be > > the best bet for success. Yet, I have run into a little problem. When >I > > try to install the rpm (rpm -i postgresql-7_0_2-2_i386.rpm) > >You obviously can't install postgresql binary RPMs for Intel on an >Alpha - get the SRPM and do a rpm --rebuild of it. > >-- >Trond Eivind Glomsr�d >Red Hat, Inc. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Darrin Ladd wrote: > > Ok, so I'm an idiot...sorry. > > While running the *correct* rpm (SRPM: postgresql-7_0_2-1_src.rpm), it keeps > failing. It appears to be trying to implement the python interface, but the > required config directory with the make file is missing off the file system. > The following is the standard output from the rpm run: > > All of PostgreSQL is successfully made. Ready to install. > + pushd interfaces/python > /usr/src/redhat/BUILD/postgresql-7.0.2/src/interfaces/python > /usr/src/redhat/BUILD/postgresql-7.0.2/src > /usr/src/redhat/BUILD/postgresql-7.0.2 > +cp /usr/lib/python1.5/config/Makefile.pre.in . > cp: /usr/lib/python1.5/config/Makefile.pre.in: No such file or directory > Bad exit status from var/tmp/rpm-tmp.64387(%build) > > I don't need the python interface, but am not sure how to get around this so > that I can have a successful build. The /usr/lib/python1.5 directory is > there, but there is no config directory under that. Can I just perform a > gmake install, since the make finished successfully? Or is there a way to > turn the python option off of the build? > > Sorry if this is another stupid question, I am very new to all of this. > > Thank you for your help, > Darrin > This has more to do with the rpm utility and probably there are ways to bypass some of the dependancies enforced by rpm. Personally I find installing from source (*.tar.gz files) much easier then with rpm. I use Suse Linux which suports rpm as well, but my experiences are that installing from source was easier then I expected and caused less problems then using rpm. Regards, Nils Zonneveld -- "Misschien is niets geheel waar, en zelfs dat niet" Multatuli (Eduard Douwes Dekker) - Idee 1
Nils Zonneveld wrote: > > that I can have a successful build. The /usr/lib/python1.5 directory is > > there, but there is no config directory under that. Can I just perform a > > gmake install, since the make finished successfully? Or is there a way to > > turn the python option off of the build? > This has more to do with the rpm utility and probably there are ways to > bypass some of the dependancies enforced by rpm. Personally I find Building from the source RPM requires the python-devel package to be installed. Once you have your rpm's built, you can uninstall the python-devel package, and you can remove the postgresql-python RPM. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
Nils Zonneveld <nils@casema.net> writes: > > While running the *correct* rpm (SRPM: postgresql-7_0_2-1_src.rpm), it keeps > > failing. It appears to be trying to implement the python interface, but the > > required config directory with the make file is missing off the > > file system. You probably need python-devel. I've fixed that (added as a build-prereq), and I believe Lamar will sync. > > I don't need the python interface, but am not sure how to get around this so > > that I can have a successful build Right now, you can't. It's possible to make things like building without certain libraries, but it isn't done for the postgresql RPM. Lamar, if you want to look at that, take a look at the pine RPM which does this for LDAP and Kerberos. -- Trond Eivind Glomsrød Red Hat, Inc.
Trond Eivind Glomsrød wrote: > > Nils Zonneveld <nils@casema.net> writes: > > > > While running the *correct* rpm (SRPM: postgresql-7_0_2-1_src.rpm), it keeps > > > failing. It appears to be trying to implement the python interface, but the > > > required config directory with the make file is missing off the > > > file system. > > You probably need python-devel. I've fixed that (added as a > build-prereq), and I believe Lamar will sync. Yes. Once I get some other version-specific stuff squared away (that you know about). > Right now, you can't. It's possible to make things like building > without certain libraries, but it isn't done for the postgresql RPM. > Lamar, if you want to look at that, take a look at the pine RPM which > does this for LDAP and Kerberos. Interesting thought... I'll look at that, to make it easier for folk to rebuild from the source RPM without things installed. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11