[packman] powermanga

Peter Czanik pczanik at fang.fa.gau.hu
Wed Sep 28 09:50:43 CEST 2005


Hello,

On Tue, 27 Sep 2005, Manfred Tremmel wrote:

> Requires:       SDL
> Requires:       SDL_mixer
> BuildRequires:  SDL
> BuildRequires:  SDL-devel
> BuildRequires:  SDL_mixer

Did not help. The packages are there, SDL_mixer is there, but the error 
messages remain.

linux:/trash/build-root.root.10.0-ppc # ls -l usr/lib/libSDL*
lrwxrwxrwx  1 root root     19 Sep 26 18:38 usr/lib/libSDL-1.2.so.0 -> 
libSDL-1.2.so.0.7.1
-rwxr-xr-x  1 root root 494015 Sep  5 23:46 usr/lib/libSDL-1.2.so.0.7.1
-rw-r--r--  1 root root 610378 Sep  5 23:46 usr/lib/libSDL.a
-rw-r--r--  1 root root    913 Sep  5 23:46 usr/lib/libSDL.la
lrwxrwxrwx  1 root root     19 Sep 26 18:39 usr/lib/libSDL.so -> 
libSDL-1.2.so.0.7.1
lrwxrwxrwx  1 root root     25 Sep 26 18:40 usr/lib/libSDL_mixer-1.2.so.0 
-> libSDL_mixer-1.2.so.0.2.4
-rwxr-xr-x  1 root root 190173 Sep  6 00:04 
usr/lib/libSDL_mixer-1.2.so.0.2.4
-rw-r--r--  1 root root    650 Sep  5 23:46 usr/lib/libSDLmain.a

config.log attached.

> for next build. Sorry, I'm very lazy in adding BuildRequires. Users
> don't need them and they are often a problem when building for
> different versions (I'm building SUSE 8.2 to 10.0), because package
> names change and devel packages are added or removed. So it is very
> complicated to find entries that work with all the versions I build
> for.

But y2pmbuild is very dependent on this entries. It does not find 
dependencies without it...

> Simply install SDL_mixer and try again ;-)

It's there, as you can see from the file listing, but still, configure 
does not find it.

> If you have installed CD versions (is there a inst-source directory for
> ppc?), it's maybe not part of it.

It's on the CD, it's in the y2pmbuild build directory, so I'm lost... Bye,
Peter
-------------- next part --------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.58.  Invocation command line was

  $ ./configure --host=powerpc-suse-linux --build=powerpc-suse-linux --target=ppc-suse-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info

## --------- ##
## Platform. ##
## --------- ##

hostname = linux
uname -m = ppc
uname -r = 2.6.13-20050921081308-default
uname -s = Linux
uname -v = #1 Wed Sep 21 08:13:08 UTC 2005

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = ppc
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /home/compiler/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /bin
PATH: /usr/games
PATH: /opt/gnome/bin
PATH: /opt/kde3/bin
PATH: .


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1316: checking build system type
configure:1334: result: powerpc-suse-linux-gnu
configure:1342: checking host system type
configure:1356: result: powerpc-suse-linux-gnu
configure:1364: checking target system type
configure:1378: result: powerpc-suse-linux-gnu
configure:1406: checking for a BSD-compatible install
configure:1461: result: /usr/bin/install -c
configure:1472: checking whether build environment is sane
configure:1515: result: yes
configure:1548: checking for gawk
configure:1564: found /usr/bin/gawk
configure:1574: result: gawk
configure:1584: checking whether make sets $(MAKE)
configure:1604: result: yes
configure:1770: checking for powerpc-suse-linux-gcc
configure:1799: result: no
configure:1808: checking for gcc
configure:1824: found /usr/bin/gcc
configure:1834: result: gcc
configure:2078: checking for C compiler version
configure:2081: gcc --version </dev/null >&5
gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2084: $? = 0
configure:2086: gcc -v </dev/null >&5
Using built-in specs.
Target: powerpc64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada --disable-checking --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --without-system-libunwind --with-cpu=default32 --host=powerpc64-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
configure:2089: $? = 0
configure:2091: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2094: $? = 1
configure:2117: checking for C compiler default output file name
configure:2120: gcc -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2   conftest.c  >&5
configure:2123: $? = 0
configure:2169: result: a.out
configure:2174: checking whether the C compiler works
configure:2180: ./a.out
configure:2183: $? = 0
configure:2200: result: yes
configure:2207: checking whether we are cross compiling
configure:2209: result: no
configure:2212: checking for suffix of executables
configure:2214: gcc -o conftest -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2   conftest.c  >&5
configure:2217: $? = 0
configure:2242: result: 
configure:2248: checking for suffix of object files
configure:2269: gcc -c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2  conftest.c >&5
configure:2272: $? = 0
configure:2294: result: o
configure:2298: checking whether we are using the GNU C compiler
configure:2322: gcc -c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2  conftest.c >&5
configure:2328: $? = 0
configure:2332: test -z 
			 || test ! -s conftest.err
configure:2335: $? = 0
configure:2338: test -s conftest.o
configure:2341: $? = 0
configure:2354: result: yes
configure:2360: checking whether gcc accepts -g
configure:2381: gcc -c -g  conftest.c >&5
configure:2387: $? = 0
configure:2391: test -z 
			 || test ! -s conftest.err
configure:2394: $? = 0
configure:2397: test -s conftest.o
configure:2400: $? = 0
configure:2411: result: yes
configure:2428: checking for gcc option to accept ANSI C
configure:2498: gcc  -c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2  conftest.c >&5
configure:2504: $? = 0
configure:2508: test -z 
			 || test ! -s conftest.err
configure:2511: $? = 0
configure:2514: test -s conftest.o
configure:2517: $? = 0
configure:2535: result: none needed
configure:2553: gcc -c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2  conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:2559: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2711: checking for style of include used by make
configure:2739: result: GNU
configure:2767: checking dependency style of gcc
configure:2829: result: gcc3
configure:2863: checking for powerpc-suse-linux-g++
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-c++
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-gpp
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-aCC
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-CC
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-cxx
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-cc++
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-cl
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-FCC
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-KCC
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-RCC
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-xlC_r
configure:2892: result: no
configure:2863: checking for powerpc-suse-linux-xlC
configure:2892: result: no
configure:2905: checking for g++
configure:2921: found /usr/bin/g++
configure:2931: result: g++
configure:2947: checking for C++ compiler version
configure:2950: g++ --version </dev/null >&5
g++ (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2953: $? = 0
configure:2955: g++ -v </dev/null >&5
Using built-in specs.
Target: powerpc64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada --disable-checking --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-java-awt=gtk --disable-libjava-multilib --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --without-system-libunwind --with-cpu=default32 --host=powerpc64-suse-linux
Thread model: posix
gcc version 4.0.2 20050901 (prerelease) (SUSE Linux)
configure:2958: $? = 0
configure:2960: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:2963: $? = 1
configure:2966: checking whether we are using the GNU C++ compiler
configure:2990: g++ -c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2  conftest.cc >&5
configure:2996: $? = 0
configure:3000: test -z 
			 || test ! -s conftest.err
configure:3003: $? = 0
configure:3006: test -s conftest.o
configure:3009: $? = 0
configure:3022: result: yes
configure:3028: checking whether g++ accepts -g
configure:3049: g++ -c -g  conftest.cc >&5
configure:3055: $? = 0
configure:3059: test -z 
			 || test ! -s conftest.err
configure:3062: $? = 0
configure:3065: test -s conftest.o
configure:3068: $? = 0
configure:3079: result: yes
configure:3121: g++ -c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2  conftest.cc >&5
configure:3127: $? = 0
configure:3131: test -z 
			 || test ! -s conftest.err
configure:3134: $? = 0
configure:3137: test -s conftest.o
configure:3140: $? = 0
configure:3166: g++ -c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2  conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:15: error: 'exit' was not declared in this scope
configure:3172: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "powermanga"
| #define VERSION "0.78"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| exit (42);
|   ;
|   return 0;
| }
configure:3121: g++ -c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2  conftest.cc >&5
configure:3127: $? = 0
configure:3131: test -z 
			 || test ! -s conftest.err
configure:3134: $? = 0
configure:3137: test -s conftest.o
configure:3140: $? = 0
configure:3166: g++ -c -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2  conftest.cc >&5
configure:3172: $? = 0
configure:3176: test -z 
			 || test ! -s conftest.err
configure:3179: $? = 0
configure:3182: test -s conftest.o
configure:3185: $? = 0
configure:3210: checking dependency style of g++
configure:3272: result: gcc3
configure:3298: checking how to run the C preprocessor
configure:3333: gcc -E  conftest.c
configure:3339: $? = 0
configure:3371: gcc -E  conftest.c
conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
configure:3377: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "powermanga"
| #define VERSION "0.78"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3416: result: gcc -E
configure:3440: gcc -E  conftest.c
configure:3446: $? = 0
configure:3478: gcc -E  conftest.c
conftest.c:14:28: error: ac_nonexistent.h: No such file or directory
configure:3484: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "powermanga"
| #define VERSION "0.78"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3528: checking for X
configure:3758: result: libraries /usr/X11R6/lib, headers /usr/X11R6/include
configure:3808: checking for sdl-config
configure:3826: found /usr/bin/sdl-config
configure:3839: result: /usr/bin/sdl-config
configure:3847: checking for SDL - version >= 0.11.0
configure:3937: gcc -o conftest -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_REENTRANT   conftest.c  -L/usr/lib -lSDL -lpthread >&5
configure:3940: $? = 0
configure:3942: ./conftest
configure:3945: $? = 0
configure:3963: result: yes
configure:4061: checking for Mix_GetChunk in -lSDL_mixer
configure:4091: gcc -o conftest -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2   -L/usr/lib -lSDL -lpthread conftest.c -lSDL_mixer   >&5
/usr/bin/ld: cannot find -lSDL_mixer
collect2: ld returned 1 exit status
configure:4097: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "powermanga"
| #define VERSION "0.78"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char Mix_GetChunk ();
| int
| main ()
| {
| Mix_GetChunk ();
|   ;
|   return 0;
| }
configure:4123: result: no
configure:4131: error: Could not find -lSDL_mixer

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc-suse-linux-gnu
ac_cv_build_alias=powerpc-suse-linux
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=powerpc-suse-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=powerpc-suse-linux
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=ppc-suse-linux
ac_cv_exeext=
ac_cv_have_x='have_x=yes 		ac_x_includes=/usr/X11R6/include ac_x_libraries=/usr/X11R6/lib'
ac_cv_host=powerpc-suse-linux-gnu
ac_cv_host_alias=powerpc-suse-linux
ac_cv_lib_SDL_mixer_Mix_GetChunk=no
ac_cv_objext=o
ac_cv_path_SDL_CONFIG=/usr/bin/sdl-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=powerpc-suse-linux-gnu
ac_cv_target_alias=ppc-suse-linux
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/src/packages/BUILD/powermanga-0.79/autotools/missing --run aclocal-1.7'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/src/packages/BUILD/powermanga-0.79/autotools/missing --run tar'
ASSEMBLY_FALSE=''
ASSEMBLY_TRUE=''
AUTOCONF='${SHELL} /usr/src/packages/BUILD/powermanga-0.79/autotools/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/src/packages/BUILD/powermanga-0.79/autotools/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/src/packages/BUILD/powermanga-0.79/autotools/missing --run automake-1.7'
AWK='gawk'
CC='gcc'
CCAS='$(CC)'
CCASFLAGS='$(CFLAGS)'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-O3 -Wall'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=' -L/usr/lib -lSDL -lpthread'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /usr/src/packages/BUILD/powermanga-0.79/autotools/missing --run makeinfo'
OBJEXT='o'
PACKAGE='powermanga'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SDL_CFLAGS='-I/usr/include/SDL -D_REENTRANT'
SDL_CONFIG='/usr/bin/sdl-config'
SDL_LIBS='-L/usr/lib -lSDL -lpthread'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.78'
XLIB_CFLAGS='-I/usr/X11R6/include'
XLIB_LIBS='-L/usr/X11R6/lib -lXext -lXxf86dga -lXxf86vm'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__quote=''
bindir='/usr/bin'
build='powerpc-suse-linux-gnu'
build_alias='powerpc-suse-linux'
build_cpu='powerpc'
build_os='linux-gnu'
build_vendor='suse'
datadir='/usr/share'
exec_prefix='/usr'
host='powerpc-suse-linux-gnu'
host_alias='powerpc-suse-linux'
host_cpu='powerpc'
host_os='linux-gnu'
host_vendor='suse'
includedir='/usr/include'
infodir='/usr/share/info'
install_sh='/usr/src/packages/BUILD/powermanga-0.79/autotools/install-sh'
libdir='/usr/lib'
libexecdir='/usr/libexec'
localstatedir='/var'
mandir='/usr/share/man'
oldincludedir='/usr/include'
prefix='/usr'
program_transform_name='s,^,,'
sbindir='/usr/sbin'
sharedstatedir='/usr/com'
sysconfdir='/etc'
target='powerpc-suse-linux-gnu'
target_alias='ppc-suse-linux'
target_cpu='powerpc'
target_os='linux-gnu'
target_vendor='suse'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "powermanga"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.78"
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 1


More information about the Packman mailing list