Re: FW: Cannot install GIRS driver

Alec Leamas <[email protected]>
Newsgroups gmane.comp.hardware.lirc
Message-ID <[email protected]>

On 09/03/17 17:40, Chris van Hoven wrote:
> Ok, sorry - I have to get used to this mailing list, so please indulge me
> :-)
>
> What I did now: I removed EVERYTHING LIRC and reinstalled to get to a
> defined state.
>
> cd /tmp
> wget http://prdownloads.sourceforge.net/lirc/lirc-0.9.4d.tar.bz2
> tar -jxf lirc-0.9.4d.tar.bz2
> cd lirc-0.9.4d
> aclocal && autoheader && autoconf
> ./configure --prefix=/usr
> make && sudo make install

There is a autogen.sh script for this...
>
> lirc_options.conf  was created in /usr/etc/lirc. I set the loglevel to debug
> using loglevel = debug.
>
> I tested this first, it returns an error:
>
> lircd -d /dev/ttyUSB0
> Warning: cannot open /etc/lirc/lirc_options.conf
> can't open or create /var/run/lirc/lircd.pid: No such file or directory
>
> The directory it looks for lirc_options.conf does not match the directory
> lirc_options.conf is created in. Shall I just create /etc/lirc and MOVE
> everything in /usr/etc/lirc to this directory?

So,in this setup you need to add --sysconfdir=/etc as well to configure 
before building.

You also need to make sure that the directory /var/run/lirc exists and 
is writable.

What's your platform?


--a

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.