Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Alien-SDL CPAN distribution.

Report information
The Basics
Id: 55202
Status: resolved
Priority: 0/
Queue: Alien-SDL

People
Owner: Nobody in particular
Requestors: chm [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Alien-SDL-0.9 fails tests on vanilla cygwin build
I just did a plain test Alien::SDL from the cpan shell and, although it built, the test failed. I found the SDL test directory in .cpan/build/Alien-SDL-0.9-Pe_7Dk/build_src/SDL-1.2.14/test and ran ./configure manually---with the same failure. Adding --prefix=/user/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea allowed the configure to run, make then worked. To get the test programs to execute, I had to add the the sharedir/0.9_6aca4eea/bin directory to the PATH so that the DLLs would be found. I hope this feedback helps. Sorry I don't have time to debug further. Thanks much for the Alien:XXX --Chris $ perl -v This is perl, v5.10.0 built for cygwin-thread-multi-64int (with 6 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. $ uname -a CYGWIN_NT-5.1 tesseract-3 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin inspiration....
Subject: alien-sdl-test-fail-cygwin.txt
$ Build test Checking checksum for already existing 'download/SDL-1.2.14.tar.gz'... Checking checksum for already existing 'download/SDL_image-1.2.10.tar.gz'... Checking checksum for already existing 'download/SDL_mixer-1.2.11.tar.gz'... Checking checksum for already existing 'download/SDL_ttf-2.0.9.tar.gz'... Checking checksum for already existing 'download/SDL_net-1.2.7.tar.gz'... Checking checksum for already existing 'download/SDL_gfx-2.0.20.tar.gz'... Dir 'build_src/SDL-1.2.14' exists, wanna replace with clean sources? [n ] n Dir 'build_src/SDL_image-1.2.10' exists, wanna replace with clean sources? [n ] n Dir 'build_src/SDL_mixer-1.2.11' exists, wanna replace with clean sources? [n ] n Dir 'build_src/SDL_ttf-2.0.9' exists, wanna replace with clean sources? [n ] n Dir 'build_src/SDL_net-1.2.7' exists, wanna replace with clean sources? [n ] n Dir 'build_src/SDL_gfx-2.0.20' exists, wanna replace with clean sources? [n ] n BUILDING package 'SDL-1.2.14'... Run ./configure for 'SDL' again? [n ] n Running make install SDL... (cmd: make install) /bin/sh build-scripts/mkinstalldirs /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/bin mkdir -p -- /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/bin /usr/bin/install -c -m 755 sdl-config /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/bin/sdl-config /bin/sh build-scripts/mkinstalldirs /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/include/SDL mkdir -p -- /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/include/SDL for file in SDL.h SDL_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.h SDL_joystick.h SDL_keyboard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_opengl.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h; do \ /usr/bin/install -c -m 644 ./include/$file /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/include/SDL/$file; \ done /usr/bin/install -c -m 644 include/SDL_config.h /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/include/SDL/SDL_config.h /bin/sh build-scripts/mkinstalldirs /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib mkdir -p -- /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib /bin/sh ./libtool --mode=install /usr/bin/install -c build/libSDL.la /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/libSDL.la libtool: install: /usr/bin/install -c build/.libs/libSDL.dll.a /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/libSDL.dll.a libtool: install: base_file=`basename build/libSDL.la` libtool: install: dlpath=`/bin/sh 2>&1 -c '. build/.libs/'libSDL.la'i; echo SDL.dll'` libtool: install: dldir=/c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/`dirname ../bin/SDL.dll` libtool: install: test -d /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/../bin || mkdir -p /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/../bin libtool: install: /usr/bin/install -c build/.libs/SDL.dll /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/../bin/SDL.dll libtool: install: chmod a+x /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/../bin/SDL.dll libtool: install: if test -n '' && test -n 'strip --strip-unneeded'; then eval 'strip --strip-unneeded /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/../bin/SDL.dll' || exit 0; fi libtool: install: /usr/bin/install -c build/.libs/libSDL.lai /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/libSDL.la ---------------------------------------------------------------------- Libraries have been installed in: /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-LLIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /usr/bin/install -c -m 644 build/libSDLmain.a /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/libSDLmain.a ranlib /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/libSDLmain.a /bin/sh build-scripts/mkinstalldirs /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/share/aclocal mkdir -p -- /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/share/aclocal /usr/bin/install -c -m 644 ./sdl.m4 /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/share/aclocal/sdl.m4 /bin/sh build-scripts/mkinstalldirs /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/pkgconfig mkdir -p -- /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/pkgconfig /usr/bin/install -c -m 644 sdl.pc /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib/pkgconfig /bin/sh build-scripts/mkinstalldirs /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/share/man/man3 mkdir -p -- /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/share/man/man3 for src in ./docs/man3/*.3; do \ file=`echo $src | sed -e 's|^.*/||'`; \ /usr/bin/install -c -m 644 $src /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/share/man/man3/$file; \ done BUILDING package 'SDL_image-1.2.10'... Configuring SDL_image... (cmd: ./configure --prefix=/c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea --enable-static=no --enable-shared=yes --with-sdl-prefix=/c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea CFLAGS=-I/c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/include LDFLAGS=-L/c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/lib) checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe 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 for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/i686-pc-cygwin/bin/ld.exe checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 8192 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes checking for as... as checking for dlltool... dlltool checking for objdump... (cached) objdump checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking host system type... (cached) i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... 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 ISO C89... (cached) none needed checking for inline... inline checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking for windres... windres checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for sdl-config... /c/chm/.cpan/build/Alien-SDL-0.9-Pe_7Dk/sharedir/0.9_6aca4eea/bin/sdl-config checking for SDL - version >= 1.2.10... no *** Could not run SDL test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding SDL or finding the wrong *** version of SDL. If it is not finding SDL, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location Also, make sure you have run ldconfig if that *** is required on your system *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH configure: error: *** SDL version 1.2.10 not found! ###ERROR### [256] during ./configure ... at inc/My/Builder/Unix.pm line 77, <STDIN> line 7.