[M3devel] building packages from source from cvs -- odbc

Hendrik Boom hendrik at topoi.pooq.com
Thu May 17 04:35:33 CEST 2012


On Wed, May 16, 2012 at 09:49:03PM -0400, Hendrik Boom wrote:
> On Thu, May 17, 2012 at 12:06:00AM +0000, Jay K wrote:
> > 
> >      > *** LIBRARY_PATH shouldn't contain the current directory when  
> >      > *** building gcc. Please change the environment variable  
> >      > *** and run configure again.  
> >     hendrik at april:~/cm3/cm3/scripts/python$ echo $LIBRARY_PATH  
> >   :/usr/local/Gambit-C/lib  
> >  Please either clear the variable, or at least remove the leading :.The leading : makes there be an empty entry, which is interpreted as current directory, which is dangerous and fragile. I think.This is a local problem on your machine. Easily fixed.   It might be reasonable for us to clear it in m3cc/src/m3makefile.   - Jay 		 	   		  
> 
> Yes, emptying LIBRARY_PATH enabled uprade.py to complete successfully.
> Thanks.  It would have taken me many ages to figure this out.
> 
> -- hendrik
> 
Now I'm onto ./make-dist.py

It fails in teh data base stuff.

First becaues it didn't have libodbc.  So I installed package unixodbc.
But then:

== package /farhome/hendrik/cm3/cm3/m3-db/odbc ==

 +++ /tmp/tmp_T7ITL/cm3-all-AMD64_LINUX-d5.9.0-20120516/bin/cm3    -build -DROOT=/farhome/hendrik/cm3/cm3 +++
--- building in AMD64_LINUX ---

ignoring ../src/m3overrides

 ==> /farhome/hendrik/cm3/cm3/m3-db/odbc done

 +++ /tmp/tmp_T7ITL/cm3-all-AMD64_LINUX-d5.9.0-20120516/bin/cm3  -ship -DROOT=/farhome/hendrik/cm3/cm3 +++
--- shipping from AMD64_LINUX ---

. => /tmp/tmp_T7ITL/cm3-all-AMD64_LINUX-d5.9.0-20120516/pkg/odbc/AMD64_LINUX
  .M3EXPORTS      
. => /tmp/tmp_T7ITL/cm3-all-AMD64_LINUX-d5.9.0-20120516/lib
  libm3odbc.so.5  "/farhome/hendrik/cm3/cm3/m3-db/odbc/AMD64_LINUX/.M3SHIP", line 4: quake runtime error: unable to copy "libm3odbc.so.5" to "/tmp/tmp_T7ITL/cm3-all-AMD64_LINUX-d5.9.0-20120516/lib/libm3odbc.so.5": errno=2

--procedure--  -line-  -file---
install_file       --  <builtin>
                    4  /farhome/hendrik/cm3/cm3/m3-db/odbc/AMD64_LINUX/.M3SHIP

Fatal Error: package build failed
 *** execution of [<function _BuildGlobalFunction at 0x1a56de8>, <function _ShipFunction at 0x1a56c80>] failed ***
hendrik at april:~/cm3/cm3/scripts/python$ 


It doesn't seem to build libm3odbc.so.5

hendrik at april:~/cm3/cm3/m3-db/odbc$ ls AMD64_LINUX/
libm3odbc.a    libm3odbc.so  SQLext.mo  SQLtypes.io
libm3odbc.m3x  SQLext.io     SQL.io
hendrik at april:~/cm3/cm3/m3-db/odbc$ 

There's nothing at all in /tmp/tmp_T7ITL/cm3-all-AMD64_LINUX-d5.9.0-20120516/pkg/odbc/AMD64_LINUX
There are lots of files in /tmp/tmp_T7ITL/cm3-all-AMD64_LINUX-d5.9.0-20120516/lib,
but nothing resembling libm3odbc>

-- hendrik





More information about the M3devel mailing list