From: David N. <dno...@ya...> - 2009-01-13 06:16:13
|
Does this file exist on your system: /usr/include/asm/posix_types_32.h It does on my ubuntu ibex system. David ----- Original Message ----- From: "Winston Gadsby" <wg...@ya...> To: "The main list for the MisterHouse home automation program" <mis...@li...> Sent: Monday, January 12, 2009 5:42 PM Subject: [mh] ioctl definitions, configure script, and fc10 > --- On Tue, 10/7/08, Mark E. Perkins <me...@si...> wrote: > >> From: Mark E. Perkins <me...@si...> >> Subject: Re: [mh] configure script >> To: "The main list for the MisterHouse home automation program" >> <mis...@li...> >> Date: Tuesday, October 7, 2008, 4:32 AM >> On 2008/10/06 23:07, Jim Duda wrote: >> > For my fedora 9 system: >> > >> > linux> perl -MConfig -le 'print >> $Config{installsitearch}' >> > >> /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi >> > >> > However, h2ph doesn't give my any new files in >> /usr/local/lib/.... >> > >> > Something foobared on my machine ... >> > >> > Jim >> >> What about the vendor directory? As I said, depending on >> configuration >> when Perl was built, the .ph files might end up in either >> place: >> >> perl -MConfig -le 'print >> $Config{installvendorarch}' >> >> Other than that, a couple of other things to check... Do >> you have more >> than one instance of perl (and, by extension, h2ph) >> installed? If you do, >> you need to be sure you are running the h2ph that goes with >> the particular >> 'perl' binary, 'cuz they will be putting .ph >> files in different places. To >> be clear, it's OK to have more than one version of >> Perl, but you may need >> to be sure that PATH and other environmental settings are >> giving you the >> one you expect/want. >> >> Mark >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move >> Developer's challenge >> Build the coolest Linux based applications with Moblin SDK >> & win great prizes >> Grand prize is a trip for two to an Open Source event >> anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> ________________________________________________________ >> To unsubscribe from this list, go to: >> http://sourceforge.net/mail/?group_id=1365 > > I had the 'Could not find ioctl' serial port problem on fc8 and it was > still there after upgrading to fc10. It's a basic mythdora installation > with the addition of misterhouse. I did a clean install of mythdora 5.xx > (fc8) and upgraded to mythdora 10.21 (fc10). I don't have multiple perl > installations or anything else unusual. > > I've found a simple solution, although it's probably not the ideal one. > Someone suggested adding posix_types_32 to the configure script, but that > change was never put into svn - probably because it didn't work when I > tried it. The problem is with posix_types_32.ph, however. posix_types.ph > includes lines > > require 'posix_types_32.ph' > > ... > > require 'posix_types_64.ph' > > > However, mh isn't able to find posix_types_32.ph (in my case) when it > starts up. It turns out if I change the line in posix_types.ph to > > require 'asm/posix_types_32.ph' > > mh is able to find the ioctl definitions and my cm-17 works fine. Is h2ph > possibly converting the posix_types.h file incorrectly? I haven't yet dug > into h2ph and how it determines how to handle asm, sys, and linux > subdirectory structures. Perhaps the problem is there somewhere. Anyway, > for now, just changing posix_types.ph seems to fix it. > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > |