@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> if i run this wrapper on a friends box, is there a way i can p***word the wrapper so only i can start it?
<1> if -> http://www.tcl.tk/man/tcl8.4/TclCmd/if.htm
<2> anyone good at mysql in tcl?
<3> pixelz you awake tonight?
<4> p4l: prob. working or sleeping, it's 10am in sweden.
<4> ..or studying
<3> ah
<3> you know anything about sql and tcl under freebsd?
<4> not if it's specific to freebsd.. running mysqltcl + tcl8.5 @ debian here.. what's the prob?
<3> i've tried everything i can think of to get it to all work right
<3> mysqltcl, fbsql, sqlite
<3> fbsql and sqlite both compile fine
<3> but have problems when i load then
<3> mysqltcl is just screwed imho for some reason
<3> tclsqlite-3.3.0.so: Undefined symbol "stdout"
<3> thats my error when loading sqlite



<4> hm..
<3> i didnt compile that so, i got it from the sqlite site, they dont have the source for the .so anyone
<3> anywhere*
<3> i got some really off the wall errors with mysqltcl
<3> so im wondering if my problem is freebsd :S
<4> i've no idea.. never really used freebsd.. and i've never seen that err-msg before.. i'll have a check around
<3> i have fedora core 4 running in vmware right now, ima try and compile on that
<3> see if i get the errors still
<4> ba
<4> uhm..
<4> load /usr/lib/tclsqlite3.so Sqlite3 <-did you try running that in tclsh?
<1> load -> http://www.tcl.tk/man/tcl8.4/TclCmd/load.htm
<3> let me try one sec
<4> (if /usr/lib/ is your dir..)
<3> % load /usr/home/p4l/eggdrop/modules-1.6.17/tclsqlite-3.3.0.so Sqlite3
<3> couldn't load file "/usr/home/p4l/eggdrop/modules-1.6.17/tclsqlite-3.3.0.so": /usr/home/p4l/eggdrop/modules-1.6.17/tclsqlite-3.3.0.so: Undefined symbol "stdout"
<3> still having that stdout error :S
<3> for some reason lol
<4> hm
<3> lol the last thing to try is to install everything on my damn router
<3> and see what happens
<4> did you try running it as root? might be a ld-error
<3> can't run as root :S
<3> unfortunetly
<3> shell box
<3> but i might be able to get the owner to do it when he wakes up
<3> but something tells me this is a freebsd / software compatibility issue
<4> okay.. try ld /usr/home/p4l/eggdrop/modules-1.6.17/tclsqlite-3.3.0.so
<3> oh god
<3> what ever that means
<3> can't be good lmfao
<3> about 3/4 a screen of undefined reference
<4> =O
<3> that aint good is it?
<4> probably not.. ;)
<3> ****!
<3> lol
<4> try do this: export LD_LIBRARY_PATH $LD_LIBRARY_PATH:/usr/lib
<3> -bash: export: `:/usr/lib': not a valid identifier
<4> export LD_LIBRARY_PATH /usr/lib:$LD_LIBRARY_PATH
<3> same error
<4> guess my linux knowledge is a little bit rusty.. ;)
<3> freebsd just ****s
<3> dont worry lol
<4> duh..
<4> export LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
<3> sweet that worked
<3> lol
<3> well it didn't error
<3> still have a lot of undefined reference to tho :S
<4> hm, try fbsql.. what was wrong with that?
<3> fbsql lol
<3> something about undefined symbol "__strtol_something"
<4> lol, k
<4> i guess it's not working because you didn't compile it as root.. but i don't know.. just guessing. ;)
<3> see that shouldnt matter i dont think
<3> i didnt compile sqlite either
<3> well tclsqlite
<3> i compiled sqlite
<3> and it works just fine



<4> what tclver is the box running?
<4> % info tclver
<4> ;info tclver
<5> yoe: #2109 (384 clicks) Tcl: 8.5
<3> 8.4
<4> damn.. sorry man.. i meant 'ldd' up there, not 'ld'.. ;)
<3> ahh hehe
<3> lets try now :)
<3> see what happens
<3> ldd /usr/home/p4l/eggdrop/modules-1.6.17/tclsqlite-3.3.0.so
<3> ldd: /usr/home/p4l/eggdrop/modules-1.6.17/tclsqlite-3.3.0.so: not a FreeBSD ELF shared object
<3> bah i think i need santa now
<3> ;)
<4> "Sometimes, ldd is wrong (in FreeBSD), so you should not believe it :)"
<3> ah
<4> sorry man, can't find any useful on google either.. you'll have to stick around 'til a freebsd-hacker turns up.. :)
<3> LMFAO
<3> it loads just fine on fedora core 4
<3> omg im going insane!
<4> :p
<3> i need to find a damn shell provider that is 1) cheap 2) runs something besides freebsd
<3> omg im going to cry lol
<4> try dl the src and compile it
<4> (i think you said you used binaries..?)
<3> yeah i used the source for sqlite
<3> but tclsqlite.so doesnt have src published
<4> ah
<3> or i would have just compiled it also
<3> and i have no clue how to use the damn cvs lol
<4> http://thepiratebay.org/
<4> lol
<4> 156km/h
<3> omfg did i just get libtclsqlite3.so to load!
<3> i think i did!
<3> w0000t
<4> p4l: great
<3> i have no clue what i did
<3> just was playing around with some dependencies
<3> and BAM loaded
<6> whoohoo
<7> what a lame host
<6> not very ace
<8> woohoo: http://mycroft.mozdev.org/download.html?name=tcl+wiki&submitform=Search they finally accepted it :)
<9> mh
<9> whats this hydrairc publicity i get here all the time?
<9> ;string replace
<5> Gotisch: #2155 (1182 clicks) Tcl error: wrong # args: should be "string replace string first last ?string?"
<9> ;regsub
<5> Gotisch: #2156 (461 clicks) Tcl error: wrong # args: should be "regsub ?switches? exp string subSpec ?varName?"
<9> ;join [split {i want to remove all & in this text! there is one here & and here too & wooops there was another one&&} &]
<5> Gotisch: #2157 (313 clicks) Tcl: i want to remove all in this text! there is one here and here too wooops there was another one
<9> ;join [split {i want to remove all & in this text and replace them by \$! there is one here & and here too & wooops there was another one&&} &] \$
<5> Gotisch: #2158 (297 clicks) Tcl: i want to remove all $ in this text and replace them by \$! there is one here $ and here too $ wooops there was another one$$
<9> ;proc string_replace {string what by} { return [join [split $string $what] $by] }
<5> Gotisch: #2159 (581 clicks) Tcl:
<9> ;string_replace "simsalabim" a u
<5> Gotisch: #2160 (558 clicks) Tcl: simsulubim
<4> ;set test {i want to remove all & in this text! there is one here & and here too & wooops there was another one&&}
<5> yoe: #2162 (216 clicks) Tcl: i want to remove all & in this text! there is one here & and here too & wooops there was another one&&
<4> ;regsub -all -- {\&} $test {}
<5> yoe: #2163 (637 clicks) Tcl: i want to remove all in this text! there is one here and here too wooops there was another one
<4> ;join [regsub -all -- {\&} $test {}]
<5> yoe: #2164 (485 clicks) Tcl: i want to remove all in this text! there is one here and here too wooops there was another one
<4> or..
<4> ;join [string map {"\&" ""} $test]
<5> yoe: #2166 (544 clicks) Tcl: i want to remove all in this text! there is one here and here too wooops there was another one
<9> ye whats fastest though?
<4> string map iirc, not much diff tho
<6> re_syntax ?
<1> re_syntax -> http://www.tcl.tk/man/tcl8.4/TclCmd/re_syntax.htm
<10> how can i tell a tcl script to read a winxp env variable?
<10> no ideas_?
<11> they are in an array called env
<11> so array names env will give you the list


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #tcl
or
Go to some related logs:

#firebird
Hi supergirl
#openbsd
the plot to kill reagan
#netbsd
kuruption xxx
#microsoft
#heroin
#beginner
#red



Home  |  disclaimer  |  contact  |  submit quotes