bugGnash - The GNU Flash player - Bugs: bug #18570, Automatic SDL detection failing in...

 
 

bug #18570: Automatic SDL detection failing in build process

Submitter:  Ann Barcomb <ann>
Submitted:  Thu 21 Dec 2006 01:00:09 PM UTC
   
 
Category:  build Severity:  4 - Important
Release:  None Status:  Fixed
Privacy:  Public Assigned to:  nihilus
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 18 Aug 2008 06:41:10 AM UTC, comment #15: 

No follow up for months, so assume it's fixed.

Benjamin Wolsey <bwy>
Group Member
Wed 20 Feb 2008 03:33:04 PM UTC, comment #14: 

SDL detection is working for me on FreeBSD, NetBSD, OpenBSD, Fedroa, Gentoo, and Ubuntu. Can you please see if this is still a problem ?

Rob Savoye <rsavoye>
Group administrator
Mon 28 Jan 2008 10:00:49 AM UTC, comment #13: 

Issue reported on gnash-dev by Hong Yu
Subject: Re: AW: [Gnash-dev] from Hong Yu: Gnash/server/asobj/LoadVars.* need fix for running www.twango.com videos

Sandro Santilli <strk>
Group Member
Wed 09 Jan 2008 11:25:55 AM UTC, comment #12: 

Is this fixed now ?

Sandro Santilli <strk>
Group Member
Tue 02 Jan 2007 09:45:06 PM UTC, comment #11: 

I have a fix for this in progress, for both SDL, and moving AC_CHECK_HEADERS and AC_CHECK_LIBS to be after the directory search. I'm traveling, so it'll take a few days to get done.


Rob Savoye <rsavoye>
Group administrator
Tue 02 Jan 2007 09:39:33 PM UTC, comment #10: 

And as Sandro pointed out, I'll add checks as a last step in the detection routine.

Markus Gothe <nihilus>
Group Member
Tue 02 Jan 2007 09:10:17 PM UTC, comment #9: 

I thought I fixed that one, but obviously not... ;)

Markus Gothe <nihilus>
Group Member
Sat 30 Dec 2006 09:43:40 PM UTC, comment #8: 

Now that pkg-config is running properly (see comment #5), the only package for which automatic detection fails is SDL. So CXXFLAGS currently only needs to be set to -I/usr/local/include/SDL11 (or --with-SDL-incl=/usr/local/include/SDL11 can be passed to configure instead) for compilation to succeed.

Bastiaan Jacques <bjacques>
Group Member
Sat 30 Dec 2006 09:03:16 PM UTC, comment #7: 

I think this one is on Markus todo list already, anyway here it is again. All detection macros should call AC_CHECK_LIB and AC_CHECK_HEADER as last thing to ensure that the detected
CFLAGS and LIBS are correct.
At least this would ensure an early show-stopper.

Sandro Santilli <strk>
Group Member
Thu 28 Dec 2006 07:38:07 PM UTC, comment #6: 

Actually, the analysis in my previous post is wrong. Although configure appears to succeed (which led me to my former conclusion), several include directories are still not found.

This is likely due to the generic macros in gnashpkgtool.m4. As far as I can tell, the macros checks for the libraries and headers using pkg-config, and when that fails, they resort to looking in standard locations like /usr/local/lib for libraries, and /usr/local/include for headers.

Now, taking the example of SDL-1.1 on FreeBSD: pkg-config doesn't have SDL registered, so the generic macros look in /usr/local/lib and find the SDL libraries. However, upon looking in /usr/local/include, the macros don't find SDL.h. The obvious reason for this is that the header actually lives in /usr/local/include/SDL11.

(The configure script appears to succeed because it only checks that the relevant LDFLAGS/LIBS have been set for a particular package, regardless of what the INCLUDES flags are set to.)

Normally, I'm guessing, programmes find this location by using the sdl11-config programme.

Markus, any ideas?

Bastiaan Jacques <bjacques>
Group Member
Thu 28 Dec 2006 07:04:54 PM UTC, comment #5: 

The problem is that the pkg-config programme was failing to run due to a run-time linker error. Oddly enough, pkg-config was installed from binary packages from the FreeBSD stable repository, but it was referring to a library version not part of FreeBSD-stable. I've reinstalled pkg-config from (source) ports, and automatic detection is working on Ann's system.

So this is not a bug in Gnash.

Bastiaan Jacques <bjacques>
Group Member
Wed 27 Dec 2006 02:46:38 PM UTC, comment #4: 

configure output attached as requested.

(file #11609)

Bastiaan Jacques <bjacques>
Group Member
Thu 21 Dec 2006 03:53:26 PM UTC, comment #3: 

Post the configure out without any configure options, so we can see what the default behaviour is where things aren't being found.

Rob Savoye <rsavoye>
Group administrator
Thu 21 Dec 2006 03:50:10 PM UTC, comment #2: 

These are the options I am using with configure:

--enable-renderer=agg --enable-docbook --with-docbook-styles=/usr/local/share/xsl/docbook --prefix=/home/ann --with-agg-incl=/opt/agg/include/agg2/ --with-agg-lib=/opt/agg/lib --disable-klash

This is the output from 'sh -x configure'.  I redirected all output to the same file.

+ test -n
+ test -n
+ DUALCASE=1
+ export DUALCASE
+ as_unset=unset
+ unset ENV MAIL MAILPATH
+ PS1=$
+ PS2=>
+ PS4=+
+ set +x
+ eval LANG=C
+ LANG=C
+ export LANG
+ set +x
+ eval LANGUAGE=C
+ LANGUAGE=C
+ export LANGUAGE
+ set +x
+ eval LC_ADDRESS=C
+ LC_ADDRESS=C
+ export LC_ADDRESS
+ set +x
+ eval LC_ALL=C
+ LC_ALL=C
+ export LC_ALL
+ set +x
+ eval LC_COLLATE=C
+ LC_COLLATE=C
+ export LC_COLLATE
+ set +x
+ eval LC_CTYPE=C
+ LC_CTYPE=C
+ export LC_CTYPE
+ set +x
+ eval LC_IDENTIFICATION=C
+ LC_IDENTIFICATION=C
+ export LC_IDENTIFICATION
+ set +x
+ eval LC_MEASUREMENT=C
+ LC_MEASUREMENT=C
+ export LC_MEASUREMENT
+ set +x
+ eval LC_MESSAGES=C
+ LC_MESSAGES=C
+ export LC_MESSAGES
+ set +x
+ eval LC_MONETARY=C
+ LC_MONETARY=C
+ export LC_MONETARY
+ set +x
+ eval LC_NAME=C
+ LC_NAME=C
+ export LC_NAME
+ set +x
+ eval LC_NUMERIC=C
+ LC_NUMERIC=C
+ export LC_NUMERIC
+ set +x
+ eval LC_PAPER=C
+ LC_PAPER=C
+ export LC_PAPER
+ set +x
+ eval LC_TELEPHONE=C
+ LC_TELEPHONE=C
+ export LC_TELEPHONE
+ set +x
+ eval LC_TIME=C
+ LC_TIME=C
+ export LC_TIME
+ expr a : \(a\)
+ as_expr=expr
+ basename /
+ test X/ = X/
+ as_basename=basename
+ basename configure
+ as_me=configure
+ as_cr_letters=abcdefghijklmnopqrstuvwxyz
+ as_cr_LETTERS=ABCDEFGHIJKLMNOPQRSTUVWXYZ
+ as_cr_Letters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
+ as_cr_digits=0123456789
+ as_cr_alnum=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
+ test  != set
+ echo #! /bin/sh
+ echo exit 0
+ chmod +x conf57438.sh
+ PATH_SEPARATOR=:
+ rm -f conf57438.sh
+ as_lineno_1=
+ as_lineno_2=
+ as_lineno_3=
+ test x != x
+ as_save_IFS=

+ IFS=:
+ IFS=

+ test -z /sbin
+ test -r /sbin/configure
+ IFS=

+ test -z /bin
+ test -r /bin/configure
+ IFS=

+ test -z /usr/sbin
+ test -r /usr/sbin/configure
+ IFS=

+ test -z /usr/bin
+ test -r /usr/bin/configure
+ IFS=

+ test -z /usr/games
+ test -r /usr/games/configure
+ IFS=

+ test -z /usr/local/sbin
+ test -r /usr/local/sbin/configure
+ IFS=

+ test -z /usr/local/bin
+ test -r /usr/local/bin/configure
+ IFS=

+ test -z /usr/X11R6/bin
+ test -r /usr/X11R6/bin/configure
+ IFS=

+ test -z /home/ann/bin
+ test -r /home/ann/bin/configure
+ IFS=

+ test -z /usr/sbin
+ test -r /usr/sbin/configure
+ IFS=

+ test -z /home/ann/bin/perl
+ test -r /home/ann/bin/perl/configure
+ IFS=

+ test -z /home/ann/bin/script
+ test -r /home/ann/bin/script/configure
+ IFS=

+ test -z /home/ann/bin/c
+ test -r /home/ann/bin/c/configure
+ IFS=

+ test -z /home/ann/bin
+ test -r /home/ann/bin/configure
+ IFS=

+ test -z /usr/bin
+ test -r /usr/bin/configure
+ IFS=

+ test -z /usr/ucb
+ test -r /usr/ucb/configure
+ IFS=

+ test -z /usr/local/bin
+ test -r /usr/local/bin/configure
+ IFS=

+ test -z /usr/etc
+ test -r /usr/etc/configure
+ IFS=

+ test -z /etc
+ test -r /etc/configure
+ IFS=

+ test -z /usr/gnu/bin
+ test -r /usr/gnu/bin/configure
+ IFS=

+ test -z /usr/games
+ test -r /usr/games/configure
+ IFS=

+ test -z /usr/local/apache/bin/
+ test -r /usr/local/apache/bin//configure
+ IFS=

+ test -z /usr/local/pgsql/bin/
+ test -r /usr/local/pgsql/bin//configure
+ IFS=

+ test -z /opt/local/bin
+ test -r /opt/local/bin/configure
+ IFS=

+ test -z /usr/local/gnu-autotools/bin
+ test -r /usr/local/gnu-autotools/bin/configure
+ IFS=

+ test -z /usr/local/share
+ test -r /usr/local/share/configure
+ test x = x
+ as_myself=configure
+ test ! -f configure
+ as_save_IFS=

+ IFS=:
+ IFS=

+ test -z /bin
+ IFS=

+ test -z /usr/bin
+ IFS=

+ test -z /sbin
+ IFS=

+ test -z /bin
+ IFS=

+ test -z /usr/sbin
+ IFS=

+ test -z /usr/bin
+ IFS=

+ test -z /usr/games
+ IFS=

+ test -z /usr/local/sbin
+ IFS=

+ test -z /usr/local/bin
+ unset BASH_ENV
+ unset ENV
+ CONFIG_SHELL=/usr/local/bin/bash
+ export CONFIG_SHELL
+ exec /usr/local/bin/bash configure
checking build system type... i386-unknown-freebsd6.1
checking host system type... i386-unknown-freebsd6.1
checking target system type... i386-unknown-freebsd6.1
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
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 whether make sets $(MAKE)... (cached) 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 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 for a BSD-compatible install... /usr/bin/install -c -p
checking for library file name specifics... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
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 dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking dmalloc/dmalloc.h usability... no
checking dmalloc/dmalloc.h presence... no
checking for dmalloc/dmalloc.h... no
checking for dmalloc/dmalloc.h... (cached) no
checking for library containing mallinfo... no
checking for mallinfo... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... /libexec/ld-elf.so.1: Shared object "libc.so.7" not found, required by "pkg-config"
no
checking for autotrace... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
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 dejagnu.h usability... no
checking dejagnu.h presence... no
checking for dejagnu.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for sqrt in -lm... yes
checking for XInput_find_display in -lXi... no
checking for XDisableAccessControl in -lX11... no
checking for shm_unlink in -lrt... no
checking for shm_open... yes
checking for shm_unlink... yes
checking for vsnprintf... yes
checking for finite... yes
checking for isfinite... yes
checking whether g++ implements _PRETTY_FUNCTION_... yes
checking whether g++ implements _FUNCTION_... yes
checking whether g++ implements _func_... yes
checking for getopt... yes
checking for sysconf... yes
checking for shmget... yes
checking for shmat... (cached) yes
checking for shmdt... yes
checking for mmap... yes
checking for gettimeofday... yes
checking for strlcpy... yes
checking for strlcat... yes
checking winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
checking sys/endian.h usability... yes
checking sys/endian.h presence... yes
checking for sys/endian.h... yes
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking for socket... yes
checking for CreateFileMappingA... no
checking how to run the C++ preprocessor... g++ -E
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for library containing compress... -lz
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
checking jpeg/jpeglib.h usability... no
checking jpeg/jpeglib.h presence... no
checking for jpeg/jpeglib.h... no
checking for jpeg/jpeglib.h... (cached) no
checking for library containing jpeg_mem_init... -ljpeg
checking for ming-config... no
checking for doxygen... no
checking SDL.h usability... no
checking SDL.h presence... no
checking for SDL.h... no
checking SDL/SDL.h usability... no
checking SDL/SDL.h presence... no
checking for SDL/SDL.h... no
checking SDL-1.1/SDL.h usability... no
checking SDL-1.1/SDL.h presence... no
checking for SDL-1.1/SDL.h... no
checking for library containing SDL_Init... no
checking for the Boost Version... no version needed
checking boost/detail/lightweight_mutex.hpp usability... no
checking boost/detail/lightweight_mutex.hpp presence... no
checking for boost/detail/lightweight_mutex.hpp... no
checking for boost header... -I/usr/local/include
checking for library containing cleanup_slots... no
checking for Boost thread library... -L/usr/local/lib -lboost_thread
checking for xml2-config... /usr/local/bin/xml2-config
checking for libxml2... yes
checking for size_t... yes
checking size of size_t... 4
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for kde-config... /usr/local/bin/kde-config
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking if C++ programs can be compiled... yes
checking for strlcat... yes
checking if strlcat needs custom prototype... no
checking for strlcpy... yes
checking if strlcpy needs custom prototype... no
checking for main in -lutil... yes
checking for main in -lcompat... yes
checking for crypt in -lcrypt... yes
checking for socklen_t... yes
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/bitypes.h usability... no
checking sys/bitypes.h presence... no
checking for sys/bitypes.h... no
checking for poll in -lpoll... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... no
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... (cached) yes
checking size of int... (cached) 4
checking for short... (cached) yes
checking size of short... (cached) 2
checking for long... (cached) yes
checking size of long... (cached) 4
checking for char *... yes
checking size of char *... 4
checking for dlopen in -ldl... no
checking for shl_unload in -ldld... no
checking for size_t... (cached) yes
checking size of size_t... (cached) 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
not using lib directory suffix
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... (cached) yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
configure: line 23487: GNASH_PATH_ZLIB: command not found
checking for libpng... no
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... libraries /usr/X11R6/lib, headers /usr/X11R6/include using -mt
checking for moc... /usr/X11R6/bin/moc
checking for uic... /usr/X11R6/bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... yes
checking for rpath... yes
checking for KDE... libraries /usr/local/lib, headers /usr/local/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/local/bin/dcopidl
checking for dcopidl2cpp... /usr/local/bin/dcopidl2cpp
checking for mcopidl... /usr/local/bin/mcopidl
checking for artsc-config... /usr/local/bin/artsc-config
checking for meinproc... /usr/local/bin/meinproc
kde-config: WARNING: KLocale: trying to look up "" in catalog. Fix the program
checking for kconfig_compiler... /usr/local/bin/kconfig_compiler
checking for dcopidlng... /usr/local/bin/dcopidlng
checking for makekdewidgets... /usr/local/bin/makekdewidgets
checking for xmllint... /usr/local/bin/xmllint
checking GL/gl.h usability... no
checking GL/gl.h presence... no
checking for GL/gl.h... no
checking for OpenGL headers... -I/usr/X11R6/include
checking for glBegin in -lGL... no
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking glib/glib.h usability... no
checking glib/glib.h presence... no
checking for glib/glib.h... no
checking glib-2.0/glib.h usability... no
checking glib-2.0/glib.h presence... no
checking for glib-2.0/glib.h... no
checking for library containing g_io_channel_init... -lglib-2.0
checking for the Gtk GL Extensions Version...
checking for gtk/gtkgl.h...
checking for gtk_gl_init in -lgtkglext-x11-... no
checking for GTK GL library...
checking for the Gtk Version... 2.0
checking gtk/gtk.h usability... no
checking gtk/gtk.h presence... no
checking for gtk/gtk.h... no
checking for libgtk2 header... -I/usr/X11R6/include/gtk-2.0
checking for gtk_init in -lgtk-x11-2.0... no
checking for libgtk2 library... -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0
checking for the Pango Version... 1.0
checking pango/pango.h usability... no
checking pango/pango.h presence... no
checking for pango/pango.h... no
checking for libpango header... -I/usr/X11R6/include/pango-1.0
checking for pango_engine_shape_class_init in -lpango-1.0... no
checking for libpango library... -L/usr/X11R6/lib -lpango-1.0
checking atk.h usability... no
checking atk.h presence... no
checking for atk.h... no
checking atk/atk.h usability... no
checking atk/atk.h presence... no
checking for atk/atk.h... no
checking atk-1.0/atk.h usability... no
checking atk-1.0/atk.h presence... no
checking for atk-1.0/atk.h... no
checking for library containing atk_focus_tracker_init... -latk-1.0
checking for ffmpeg header... no
checking for ff_eval in -lavcodec... no
checking for libavcodec library...
configure: WARNING: ffmpeg specified as decoder, but it's not present, disabling sound
checking cairo.h usability... no
checking cairo.h presence... no
checking for cairo.h... no
checking cairo/cairo.h usability... no
checking cairo/cairo.h presence... no
checking for cairo/cairo.h... no
checking for cairo/cairo.h... (cached) no
checking for library containing cairo_status... -lcairo
checking for libcurl header... yes
checking for libcurl library... -L/usr/local/lib -lcurl
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for curl_global_init in -lcurl... yes
checking for lt_dlinit in -lltdl... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/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... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... 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 (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.1 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++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
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 (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.1 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... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for lt_dlmutex_register in -lltdl... yes
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... -D_THREAD_SAFE
checking for gcc architecture flag...
checking for x86 cpuid 0 output... 1:68747541:444d4163:69746e65
checking for x86 cpuid 1 output... 662:0:0:383f9ff
checking for x86 cpuid 0x80000006 output... 0:41004100:1008140:0
checking whether C compiler accepts -march=athlon-xp... yes
checking for gcc architecture flag... -march=athlon-xp
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libbase/Makefile
config.status: creating libgeometry/Makefile
config.status: creating server/Makefile
config.status: creating server/asobj/Makefile
config.status: creating server/vm/Makefile
config.status: creating server/parser/Makefile
config.status: creating libamf/Makefile
config.status: creating backend/Makefile
config.status: creating utilities/Makefile
config.status: creating doc/Makefile
config.status: creating doc/C/Makefile
config.status: creating doc/Doxyfile
config.status: creating testsuite/Makefile
config.status: creating testsuite/libbase/Makefile
config.status: creating testsuite/libgeometry/Makefile
config.status: creating testsuite/actionscript.all/Makefile
config.status: creating testsuite/samples/Makefile
config.status: creating testsuite/misc-ming.all/Makefile
config.status: creating testsuite/movies.all/Makefile
config.status: creating testsuite/server/Makefile
config.status: creating gui/Makefile
config.status: creating extensions/Makefile
config.status: creating extensions/dejagnu/Makefile
config.status: creating extensions/mysql/Makefile
config.status: creating plugin/Makefile
config.status: creating plugin/klash/Makefile
config.status: creating cygnal/Makefile
config.status: error: cannot find input file: cygnal/Makefile.in

Ann Barcomb <ann>
Thu 21 Dec 2006 03:39:43 PM UTC, comment #1: 

Adding a file that's the output of "sh -x configure" will help make it obvious what the problem is.

Rob Savoye <rsavoye>
Group administrator
Thu 21 Dec 2006 01:00:09 PM UTC, original submission:  

Automatic detection of libraries is failing on my workstation.  In order to get Gnash to build, I have to use the following CXXFLAGS:

-I/usr/local/include/SDL11 -I/usr/local/include/glib-2.0 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/cairo -I/usr/local/include/atk-1.0 -I/usr/local/include/boost -ggdb

This could be a shell-related issue, because afaik Bastiaan was able to build on the same computer with less difficulty; I'll ask him to confirm this.  I'm using tcsh.

System information:
FreeBSD god 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:42:56 UTC 2006     root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386



Ann Barcomb <ann>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #11609:  conflog added by bjacques (28KiB - application/octet-stream - output of sh -x ./configure (without arguments))

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bwy (Posted a comment)
  • -email is unavailable- added by nihilus (Posted a comment)
  • -email is unavailable- added by bjacques (Updated the item)
  • -email is unavailable- added by rsavoye (Posted a comment)
  • -email is unavailable- added by strk (Updated the item)
  • -email is unavailable- added by ann (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 17 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-08-18 bwy StatusWorks For Me Fixed
        Open/ClosedOpen Closed
    2008-07-09 strk Attached File#16047 Removed
    2008-07-09 None Attached File- Added feed_atom03_80x15.png, #16047
    2008-02-20 rsavoye Severity5 - Blocker 4 - Important
        StatusReady For Test Works For Me
    2008-01-28 strk Severity3 - Normal 5 - Blocker
    2008-01-09 strk StatusConfirmed Ready For Test
    2006-12-30 bjacques SummaryAutomatic detection failing in build process Automatic SDL detection failing in build process
    2006-12-28 bjacques StatusInvalid Confirmed
        Assigned tobjacques nihilus
    2006-12-28 bjacques StatusNone Invalid
        Assigned tonihilus bjacques
    2006-12-27 bjacques Attached File- Added conflog, #11609
    2006-12-21 strk CategoryNone build
        Assigned toNone nihilus
    2006-12-21 ann Carbon-Copy- Added bjacques

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code