From: Martin H. <ma...@he...> - 2005-05-27 19:23:50
|
Hi everybody, I know that with all the work everybody put in to get python support working, I'm not going to make myself very appreciated in asking that - but how does one remove the dependency on python from lcd4linux? I didn't see a "--without-python" in the configure script, and the platform that I'm building lcd4linux for (LEAF Bering uClibc) will _never_ support Python (well, unless it tosses aside one of its major project goals - being compact enough to fit on a floppy). Of course, I could patch all python support out of the autoconf files - but I guess that's not quite the way it should be. Any ideas? Martin |
From: Michael R. <re...@eu...> - 2005-05-28 06:24:58
|
Hi Martin, > I know that with all the work everybody put in to get python support > working, I'm not going to make myself very appreciated in asking that - > but how does one remove the dependency on python from lcd4linux? I > didn't see a "--without-python" in the configure script, and the > platform that I'm building lcd4linux for (LEAF Bering uClibc) will > _never_ support Python (well, unless it tosses aside one of its major > project goals - being compact enough to fit on a floppy). I assure you that I always have you "embedded guys" in mind. > Of course, I could patch all python support out of the autoconf files - > but I guess that's not quite the way it should be. There *should* be no problem, because autoconf (especially the python.m4) is meant to check if you have python (-devel), and deactivates all that python stuff if there is none. There are some problems at the moment with the python stuff, but they are autoconf related, and I hope they will get solved soon. Or did I miss something? bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Martin H. <ma...@he...> - 2005-05-28 07:06:45
|
Hi Michael, good timing - I just sent off the other mail... :-) > I assure you that I always have you "embedded guys" in mind. I have no doubt. But I guess it's also very difficult to meet the wishes of such a diverse userbase - people like me want it to be as small as possible, without any dependencies to other packages. Other people want to make lcd4linux part of a bigger application, and hence need python/perl/c++/Java/whatever bindings... > There *should* be no problem, because autoconf (especially the > python.m4) is meant to check if you have python (-devel), and > deactivates all that python stuff if there is none. Right - but autoconf seems to find the python stuff installed on my devel box, which is there just fine, but isn't found during the actual compile (since it's _not_ installed in my sandbox for compiling/linking against uClibc). Remember, I'm doing a little bit of a cross-compile, so whenever configure picks up something that's installed on the devel box but not in the sandbox for uClibc, I'm in trouble. I guess it's just one of the usual problems, where "configure" assumes that the box that the program is being compiled on is the same as the one it will run on. > Or did I miss something? No - I just didn't use the --with-plugins directive properly. Once I used that the compile worked (by specifying every plugin except python), and with the patch I sent in my previous mail, it also works with "all,!python". Martin |
From: Michael R. <re...@eu...> - 2005-05-28 09:14:05
|
Hi Martin, > I have no doubt. But I guess it's also very difficult to meet the wishes > of such a diverse userbase - people like me want it to be as small as > possible, without any dependencies to other packages. Other people want > to make lcd4linux part of a bigger application, and hence need > python/perl/c++/Java/whatever bindings... Well, it wouldn't be that difficult if autoconf would do things like I want it to do. But as always - the computer does what you write, not what you want :-) > I guess it's just one of the usual problems, where "configure" assumes > that the box that the program is being compiled on is the same as the > one it will run on. You are right. Good point - I forgot about cross-compiling. For the moment, the '--with-plugins=all,!python' looks like a good workaround. But for the future, when there will be more python support in lcd4linux, a '--without-python' switch will be the Right Thing (tm). bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Martin H. <ma...@he...> - 2005-05-28 06:56:35
Attachments:
lcd4linux.diff
|
Hi again, sorry for the noise - I managed to get it to work by using the "--with-plugins" directive properly (for some reason I missed that yesterday). Attached is a patch (against HEAD in CVS) for plugins.m4 which seems to fix the problem that something like "--with-plugins=all,!mysql" didn't work. Martin |
From: Michael R. <re...@eu...> - 2005-05-28 09:09:41
|
Hi Martin, > Attached is a patch (against HEAD in CVS) for plugins.m4 which seems to > fix the problem that something like "--with-plugins=all,!mysql" didn't > work. uh-oh... evil, evil bug.... fixed and checked in. Thanks! bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |