xvidcap-1.1.4pre3 Compile FreeBSD

Help
2006-07-16
2013-04-24
  • Nobody/Anonymous

    Hello

    While trying to compile under FreeBSD 5.5 im getting the following error under configure:

    checking for XmuClientWindow in -lXmu... no
    libXmu required for drawing the frame around the area to capture

    Problem is I've installed it uninstalled and reinstalled it so i know its installed how do i fix this please?

    Thanks for the time

     
    • Nobody/Anonymous

      Sorry i forgot this:

      ls /usr/X11R6/lib/libXm*
      /usr/X11R6/lib/libXm.a          /usr/X11R6/lib/libXmu.so.6
      /usr/X11R6/lib/libXm.so         /usr/X11R6/lib/libXmuu.a
      /usr/X11R6/lib/libXm.so.3       /usr/X11R6/lib/libXmuu.la
      /usr/X11R6/lib/libXmu.a         /usr/X11R6/lib/libXmuu.so
      /usr/X11R6/lib/libXmu.la        /usr/X11R6/lib/libXmuu.so.1
      /usr/X11R6/lib/libXmu.so

       
      • Karl H. Beckers

        Karl H. Beckers - 2006-07-16

        Hmm,
        looks like the build system does not include /usr/X11R6/lib in the path for linking when checking for libXmu.
        For me this is no problem as ubuntu puts libXmu in /usr/lib.

        Please file a bug so this gets fixed.
        Meantime you could configure like this:
        LFLAGS="-L/usr/X11R6/lib" ./configure

        HTH,

        Karl.

         
    • Karl H. Beckers

      Karl H. Beckers - 2006-07-16

      created bug # 1523447
      Please try the replacement "configure" script attached there and let me know the results.

      Karl

       
    • Nobody/Anonymous

      Hi I tryed the new configure file and here is the result of a attempted compile

      [name@LaptopBSD /usr/home/alpha/xvidcap-1.1.4pre3]$ ./configure --with-gtk2 --with-forced-embedded-ffmpeg --enable-static-libs=libpng
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for gawk... no
      checking for mawk... no
      checking for nawk... nawk
      checking whether make sets $(MAKE)... yes
      checking whether to enable maintainer-specific portions of Makefiles... no
      checking for perl... /usr/bin/perl
      checking for XML::Parser... ok
      checking for iconv... /usr/local/bin/iconv
      checking for msgfmt... /usr/local/bin/msgfmt
      checking for msgmerge... /usr/local/bin/msgmerge
      checking for xgettext... /usr/local/bin/xgettext
      checking for style of include used by make... GNU
      checking for gcc... gcc
      checking for C compiler default output file name... a.out
      checking whether the C compiler works... yes
      checking whether we are cross compiling... no
      checking for suffix of executables...
      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 ANSI C... 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 ANSI C... (cached) none needed
      checking dependency style of gcc... (cached) gcc3
      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 ANSI C... (cached) none needed
      checking dependency style of gcc... (cached) gcc3
      checking how to run the C preprocessor... gcc -E
      checking for egrep... grep -E
      checking for ANSI C header files... yes
      checking whether make sets $(MAKE)... (cached) yes
      checking for ranlib... ranlib
      checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
      checking for gethostbyname... yes
      checking for connect... yes
      checking for remove... yes
      checking for shmat... yes
      checking for IceConnectionNumber in -lICE... 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 locale.h usability... yes
      checking locale.h presence... yes
      checking for locale.h... yes
      checking for LC_MESSAGES... yes
      checking libintl.h usability... no
      checking libintl.h presence... no
      checking for libintl.h... no
      checking for pkg-config... /usr/local/bin/pkg-config
      checking pkg-config is at least version 0.9.0... yes
      checking for PACKAGE... yes
      checking for XmuClientWindow in -lXmu... yes
      checking for pow in -lm... no
      libm required by ffmpeg
      checking for av_rescale in -lavutil... no
      checking for img_convert in -lavcodec... no
      checking for avienc_init in -lavformat... no
      checking for lame_init in -lmp3lame... no
      To use mp3 audio codecs you need liblame/liblame-dev
      checking for pthread_mutex_init in -lpthread... no
      0
      checking for ANSI C header files... (cached) yes
      checking fcntl.h usability... yes
      checking fcntl.h presence... yes
      checking for fcntl.h... yes
      checking limits.h usability... yes
      checking limits.h presence... yes
      checking for limits.h... yes
      checking for stdlib.h... (cached) yes
      checking for string.h... (cached) yes
      checking sys/ioctl.h usability... yes
      checking sys/ioctl.h presence... yes
      checking for sys/ioctl.h... yes
      checking sys/time.h usability... yes
      checking sys/time.h presence... yes
      checking for sys/time.h... yes
      checking for unistd.h... (cached) yes
      checking for stdint.h... (cached) yes
      checking ctype.h usability... yes
      checking ctype.h presence... yes
      checking for ctype.h... yes
      checking stat.h usability... no
      checking stat.h presence... no
      checking for stat.h... no
      checking errno.h usability... yes
      checking errno.h presence... yes
      checking for errno.h... yes
      checking for an ANSI C-conforming const... yes
      checking whether time.h and sys/time.h may both be included... yes
      checking whether gcc needs -traditional... no
      checking for stdlib.h... (cached) yes
      checking for GNU libc compatible malloc... no
      checking for stdlib.h... (cached) yes
      checking for unistd.h... (cached) yes
      checking for getpagesize... no
      checking for working mmap... no
      checking for stdlib.h... (cached) yes
      checking for GNU libc compatible realloc... no
      checking for fdatasync... no
      checking for gettimeofday... no
      checking for memmove... no
      checking for memset... no
      checking for munmap... no
      checking for strcasecmp... no
      checking for strchr... no
      checking for strdup... no
      checking for strstr... no
      checking for getopt_long... no
      configure: creating ./config.status
      config.status: creating Makefile
      config.status: creating src/Makefile
      config.status: creating po/Makefile.in
      config.status: error: cannot find input file: man/Makefile.in
      [name@LaptopBSD /usr/home/alpha/xvidcap-1.1.4pre3]$

       
    • Karl H. Beckers

      Karl H. Beckers - 2006-07-30

      ahhh,
      the fix for the configure script attached to the bug includes some other changes for the trunk version not compatible with 1.1.4pre3. I've attached a new configure script for use with 1.1.4pre3 to the bug.

      Karl.

       
    • Nobody/Anonymous

      Hi thanks for the fast repliy I downloaded the new configure script as you suggested now im getting this...

      $ ./configure --with-forced-embedded-ffmpeg --with-gtk2
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for gawk... no
      checking for mawk... no
      checking for nawk... nawk
      checking whether make sets $(MAKE)... yes
      checking whether to enable maintainer-specific portions of Makefiles... no
      checking for perl... /usr/bin/perl
      checking for XML::Parser... ok
      checking for iconv... /usr/local/bin/iconv
      checking for msgfmt... /usr/local/bin/msgfmt
      checking for msgmerge... /usr/local/bin/msgmerge
      checking for xgettext... /usr/local/bin/xgettext
      checking for style of include used by make... GNU
      checking for gcc... gcc
      checking for C compiler default output file name... a.out
      checking whether the C compiler works... yes
      checking whether we are cross compiling... no
      checking for suffix of executables...
      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 ANSI C... 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 ANSI C... (cached) none needed
      checking dependency style of gcc... (cached) gcc3
      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 ANSI C... (cached) none needed
      checking dependency style of gcc... (cached) gcc3
      checking how to run the C preprocessor... gcc -E
      checking for egrep... grep -E
      checking for ANSI C header files... yes
      checking whether make sets $(MAKE)... (cached) yes
      checking for ranlib... ranlib
      checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
      checking for gethostbyname... yes
      checking for connect... yes
      checking for remove... yes
      checking for shmat... yes
      checking for IceConnectionNumber in -lICE... 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 locale.h usability... yes
      checking locale.h presence... yes
      checking for locale.h... yes
      checking for LC_MESSAGES... yes
      checking libintl.h usability... no
      checking libintl.h presence... no
      checking for libintl.h... no
      checking for pkg-config... /usr/local/bin/pkg-config
      checking pkg-config is at least version 0.9.0... yes
      checking for PACKAGE... yes
      checking for XmuClientWindow in -lXmu... no
      libXmu required for drawing the frame around the area to capture
      [alpha@LaptopBSD /usr/home/alpha/xvidcap-1.1.4pre3]$ LDFLAGS="-L/usr/X11R6/lib" ./configure --with-forced-embedded-ffmpeg --with-gtk2
      checking for a BSD-compatible install... /usr/bin/install -c
      checking whether build environment is sane... yes
      checking for gawk... no
      checking for mawk... no
      checking for nawk... nawk
      checking whether make sets $(MAKE)... yes
      checking whether to enable maintainer-specific portions of Makefiles... no
      checking for perl... /usr/bin/perl
      checking for XML::Parser... ok
      checking for iconv... /usr/local/bin/iconv
      checking for msgfmt... /usr/local/bin/msgfmt
      checking for msgmerge... /usr/local/bin/msgmerge
      checking for xgettext... /usr/local/bin/xgettext
      checking for style of include used by make... GNU
      checking for gcc... gcc
      checking for C compiler default output file name... a.out
      checking whether the C compiler works... yes
      checking whether we are cross compiling... no
      checking for suffix of executables...
      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 ANSI C... 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 ANSI C... (cached) none needed
      checking dependency style of gcc... (cached) gcc3
      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 ANSI C... (cached) none needed
      checking dependency style of gcc... (cached) gcc3
      checking how to run the C preprocessor... gcc -E
      checking for egrep... grep -E
      checking for ANSI C header files... yes
      checking whether make sets $(MAKE)... (cached) yes
      checking for ranlib... ranlib
      checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
      checking for gethostbyname... yes
      checking for connect... yes
      checking for remove... yes
      checking for shmat... yes
      checking for IceConnectionNumber in -lICE... 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 locale.h usability... yes
      checking locale.h presence... yes
      checking for locale.h... yes
      checking for LC_MESSAGES... yes
      checking libintl.h usability... no
      checking libintl.h presence... no
      checking for libintl.h... no
      checking for pkg-config... /usr/local/bin/pkg-config
      checking pkg-config is at least version 0.9.0... yes
      checking for PACKAGE... yes
      checking for XmuClientWindow in -lXmu... yes
      checking for pow in -lm... yes
      make-ing prerequisite ffmpeg libraries
      Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack.
      If you think configure made a mistake, make sure you are using the latest
      version from SVN.  If the latest version fails, report the problem to the
      ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
      Include the log file "config.err" produced by configure as this will help
      solving the problem.
      checking for av_rescale in -lavutil... (static?) ... no
      checking for av_rescale in -lavutil... no
      checking for img_convert in -lavcodec... (static?) ... no
      checking for img_convert in -lavcodec... no
      checking for avienc_init in -lavformat... no
      checking for lame_init in -lmp3lame... no
      To use mp3 audio codecs you need liblame/liblame-dev
      checking for pthread_mutex_init in -lpthread... yes
      checking for ANSI C header files... (cached) yes
      checking fcntl.h usability... yes
      checking fcntl.h presence... yes
      checking for fcntl.h... yes
      checking limits.h usability... yes
      checking limits.h presence... yes
      checking for limits.h... yes
      checking for stdlib.h... (cached) yes
      checking for string.h... (cached) yes
      checking sys/ioctl.h usability... yes
      checking sys/ioctl.h presence... yes
      checking for sys/ioctl.h... yes
      checking sys/time.h usability... yes
      checking sys/time.h presence... yes
      checking for sys/time.h... yes
      checking for unistd.h... (cached) yes
      checking for stdint.h... (cached) yes
      checking ctype.h usability... yes
      checking ctype.h presence... yes
      checking for ctype.h... yes
      checking stat.h usability... no
      checking stat.h presence... no
      checking for stat.h... no
      checking errno.h usability... yes
      checking errno.h presence... yes
      checking for errno.h... yes
      checking for an ANSI C-conforming const... yes
      checking whether time.h and sys/time.h may both be included... yes
      checking whether gcc needs -traditional... no
      checking for stdlib.h... (cached) yes
      checking for GNU libc compatible malloc... yes
      checking for stdlib.h... (cached) yes
      checking for unistd.h... (cached) yes
      checking for getpagesize... yes
      checking for working mmap... yes
      checking for stdlib.h... (cached) yes
      checking for GNU libc compatible realloc... yes
      checking for fdatasync... no
      checking for gettimeofday... yes
      checking for memmove... yes
      checking for memset... yes
      checking for munmap... yes
      checking for strcasecmp... yes
      checking for strchr... yes
      checking for strdup... yes
      checking for strstr... yes
      checking for getopt_long... yes
      configure: creating ./config.status
      config.status: creating Makefile
      config.status: creating src/Makefile
      config.status: creating po/Makefile.in
      config.status: creating config.h
      config.status: executing intltool commands
      ./config.status: line 1273: ./intltool-extract.in: No such file or directory
      mv: rename intltool-extract.out to intltool-extract: No such file or directory
      chmod: intltool-extract: No such file or directory
      chmod: intltool-extract: No such file or directory
      ./config.status: line 1273: ./intltool-merge.in: No such file or directory
      mv: rename intltool-merge.out to intltool-merge: No such file or directory
      chmod: intltool-merge: No such file or directory
      chmod: intltool-merge: No such file or directory
      ./config.status: line 1273: ./intltool-update.in: No such file or directory
      mv: rename intltool-update.out to intltool-update: No such file or directory
      chmod: intltool-update: No such file or directory
      chmod: intltool-update: No such file or directory
      config.status: executing depfiles commands
      config.status: executing default-1 commands
      config.status: executing po/stamp-it commands

      When I type make I error code 1 and exit? I used the configure patched for 1.4pre3 if that helps?

      Once again thanks for the time and fixes you've provided thus far! :)

       
    • Karl H. Beckers

      Karl H. Beckers - 2006-08-01

      Hrmpf,
      it appears the build system detects that configure has changed and tries to recreate the other parts of the build system, too.
      That would require autogen.sh and a number of other files which are not in the tarball, only in SVN. I didn't plan to add those files to the tarball as that would add other build-time requirements. However, it might be a good idea to add autogen.sh after all for those times where a change to configure.in IS necessary. Normal users would still use configure.

      For the time being, I suppose your best bet is using the original configure like this:
      LDFLAGS="-L/usr/X11R6/lib" ./configure
      or checkout SVN trunk

      Cheers,

      Karl.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks