From thomas.crawley at beacon-cs.com Mon Jun 12 21:23:23 2006 From: thomas.crawley at beacon-cs.com (Thomas Crawley) Date: Mon, 12 Jun 2006 19:23:23 -0000 Subject: [PyVault-users] x86_64 installation problems Message-ID: Hi, I am trying to install Python 2.4.2 on a x86_64 machine. I am attempting to generate a binary rpm from the source as there is no binary rpm for x86_64. I have been running into problems because the patch python-2.4-lib64.patch fails on the file setup.py. Here is the error message. Installing python24-2.4.2-10.src.rpm Executing(%prep): /bin/sh -e /home/tcrawley/rpm/tmp/rpm-tmp.24968 Patch #7 (python-2.3.4-lib64-regex.patch): Patch #8 (python-2.4-lib64.patch): 2 out of 5 hunks FAILED -- saving rejects to file setup.py.rej 3 out of 3 hunks FAILED -- saving rejects to file Modules/Setup.dist.rej The patch file on which is failing generates the following setup.py.rej file *************** *** 490,501 **** # order you wish to search - e.g., search for db4 before db3 db_try_this = { 'db4': {'libs': ('db-4.2', 'db42', 'db-4.1', 'db41', 'db-4.0', 'db4',), - 'libdirs': ('/usr/local/BerkeleyDB.4.2/lib', - '/usr/local/BerkeleyDB.4.1/lib', - '/usr/local/BerkeleyDB.4.0/lib', - '/usr/local/lib', '/opt/sfw', - '/sw/lib', ), 'incdirs': ('/usr/local/BerkeleyDB.4.2/include', '/usr/local/include/db42', --- 490,501 ---- # order you wish to search - e.g., search for db4 before db3 db_try_this = { 'db4': {'libs': ('db-4.2', 'db42', 'db-4.1', 'db41', 'db-4.0', 'db4',), + 'libdirs': ('/usr/local/BerkeleyDB.4.2/lib64', + '/usr/local/BerkeleyDB.4.1/lib64', + '/usr/local/BerkeleyDB.4.0/lib64', + '/usr/local/lib64', '/opt/sfw', + '/sw/lib64', ), 'incdirs': ('/usr/local/BerkeleyDB.4.2/include', '/usr/local/include/db42', *************** *** 508,518 **** '/usr/include/db4', )}, 'db3': {'libs': ('db-3.3', 'db-3.2', 'db3',), - 'libdirs': ('/usr/local/BerkeleyDB.3.3/lib', - '/usr/local/BerkeleyDB.3.2/lib', - '/usr/local/lib', - '/opt/sfw/lib', - '/sw/lib', ), 'incdirs': ('/usr/local/BerkeleyDB.3.3/include', '/usr/local/BerkeleyDB.3.2/include', --- 508,518 ---- '/usr/include/db4', )}, 'db3': {'libs': ('db-3.3', 'db-3.2', 'db3',), + 'libdirs': ('/usr/local/BerkeleyDB.3.3/lib64', + '/usr/local/BerkeleyDB.3.2/lib64', + '/usr/local/lib64', + '/opt/sfw/lib64', + '/sw/lib64', ), 'incdirs': ('/usr/local/BerkeleyDB.3.3/include', '/usr/local/BerkeleyDB.3.2/include', End of rej file. I have looked at setup.py and it seems quite different from the patch file. Here is the Setup.dist.rej file. This also seems different *************** *** 325,331 **** # *** Uncomment and edit to reflect your Tcl/Tk versions: -ltk -ltcl \ # *** Uncomment and edit to reflect where your X11 libraries are: - -L/usr/X11R6/lib \ # *** Or uncomment this for Solaris: # -L/usr/openwin/lib \ # *** Uncomment these for TOGL extension only: --- 325,331 ---- # *** Uncomment and edit to reflect your Tcl/Tk versions: -ltk -ltcl \ # *** Uncomment and edit to reflect where your X11 libraries are: + -L/usr/X11R6/lib64 \ # *** Or uncomment this for Solaris: # -L/usr/openwin/lib \ # *** Uncomment these for TOGL extension only: *************** *** 395,401 **** # and the subdirectory of PORT where you built it. DBLIBVER=4.2 DBINC=/usr/include/db4 - DBLIB=/usr/lib _bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER) # Historical Berkeley DB 1.85 --- 395,401 ---- # and the subdirectory of PORT where you built it. DBLIBVER=4.2 DBINC=/usr/include/db4 + DBLIB=/usr/lib64 _bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER) # Historical Berkeley DB 1.85 *************** *** 441,447 **** # Andrew Kuchling's zlib module. # This require zlib 1.1.3 (or later). # See http://www.gzip.org/zlib/ - zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz # Interface to the Expat XML parser # --- 441,447 ---- # Andrew Kuchling's zlib module. # This require zlib 1.1.3 (or later). # See http://www.gzip.org/zlib/ + zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib64 -lz # Interface to the Expat XML parser # Can you please update the patches and let me know when the issue is resolved ? I will be happy to assist you in any way I can. I have entered this as Ticket #175 but I am unable to check the csie.org site at the moment as it seems to be down. Thanks Tom From mmarch at gmail.com Mon Jun 19 19:01:39 2006 From: mmarch at gmail.com (Michael March) Date: Mon, 19 Jun 2006 17:01:39 -0000 Subject: [PyVault-users] When I run the bootstrap rpm on a mostly stock Centos 3.6... Message-ID: <48bc40670606191001v281ef9b8vb48596bb1af6b52c@mail.gmail.com> Here is the end of the RPM install... --> Processing Dependency: libnewt.so.0.51 for package: ntsysv --> Processing Dependency: libxml2-python22 = 2.6.22 for package: libxml2-python--> Finished Dependency Resolution Error: Requiring package crypto-utils-2 not in transaction set nor in rpmdb Error: Requiring package netconfig-0.8.19-1 not in transaction set nor in rpmdb Error: Requiring package expect-5.38.0-92 not in transaction set nor in rpmdb Error: Requiring package redhat-config-securitylevel-tui-1.2.9 not in transaction set nor in rpmdb Error: Requiring package kudzu-1.1.22.14-4.1.centos not in transaction set nor in rpmdb Error: Requiring package perl-Net-DNS-0.57-1.el3 not in transaction set nor in rpmdb Error: Requiring package compat-db-4.0.14-5 not in transaction set nor in rpmdb Error: Requiring package authconfig-None-4.3 not in transaction set nor in rpmdb Error: Requiring package setuptool-1.13-1.centos not in transaction set nor in rpmdb Error: Requiring package newt-perl-1 not in transaction set nor in rpmdb Error: Requiring package rpm-python-4.4.2.4-1.el3 not in transaction set nor in rpmdb Error: Requiring package ntsysv-1.3.13.3-0 not in transaction set nor in rpmdb Error: Requiring package libxml2-python-2.6.22-1.el3 not in transaction set nor in rpmdb error: %post(pyvault-release-bootstrap-3-3.el3.pyv) scriptlet failed, exit status 1 -- "Seriously" - HSR