sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades inte

OWFS - One Wire File System är en Linuxmjukvara som stödjer de flesta kommersiellt tillgängliga 1wire-enheterna. OWFS saknar helt möjligheter att presentera data - detta måste göras med tex RRDTool
Kategoriregler
Vill du visa bilder i ditt inlägg? Använd funktionen "Ladda upp bilaga" nedanför textrutan!
zacken542
Tar hemautomation på allvar
Inlägg: 82
Blev medlem: 12 dec 2007, 00:34
Ort: Holmsveden

sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades inte

Inlägg av zacken542 »

jag har följt https://wiki.m.nu/index.php/OWFS_p%C3%A5_Rasperry_Pi
Raspberry Pi 11/12 2020

jag har ändrat
cd owfs-3.0p0 ==> cd owfs-3.2p2

men får
sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/
sudo: /opt/owfs/bin/owfs: kommandot hittades inte
vad har jag missat?

Sven Åke
larky
Moderator
Inlägg: 1165
Blev medlem: 01 feb 2008, 12:21
Ort: Skellefteå
Kontakt:

Re: sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades

Inlägg av larky »

Har du installerat owfs?
vad får du för svar om du skriver
ls -l /opt/ ?
file /opt/owfs/bin/owfs ?
zacken542
Tar hemautomation på allvar
Inlägg: 82
Blev medlem: 12 dec 2007, 00:34
Ort: Holmsveden

Re: sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades

Inlägg av zacken542 »

Har du installerat owfs?
Ja jag har följt denna guid
https://wiki.m.nu/index.php/OWFS_p%C3%A5_Rasperry_Pi

s -l /opt/ ?
file /opt/owfs/bin/owfs ?

båda saknas

Tydligen har jag gjort något fel , men frågan är vad
Jag ska köra om allt igen från början så får vi se vad det blir

Sven Åke
larky
Moderator
Inlägg: 1165
Blev medlem: 01 feb 2008, 12:21
Ort: Skellefteå
Kontakt:

Re: sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades

Inlägg av larky »

Ok, på något sätt verkar du inte ha installerat något, gör ett nytt försök
zacken542
Tar hemautomation på allvar
Inlägg: 82
Blev medlem: 12 dec 2007, 00:34
Ort: Holmsveden

Re: sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades

Inlägg av zacken542 »

sudo ./configure
checking whether make supports nested variables... yes
Configuring owfs-3.2p1
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for echo... /usr/bin/echo
checking for test... /usr/bin/test
checking for rm... /usr/bin/rm
checking for rpm... no
checking for rpmbuild... no
checking for swig... no
checking for soelim... /usr/bin/soelim
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) mawk
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... /usr/bin/rm: cannot remove 'conftest*': No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... /usr/bin/rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking if debian-system is used... no (default)
checking for special host... Other host
checking for launch_activate_socket... no
checking if compiler supports nested functions... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking feature_tests.h usability... no
checking feature_tests.h presence... no
checking for feature_tests.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking resolv.h usability... yes
checking resolv.h presence... yes
checking for resolv.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking linux/limits.h usability... yes
checking linux/limits.h presence... yes
checking for linux/limits.h... yes
checking linux/types.h usability... yes
checking linux/types.h presence... yes
checking for linux/types.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for dlfcn.h... (cached) yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking if debug-output is enabled... yes (default)
checking if mutexdebug is enabled... yes (default)
checking if OWSHELL support is enabled... yes (default)
checking if OWLIB support is enabled... yes (default)
checking if OWNETLIB support is enabled... yes (default)
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking if i2c(DS2482-x00) is enabled... yes (default)
checking if W1 is enabled... yes (default)
checking if owhttpd is enabled... yes (default)
checking if owftpd is enabled... yes (default)
checking if owserver is enabled... yes (default)
checking if owexternal is enabled... yes (default)
checking if ownet is enabled... yes (default)
checking if owtap is enabled... yes (default)
checking if owmalloc is enabled... no (default)
checking if owmon is enabled... yes (default)
checking if owcapi is enabled... yes (default)
checking if swig is enabled... auto (default)
checking if owperl is enabled... no (swig disabled)
checking if owphp is enabled... no (swig disabled)
checking if owpython is enabled... no (swig disabled)
checking if owtcl is enabled... yes (default)
Looking for tclConfig.sh
checking for Tcl configuration... configure: WARNING: Can't find Tcl configuration definitions
configure: WARNING: OWTCL is disabled because tclConfig.sh is not found
checking if cflag _XOPEN_SOURCE is required... -D_XOPEN_SOURCE=600
checking if cflag _BSD_SOURCE is required... -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L -D_DEFAULT_SOURCE
checking if extra libs are required...
checking if profiling is enabled... no (default)
configure: WARNING: LD_EXTRALIBS= OSLIBS=
checking if owfs is enabled... auto (default)
checking fuse.h usability... yes
checking fuse.h presence... yes
checking for fuse.h... yes
checking for fuse_main in -lfuse... yes
checking For supported FUSE API version... yes
checking For FUSE version ... 2.2 or later
checking if zeroconf/bonjour is enabled... yes (default)
checking if usb support is enabled... auto (default)
checking for libusb-1.0 >= 0.9.1... yes
checking if Avahi support is enabled... auto (default)
checking for avahi-client... no
checking for avahi_threaded_poll_new in -lavahi-common... no
configure: WARNING: Cannot find libavahi-common
configure: WARNING: libavahi not found, avahi will be disabled
checking if parallel port support is enabled... yes (default)
checking linux/ppdev.h usability... yes
checking linux/ppdev.h presence... yes
checking for linux/ppdev.h... yes
checking for libftdi1-config... no
checking for libftdi-config... no
Testing /usr/bin/libftdi1-config
Testing /usr/bin/libftdi-config
Testing /usr/local/bin/libftdi1-config
Testing /usr/local/bin/libftdi-config
Testing /opt/local/bin/libftdi1-config
Testing /opt/local/bin/libftdi-config
checking if libftdi is available... auto (default)
configure: WARNING: libftdi not found, LinkUSB native will be disabled
checking for struct sockaddr_storage... yes
checking for struct addrinfo... yes
checking for socklen_t... yes
checking for AF_NETLINK... yes
checking for broken glibc with __ss_family... no
checking for core ipv6 support... no
checking if sem_timedwait exists... yes
checking whether string.h and strings.h may both be included... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for strftime... yes
checking for working strtod... yes
checking return type of signal handlers... void
checking for accept... yes
checking for daemon... yes
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking for gethostbyname2_r... yes
checking for gethostbyaddr_r... yes
checking for gethostbyname_r... yes
checking for getservbyname_r... yes
checking for getopt... yes
checking for getopt_long... yes
checking for gmtime_r... yes
checking for gettimeofday... yes
checking for localtime_r... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for memchr... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for strtoul... yes
checking for twalk... yes
checking for tsearch... yes
checking for tfind... yes
checking for tdelete... yes
checking for tdestroy... yes
checking for vasprintf... yes
checking for strsep... yes
checking for vsprintf... yes
checking for vsnprintf... yes
checking for writev... yes
checking for getline... yes
checking for library containing dlopen... -ldl
checking for library containing lrint... -lm
checking for library containing nanosleep... none required
checking for library containing mq_getattr... -lrt
checking for check >= 0.10.0... no
configure: WARNING: "Check unit testing framework not found. "
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating module/Makefile
config.status: creating module/owlib/Makefile
config.status: creating module/owlib/src/Makefile
config.status: creating module/owlib/src/include/Makefile
config.status: creating module/owlib/src/c/Makefile
config.status: creating module/owlib/tests/Makefile
config.status: creating module/owfs/Makefile
config.status: creating module/owfs/src/Makefile
config.status: creating module/owfs/src/include/Makefile
config.status: creating module/owfs/src/c/Makefile
config.status: creating module/owhttpd/Makefile
config.status: creating module/owhttpd/src/Makefile
config.status: creating module/owhttpd/src/include/Makefile
config.status: creating module/owhttpd/src/c/Makefile
config.status: creating module/owserver/Makefile
config.status: creating module/owserver/src/Makefile
config.status: creating module/owserver/src/include/Makefile
config.status: creating module/owserver/src/c/Makefile
config.status: creating module/owftpd/Makefile
config.status: creating module/owftpd/src/Makefile
config.status: creating module/owftpd/src/include/Makefile
config.status: creating module/owftpd/src/c/Makefile
config.status: creating module/ownet/Makefile
config.status: creating module/ownet/php/Makefile
config.status: creating module/ownet/php/examples/ownet_example.php
config.status: creating module/ownet/python/Makefile
config.status: creating module/ownet/perl5/Makefile
config.status: creating module/ownet/c/Makefile
config.status: creating module/ownet/c/src/Makefile
config.status: creating module/ownet/c/src/include/Makefile
config.status: creating module/ownet/c/src/c/Makefile
config.status: creating module/ownet/c/src/example/Makefile
config.status: creating module/owshell/Makefile
config.status: creating module/owshell/src/Makefile
config.status: creating module/owshell/src/include/Makefile
config.status: creating module/owshell/src/c/Makefile
config.status: creating module/owcapi/Makefile
config.status: creating module/owcapi/src/Makefile
config.status: creating module/owcapi/src/include/Makefile
config.status: creating module/owcapi/src/c/Makefile
config.status: creating module/owcapi/src/example/Makefile
config.status: creating module/owcapi/src/example++/Makefile
config.status: creating module/owtap/Makefile
config.status: creating module/owmon/Makefile
config.status: creating module/swig/Makefile
config.status: creating module/swig/perl5/Makefile
config.status: creating module/swig/perl5/OW/Makefile.linux
config.status: creating module/swig/perl5/OW/Makefile.osx
config.status: creating module/swig/php/Makefile
config.status: creating module/swig/php/example/load_php_OW.php
config.status: creating module/swig/python/Makefile
config.status: creating module/swig/python/ow/Makefile
config.status: creating module/swig/python/setup.py
config.status: creating module/owtcl/Makefile
config.status: creating src/Makefile
config.status: creating src/include/Makefile
config.status: creating src/man/Makefile
config.status: creating src/man/man1/Makefile
config.status: creating src/man/man3/Makefile
config.status: creating src/man/man5/Makefile
config.status: creating src/man/mann/Makefile
config.status: creating src/rpm/Makefile
config.status: creating src/rpm/owfs.spec
config.status: creating src/scripts/Makefile
config.status: creating src/scripts/windows/Makefile
config.status: creating src/scripts/windows/owfs.nsi
config.status: creating src/scripts/usb/Makefile
config.status: creating src/scripts/usb/cygwin/Makefile
config.status: creating src/scripts/usb/windows/Makefile
config.status: creating src/scripts/systemd/Makefile
config.status: creating src/include/owfs_config.h
config.status: creating src/include/config.h
config.status: src/include/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
/usr/bin/rm: cannot remove 'libtoolT': No such file or directory

Current configuration:

Deployment location: /opt/owfs

Compile-time options:
USB is enabled
AVAHI is DISABLED
I2C is enabled
W1 is enabled
Parallel port DS1410E is enabled
FTDI (LinkUSB) is DISABLED
Zeroconf/Bonjour is enabled
Debug-output is enabled
Mutexdebug is enabled
Profiling is DISABLED
Tracing memory allocation is DISABLED

Module configuration:
owlib is enabled
owshell is enabled
owfs is enabled
owhttpd is enabled
owftpd is enabled
owserver is enabled
owexternal is enabled
ownet is enabled
ownetlib is enabled
owtap is enabled
owmon is enabled
owcapi is enabled
swig is DISABLED
owperl is DISABLED
owphp is DISABLED
owpython is DISABLED
owtcl is DISABLED

unit tests are DISABLED
Jag har USB 1-wire
vad jag fårstår så är det något som har gått snett här eller är jag helt ute och seglar ?
men vad i så fall?

Sven Åke
larky
Moderator
Inlägg: 1165
Blev medlem: 01 feb 2008, 12:21
Ort: Skellefteå
Kontakt:

Re: sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades

Inlägg av larky »

Nu var det ett tag sen, men det där ser inte katastrofalt dåligt ut.

Skillnaderna är
swig is DISABLED
owperl is DISABLED
owphp is DISABLED
...
owtcl is DISABLED

Jag är osäker på om du behöver någon av dessa.

Kör sista steget i installationen, "sudo make -j 4 && sudo make install" och se hur det går
zacken542
Tar hemautomation på allvar
Inlägg: 82
Blev medlem: 12 dec 2007, 00:34
Ort: Holmsveden

Re: sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades

Inlägg av zacken542 »

Kod: Markera allt

pi@raspberrypi:/usr/src/owfs-3.2p1 $ sudo make -j 4 && sudo make install
Making all in src
make[1]: Entering directory '/usr/src/owfs-3.2p1/src'
Making all in include
make[2]: Entering directory '/usr/src/owfs-3.2p1/src/include'
make  all-am
make[3]: Entering directory '/usr/src/owfs-3.2p1/src/include'
make[3]: Leaving directory '/usr/src/owfs-3.2p1/src/include'
make[2]: Leaving directory '/usr/src/owfs-3.2p1/src/include'
Making all in man
make[2]: Entering directory '/usr/src/owfs-3.2p1/src/man'
Making all in man1
make[3]: Entering directory '/usr/src/owfs-3.2p1/src/man/man1'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/src/man/man1'
Making all in man3
make[3]: Entering directory '/usr/src/owfs-3.2p1/src/man/man3'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/src/man/man3'
Making all in man5
make[3]: Entering directory '/usr/src/owfs-3.2p1/src/man/man5'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/src/man/man5'
Making all in mann
make[3]: Entering directory '/usr/src/owfs-3.2p1/src/man/mann'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/src/man/mann'
make[3]: Entering directory '/usr/src/owfs-3.2p1/src/man'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/src/man'
make[2]: Leaving directory '/usr/src/owfs-3.2p1/src/man'
Making all in rpm
make[2]: Entering directory '/usr/src/owfs-3.2p1/src/rpm'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/src/owfs-3.2p1/src/rpm'
Making all in scripts
make[2]: Entering directory '/usr/src/owfs-3.2p1/src/scripts'
Making all in usb
make[3]: Entering directory '/usr/src/owfs-3.2p1/src/scripts/usb'
Making all in windows
make[4]: Entering directory '/usr/src/owfs-3.2p1/src/scripts/usb/windows'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/src/scripts/usb/windows'
Making all in cygwin
make[4]: Entering directory '/usr/src/owfs-3.2p1/src/scripts/usb/cygwin'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/src/scripts/usb/cygwin'
make[4]: Entering directory '/usr/src/owfs-3.2p1/src/scripts/usb'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/src/scripts/usb'
make[3]: Leaving directory '/usr/src/owfs-3.2p1/src/scripts/usb'
Making all in windows
make[3]: Entering directory '/usr/src/owfs-3.2p1/src/scripts/windows'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/src/scripts/windows'
Making all in systemd
make[3]: Entering directory '/usr/src/owfs-3.2p1/src/scripts/systemd'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/src/scripts/systemd'
make[3]: Entering directory '/usr/src/owfs-3.2p1/src/scripts'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/src/scripts'
make[2]: Leaving directory '/usr/src/owfs-3.2p1/src/scripts'
make[2]: Entering directory '/usr/src/owfs-3.2p1/src'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/usr/src/owfs-3.2p1/src'
make[1]: Leaving directory '/usr/src/owfs-3.2p1/src'
Making all in module
make[1]: Entering directory '/usr/src/owfs-3.2p1/module'
Making all in owshell
make[2]: Entering directory '/usr/src/owfs-3.2p1/module/owshell'
Making all in src
make[3]: Entering directory '/usr/src/owfs-3.2p1/module/owshell/src'
Making all in c
make[4]: Entering directory '/usr/src/owfs-3.2p1/module/owshell/src/c'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/owshell/src/c'
Making all in include
make[4]: Entering directory '/usr/src/owfs-3.2p1/module/owshell/src/include'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/owshell/src/include'
make[4]: Entering directory '/usr/src/owfs-3.2p1/module/owshell/src'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/owshell/src'
make[3]: Leaving directory '/usr/src/owfs-3.2p1/module/owshell/src'
make[3]: Entering directory '/usr/src/owfs-3.2p1/module/owshell'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/module/owshell'
make[2]: Leaving directory '/usr/src/owfs-3.2p1/module/owshell'
Making all in ownet
make[2]: Entering directory '/usr/src/owfs-3.2p1/module/ownet'
Making all in c
make[3]: Entering directory '/usr/src/owfs-3.2p1/module/ownet/c'
Making all in src
make[4]: Entering directory '/usr/src/owfs-3.2p1/module/ownet/c/src'
Making all in c
make[5]: Entering directory '/usr/src/owfs-3.2p1/module/ownet/c/src/c'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/usr/src/owfs-3.2p1/module/ownet/c/src/c'
Making all in include
make[5]: Entering directory '/usr/src/owfs-3.2p1/module/ownet/c/src/include'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/usr/src/owfs-3.2p1/module/ownet/c/src/include'
make[5]: Entering directory '/usr/src/owfs-3.2p1/module/ownet/c/src'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/usr/src/owfs-3.2p1/module/ownet/c/src'
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/ownet/c/src'
make[4]: Entering directory '/usr/src/owfs-3.2p1/module/ownet/c'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/ownet/c'
make[3]: Leaving directory '/usr/src/owfs-3.2p1/module/ownet/c'
make[3]: Entering directory '/usr/src/owfs-3.2p1/module/ownet'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/module/ownet'
make[2]: Leaving directory '/usr/src/owfs-3.2p1/module/ownet'
Making all in owlib
make[2]: Entering directory '/usr/src/owfs-3.2p1/module/owlib'
Making all in src
make[3]: Entering directory '/usr/src/owfs-3.2p1/module/owlib/src'
Making all in c
make[4]: Entering directory '/usr/src/owfs-3.2p1/module/owlib/src/c'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/owlib/src/c'
Making all in include
make[4]: Entering directory '/usr/src/owfs-3.2p1/module/owlib/src/include'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/owlib/src/include'
make[4]: Entering directory '/usr/src/owfs-3.2p1/module/owlib/src'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/owlib/src'
make[3]: Leaving directory '/usr/src/owfs-3.2p1/module/owlib/src'
Making all in tests
make[3]: Entering directory '/usr/src/owfs-3.2p1/module/owlib/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/module/owlib/tests'
make[3]: Entering directory '/usr/src/owfs-3.2p1/module/owlib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/usr/src/owfs-3.2p1/module/owlib'
make[2]: Leaving directory '/usr/src/owfs-3.2p1/module/owlib'
Making all in owhttpd
make[2]: Entering directory '/usr/src/owfs-3.2p1/module/owhttpd'
Making all in src
make[3]: Entering directory '/usr/src/owfs-3.2p1/module/owhttpd/src'
Making all in include
make[4]: Entering directory '/usr/src/owfs-3.2p1/module/owhttpd/src/include'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/owhttpd/src/include'
Making all in c
make[4]: Entering directory '/usr/src/owfs-3.2p1/module/owhttpd/src/c'
  CCLD     owhttpd
/usr/bin/ld: /usr/src/owfs-3.2p1/module/owlib/src/c/.libs/libow.so: undefined reference to `major'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:567: owhttpd] Error 1
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/owhttpd/src/c'
make[3]: *** [Makefile:507: all-recursive] Error 1
make[3]: Leaving directory '/usr/src/owfs-3.2p1/module/owhttpd/src'
make[2]: *** [Makefile:507: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/owfs-3.2p1/module/owhttpd'
make[1]: *** [Makefile:521: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/owfs-3.2p1/module'
make: *** [Makefile:576: all-recursive] Error 1
pi@raspberrypi:/usr/src/owfs-3.2p1 $ 
Sven Åke
larky
Moderator
Inlägg: 1165
Blev medlem: 01 feb 2008, 12:21
Ort: Skellefteå
Kontakt:

Re: sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades

Inlägg av larky »

Det var värre.

Då måste jag börja om med att fråga, varför inte installera via sudo apt-get install owfs ?
Någon särskild anledning till att kompilera själv?

Sen gissar jag att felet ligger i att något annat inte är installerat, fungerade
sudo apt-get install automake autoconf autotools-dev gcc-4.7 libavahi-client-dev libtool libusb-dev libusb-1.0-0-dev libfuse-dev swig python2.7-dev tcl8.5-dev php5-dev
utan varningar?
Stein
Wannabe
Inlägg: 14
Blev medlem: 17 nov 2007, 19:33
Ort: Bromsten/Stockholm

Re: sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades

Inlägg av Stein »

Hej
Sitter med samma problem och har provat att installera manuellt via Howto med olika versioner med OWFS och även via apt-get install owfs.

Ubuntu 20.04.2 LTS på min gamla laptop

Slutar ofta med samma problem som ovan. Är ju inte bäst på linux men jobbar mig framåt långsamt med hjälp av bla detta forum.
Skall det finnas en "mapp" eller "fil" som heter owfs under bin?
mike@ubuntu:/opt/owfs/bin$ ls
owdir owexist owget owpresent owread owusbprobe owwrite
Det här slutar det med när jag sudo make && sudo make install, varesig med -j 4 eller inte

Kod: Markera allt

/usr/bin/ld: /usr/src/owfs-3.2p1/module/owlib/src/c/.libs/libow.so: undefined reference to `major'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:567: owhttpd] Error 1
make[4]: Leaving directory '/usr/src/owfs-3.2p1/module/owhttpd/src/c'
make[3]: *** [Makefile:507: all-recursive] Error 1
make[3]: Leaving directory '/usr/src/owfs-3.2p1/module/owhttpd/src'
make[2]: *** [Makefile:507: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/owfs-3.2p1/module/owhttpd'
make[1]: *** [Makefile:521: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/owfs-3.2p1/module'
make: *** [Makefile:576: all-recursive] Error 1
mike@ubuntu:/usr/src/owfs-3.2p1$ sudo /opt/owfs/bin/owfs -u --allow_other /mnt/1wire/
sudo: /opt/owfs/bin/owfs: command not found
zacken542, kom du vidare senare eller inte?
Stein
Wannabe
Inlägg: 14
Blev medlem: 17 nov 2007, 19:33
Ort: Bromsten/Stockholm

Re: sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades

Inlägg av Stein »

Meeen

Kod: Markera allt

mike@mike-ubuntu:~$ sudo service owfs start -u --allow_other /mnt/1wire/
mike@mike-ubuntu:~$ cat /mnt/1wire/10.*/temperature
32.532.5mike@mike-ubuntu:~$
Till slut vet jag inte vad det blev men en apt-get install owfs och en manuell start av server och http så fick jag upp det.

Nu leker jag vidare senare

Kanske en uppdatering av Howto skulle vara bra?
Användarvisningsbild
elf98
Hemautomation - det är mer än en hobby
Inlägg: 5285
Blev medlem: 27 okt 2006, 13:49
Ort: Linköping
Kontakt:

Re: sudo /opt/owfs/bin/owfs --usb_regulartime -u --allow_other /mnt/1wire/ sudo: /opt/owfs/bin/owfs: kommandot hittades

Inlägg av elf98 »

Har lagt till en notis om att det just nu är svårt att kompilera owfs själv och att det snabba sättet är det som rekommenderas!
Grundade m.nu & temperatur.nu

Driver temperatur.nu

Bild
Skriv svar