[vlc] Re: compile vlc.0.8.5 on openbsd 3.9

Jean-Paul Saman jean-paul.saman at planet.nl
Fri Aug 4 16:51:58 CEST 2006


riwanlky wrote:
> hi guys,
> 
> i am trying to compile vlc.0.8.5 on openbsd 3.9. i download the source from
> http://www.videolan.org/vlc/download-sources.html.
> 
> tar txvzf, then:
> 
> ./configure --enable-shared --enable-shared-pp --enable-pp --enable-gpl 
> --with-included-gettext --disable-mad
> 
> checking build system type... i386-unknown-openbsd3.9
> checking host system type... i386-unknown-openbsd3.9
> checking target system type... i386-unknown-openbsd3.9
> 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... yes
> 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 for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking whether gcc and cc understand -c and -o together... yes
> checking how to run the C preprocessor... gcc -E
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking dependency style of g++... gcc3
> checking how to run the C++ preprocessor... g++ -E
> checking whether make sets $(MAKE)... (cached) yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for egrep... grep -E
> checking for an Objective-C compiler... checking dependency style of 
> g++... gcc3
> not implemented yet
> checking for ranlib... ranlib
> checking for strip... strip
> checking for ar... ar
> checking for ld... ld
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for ld used by gcc... ld
> checking if the linker (ld) is GNU ld... yes
> checking for ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognise dependent libraries... file_magic ELF 
> [0-9][0-9]*-bit [LM]SB shared object
> 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 dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for g77... g77
> checking whether we are using the GNU Fortran 77 compiler... yes
> checking whether g77 accepts -g... yes
> checking the maximum length of command line arguments... 65536
> checking command to parse /usr/bin/nm -B output from gcc object... ok
> checking for objdir... .libs
> checking for ar... (cached) ar
> checking for ranlib... (cached) ranlib
> checking for strip... (cached) strip
> checking if gcc static flag  works... yes
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking whether the gcc linker (ld) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking dynamic linker characteristics... openbsd3.9 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking for shl_load... no
> checking for shl_load in -ldld... no
> checking for dlopen... yes
> checking whether a program can dlopen itself... yes
> checking whether a statically linked program can dlopen itself... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking for ld used by g++... ld
> checking if the linker (ld) is GNU ld... yes
> checking whether the g++ linker (ld) supports shared libraries... no
> checking for g++ option to produce PIC... -fPIC
> checking if g++ PIC flag -fPIC works... yes
> checking if g++ supports -c -o file.o... yes
> checking whether the g++ linker (ld) supports shared libraries... no
> checking dynamic linker characteristics... openbsd3.9 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking for shl_load... (cached) no
> checking for shl_load in -ldld... (cached) no
> checking for dlopen... (cached) yes
> checking whether a program can dlopen itself... (cached) yes
> checking whether a statically linked program can dlopen itself... 
> (cached) yes
> appending configuration tag "F77" to libtool
> checking if libtool supports shared libraries... no
> checking whether to build shared libraries... no
> checking whether to build static libraries... yes
> checking for g77 option to produce PIC... -fPIC
> checking if g77 PIC flag -fPIC works... yes
> checking if g77 supports -c -o file.o... yes
> checking whether the g77 linker (ld) supports shared libraries... yes
> checking dynamic linker characteristics... openbsd3.9 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for msgfmt... /usr/local/bin/msgfmt
> checking for gmsgfmt... /usr/local/bin/msgfmt
> checking for xgettext... /usr/local/bin/xgettext
> checking for msgmerge... /usr/local/bin/msgmerge
> checking for ranlib... (cached) ranlib
> checking for library containing strerror... none required
> checking for off_t... yes
> checking for size_t... yes
> checking for working alloca.h... no
> checking for alloca... yes
> checking for stdlib.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking for getpagesize... yes
> checking for working mmap... yes
> checking whether we are using the GNU C Library 2.1 or newer... no
> checking whether integer division by zero raises SIGFPE... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unsigned long long... yes
> checking for inttypes.h... yes
> checking whether the inttypes.h PRIxNN macros are broken... no
> checking for ld used by GCC... ld
> checking if the linker (ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking argz.h usability... no
> checking argz.h presence... no
> checking for argz.h... no
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking nl_types.h usability... yes
> checking nl_types.h presence... yes
> checking for nl_types.h... yes
> checking malloc.h usability... yes
> checking malloc.h presence... yes
> checking for malloc.h... yes
> checking stddef.h usability... yes
> checking stddef.h presence... yes
> checking for stddef.h... yes
> checking for stdlib.h... (cached) yes
> checking for string.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking for feof_unlocked... no
> checking for fgets_unlocked... no
> checking for getc_unlocked... yes
> checking for getcwd... yes
> checking for getegid... yes
> checking for geteuid... yes
> checking for getgid... yes
> checking for getuid... yes
> checking for mempcpy... no
> checking for munmap... yes
> checking for putenv... yes
> checking for setenv... yes
> checking for setlocale... yes
> checking for stpcpy... no
> checking for strcasecmp... yes
> checking for strdup... yes
> checking for strtoul... yes
> checking for tsearch... yes
> checking for __argz_count... no
> checking for __argz_stringify... no
> checking for __argz_next... no
> checking for iconv... yes
> checking how to link with libiconv... /usr/local/lib/libiconv.a
> checking for iconv declaration...
>          extern size_t iconv (iconv_t cd, const char * *inbuf, size_t 
> *inbytesleft, char * *outbuf, size_t *outbytesleft);
> checking for nl_langinfo and CODESET... yes
> checking for LC_MESSAGES... yes
> checking for bison... no
> checking whether NLS is requested... yes
> checking whether included gettext is requested... yes
> checking for shared objects suffix... .dll
> checking for prefix to exported symbols... _
> checking for gettimeofday... yes
> checking for select... yes
> checking for strerror... yes
> checking for strtod... yes
> checking for strtol... yes
> checking for strtof... no
> checking for strtoll... yes
> checking for strtoull... yes
> checking for strsep... yes
> checking for isatty... yes
> checking for vasprintf... yes
> checking for asprintf... yes
> checking for swab... yes
> checking for sigrelse... no
> checking for getpwuid... yes
> checking for memalign... no
> checking for posix_memalign... no
> checking for if_nametoindex... yes
> checking for atoll... yes
> checking for getenv... yes
> checking for putenv... (cached) yes
> checking for setenv... (cached) yes
> checking for gmtime_r... yes
> checking for ctime_r... yes
> checking for localtime_r... yes
> checking for lrintf... no
> checking for daemon... yes
> checking for scandir... yes
> checking for fork... yes
> checking for bsearch... yes
> checking for lstat... yes
> checking for strdup... (cached) yes
> checking for strndup... no
> checking for atof... yes
> checking for strcasecmp... (cached) yes
> checking for strncasecmp... yes
> checking for strcasestr... yes
> checking for setlocale... (cached) yes
> checking langinfo.h usability... yes
> checking langinfo.h presence... yes
> checking for langinfo.h... yes
> checking for nl_langinfo... yes
> checking for nl_langinfo and CODESET... yes
> checking for connect... yes
> checking for send... yes
> checking for gethostbyname... yes
> checking for socklen_t... yes
> checking for struct sockaddr_storage... yes
> checking for library containing getaddrinfo... none required
> checking for getnameinfo... yes
> checking for gai_strerror... yes
> checking for struct addrinfo... yes
> checking for va_copy... yes
> checking for __va_copy... yes
> checking for inet_aton... yes
> checking for getopt_long... yes
> checking return type of signal handlers... void
> checking for cos in -lm... yes
> checking for pow in -lm... yes
> checking for sqrt in -lm... yes
> checking for ceil in -lm... yes
> checking for sqrtf in -lmx... no
> checking mach-o/dyld.h usability... no
> checking mach-o/dyld.h presence... no
> checking for mach-o/dyld.h... no
> checking dl.h usability... no
> checking dl.h presence... no
> checking for dl.h... no
> checking for shl_load... (cached) no
> checking for dld_link in -ldld... no
> checking image.h usability... no
> checking image.h presence... no
> checking for image.h... no
> checking for load_add_on... no
> checking for dlfcn.h... (cached) yes
> checking sys/dl.h usability... no
> checking sys/dl.h presence... no
> checking for sys/dl.h... no
> checking for dlopen... (cached) yes
> checking for main in -lpthread... yes
> checking for cthread_fork in -lthreads... no
> checking for sem_init in -lrt... no
> checking for nanosleep... yes
> checking for pthread_cond_t in pthread.h... yes
> checking for pthread_once in pthread.h... yes
> checking for strncasecmp in strings.h... yes
> checking signal.h usability... yes
> checking signal.h presence... yes
> checking for signal.h... yes
> checking time.h usability... yes
> checking time.h presence... yes
> checking for time.h... yes
> checking errno.h usability... yes
> checking errno.h presence... yes
> checking for errno.h... yes
> checking for stdint.h... (cached) yes
> checking stdbool.h usability... yes
> checking stdbool.h presence... yes
> checking for stdbool.h... yes
> checking getopt.h usability... yes
> checking getopt.h presence... yes
> checking for getopt.h... yes
> checking for strings.h... (cached) yes
> checking for inttypes.h... (cached) yes
> checking sys/int_types.h usability... no
> checking sys/int_types.h presence... no
> checking for sys/int_types.h... no
> checking wchar.h usability... yes
> checking wchar.h presence... yes
> checking for wchar.h... yes
> checking sys/sockio.h usability... yes
> checking sys/sockio.h presence... yes
> checking for sys/sockio.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking for sys/types.h... (cached) 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 sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking for sys/stat.h... (cached) yes
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking net/if.h usability... no
> checking net/if.h presence... yes
> checking for net/if.h... yes
> checking netinet/in.h usability... yes
> checking netinet/in.h presence... yes
> checking for netinet/in.h... yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking machine/param.h usability... yes
> checking machine/param.h presence... yes
> checking for machine/param.h... yes
> checking sys/shm.h usability... yes
> checking sys/shm.h presence... yes
> checking for sys/shm.h... yes
> checking linux/version.h usability... no
> checking linux/version.h presence... no
> checking for linux/version.h... no
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking dirent.h usability... yes
> checking dirent.h presence... yes
> checking for dirent.h... yes
> checking for nanosleep in time.h... yes
> checking for timespec in sys/time.h... yes
> checking cthreads.h usability... no
> checking cthreads.h presence... no
> checking for cthreads.h... no
> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking kernel/scheduler.h usability... no
> checking kernel/scheduler.h presence... no
> checking for kernel/scheduler.h... no
> checking kernel/OS.h usability... no
> checking kernel/OS.h presence... no
> checking for kernel/OS.h... no
> checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
> checking for gethostbyname... (cached) yes
> checking for connect... (cached) yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking for pkg-config... no
> checking for ntohl in sys/param.h... yes
> checking if $CC accepts -Wall... yes
> checking if $CC accepts -Wconversion... yes
> checking if $CC accepts -Wunreachable-code... yes
> checking if $CC accepts -Wsign-compare... yes
> checking if $CC accepts -pipe... yes
> checking if $CC accepts -Os... yes
> checking if $CC accepts -O3... yes
> checking if $CC accepts -O2... yes
> checking if $CC accepts -ffast-math... yes
> checking if $CC accepts -funroll-loops... yes
> checking if $CC accepts -fomit-frame-pointer... yes
> checking if $CC accepts -mdynamic-no-pic... no
> checking if $CC accepts -bundle -undefined error... no
> checking if $CC accepts -shared... yes
> checking for variadic cpp macros... yes
> checking __attribute__ ((aligned ())) support... 64
> checking __attribute__ ((format ())) support with function pointers... yes
> checking for __attribute__((packed))... yes
> checking if $CC groks MMX inline assembly... yes
> checking if $CC groks MMX intrinsics... yes
> checking if $CC groks MMX EXT inline assembly... yes
> checking if $CC groks 3D Now! inline assembly... yes
> checking if $CC groks SSE inline assembly... yes
> checking if $CC groks AltiVec inline assembly... no
> checking if $CC groks AltiVec C extensions... no
> checking altivec.h usability... no
> checking altivec.h presence... no
> checking for altivec.h... no
> checking if linker needs -framework vecLib... no
> checking whether gcc accepts -mtune=pentium2... no
> checking dvdread/dvd_reader.h usability... no
> checking dvdread/dvd_reader.h presence... no
> checking for dvdread/dvd_reader.h... no
> checking for dvdnav-config... no
> checking libsmbclient.h usability... no
> checking libsmbclient.h presence... no
> checking for libsmbclient.h... no
> checking for struct _SMBCCTX.close_fn... no
> checking for dvbpsi/dr.h... no
> checking for dvbpsi_GenSDTSections in -ldvbpsi... no
> checking for LIBCDIO_CFLAGS...
> checking for LIBCDIO_LIBS...
> checking for VCDINFO_CFLAGS...
> checking for VCDINFO_LIBS...
> checking for cdrom_msf0 in linux/cdrom.h... no
> checking for scsireq in sys/scsiio.h... yes
> checking for ioc_toc_header in sys/cdio.h... yes
> checking for LIBCDDB_CFLAGS...
> checking for LIBCDDB_LIBS...
> checking X11/Xlib.h usability... yes
> checking X11/Xlib.h presence... yes
> checking for X11/Xlib.h... yes
> checking for inet_pton... yes
> checking for sockaddr_in6 in netinet/in.h... yes
> checking ogg/ogg.h usability... no
> checking ogg/ogg.h presence... no
> checking for ogg/ogg.h... no
> checking ebml/EbmlVersion.h usability... no
> checking ebml/EbmlVersion.h presence... no
> checking for ebml/EbmlVersion.h... no
> checking libmodplug/modplug.h usability... no
> checking libmodplug/modplug.h presence... no
> checking for libmodplug/modplug.h... no
> checking mpcdec/mpcdec.h usability... no
> checking mpcdec/mpcdec.h presence... no
> checking for mpcdec/mpcdec.h... no
> checking id3tag.h usability... no
> checking id3tag.h presence... no
> checking for id3tag.h... no
> checking for ffmpeg-config... no
> checking for FFMPEG_CFLAGS...
> checking for FFMPEG_LIBS...
> checking ffmpeg/avcodec.h usability... no
> checking ffmpeg/avcodec.h presence... no
> checking for ffmpeg/avcodec.h... no
> 
> getting this error
> configure: WARNING: net/if.h: present but cannot be compiled
> configure: WARNING: net/if.h:     check for missing prerequisite headers?
> configure: WARNING: net/if.h: see the Autoconf documentation
> configure: WARNING: net/if.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: net/if.h: proceeding with the preprocessor's result
> configure: WARNING: net/if.h: in the future, the compiler will take 
> precedence
> configure: WARNING:     ## ------------------------------ ##
> configure: WARNING:     ## Report this to the vlc lists.  ##
> configure: WARNING:     ## ------------------------------ ##
> configure: WARNING: cannot find libdvbpsi headers
> configure: WARNING: CD Reading and information library not found
> configure: WARNING: VCD information library not found
> configure: WARNING: new enough libcddb not found. CDDB access disabled
> configure: error: Missing header file ffmpeg/avcodec.h.
> 
> i had bzip2 this file ffmpeg-20051126.tar.bz2
> 
> i also pkg_add ffmpeg-20050413.tgz
> 
> still have the same error.
> 
> can somebody give me a clue.

Use --with-ffmpeg-tree=<PATH_TO_FFMPEG_TREE> and install libdvbpsi. The 
net/if.h missing file I don't know how to solve.

Gtz,
Jean-Paul Saman.

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list