From: Alexander v. d. B. <atv...@ho...> - 2011-12-21 06:56:38
|
Wow Mattia, This was exactly the info I was hoping for, thank you so much! Gonna give it a go next week and will report back. Thanks and merry Christmas to you all, Alexander> Date: Mon, 19 Dec 2011 16:32:13 +0100 > Subject: Re: [lcd4linux] Compiling on Mac OS X Snow Leopard > From: mat...@gm... > To: atv...@ho... > CC: mi...@re...; lcd...@li... > > Hi Alexander and Michael, > > I managed to turn lcd4linux into lcd4mac ;) on an old mac powerbook G4 > with powerPC processor and OS X 10.5.8 (the latest supported OS X > release for this processor architecture). > > I compiled the X11 driver only but I included all the plugins > excluding the following: > > huawei: the flag IUCLC is used in one of the functions and it is > absent in the OS X termios flags > i2c_sensors: PATH_MAX is defined in sys/syslimits.h; by including this > header everything is fine > proc_stat: OS_X doesn't have a proc filesystem so this plugin does not apply > > Excluding this, everything works fine. > > The libtool works a bit differently so you will have to link by hand. > Also depending on your installation the libiconv may differ. You may > want to specify the library full path when linking. > > I also spotted an error in timer.h This header must include the system > header time.h or the struct timespec is undefined. > Presently time.h is included in timer.c. > > Regards, > > Mattia > > > > > > > On Mon, Dec 19, 2011 at 8:22 AM, Alexander van den Bosch > <atv...@ho...> wrote: > > Excellent, thanks for the quick reaction. > > > > Long term plans look like I'll have some hardware running Linux one day, but > > at the moment all I have is a Mac. Macports has allowed me to compile and > > run lots of useful Linux applications like GIMP etc. so I thought why > > not see if I could get lcd4linux up and running too? I was also encouraged > > by the fact that this guy seemed to have done it too last year. > > http://www.civade.com/post/2010/11/10/Installer-afficheur-LCD-44780-lcd4linux-NAS-ReadyNAS-Netgear > > > > Being a (.NET) programmer by trade I'm not afraid of the usual digging work > > that comes with an exercise like this, but manual Linux compiling is fairly > > new to me, so hence this check for possible blind spots on my side. > > > > Anyway, thanks for the suggested compilation options and the smoketest > > script, which I hadn't noticed yet. I'm certainly going to give them a spin! > > > > Best regards, > > > > Alexander > >> Date: Mon, 19 Dec 2011 03:24:40 +0100 > >> From: mi...@re... > >> To: atv...@ho... > >> CC: lcd...@li... > >> Subject: Re: [lcd4linux] Compiling on Mac OS X Snow Leopard > > > >> > >> Hello Alexander, > >> > >> > I'm currently trying to compile lcd4linux on Mac OS X 10.6.8 (Snow > >> > Leopard). I'd like to try it with the X11 driver to > >> > see what it can do for me, and maybe to try and write my own lcd4linux > >> > plugin. Unfortunately I can't get the svn trunk > >> > to build successfully on my machine at the moment. > >> > > >> > Before going into details I'd like to know if what I want to achieve is > >> > possible at all? And if so, are there specific > >> > caveats I might be unaware of? > >> > >> I don't know. First, guess why lcd4linux has "linux" in its name :-) > >> > >> I know that some BSD guys failed long time ago. > >> > >> Maybe some x86 specific low-level port access stuff in drv_parport will > >> fail (which should be removed anyway) > >> > >> you may find the scsript "smoketest.sh" useful, because it will try to > >> compile lcd4linux with all possible combinations > >> of sinlge driver / single plugins. > >> > >> As a first try, I would try to compile it --with-drivers=null > >> --with_plugins=none to make sure there isn't a very basic > >> problem somewhere. > >> > >> > >> > >> regards, Michael > >> > >> > >> > >> -- > >> Michael Reinelt <mi...@re...> > >> http://home.pages.at/reinelt > >> GPG-Key 0xDF13BA50 > >> ICQ #288386781 > > > > ------------------------------------------------------------------------------ > > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > > Microsoft is holding a special Learn Windows Azure training event for > > developers. It will provide a great way to learn Windows Azure and what it > > provides. You can attend the event by watching it streamed LIVE online. > > Learn more at http://p.sf.net/sfu/ms-windowsazure > > _______________________________________________ > > Lcd4linux-users mailing list > > Lcd...@li... > > https://lists.sourceforge.net/lists/listinfo/lcd4linux-users > > |