From lelms@UK.oracle.com Mon Jun 23 14:19:14 1997 From: lelms@UK.oracle.com (Lee Elms, (ORACLE UK Response Centre Manager)) Date: 23 Jun 97 14:19:14 +0100 Subject: [DB-SIG] ORACLE d/b API ... Message-ID: <199706231322.OAA13293@uks447> Can anybody help ... I am attempting to 'make' the 'oracledb-0.1.2' module on HP/UX v9 against python v1.3. After making the edits to the Makefile, I get the following error: make if [ "oracledb" != your-module ]; then \ make -f /usr/rc/pms/python/lib/python/lib/Makefile 'INCLDIR=/usr/rc/pms/python/include/Py -I.' CONFIGINCLDIR=/usr/rc/pms/python/lib/python/lib \ ASHAREDMODULE=oracledb \ 'ASHAREDMODULESOBS=oradbmodule.o dbi.o ' \ 'ASHAREDMODULESEXTRA=-lm /usr/infosrv/v714/lib/libocic.a /usr/infosrv/v714/lib/libora.a /usr/infosrv/v714/lib/libnlsrtl3.a /usr/infosrv/v714/lib/libsqlnet.a /usr/infosrv/v714/lib/libora.a /usr/infosrv/v714/lib/libcore3.a /usr/infosrv/v714/lib/osntab.o /usr/infosrv/v714/lib/libsqlnet.a /usr/infosrv/v714/lib/libc3v6.a /usr/infosrv/v714/lib/libnlsrtl3.a /usr/infosrv/v714/lib/libcore3.a' \ 'OPT=-I./ ' \ asharedmodule; \ fi Make: Don't know how to make asharedmodule. Stop. *** Error code 1 My knowledge of 'make' is limited ... I don't understand the significance of 'asharedmodule' ... I expect there is some 'obvious' stage that I have missed ... -- Lee Elms _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From jim.fulton@digicool.com Mon Jun 23 16:07:29 1997 From: jim.fulton@digicool.com (Jim Fulton) Date: Mon, 23 Jun 1997 11:07:29 -0400 Subject: [DB-SIG] ORACLE d/b API ... References: <199706231322.OAA13293@uks447> Message-ID: <33AE9131.4F2D@digicool.com> The 1.3 Makefile assumes that you have made some changes to Python 1.3's Makefile (Modules/Makefile.pre.in). Unfortunately, we forgot to tell you what these changes were. :-( In Modules/Makefile.pre.in, you need to add: # ------ begin lines to add -------------- asharedmodule: $(ASHAREDMODULE)$(SO) $(ASHAREDMODULE)$(SO): $(ASHAREDMODULESOBS) $(LDSHARED) -o $(ASHAREDMODULE)$(SO) \ $(ASHAREDMODULESOBS) \ $(ASHAREDMODULESEXTRA) # ------- end lines to add --------------- after the line that looks like: all: $(LIB) ../python sharedmods Jim Lee Elms, (ORACLE UK Response Centre Manager) wrote: > > Can anybody help ... I am attempting to 'make' the 'oracledb-0.1.2' module on > HP/UX v9 against python v1.3. After making the edits to the Makefile, I get > the following error: > > > make > if [ "oracledb" != your-module ]; then \ > make -f /usr/rc/pms/python/lib/python/lib/Makefile > 'INCLDIR=/usr/rc/pms/python/include/Py -I.' > CONFIGINCLDIR=/usr/rc/pms/python/lib/python/lib \ > ASHAREDMODULE=oracledb \ > 'ASHAREDMODULESOBS=oradbmodule.o dbi.o ' \ > 'ASHAREDMODULESEXTRA=-lm /usr/infosrv/v714/lib/libocic.a > /usr/infosrv/v714/lib/libora.a /usr/infosrv/v714/lib/libnlsrtl3.a > /usr/infosrv/v714/lib/libsqlnet.a /usr/infosrv/v714/lib/libora.a > /usr/infosrv/v714/lib/libcore3.a /usr/infosrv/v714/lib/osntab.o > /usr/infosrv/v714/lib/libsqlnet.a /usr/infosrv/v714/lib/libc3v6.a > /usr/infosrv/v714/lib/libnlsrtl3.a /usr/infosrv/v714/lib/libcore3.a' \ > 'OPT=-I./ ' \ > asharedmodule; \ > fi > Make: Don't know how to make asharedmodule. Stop. > *** Error code 1 > > > My knowledge of 'make' is limited ... I don't understand the significance of > 'asharedmodule' ... I expect there is some 'obvious' stage that I have missed > ... > > > > -- Lee Elms > > _______________ > DB-SIG - SIG on Tabular Databases in Python > > send messages to: db-sig@python.org > administrivia to: db-sig-request@python.org > _______________ -- Jim Fulton Digital Creations jim@digicool.com 540.371.6909 ## Python is my favorite language ## ## http://www.python.org/ ## _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________ From jim.fulton@digicool.com Wed Jun 25 01:06:30 1997 From: jim.fulton@digicool.com (Jim Fulton) Date: Tue, 24 Jun 1997 20:06:30 -0400 Subject: [DB-SIG] New oracledb module release Message-ID: <33B06106.45EC@digicool.com> I've fixed a couple of Makefile bugs in the oracledb module release. A new release with these fixes can be found at: http://www.digicool.com/releases/unsupported/oracle/ Jim _______________ DB-SIG - SIG on Tabular Databases in Python send messages to: db-sig@python.org administrivia to: db-sig-request@python.org _______________