1 May 2004 01:15
Re: ruby CVS can't use shared libs on NetBSD
Dick Davies <rasputnik <at> hellooperator.net>
2004-04-30 23:15:12 GMT
2004-04-30 23:15:12 GMT
* Dick Davies <rasputnik <at> hellooperator.net> [0411 18:11]: > * ts <decoux <at> moulon.inra.fr> [0419 16:19]: > > >>>>> "D" == Dick Davies <rasputnik <at> hellooperator.net> writes: > > > > D> Reading symbols from /usr/lib/libpthread.so.0...done. > > D> Loaded symbols for /usr/lib/libpthread.so.0 > > > > PostgreSQL was compiled with -lpthread ? > > > > In this case, you need to compile ruby with --enable-pthread > > Ah, that falls over when miniruby dumps core trying to build digest-md5... > > rasputin <at> lb:ruby$ make > compiling digest/md5 > [1] Illegal instruction (core dumped) ./miniruby ./ext... > *** Error code 132 Ack. Scrub that, that box has a ropey pthread install. Sorry for the noise, I'll try an --enable-pthread install of ruby again... -- -- Life is like a buffet; it's not good but there's plenty of it. Rasputin :: Jack of All Trades - Master of Nuns
rather than C++. FreeRIDE seems to be on the right track.
Neil
I don't know what is right nor wrong...
Maybe make __FILE__ a class with a one useful method, #standalone?
So that instead of 'if $0 == __FILE__' you can type 'if __FILE__.standalone?'
Maybe make a System class, containing a $0 replacement?
What does other languages do ?
--
Simon Strandgaard
RSS Feed