[M3devel] How to compile system from (modified) source?

jay.krell at cornell.edu jay.krell at cornell.edu
Tue Aug 25 21:22:08 CEST 2009


cd m3-db/odbc
rm -rf LINUXLIBC6
cm3 -commands
or look for odbc in install/bin/config/*

  - Jay (phone)

On Aug 25, 2009, at 2:13 PM, hendrik at topoi.pooq.com wrote:

> On Tue, Aug 25, 2009 at 01:56:21AM +0000, Jay K wrote:
>>
>> apt-get install unixodbc
>> etc.
>> ?
>
> I already had unixodbc installed on my system.
>
> Just in case the installation was affected by the build vd buildship
> problem, I restored the std script to its original code (uncommenting
> the fgrep line I had commented out, and commenting out the P= line  
> with
> the long list I had put in, and reran.  Here's what appears to be the
> relevant part of the log:
>
> === package m3-db/odbc ===
> +++ cm3 -build -DROOT='/farhome/hendrik/cm3/love-sq/cm3' - 
> DCM3_VERSION_TEXT='d5.8.2' -DCM3_VERSION_NUMBER='050802' - 
> DCM3_LAST_CHANGED='2009-07-15' $RARGS  && cm3 -ship $RARGS -DROOT='/ 
> farhome/hendrik/cm3/love-sq/cm3' -DCM3_VERSION_TEXT='d5.8.2' - 
> DCM3_VERSION_NUMBER='050802' -DCM3_LAST_CHANGED='2009-07-15'  +++
> --- building in LINUXLIBC6 ---
>
> ignoring ../src/m3overrides
>
> new "/usr/local/cm3/pkg/m3core/LINUXLIBC6/libm3core.a" -> archiving  
> libm3odbc.a
> /usr/bin/ld: cannot find -lodbc
> collect2: ld returned 1 exit status
>  make_lib => 1
> librarian failed building: m3odbc
> Fatal Error: package build failed
> *** execution of cm3 -build -DROOT='/farhome/hendrik/cm3/love-sq/ 
> cm3' -DCM3_VERSION_TEXT='d5.8.2' -DCM3_VERSION_NUMBER='050802' - 
> DCM3_LAST_CHANGED='2009-07-15' $RARGS  && cm3 -ship $RARGS -DROOT='/ 
> farhome/hendrik/cm3/love-sq/cm3' -DCM3_VERSION_TEXT='d5.8.2' - 
> DCM3_VERSION_NUMBER='050802' -DCM3_LAST_CHANGED='2009-07-15'  failed  
> ***
> hendrik at lovesong:~/cm3/love-sq/cm3$ exit
> Script done, file is log9-with-db-again
>
>
> And here's the list of files for package unixodbc in squeeze,
> according to the Debian packages website in case it's useful:
>
> /usr/bin/isql
> /usr/bin/iusql
> /usr/lib/libgtrtst.so.1
> /usr/lib/libgtrtst.so.1.0.0
> /usr/lib/libodbc.so.1
> /usr/lib/libodbc.so.1.0.0
> /usr/lib/libodbccr.so.1
> /usr/lib/libodbccr.so.1.0.0
> /usr/lib/odbc/libnn.so
> /usr/lib/odbc/libodbctxt.so
> /usr/share/doc/unixodbc/AUTHORS
> /usr/share/doc/unixodbc/NEWS.gz
> /usr/share/doc/unixodbc/README
> /usr/share/doc/unixodbc/README.GTK
> /usr/share/doc/unixodbc/README.MySql
> /usr/share/doc/unixodbc/changelog.Debian.gz
> /usr/share/doc/unixodbc/changelog.gz
> /usr/share/doc/unixodbc/copyright
> /usr/share/lintian/overrides/unixodbc
> /usr/share/man/man1/isql.1.gz
> /usr/share/man/man1/iusql.1.gz
>
>
> -- hendrik
>



More information about the M3devel mailing list