LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-21-2013, 01:17 AM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 551

Rep: Reputation: 43
unable to build guvcview-1.7.0 with slackbuild


I have been be unable to build guvcview-1.7.0 using willysr's slackbuild. I have tried in both slack-14 and salix-14 using alien Bob's and the salix ffmpeg packages respectively. Configure runs with no problem but I get a make error regarding missing header files (note the end of inserted stdout below).

audioconvert.h is found in /usr/lib/libavutil and I can do a ln -s libavutil/audioconvert.h audioconvert.h but then the error proceeds to another missing header file one level deep in /usr/lib, and then another, etc.

Might this be an error in how the source configures itself before compiling or am I missing something else?
Code:
checking if you want to enable pulse support... no
checking avcodec.h usability... yes
checking avcodec.h presence... yes
checking for avcodec.h... yes
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking whether byte ordering is bigendian... no
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/guvcview.desktop.in
config.status: creating data/guvcview.in
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
configure:

  guvcview 1.7.0
  ----------------------

  Prefix         : /usr

  Pulse API      : no

  Desktop File   : yes
  Debian Menu    : no

  Debug Symbols  : no


make  all-recursive
make[1]: Entering directory `/tmp/SBo/guvcview-src-1.7.0'
Making all in src
make[2]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/src'
  CC     audio_effects.o
  CC     audio_tab.o
In file included from acodecs.h:26:0,
                 from audio_tab.c:32:
lavc_common.h:34:28: fatal error: audioconvert.h: No such file or directory
compilation terminated.
make[2]: *** [audio_tab.o] Error 1
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0'
make: *** [all] Error 2
 
Old 07-21-2013, 02:58 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,493

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
Here's the same SlackBuild on my machine
Code:
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
no
checking whether NLS is requested... yes
checking for intltool >= 0.40... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.18.0
checking for XML::Parser... ok
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 locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed...  bs cs da de es eu fo fr gl he hr it ja nl pl pt pt_BR ru sr tr uk zh_TW
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPS... yes
checking if you want to enable debian menu... no
checking if you want to enable desktop file... yes
checking if you want to enable pulse support... no
checking avcodec.h usability... no
checking avcodec.h presence... no
checking for avcodec.h... no
checking ffmpeg/avcodec.h usability... no
checking ffmpeg/avcodec.h presence... no
checking for ffmpeg/avcodec.h... no
checking libavcodec/avcodec.h usability... yes
checking libavcodec/avcodec.h presence... yes
checking for libavcodec/avcodec.h... yes
checking whether byte ordering is bigendian... no
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating data/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/guvcview.desktop.in
config.status: creating data/guvcview.in
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
configure:

  guvcview 1.7.0
  ----------------------

  Prefix         : /usr

  Pulse API      : no

  Desktop File   : yes
  Debian Menu    : no

  Debug Symbols  : no


make  all-recursive
make[1]: Entering directory `/tmp/SBo/guvcview-src-1.7.0'
Making all in src
make[2]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/src'
  CC     audio_effects.o
  CC     audio_tab.o
audio_tab.c: In function ‘audio_tab’:
audio_tab.c:73:2: warning: ‘gtk_scrolled_window_add_with_viewport’ is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkscrolledwindow.h:110): Use 'gtk_container_add' instead [-Wdeprecated-declarations]
  gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll3),table3);
  ^
  CC     autofocus.o
  CC     acodecs.o
  CC     avilib.o
  CC     callbacks.o
  CC     close.o
  CC     colorspaces.o
  CC     create_video.o
  CC     create_image.o
  CC     dct.o
  CC     file_io.o
  CC     globals.o
  CC     guvcview.o
guvcview.c: In function ‘main’:
guvcview.c:194:2: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Wdeprecated-declarations]
  g_type_init ();
  ^
guvcview.c:484:9: warning: ‘gtk_scrolled_window_add_with_viewport’ is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkscrolledwindow.h:110): Use 'gtk_container_add' instead [-Wdeprecated-declarations]
         gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll1),s->table);
         ^
  CC     huffman.o
  CC     img_controls.o
  CC     image_format.o
  CC     io_stream.o
  CC     jpgenc.o
  CC     lavc_common.o
  CC     matroska.o
  CC     marker.o
  CC     menubar.o
  CC     ms_time.o
  CC     options.o
  CC     osd.o
  CC     picture.o
  CC     profile.o
  CC     port_audio.o
  CC     pulse_audio.o
  CC     quant.o
  CC     readYUV.o
  CC     sound.o
  CC     snd_devices.o
  CC     string_utils.o
  CC     timers.o
  CC     utils.o
  CC     v4l2_controls.o
  CC     v4l2_devices.o
  CC     v4l2_dyna_ctrls.o
  CC     v4l2_formats.o
  CC     v4l2uvc.o
  CC     vcodecs.o
  CC     video.o
  CC     video_filters.o
  CC     video_format.o
  CC     video_tab.o
video_tab.c: In function ‘video_tab’:
video_tab.c:81:2: warning: ‘gtk_scrolled_window_add_with_viewport’ is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkscrolledwindow.h:110): Use 'gtk_container_add' instead [-Wdeprecated-declarations]
  gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll2),table2);
  ^
  CCLD   guvcview
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/src'
Making all in po
make[2]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/po'
file=`echo bs | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file bs.po
file=`echo cs | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file cs.po
file=`echo da | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file da.po
file=`echo de | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file de.po
file=`echo es | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file es.po
file=`echo eu | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file eu.po
file=`echo fo | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file fo.po
file=`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file fr.po
file=`echo gl | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file gl.po
file=`echo he | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file he.po
file=`echo hr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file hr.po
file=`echo it | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file it.po
file=`echo ja | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file ja.po
file=`echo nl | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file nl.po
file=`echo pl | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file pl.po
file=`echo pt | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file pt.po
file=`echo pt_BR | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file pt_BR.po
file=`echo ru | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file ru.po
file=`echo sr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file sr.po
file=`echo tr | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file tr.po
file=`echo uk | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file uk.po
file=`echo zh_TW | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file zh_TW.po
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/po'
Making all in data
make[2]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/data'
Making all in icons
make[3]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/data/icons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/data/icons'
make[3]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/data'
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po guvcview.desktop.in guvcview.desktop
Generating and caching the translation database
Merging translations into guvcview.desktop.
make[3]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/data'
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/data'
make[2]: Entering directory `/tmp/SBo/guvcview-src-1.7.0'
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0'
make[1]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0'
Making install in src
make[1]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/src'
make[2]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/src'
 /bin/mkdir -p '/tmp/SBo/package-guvcview/usr/bin'
  /bin/ginstall -c guvcview '/tmp/SBo/package-guvcview/usr/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/src'
make[1]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/src'
Making install in po
make[1]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/po'
linguas="bs cs da de es eu fo fr gl he hr it ja nl pl pt pt_BR ru sr tr uk zh_TW "; \
for lang in $linguas; do \
  dir=/tmp/SBo/package-guvcview/usr/share/locale/$lang/LC_MESSAGES; \
  /bin/sh /tmp/SBo/guvcview-src-1.7.0/install-sh -d $dir; \
  if test -r $lang.gmo; then \
    /bin/ginstall -c -m 644 $lang.gmo $dir/guvcview.mo; \
    echo "installing $lang.gmo as $dir/guvcview.mo"; \
  else \
    /bin/ginstall -c -m 644 ./$lang.gmo $dir/guvcview.mo; \
    echo "installing ./$lang.gmo as" \
         "$dir/guvcview.mo"; \
  fi; \
  if test -r $lang.gmo.m; then \
    /bin/ginstall -c -m 644 $lang.gmo.m $dir/guvcview.mo.m; \
    echo "installing $lang.gmo.m as $dir/guvcview.mo.m"; \
  else \
    if test -r ./$lang.gmo.m ; then \
      /bin/ginstall -c -m 644 ./$lang.gmo.m \
        $dir/guvcview.mo.m; \
      echo "installing ./$lang.gmo.m as" \
           "$dir/guvcview.mo.m"; \
    else \
      true; \
    fi; \
  fi; \
done
installing bs.gmo as /tmp/SBo/package-guvcview/usr/share/locale/bs/LC_MESSAGES/guvcview.mo
installing cs.gmo as /tmp/SBo/package-guvcview/usr/share/locale/cs/LC_MESSAGES/guvcview.mo
installing da.gmo as /tmp/SBo/package-guvcview/usr/share/locale/da/LC_MESSAGES/guvcview.mo
installing de.gmo as /tmp/SBo/package-guvcview/usr/share/locale/de/LC_MESSAGES/guvcview.mo
installing es.gmo as /tmp/SBo/package-guvcview/usr/share/locale/es/LC_MESSAGES/guvcview.mo
installing eu.gmo as /tmp/SBo/package-guvcview/usr/share/locale/eu/LC_MESSAGES/guvcview.mo
installing fo.gmo as /tmp/SBo/package-guvcview/usr/share/locale/fo/LC_MESSAGES/guvcview.mo
installing fr.gmo as /tmp/SBo/package-guvcview/usr/share/locale/fr/LC_MESSAGES/guvcview.mo
installing gl.gmo as /tmp/SBo/package-guvcview/usr/share/locale/gl/LC_MESSAGES/guvcview.mo
installing he.gmo as /tmp/SBo/package-guvcview/usr/share/locale/he/LC_MESSAGES/guvcview.mo
installing hr.gmo as /tmp/SBo/package-guvcview/usr/share/locale/hr/LC_MESSAGES/guvcview.mo
installing it.gmo as /tmp/SBo/package-guvcview/usr/share/locale/it/LC_MESSAGES/guvcview.mo
installing ja.gmo as /tmp/SBo/package-guvcview/usr/share/locale/ja/LC_MESSAGES/guvcview.mo
installing nl.gmo as /tmp/SBo/package-guvcview/usr/share/locale/nl/LC_MESSAGES/guvcview.mo
installing pl.gmo as /tmp/SBo/package-guvcview/usr/share/locale/pl/LC_MESSAGES/guvcview.mo
installing pt.gmo as /tmp/SBo/package-guvcview/usr/share/locale/pt/LC_MESSAGES/guvcview.mo
installing pt_BR.gmo as /tmp/SBo/package-guvcview/usr/share/locale/pt_BR/LC_MESSAGES/guvcview.mo
installing ru.gmo as /tmp/SBo/package-guvcview/usr/share/locale/ru/LC_MESSAGES/guvcview.mo
installing sr.gmo as /tmp/SBo/package-guvcview/usr/share/locale/sr/LC_MESSAGES/guvcview.mo
installing tr.gmo as /tmp/SBo/package-guvcview/usr/share/locale/tr/LC_MESSAGES/guvcview.mo
installing uk.gmo as /tmp/SBo/package-guvcview/usr/share/locale/uk/LC_MESSAGES/guvcview.mo
installing zh_TW.gmo as /tmp/SBo/package-guvcview/usr/share/locale/zh_TW/LC_MESSAGES/guvcview.mo
make[1]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/po'
Making install in data
make[1]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/data'
Making install in icons
make[2]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/data/icons'
make[3]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/data/icons'
make[3]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/tmp/SBo/package-guvcview/usr/share/pixmaps/guvcview'
 /bin/ginstall -c -m 644 guvcview.png camera.png movie.png image_controls.png video_controls.png audio_controls.png close.png '/tmp/SBo/package-guvcview/usr/share/pixmaps/guvcview'
make  install-data-hook
make[4]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/data/icons'
*** Icon cache not updated.  After (un)install, run this:
***   gtk-update-icon-cache -f -t /usr/share/pixmaps/guvcview/
make[4]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/data/icons'
make[3]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/data/icons'
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/data/icons'
make[2]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/data'
make[3]: Entering directory `/tmp/SBo/guvcview-src-1.7.0/data'
make[3]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/tmp/SBo/package-guvcview/usr/share/applications'
 /bin/ginstall -c -m 644 guvcview.desktop '/tmp/SBo/package-guvcview/usr/share/applications'
 /bin/mkdir -p '/tmp/SBo/package-guvcview/usr/man/man1'
 /bin/ginstall -c -m 644 guvcview.1 '/tmp/SBo/package-guvcview/usr/man/man1'
make[3]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/data'
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/data'
make[1]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0/data'
make[1]: Entering directory `/tmp/SBo/guvcview-src-1.7.0'
make[2]: Entering directory `/tmp/SBo/guvcview-src-1.7.0'
make[2]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/tmp/SBo/package-guvcview/usr/share/doc/guvcview'
 /bin/ginstall -c -m 644 README COPYING AUTHORS ChangeLog INSTALL '/tmp/SBo/package-guvcview/usr/share/doc/guvcview'
make[2]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0'
make[1]: Leaving directory `/tmp/SBo/guvcview-src-1.7.0'

Slackware package maker, version 3.14159.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /tmp/guvcview-1.7.0-i486-1_SBo.tgz

./
usr/
usr/share/
usr/share/pixmaps/
usr/share/pixmaps/guvcview/
usr/share/pixmaps/guvcview/movie.png
usr/share/pixmaps/guvcview/image_controls.png
usr/share/pixmaps/guvcview/close.png
usr/share/pixmaps/guvcview/camera.png
usr/share/pixmaps/guvcview/audio_controls.png
usr/share/pixmaps/guvcview/video_controls.png
usr/share/pixmaps/guvcview/guvcview.png
usr/share/applications/
usr/share/applications/guvcview.desktop
usr/share/locale/
usr/share/locale/eu/
usr/share/locale/eu/LC_MESSAGES/
usr/share/locale/eu/LC_MESSAGES/guvcview.mo
usr/share/locale/es/
usr/share/locale/es/LC_MESSAGES/
usr/share/locale/es/LC_MESSAGES/guvcview.mo
usr/share/locale/de/
usr/share/locale/de/LC_MESSAGES/
usr/share/locale/de/LC_MESSAGES/guvcview.mo
usr/share/locale/hr/
usr/share/locale/hr/LC_MESSAGES/
usr/share/locale/hr/LC_MESSAGES/guvcview.mo
usr/share/locale/it/
usr/share/locale/it/LC_MESSAGES/
usr/share/locale/it/LC_MESSAGES/guvcview.mo
usr/share/locale/gl/
usr/share/locale/gl/LC_MESSAGES/
usr/share/locale/gl/LC_MESSAGES/guvcview.mo
usr/share/locale/sr/
usr/share/locale/sr/LC_MESSAGES/
usr/share/locale/sr/LC_MESSAGES/guvcview.mo
usr/share/locale/ja/
usr/share/locale/ja/LC_MESSAGES/
usr/share/locale/ja/LC_MESSAGES/guvcview.mo
usr/share/locale/fo/
usr/share/locale/fo/LC_MESSAGES/
usr/share/locale/fo/LC_MESSAGES/guvcview.mo
usr/share/locale/bs/
usr/share/locale/bs/LC_MESSAGES/
usr/share/locale/bs/LC_MESSAGES/guvcview.mo
usr/share/locale/uk/
usr/share/locale/uk/LC_MESSAGES/
usr/share/locale/uk/LC_MESSAGES/guvcview.mo
usr/share/locale/tr/
usr/share/locale/tr/LC_MESSAGES/
usr/share/locale/tr/LC_MESSAGES/guvcview.mo
usr/share/locale/pt_BR/
usr/share/locale/pt_BR/LC_MESSAGES/
usr/share/locale/pt_BR/LC_MESSAGES/guvcview.mo
usr/share/locale/pt/
usr/share/locale/pt/LC_MESSAGES/
usr/share/locale/pt/LC_MESSAGES/guvcview.mo
usr/share/locale/da/
usr/share/locale/da/LC_MESSAGES/
usr/share/locale/da/LC_MESSAGES/guvcview.mo
usr/share/locale/ru/
usr/share/locale/ru/LC_MESSAGES/
usr/share/locale/ru/LC_MESSAGES/guvcview.mo
usr/share/locale/he/
usr/share/locale/he/LC_MESSAGES/
usr/share/locale/he/LC_MESSAGES/guvcview.mo
usr/share/locale/cs/
usr/share/locale/cs/LC_MESSAGES/
usr/share/locale/cs/LC_MESSAGES/guvcview.mo
usr/share/locale/fr/
usr/share/locale/fr/LC_MESSAGES/
usr/share/locale/fr/LC_MESSAGES/guvcview.mo
usr/share/locale/zh_TW/
usr/share/locale/zh_TW/LC_MESSAGES/
usr/share/locale/zh_TW/LC_MESSAGES/guvcview.mo
usr/share/locale/nl/
usr/share/locale/nl/LC_MESSAGES/
usr/share/locale/nl/LC_MESSAGES/guvcview.mo
usr/share/locale/pl/
usr/share/locale/pl/LC_MESSAGES/
usr/share/locale/pl/LC_MESSAGES/guvcview.mo
usr/bin/
usr/bin/guvcview
usr/doc/
usr/doc/guvcview-1.7.0/
usr/doc/guvcview-1.7.0/ChangeLog
usr/doc/guvcview-1.7.0/COPYING
usr/doc/guvcview-1.7.0/README
usr/doc/guvcview-1.7.0/guvcview.SlackBuild
usr/doc/guvcview-1.7.0/AUTHORS
usr/doc/guvcview-1.7.0/INSTALL
usr/man/
usr/man/man1/
usr/man/man1/guvcview.1.gz
install/
install/slack-desc
install/doinst.sh

Slackware package /tmp/guvcview-1.7.0-i486-1_SBo.tgz created.
FYI, I'm using ffmpeg 1.2 from AlienBOB
http://taper.alienbase.nl/mirrors/pe...mpeg/pkg/14.0/

Check if you do have audioconvert.h in your system. On my machine, it's located in /usr/include/libavutil/audioconvert.h
 
Old 07-21-2013, 03:15 AM   #3
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 434

Rep: Reputation: Disabled
It's likely that the version of ffmpeg that OP is using is an older version of ffmpeg which places the header files elsewhere.

I haven't looked at the source code, but I do remember something in the ffmpeg ChangeLog that said they moved their header files to different directories, and guvcview is likely assuming that the builder is using the new ffmpeg.
 
Old 07-21-2013, 03:18 AM   #4
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,493

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
yes, i think so too
according to OP, his header file was located in /usr/lib, but on my system, it's located in /usr/include and that's where all headers should goes to.
 
Old 07-21-2013, 05:16 AM   #5
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 551

Original Poster
Rep: Reputation: 43
Code:
rick[~]$ ls -l /usr/include/libavutil/audioconvert.h 
-rw-r--r-- 1 root root 82 Jun 13 06:35 /usr/include/libavutil/audioconvert.h
Sorry, my bad! OP should have read /usr/include. I'm also using AlienBob's ffmpeg-1.2. Like I said I've tried several times today with the same results.

I know the slackbuild is ok I just can't figure out why the header files can't be found when they are there.
 
Old 07-21-2013, 06:36 AM   #6
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,493

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
See if you have two ffmpeg installed on your system
Compare the avcodec.h detection on yours and mine. You will see that the first detection of avcodec.h is found on yours, but not mine. The rest are the same... I suspect there are two avcodec.h in your system.

Try use locate avcodec.h
 
Old 07-21-2013, 04:04 PM   #7
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackware ARM, Salix and Porteus
Posts: 551

Original Poster
Rep: Reputation: 43
Thanks Willy!

In addition to AlienBob's ffmpeg-1.2 I have ffmpg2theora and gst-ffmpeg but they weren't the problem. I had two other avcodecs in /usr/local/include and /user/local's backup on another disk. I don't know why it was there. I keep usr/locals on a separate partition and I only keep my own programs and scripts there and never hose it on new installs. Nevertheless........

I deleted those two header extra header files and was then able to build the package. I suppose one is never too old to look silly!

Code:
rick[~]$ ls /var/log/packages | grep ffmpeg
ffmpeg-1.2-i486-1alien
ffmpeg2theora-0.29-i686-1gv
gst-ffmpeg-0.10.11-i486-1gv

rick[~]$ locate avcodec.h
/usr/local/include/avcodec.h
/usr/include/libavcodec/avcodec.h
/usr/include/vlc/plugins/vlc_avcodec.h
/usr/include/libavfilter/avcodec.h
/usr/doc/ffmpeg-1.2/libavcodec.html
/store/backups/usr/local/include/avcodec.h

rick[~]$ locate avcodec.h
/usr/include/libavcodec/avcodec.h
/usr/include/vlc/plugins/vlc_avcodec.h
/usr/include/libavfilter/avcodec.h
/usr/doc/ffmpeg-1.2/libavcodec.html
 
Old 07-21-2013, 07:25 PM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,493

Rep: Reputation: 403Reputation: 403Reputation: 403Reputation: 403Reputation: 403
Good to hear that
 
Old 07-21-2013, 08:31 PM   #9
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 434

Rep: Reputation: Disabled
Even though this is solved, I'd just like to add it may have been the Salix ffmpeg you said you had originally installed.

If Salix lists the packages under /var/log/packages as Slackware does, you could have done:
Code:
grep -r "avcodec.h$" /var/log/packages
and seen which packages had the avcodec header. Just a tip for next time.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SBOPKG(8) not list/show/build dependencies of SlackBuild scripts to build Slackware p xavi_slacky Slackware 3 06-13-2013 07:53 PM
[SOLVED] guvcview Slackbuild error on -current dr.s Slackware 4 08-19-2012 02:25 AM
Unable to build from Slackbuild in slackware 13 troj3n Slackware 1 01-28-2010 03:50 PM
Unable to build from Slackbuild in slackware 13 troj3n Slackware 5 01-28-2010 10:38 AM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration