IRC log for #brlcad on 20070429

00:01.54 IriX64 this is for the birds, would be asier to re-visit xming i think.
00:02.02 IriX64 easier too.
01:14.36 *** join/#brlcad b0ef (n=b0ef@084202026226.customer.alfanett.no)
01:31.37 CIA-22 BRL-CAD: 03johnranderson * 10brlcad/src/conv/g-dxf.c:
01:31.37 CIA-22 BRL-CAD: Was ignoring return code from db_dirbuild(), allowing execution on currupt files.
01:31.37 CIA-22 BRL-CAD: Calls to db_dirbuild should always have the return code checked, There are many
01:31.37 CIA-22 BRL-CAD: instances where this is not done (mostly in the "conv" directory).
02:05.44 CIA-22 BRL-CAD: 03johnranderson * 10brlcad/src/conv/ (16 files): Added check of return value from db_dirbuild()
02:07.02 brlcad woot
02:10.47 CIA-22 BRL-CAD: 03johnranderson * 10brlcad/src/conv/ (iges/g-iges.c jack/g-jack.c): Added check of return of db_dirbuild()
02:17.25 CIA-22 BRL-CAD: 03johnranderson * 10brlcad/src/conv/off/g-off.c: Added check of return of db_dirbuild()
02:24.53 *** join/#brlcad IriX64 (n=mario_du@bas2-sudbury98-1177871943.dsl.bell.ca)
02:29.36 dli_ /var/tmp/portage/sci-misc/brlcad-9999/work/brlcad/src/conv/.libs/lt-asc2g: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory
02:31.09 IriX64 should be in brlcad/lib no?
02:31.39 dli_ IriX64, it's a compiling error
02:32.24 IriX64 but its looking for the .so file check .libs in tcl dir
02:33.02 IriX64 tcl built if you're up to conv
02:35.17 dli_ brlcad-cvs building error: http://pastebin.ca/463733
02:38.01 IriX64 what the heck it did 3 ok why sphflake?
02:38.55 IriX64 maybe libtcl8.5.so ran away from home :P
02:39.37 brlcad dli_: k, thx... due to a recent change that builds libtcl shared instead of static, so libtool fails to look in the tcl build dir
02:40.17 IriX64 my system is weird i can only go by what i know, if you want real help talk to these guys.
02:42.46 brlcad there's supposed to be a fix in configure that compensates, but apparently not working for you
02:44.44 dli_ brlcad, any option to pass to configure?
02:48.39 brlcad dli_: you mean as a long term fix or short term fix?
02:49.13 brlcad long term, it should work as is .. have to figure out what else is needed to make it work
02:49.20 brlcad short term, you can just build static
02:49.33 brlcad for gentoo integration, that certainly won't fly though
02:49.49 dli_ brlcad, it's an error from buidling bench, I'm trying " --disable-bench ", now
02:50.14 brlcad that won't work :)
02:50.30 brlcad bench is just a minimal subset .. and that entire subset is required
02:50.33 dli_ brlcad, then, I will just wait :)
02:52.10 brlcad dli_: another short-term patch -- try adding --disable-shared to the line in configure.ac that says: ac_configure_args="$ac_configure_args --enable-symbols"
02:52.20 brlcad it's near the end of the file
02:52.46 dli_ brlcad, sounds nasty to me
02:52.56 brlcad it's a one-line edit
02:53.22 brlcad heck, you can run this to do it for you:
02:54.12 brlcad perl -pi -e 's/enable-symbols/enable-symbols --disable-shared/' configure.ac
02:54.30 brlcad then re-run ./autogen.sh and configure/compile normally
02:54.52 dli_ brlcad, okay, I will add this line with comment, " short term fix"
02:55.04 brlcad i mean just to test
02:55.30 brlcad for portage integration, there's still the other things we talked about that need to get fixed
02:56.31 dli_ brlcad, okay, I will use tell you how the change works
02:56.50 brlcad thanks
03:20.48 dli_ brlcad, no, doesn't help, ac_configure_args="$ac_configure_args --enable-symbols --disable-shared"
03:21.11 dli_ /var/tmp/portage/sci-misc/brlcad-9999/work/brlcad/src/conv/.libs/lt-asc2g: error while loading shared libraries: libtcl8.5.so: cannot open shared object file: No such file or directory
03:31.54 brlcad er, something's not right or not a clean build
03:32.27 brlcad it's not going to use libtcl8.5.so _at_all_ with --disable-shared
03:33.23 dli_ brlcad, couldn't be, portage always creates new folder for building
03:39.49 brlcad somehow that wasn't a sufficient edit then
03:49.53 smallfoot- brlcad, when will binary win32 release be made?
03:52.30 brlcad smallfoot-: it's all hinging on these last couple remaining build issues in 7.10.1
03:52.38 brlcad hopefully early may
03:54.04 smallfoot- okie cool
03:54.14 smallfoot- build issues?
04:18.53 IriX64 has to build on my system smallfoot :P
04:25.34 brlcad smallfoot-: dealing with the new tcl/tk and finding scripting resources at run-time are the two issues that need resolving
04:26.41 IriX64 brlcad: could activestates windows tcl/tk be used, i have successfully installed those in the past.
04:31.31 smallfoot- oh
04:32.33 IriX64 smallfoot, I'm kidding about building on my system :)
04:33.10 smallfoot- oh
04:33.46 brlcad IriX64: yes, it's sort of required at the moment if you're building the full binary distribution on Windows
04:34.36 IriX64 maybe ill re-install them then
04:35.30 IriX64 could happen
06:02.27 CIA-22 BRL-CAD: 03brlcad * 10brlcad/autogen.sh: fix recursive configure support for when the recursion goes more than one level deep. add more documentation on example use and vars that can be overridden.
12:32.03 *** join/#brlcad cad96 (n=971d47cd@bz.bzflag.bz)
12:34.57 *** part/#brlcad cad96 (n=971d47cd@bz.bzflag.bz)
13:57.20 *** join/#brlcad clock_ (i=clock@84-72-60-158.dclient.hispeed.ch)
16:06.16 *** join/#brlcad elite01 (n=elite01@dslb-088-070-018-216.pools.arcor-ip.net)
16:06.46 *** join/#brlcad Elperion (n=Elperion@p54876ba6.dip.t-dialin.net)
16:06.52 elite01 hi
16:07.35 elite01 why won't puts [expr {1+1}] work in that mged shell?
16:08.14 elite01 i need to create 80 objects, all aligned in a grid, and want to use 2 for loops for that
16:08.25 elite01 so i even read the first bits of some tcl tutorial
16:08.30 elite01 but stuff doesn't really work :/
16:08.46 elite01 is brlcad's tcl interpreted heavily broken or is it just me?
16:11.58 bjorkBSD elite01, doesn't that need a 'puts'?
16:11.59 bjorkBSD or something to feed it into?
16:12.23 elite01 yeah i just tried puts [expr {1+1}]
16:12.31 bjorkBSD and it didn't like that?
16:12.31 elite01 works in tclsh but doesn't in mged :(
16:12.49 elite01 "Error: extra characters after close-brace"
16:12.49 *** join/#brlcad clock_ (i=clock@84-72-62-65.dclient.hispeed.ch)
16:12.51 bjorkBSD oh i just noticed. you did have a puts.
16:13.05 bjorkBSD works here man.
16:13.11 bjorkBSD mged> puts [expr {1+1}]
16:13.12 bjorkBSD 2
16:13.12 bjorkBSD mged>
16:13.26 elite01 expr 1+1 also works
16:13.28 elite01 umpf
16:13.34 elite01 *restarts mged*
16:14.01 elite01 aah ouch that does hurt
16:14.07 elite01 well works now
16:14.23 elite01 looks like i was typing in some expression all the time
16:14.23 bjorkBSD what was causing the error?
16:14.33 elite01 at least i guess so
16:14.51 elite01 well thanks
16:14.51 bjorkBSD which version of brlcad are you using?
16:15.05 elite01 7.8.4
16:15.13 bjorkBSD see topic.
16:15.23 elite01 hm too lazy to update
16:15.26 elite01 as i said, it works now
16:15.36 elite01 and i promise i will update tomorrow or so
16:15.39 elite01 :D
16:15.47 bjorkBSD that's fine.
16:15.57 bjorkBSD what you're using might be adequate for your needs.
16:16.07 elite01 my needs are really low
16:16.54 bjorkBSD design of WMDs huh?
16:17.40 elite01 yeah, don't need too much precision there :)
16:17.45 bjorkBSD nah :-j
16:17.53 bjorkBSD they're disposable items.
16:18.09 elite01 haha
16:23.50 elite01 bjorkBSD, still there?
16:24.08 bjorkBSD no.
16:24.10 elite01 is "in" supposed to work in a for loop?
16:24.20 brlcad elite01: mged shell operates in "glob compatibility mode" by default
16:24.41 brlcad you have to turn on tcl evaluation, or escape the glob characters
16:25.33 brlcad i.e. if you want to list all regions in a geometry database, you might "ls *.r" .. tcl has no globbing concept to know what to do with * by default, but mged's shell does
16:25.52 elite01 ok
16:26.02 elite01 but * and ? is the only globbing isn't it?
16:26.20 brlcad changing the interpreter mode is pretty simple, it's on the File menu under Tcl Evaluation or you can "set glob_compat_mode" to 0 or 1 to turn it on/off
16:26.29 brlcad no, [] are glob chars too
16:26.48 elite01 aah
16:26.50 brlcad hence why puts [expr {1+1}] doesn't work.. that's a character glob set
16:27.01 brlcad e.g. ls [a-f]*.d
16:27.03 elite01 ouch :)
16:27.21 brlcad something like puts \[expr {1+1]\] should work
16:27.31 brlcad er, typo in there
16:27.38 brlcad but you get the idea
16:27.44 brlcad forget what the other glob chars are
16:28.15 elite01 hmm still doesn't explain why that for loop won't work
16:28.17 brlcad if you don't need/want globbing and just want regular tcl shell behavior, you can set glob_compat_mode 0 and it should evaluate
16:28.19 elite01 wait a miinute
16:29.27 elite01 http://nopaste.php-q.net/291936 if you'd be so nice to have a look at it
16:29.42 elite01 coordinates are a bit broken - but the prompt at the end is strange
16:30.55 elite01 globbing doesn't change it
16:34.19 brlcad okay, two issues
16:34.53 brlcad one, the linebreaks are significant, particularly to the 'in' command (this holds true for regular tcl shell too)
16:35.01 brlcad that's why it prompts
16:35.06 elite01 aah
16:35.30 elite01 so i need to use a few \es
16:35.31 brlcad second, you probably need to evaluate the command so that the string is expanded
16:35.51 brlcad try, http://pastebin.ca/464602
16:36.33 elite01 nice, that works!
16:36.35 elite01 thanks :)
16:36.39 brlcad alsok, you're basically creating a pattern that has no transformation, the pattern tool can do that for you too
16:36.52 brlcad yw
16:36.55 elite01 no transformation?
16:37.11 brlcad you're creating a bunch of boxes
16:37.12 elite01 just a few buttons... like on a telephone or the right side of a keyboard
16:37.49 bjorkBSD the numeric keypad
16:37.54 brlcad that's what I mean, you're making a pattern of objects -- the pattern tool (on the Tools) menu will do this for you fairly easily
16:37.55 elite01 yes, that one
16:38.02 bjorkBSD they're both keypads ;)
16:38.02 elite01 ok, thanks again
16:38.18 brlcad no problem
16:38.41 brlcad and if I'd get around to finish upgrading the clone command, that would do exactly what you're doing with one line ;)
16:38.51 brlcad but it only works for v4 databases at the moment still
16:39.28 elite01 sounds nice
16:39.44 brlcad it's awesome :)
16:42.16 brlcad something like "clone -i 1 -n 36 -t 10 0 0 -a 6 0 10 0 keypad.btn" would do that entire keypad with all the corresponding translations
16:43.23 elite01 oook :)
16:43.24 brlcad increment by 1, create 36 copies, translate each by 10 along x and create a new row after every 6
16:44.07 brlcad maybe -a 6 -60 10 0 to reset to the same grid x coord
16:45.06 elite01 just tell people how to use it :)
16:45.33 brlcad it's got integrated help and everything, but yeah -- it's actually one of the easiest and powerful replication interfaces
16:45.34 *** join/#brlcad Twingy (n=justin@74.92.144.217)
17:01.28 elite01 eek everything's spinning
17:02.16 elite01 ha! killed it! :)
17:12.48 elite01 ok, need to bug you again - how do i use the pattern tool? some documentation somewhere>
17:36.19 elite01 ok seems to kind of work :)
17:36.23 brlcad the documentation on the website covers the pattern tool
17:36.29 brlcad vol III iirc
17:36.41 brlcad you stop the spinning with the "0"
17:36.49 elite01 yup
17:37.02 brlcad pressing xyzXYZ in the graphics window sends it spinning
17:37.14 elite01 what a nice keypad :)
17:37.49 brlcad have to run out, but a screenshot would be nifty ;)
17:39.33 elite01 http://pastehere.com/?mguetc
17:40.06 elite01 maybe not a 100% photorealistic - but as i said... requirements are low :)
17:56.46 IriX64 even the default font... ouch
17:57.40 elite01 pff
17:58.13 elite01 now - i want a big region out of those many buttons - like r buttons u glob_aint_work_* :/
17:58.23 elite01 because i'd need an u in front of each button
17:58.30 elite01 now, what to do?
18:18.29 *** part/#brlcad bjorkBSD (n=bjork@ip70-178-214-102.ks.ks.cox.net)
18:41.24 *** join/#brlcad smallfoot- (i=vc@clamwin/translator/smallfoot)
20:52.01 *** join/#brlcad clock_ (i=clock@84-72-62-65.dclient.hispeed.ch)
20:58.22 *** join/#brlcad bjorkBSD (n=bjork@ip70-178-214-102.ks.ks.cox.net)
22:05.15 *** join/#brlcad PrezKennedy (n=Matthew@c-69-251-104-254.hsd1.md.comcast.net)
22:22.02 *** join/#brlcad docelic (n=docelic@212.15.179.131)
23:48.48 *** join/#brlcad bjorkBSD (n=bjork@ip70-178-214-102.ks.ks.cox.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.