From ante at Update.UU.SE Wed Mar 2 23:26:50 2005 From: ante at Update.UU.SE (Andreas Davour) Date: Thu, 3 Mar 2005 00:26:50 +0100 (CET) Subject: [regex-coach] Strange fatal error Message-ID: When I tried to run regexp-coach under FreeBSD (with Linux compatibility enabled) I happened upon the following strange error: Error: Could not register handle for external module #:CAP: libXm.so.3: cannot open shared object file: No such file or directory. 20957C18 20207EDC -> 20207E02 = #:DEB 20957C34 20055887 -> 20055812 = (#:SYM 2176) 20957C5C 2020823F -> 202080EA = #:CON 20957C88 20167D82 -> 20167CB2 = (#:SYM 1636) 20957C9C 20167FD8 -> 20167F6A = (#:SYM 5419) 20957CC4 2017213B -> 2017205A = (#:SYM 694) 20957D04 2021438D -> 20214372 = (#:SYM 5567) 20957D10 20485A00 -> 204859A2 = (#:SYM 5374) 20957D18 205B6440 -> 205B6422 = # 20957D28 204A38B7 -> 204A37A2 = # 20957E00 20186E0B -> 20186DE2 = (#:SYM 4003) 20957E10 20186EFA -> 20186E92 = (#:SYM 4732) Then I did: ante at Upheaval$ locate libXm.so.3 /usr/X11R6/lib/libXm.so.3 ante at Upheaval$ So, after trussing the image I realize that it's doing some very odd stuff. How about distributing this as source instead? Or can someone produce a FreeBSD version of this program for me? /Andreas -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From edi at agharta.de Thu Mar 3 00:06:52 2005 From: edi at agharta.de (Edi Weitz) Date: Thu, 03 Mar 2005 01:06:52 +0100 Subject: [regex-coach] Strange fatal error In-Reply-To: (Andreas Davour's message of "Thu, 3 Mar 2005 00:26:50 +0100 (CET)") References: Message-ID: On Thu, 3 Mar 2005 00:26:50 +0100 (CET), Andreas Davour wrote: > When I tried to run regexp-coach under FreeBSD (with Linux > compatibility enabled) I happened upon the following strange error: > > Error: Could not register handle for external module #:CAP: > libXm.so.3: cannot open shared object file: No such file or directory. > 20957C18 20207EDC -> 20207E02 = #:DEB > 20957C34 20055887 -> 20055812 = (#:SYM 2176) > 20957C5C 2020823F -> 202080EA = #:CON > 20957C88 20167D82 -> 20167CB2 = (#:SYM 1636) > 20957C9C 20167FD8 -> 20167F6A = (#:SYM 5419) > 20957CC4 2017213B -> 2017205A = (#:SYM 694) > 20957D04 2021438D -> 20214372 = (#:SYM 5567) > 20957D10 20485A00 -> 204859A2 = (#:SYM 5374) > 20957D18 205B6440 -> 205B6422 = # > 20957D28 204A38B7 -> 204A37A2 = # > 20957E00 20186E0B -> 20186DE2 = (#:SYM 4003) > 20957E10 20186EFA -> 20186E92 = (#:SYM 4732) > > Then I did: > ante at Upheaval$ locate libXm.so.3 > /usr/X11R6/lib/libXm.so.3 > ante at Upheaval$ > > So, after trussing the image I realize that it's doing some very odd > stuff. You seem to be using a version of OpenMotif that's binary-incompatible with Regex Coach. Or, even more likely, Regex Coach is searching for the library below /compat/linux. Maybe these links will help: (Note that Regex Coach was built with the 4.3 version of the LispWorks compiler but some of the 4.1/4.2 entries might still apply.) > How about distributing this as source instead? I have no plans to do that. > Or can someone produce a FreeBSD version of this program for me? There is no version of the LispWorks compiler for FreeBSD. Edi. From ante at Update.UU.SE Thu Mar 3 08:45:48 2005 From: ante at Update.UU.SE (Andreas Davour) Date: Thu, 3 Mar 2005 09:45:48 +0100 (CET) Subject: [regex-coach] Strange fatal error In-Reply-To: References: Message-ID: On Thu, 3 Mar 2005, Edi Weitz wrote: > On Thu, 3 Mar 2005 00:26:50 +0100 (CET), Andreas Davour wrote: > >> When I tried to run regexp-coach under FreeBSD (with Linux >> compatibility enabled) I happened upon the following strange error: [snip] >> So, after trussing the image I realize that it's doing some very odd >> stuff. > > You seem to be using a version of OpenMotif that's binary-incompatible > with Regex Coach. Or, even more likely, Regex Coach is searching for > the library below /compat/linux. > > Maybe these links will help: > > > > I'll check thos links and see if I find some help there. >> How about distributing this as source instead? > > I have no plans to do that. You wouldn't mind expanding a bit upon that position? I could probably have solved this problme myself in 10 minutes if I had the source, and contributed code to make your program even better. >> Or can someone produce a FreeBSD version of this program for me? > > There is no version of the LispWorks compiler for FreeBSD. And, you mean, it's not possible to build without one? Why? /andreas -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From ante at Update.UU.SE Thu Mar 3 09:08:03 2005 From: ante at Update.UU.SE (Andreas Davour) Date: Thu, 3 Mar 2005 10:08:03 +0100 (CET) Subject: [regex-coach] Strange fatal error In-Reply-To: References: Message-ID: Reading about which versions of lesstif and openmotif which worked proved enlightening. FreeBSD users are adviced to install the linux-openmotif-2.2.4_1 port. /andreas -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From edi at agharta.de Thu Mar 3 17:36:12 2005 From: edi at agharta.de (Edi Weitz) Date: Thu, 03 Mar 2005 18:36:12 +0100 Subject: [regex-coach] Strange fatal error In-Reply-To: (Andreas Davour's message of "Thu, 3 Mar 2005 09:45:48 +0100 (CET)") References: Message-ID: On Thu, 3 Mar 2005 09:45:48 +0100 (CET), Andreas Davour wrote: > You wouldn't mind expanding a bit upon that position? Sure. What do you want to know? > I could probably have solved this problme myself in 10 minutes if I > had the source Probably not. The way OpenMotif is found is hard-coded into CAPI and can't be changed even if you have the source code to Regex Coach. > and contributed code to make your program even better. So, you're an experienced Common Lisp hacker? > And, you mean, it's not possible to build without one? Why? Because it relies on CAPI for the GUI part. Without the GUI it's not much more than my CL-PPCRE library which is already available in source form. There are several free Common Lisp compilers available for FreeBSD so you can hack it as much as you like. Cheers, Edi. From greg.allen at lehman.com Thu Mar 3 17:48:18 2005 From: greg.allen at lehman.com (Allen, Greg) Date: Thu, 3 Mar 2005 17:48:18 -0000 Subject: [regex-coach] CAPI Message-ID: <8D45010F07D19E44A8D3FDEF7A68BC77A1AE3E@logisexm006.leh.lbcorp.lehman.com> It would be great if one day some rather adventurous soul, say, ported the CL-PPCRE code to run under a JVM hosted common lisp (e.g. http://www.cliki.net/Armed%20Bear%20Lisp) and ported the GUI to IBM's attractive SWT gui... Of course that adventurous soul might want to get their fingers on your CAPI based GUI, and you may have reasons for not distributing it? wishful thinking. Greg PS. thanks for regex-coach! -----Original Message----- From: regex-coach-bounces at common-lisp.net [mailto:regex-coach-bounces at common-lisp.net] On Behalf Of Edi Weitz Sent: Thursday, March 03, 2005 5:36 PM To: Andreas Davour Cc: regex-coach at common-lisp.net Subject: Re: [regex-coach] Strange fatal error On Thu, 3 Mar 2005 09:45:48 +0100 (CET), Andreas Davour wrote: > You wouldn't mind expanding a bit upon that position? Sure. What do you want to know? > I could probably have solved this problme myself in 10 minutes if I > had the source Probably not. The way OpenMotif is found is hard-coded into CAPI and can't be changed even if you have the source code to Regex Coach. > and contributed code to make your program even better. So, you're an experienced Common Lisp hacker? > And, you mean, it's not possible to build without one? Why? Because it relies on CAPI for the GUI part. Without the GUI it's not much more than my CL-PPCRE library which is already available in source form. There are several free Common Lisp compilers available for FreeBSD so you can hack it as much as you like. Cheers, Edi. _______________________________________________ regex-coach site list regex-coach at common-lisp.net http://common-lisp.net/mailman/listinfo/regex-coach ------------------------------------------------------------------------------ This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. From ante at Update.UU.SE Thu Mar 3 22:58:59 2005 From: ante at Update.UU.SE (Andreas Davour) Date: Thu, 3 Mar 2005 23:58:59 +0100 (CET) Subject: [regex-coach] Strange fatal error In-Reply-To: References: Message-ID: OK, so maybe I misunderstood you. It almost sounded like you had philosophical grounds for not sharing the source. Now I understand that isn't the case. If you could share it with someone who might want to port it from motif to some other graphics systems, I wouldn't weep. Motif might work, but it sure aint pretty. Anyway, keep lisping. /Andreas -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? From edi at agharta.de Fri Mar 4 05:11:29 2005 From: edi at agharta.de (Edi Weitz) Date: Fri, 04 Mar 2005 06:11:29 +0100 Subject: [regex-coach] CAPI In-Reply-To: <8D45010F07D19E44A8D3FDEF7A68BC77A1AE3E@logisexm006.leh.lbcorp.lehman.com> (Greg Allen's message of "Thu, 3 Mar 2005 17:48:18 -0000") References: <8D45010F07D19E44A8D3FDEF7A68BC77A1AE3E@logisexm006.leh.lbcorp.lehman.com> Message-ID: On Thu, 3 Mar 2005 17:48:18 -0000, "Allen, Greg" wrote: > It would be great if one day some rather adventurous soul, say, > ported the CL-PPCRE code to run under a JVM hosted common lisp (e.g. > http://www.cliki.net/Armed%20Bear%20Lisp) CL-PPCRE purports to be portable Common Lisp, so if it doesn't run on ABCL then that's probably because ABCL isn't fully ANSI-compliant yet. Otherwise that's a bug in CL-PPCRE which should be reported. (In other words: There should be no need to "port" CL-PPCRE.) > and ported the GUI to IBM's attractive SWT gui... > > Of course that adventurous soul might want to get their fingers on > your CAPI based GUI, and you may have reasons for not distributing > it? If someone had plans to do this I'd be glad to help. Cheers, Edi. From edi at agharta.de Fri Mar 18 22:07:10 2005 From: edi at agharta.de (Edi Weitz) Date: Fri, 18 Mar 2005 23:07:10 +0100 Subject: [regex-coach] Re: perl regex In-Reply-To: <013001c52bf2$ad0345c0$0501a8c0@production> (Henry O'Keeffe's message of "Fri, 18 Mar 2005 19:42:53 -0000") References: <013001c52bf2$ad0345c0$0501a8c0@production> Message-ID: Please send questions to the mailing list. On Fri, 18 Mar 2005 19:42:53 -0000, "Henry O'Keeffe" wrote: > test.pl > > #!/home/perl/bin/perl > > $string="im not seeing any yellow"; > if ($string =~ /l*/) > { > print "Should be seeing yellow\n"; > } > else > { > print "Shouldn't be seeing yellow\n"; > } > > > > $ perl test.pl > > Should be seeing yellow Look closely at the screenshot you sent and you'll see the line "Match from 0 to 0" Then try this: edi at miles:/tmp$ perl -le 'print "Match" if "xxx" =~ /l*/' Match edi at miles:/tmp$ perl -le 'print "Match: #$1#" if "xxx" =~ /(l*)/' Match: ##