Re: Automake header install problem
On Wednesday 24 May 2006 23:32, you wrote: On Wednesday, 24 בMay 2006 16:30, Ami Chayun wrote: I added to my src/Makefile.am the following line: include_HEADERS = api.h ... Project structure is (assuming the project is under dir named my_project): headers - my_project/include sources - my_project/src Wrong directory. The Makefile.am is in src/ and the header is in include/ Several options: - You may try to put $(src)/../include/api.h, instead of api.h but even if this work (didn't test it), it's a bad idea because it breaks many assumption about directory recursion, dependency checking etc. - Restructure you code so the headers are in src/ as well (if it's only a few headers and only one is installed, than why bother separating them?) - Or, simply put a single line Makefile.am in include/ as well. Generally, a deep project (composed of a directory tree) is done by: - Having a toplevel Makefile.am: SUBDIRS = include src - Each of the mentioned subdirectories, have its own Makefile.am include/Makefile.am src/Makefile.am - If any subdirectory contains further branches, it can be continued recursively. E.g: if in src/ you have a lib/ subdirectory, then put inside src/Makefile.am: SUBDIRS = lib # all other local targets: bin_PROGRAMS = and add an src/lib/Makefile.am as well - The top level configure.ac should declare *all* Makefiles in all levels in its output macro, since generally, it's a bad idea to nest configure scripts. Bye, Oron, Thanks for the answer. It was indeed the mistake. The situation is a bit more complicated though. My api.h is generated from api.h.in I decided to go for the following solution (in the top level Makefile.am): pkginclude_HEADERS = include/something.h include/api.h This is in order to avoid include/Makefile.am In the beginning of my configure.ac I have: AM_CONFIG_HEADER(include/api.h) which I use to create the .h file from the .h.in When I run ./configure make I get errors in the spirit of: autoheader2.50: warning: missing template: SOCK_PATH autoheader2.50: Use AC_DEFINE([SOCK_PATH], [], [Description]) If I remove include/api.h from the Makefile.am, everything works like a charm. How can I overcome this and still install my precious header file? :-) Thanks again, Ami To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Directories names with spaces inside
I need to perform some task on specific files recusrsively. Problem is that directories names can contain spaces. Something like that (in /bin/sh) does not works: for f in `find . -name '*.c*'`; do file $f; done it choks on directories with spaces.. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Directories names with spaces inside
On Thu, 2006-05-25 at 10:01 +0300, Michael Sternberg wrote: I need to perform some task on specific files recusrsively. Problem is that directories names can contain spaces. Something like that (in /bin/sh) does not works: for f in `find . -name '*.c*'`; do file $f; done it choks on directories with spaces.. Try: find . -name \*.c\* -exec file \{\} \; (I tested it under /bin/bash on a directory named 'spa ce', and it worked for me.) --- Omer -- You haven't made an impact on the world before you caused a Debian release to be named after Snufkin. My own blog is at http://tddpirate.livejournal.com/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Directories names with spaces inside
On 5/25/06, Michael Sternberg [EMAIL PROTECTED] wrote: I need to perform some task on specific files recusrsively. Problem is that directories names can contain spaces. Something like that (in /bin/sh) does not works: for f in `find . -name '*.c*'`; do file $f; done That's what find -print0 and xargs -0 were invented for: find -name *.c* -print0 | xargs -0 -n 1 file will do the same as your sample. Since file can take multiple file names you can drop the -n 1. (. as the only path for find is pre-gnu-find legacy, you don't need it) --Amos -- (a grizzly) can tear through a tree like a Jewish mother through self-esteem. - The Simpsons To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
New book version (was: Re: Automake header install problem)
BTW - I was going to ask (once again) for a pointer to *relevant* documentation when a little googling revealed to me that last February the only book about this tool set (that I'm ware of) was updated to current tool versions. Ref: http://sources.redhat.com/autobook/ Hope you find this useful... --Amos -- (a grizzly) can tear through a tree like a Jewish mother through self-esteem. - The Simpsons To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Hallelujah! Hspell 1.0 is released.
On Tue, 2006-05-16 at 10:37 +0300, Dan Kenigsberg wrote: We are proud to present a new version of Hspell, the free Hebrew spell-checker. As usual, you can find the new release in the project's homepage, at: http://ivrix.org.il/projects/spell-checker/ In this release, as many as 1,500 missing base words were added, bringing Hspell one step closer to full coverage of the modern Hebrew language. Note that one of these 1,500 is none other than the word Hallelujah. Not only people who use Hspell directly will benefit from this release. Recently, more and more applications have been adopting Hspell for Hebrew spell checking. Their users use Hspell - often without even knowing it. Aspell, OpenOffice, Mozilla, and recently even Google's GMail, all use Hspell's word list for their Hebrew spell checking. Soon, users of these and other applications will also be able to enjoy the improved vocabulary of Hspell 1.0. The designation 1.0 does not mean that we think that Hspell is complete. We do, however, think that at this point we can confidently say that Hspell is mature, with a vocabulary large enough to satisfy most users. In fact, Hspell's vocabulary is comparable in size (22589 base words) to some of the printed Hebrew dictionaries. Hspell's interfaces (pipe interface, C API, and word lists created for Aspell) have also proven themselves useful over the last several releases, even if they still leave a lot of room for future improvement. We hope that you find Hspell as useful as we have had fun writing it, Nadav and Dan. Lag BaOmer, 5766 Congrats for the great work. Did you have any luck getting the GNOME people to integrate support for it? (AFAIK KDE already supports it) Gilboa = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Hallelujah! Hspell 1.0 is released.
On Thu, 2006-05-25 at 12:01 +0300, Gilboa Davara wrote: Congrats for the great work. Did you have any luck getting the GNOME people to integrate support for it? (AFAIK KDE already supports it) BTW - is there a way to make GNOME based browsers (firefox/epiphany/galeon) do online spell checking in forms like Konqueror and Safari do? I saw some spell checker extensions for mozilla/firefox, but all require that you manually activate a spell checking action when you are done. -- Oded ::.. Life's not fair, but the root password helps. -- S.Travaglia = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Hallelujah! Hspell 1.0 is released.
On Thu, 2006-05-25 at 13:03 +0300, Oded Arbel wrote: On Thu, 2006-05-25 at 12:01 +0300, Gilboa Davara wrote: Congrats for the great work. Did you have any luck getting the GNOME people to integrate support for it? (AFAIK KDE already supports it) BTW - is there a way to make GNOME based browsers (firefox/epiphany/galeon) do online spell checking in forms like Konqueror and Safari do? No idea... I'm using vim7 to spell check forms via the View Source With extension. Ugly, but works. I saw some spell checker extensions for mozilla/firefox, but all require that you manually activate a spell checking action when you are done. Umm.. which ones? -- Oded ::.. Life's not fair, but the root password helps. -- S.Travaglia = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
inline spell checking in GNOME browsers [was Hallelujah! Hspell 1.0 is released.]
Apparently, inline spell checking is in the firefox 2.0 alpha release. http://www.mozilla.org/projects/bonecho/releases/2.0a2.html Jason On Thu, 2006-05-25 at 13:03 +0300, Oded Arbel wrote: On Thu, 2006-05-25 at 12:01 +0300, Gilboa Davara wrote: Congrats for the great work. Did you have any luck getting the GNOME people to integrate support for it? (AFAIK KDE already supports it) BTW - is there a way to make GNOME based browsers (firefox/epiphany/galeon) do online spell checking in forms like Konqueror and Safari do? No idea... I'm using vim7 to spell check forms via the View Source With extension. Ugly, but works. I saw some spell checker extensions for mozilla/firefox, but all require that you manually activate a spell checking action when you are done. Umm.. which ones? -- Oded ::.. Life's not fair, but the root password helps. -- S.Travaglia = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- Jason Friedman Ph.D. Student Department of Computer Science and Applied Mathematics Weizmann Institute of Science, Rehovot, Israel. Home page: http://www.wisdom.weizmann.ac.il/~jason = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Hallelujah! Hspell 1.0 is released.
On Thu, 2006-05-25 at 14:50 +0300, Gilboa Davara wrote: I saw some spell checker extensions for mozilla/firefox, but all require that you manually activate a spell checking action when you are done. Umm.. which ones? Type in your firefox's address bar: firefox spell checker ;-) -- Oded ::.. Illegal aliens have always been a problem in the United States. Ask any Indian. -- Robert Orben = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Hallelujah! Hspell 1.0 is released.
On Thu, 2006-05-25 at 15:14 +0300, Oded Arbel wrote: On Thu, 2006-05-25 at 14:50 +0300, Gilboa Davara wrote: I saw some spell checker extensions for mozilla/firefox, but all require that you manually activate a spell checking action when you are done. Umm.. which ones? Type in your firefox's address bar: firefox spell checker ;-) The only spell checker I ever saw was spellbound... and at least when I check it, it was -far- from being usable. I rather use the vim plug-in :) (Though it would have been nice if I could embed vim as the form edit... I wonder if konq can do it?) Gilboa = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
email web security
Hi, I hope this is not to much of topic but does anyone know if web mail for example yahoo mail gets somehow stored on the local disk while reading or writing it (specifically if you did not save to the disk)? ( Please no specualtions about the swap I assume in the long run it get run over.) Thanks Ghiora = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: email web security
Your Web browser's cache? On Thu, 2006-05-25 at 17:11 +0300, Ghiora Drori wrote: Hi, I hope this is not to much of topic but does anyone know if web mail for example yahoo mail gets somehow stored on the local disk while reading or writing it (specifically if you did not save to the disk)? ( Please no specualtions about the swap I assume in the long run it get run over.) Thanks Ghiora -- You haven't made an impact on the world before you caused a Debian release to be named after Snufkin. My own blog is at http://tddpirate.livejournal.com/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
OT: Unsubscribe from linux-il
Apologies for the OT, but I can't unsubscribe [EMAIL PROTECTED] from this list even after following the instructions provided by Listar. Would appreciate help with manual removal. -- Regards, Uri Sharf Ed., Linmagazine http://linmagazine.co.il Linux, Open Source and Free Culture -- Forwarded message -- From: Listar Mailing List Manager listar@cs.huji.ac.il Date: May 25, 2006 8:00 AM Subject: Unsubscription confirmation for 'linux-il' To: [EMAIL PROTECTED] # Someone, possibly you, has requested that you be unsubscribed from the # linux-il mailing list. # To unsubscribe send the exact following 3 lines to listar@cs.huji.ac.il: // job appunsub linux-il [EMAIL PROTECTED] 4475C699:B935:yvahkvy // eoj --- Listar v0.124a - job execution complete.
Re: email web security
On 5/26/06, Omer Zak [EMAIL PROTECTED] wrote: Your Web browser's cache? If it's over SSL (as it is at least with Gmail) then it shouldn't be cached, should it? On Thu, 2006-05-25 at 17:11 +0300, Ghiora Drori wrote: Hi, I hope this is not to much of topic but does anyone know if web mail for example yahoo mail gets somehow stored on the local disk while reading or writing it (specifically if you did not save to the disk)? ( Please no specualtions about the swap I assume in the long run it get run over.) Thanks Ghiora -- You haven't made an impact on the world before you caused a Debian release to be named after Snufkin. My own blog is at http://tddpirate.livejournal.com/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] -- (a grizzly) can tear through a tree like a Jewish mother through self-esteem. - The Simpsons To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: email web security
Hi Yahoo mail is not through SSL or am i wrong about this? This of course means anyone can also listen online. Thanks Ghiora Amos Shapira wrote: On 5/26/06, Omer Zak [EMAIL PROTECTED] wrote: Your Web browser's cache? If it's over SSL (as it is at least with Gmail) then it shouldn't be cached, should it? On Thu, 2006-05-25 at 17:11 +0300, Ghiora Drori wrote: Hi, I hope this is not to much of topic but does anyone know if web mail for example yahoo mail gets somehow stored on the local disk while reading or writing it (specifically if you did not save to the disk)? ( Please no specualtions about the swap I assume in the long run it get run over.) Thanks Ghiora -- You haven't made an impact on the world before you caused a Debian release to be named after Snufkin. My own blog is at http://tddpirate.livejournal.com/ My opinions, as expressed in this E-mail message, are mine alone. They do not represent the official policy of any organization with which I may be affiliated in any way. WARNING TO SPAMMERS: at http://www.zak.co.il/spamwarning.html = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED] = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: email web security
As far as I know, NONE of the major webmails is SSL; They (GMAIL, Yahoo!, etc.) just transfer passwords through SSL, and that's all. With today's hardware, https is still too heavy for regular work, but this is going to change. I expect that soon they will start to offer SSL also for regular work, but this is not going to happen in the following months. Ghiora Drori wrote: Hi Yahoo mail is not through SSL or am i wrong about this? This of course means anyone can also listen online. Thanks Ghiora Amos Shapira wrote: On 5/26/06, Omer Zak [EMAIL PROTECTED] wrote: Your Web browser's cache? If it's over SSL (as it is at least with Gmail) then it shouldn't be cached, should it? -- Eli Marmor [EMAIL PROTECTED] Netmask (El-Mar) Internet Technologies Ltd. __ Tel.: +972-9-766-1020 8 Yad-Harutzim St. Fax.: +972-9-766-1314 P.O.B. 7004 Mobile: +972-50-5237338 Kfar-Saba 44641, Israel = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: email web security
On 5/26/06, Ghiora Drori [EMAIL PROTECTED] wrote: Hi Yahoo mail is not through SSL or am i wrong about this? You are right - I've just checked it - you can pick secure login but it will move back to plain HTTP after the login succeeds. Yet another reason to avoid them? This of course means anyone can also listen online. Right, which was a concern of mine back when I worked for an employer who's entire system group used to eavesdrop on my desktop. BTW - I've just read that some UK Gmail users had troubles accessing their accounts, scary stuff... Thanks Ghiora --Amos -- (a grizzly) can tear through a tree like a Jewish mother through self-esteem. - The Simpson's To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
Re: Automake header install problem
On Thursday, 25 בMay 2006 09:17, Ami Chayun wrote: Oron, Thanks for the answer. It was indeed the mistake. The situation is a bit more complicated though. My api.h is generated from api.h.in OK, but it does not affect the Makefile.am hierarchy or content -- it is handled only by autoconf/autoheader (through definitions in configure.ac) and then by configure. I decided to go for the following solution (in the top level Makefile.am): pkginclude_HEADERS = include/something.h include/api.h This is in order to avoid include/Makefile.am It's not bad, but if you decided to have include/Makefile.am than it would contain only a single line: pkginclude_HEADERS = something.h api.h (a single line Makefile.am) In the beginning of my configure.ac I have: AM_CONFIG_HEADER(include/api.h) That's stays regardless of your Makefile.am layout. When I run ./configure make I get errors in the spirit of: autoheader2.50: warning: missing template: SOCK_PATH autoheader2.50: Use AC_DEFINE([SOCK_PATH], [], [Description]) If I remove include/api.h from the Makefile.am, everything works like a charm. Did you forget running aclocal before autoconf/automake/autoheader? Looks like your configure.ac reference this macro (SOCK_PATH) and your project does not contain a local version of the macro definition. -- Oron Peled Voice/Fax: +972-4-8228492 [EMAIL PROTECTED] http://www.actcom.co.il/~oron ICQ UIN: 16527398 The most exciting phrase to hear in science, the one that heralds new discoveries, is not Eureka! (I found it!) but That's funny ... -- Isaac Asimov = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]