Hi Paul, All,
First of all apologies for not getting back to you earlier re. last query by Paul. OWFS on Archlinux is currently a background task. OWFS on Raspbian is my foreground task (it works perfectly on Raspbian).

            I've got OWFS going on Archlinux.

            The steps I followed were as follows:

   - Removed the OWFS installed from the AUR Archlinux repository
   - Downloaded owfs-2.9p7 from the sourceforge repo at
   http://downloads.sourceforge.net/sourceforge/owfs/owfs-2.9p7.tar.gz
   (I know there is a later owfs release but I wanted to use the
   release version in Archlinux). Unzipped and untarred that.
   - Changed to the directory *owfs-2.9p7* (where the build tools are )
   - Ran: *./bootstrap*    (I initially thought this applied only to
   development code)
   - Ran: *./configure --prefix=/usr --with-python="/usr/bin/python2"
   --with-pythonconfig="/usr/bin/python2-config"*
            (NOTE: The default Archlinux release of python is 3.xx. The
   above --with-python statements are to direct the build to use python 2)
   - Ran: *make*
   - Ran: *make check*
   - Ran: *sudo make install*

   The above steps ran without errors (there were some warnings which I
   didn't think were show stoppers)

   I then ran: *sudo owfs -u --allow_other -m /mnt/1-wire*

   (I'm using a DS9490R bus master which has a USB interface)

   The above mounted the 1-wire information on /mnt/1-wire. I also read
   the temperature from the 2 sensors attached to the DS9490R which
   changed whenever I held the sensors between my fingers. So it's going.

   One issue however: When I ran *sudo owfs -u --allow_other -m
   /mnt/1-wire *it stayed in the foreground. So I had to open another
   terminal to read the contents of /mnt/1-wire. Backgrounding the
   process did not work.

   Another matter. I'm not sure whether it was me including the
   *./bootstrap* step that made the build work. Just before I started
   the build I noticed that I did not have libtool which I then
   attempted to install but failed. I then updated the installation
   (*sudo pacman -Syu* in Arch) and it installed libtool by itself to
   replace another package (did not note down the former package's
   name). Arch seems to be a very dynamic distribution.

So it is mostly working now - just needs owfs to go into the background when running.

Last point. I needed more packages than indicated by Archlinux's dependency requirements for owfs. One of them is libusb-compat which also wasn't indicated anywhere during the previous build attempts as far as I could see.

Regards
Joe P.

On 16/12/14 23:58, Paul Alfille wrote:
Hi. I'm sorry there build isn't working. Did you do the "./bootstrap, ./configure, make" sequence?

One of the messages:
configure.ac:52 <http://configure.ac:52/>: warning: AM_INIT_AUTOMAKE: two- and three-arguments
forms are deprecated.  For more info, see:
configure.ac:52 <http://configure.ac:52/>:

Is benign. (For that matter, what type of idiots change the format of functions between versions, especially in a package meant to paper over version differences!)

The build works on fedora and ubuntu and opensuse. Did the "automake --add-missing" your error output mentions do anything?

Paul

On Mon, Dec 15, 2014 at 4:56 PM, joep <j...@naturalmethods.org <mailto:j...@naturalmethods.org>> wrote:

    Hi All,
                 I'm trying to build OWFS on a recent version of Archlinux
    (3.12.34-1-ARCH #1 PREEMPT) running on a RaspberryPi but am having
    various difficulties (I've been running owfs on Raspbian for close
    to 2
    years now without any problems). There is an OWFS package in Arch but
    it's failing to run (using --debug and fake devices does not
    help). I've
    already identified that it needs additional libraries installed (eg
    libusb-compat and a host of build environment packages). I also got
    around (I think) around the python version issues (version 3 vs
    version
    4) by using the configure script call specified in Arch's PKGBUILD
    package file.

             The OWFS configure script also seems to require version 1.13
    (am__api_version='1.13') of some of the build tools. Arch has other
    versions of these tools (a lot are at version 1.14). I've changed the
    configure script to 1.14 but still am having issues. The last build
    attempt gave ...

    [pi_1@RasPi_1 owfs-2.9p7]$ sudo make install
    [sudo] password for pi_1:
      cd . && /bin/sh
    /home/pi_1/MyFiles/owfs/owfs-2.9p7/src/scripts/install/missing
    automake-1.14 --foreign
    configure.ac:52 <http://configure.ac:52>: warning:
    AM_INIT_AUTOMAKE: two- and three-arguments
    forms are deprecated.  For more info, see:
    configure.ac:52 <http://configure.ac:52>:
    
http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation
    configure.ac:76 <http://configure.ac:76>: error: required file
    'src/scripts/install/compile' not
    found
    configure.ac:76 <http://configure.ac:76>:   'automake
    --add-missing' can install 'compile'
    Makefile:491: recipe for target 'Makefile.in' failed
    make: *** [Makefile.in] Error 1

             I have found a OWFS build guide on Arch at
    http://sourceforge.net/p/owfs/mailman/message/27811887/ but that's
    from
    2011. Any more recent guides or pointers?

    --
    Regards
    Joe P.


    
------------------------------------------------------------------------------
    Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
    from Actuate! Instantly Supercharge Your Business Reports and
    Dashboards
    with Interactivity, Sharing, Native Excel Exports, App Integration
    & more
    Get technology previously reserved for billion-dollar
    corporations, FREE
    http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
    _______________________________________________
    Owfs-developers mailing list
    Owfs-developers@lists.sourceforge.net
    <mailto:Owfs-developers@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/owfs-developers



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk


_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to