-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 5/23/11 12:11 PM, [email protected] wrote:
> hi community, hi dev team,
> 
> - running 'fink update-all' produces errors when fink tries to update 
> qt4, namely the dependency 'cdparanoia'.
> - all other out-of-date software packages apart from qt4 were 
> compiled/installed without problems.
> 
> the errors run e.g. like this:
> 
> [...]
> checking for int16_t... yes
> ./configure: line 3282: short: command not found
> checking for int32_t... yes
> ./configure: line 3328: int: command not found
> [...]
> 
> and later:
> 
> [...]
> common_interface.c:11:18: error: no include path in which to search for 
> math.h
> In file included from common_interface.c:12:
> low_interface.h:13:19: error: no include path in which to search for 
> stdio.h
> low_interface.h:14:20: error: no include path in which to search for 
> stdlib.h
> low_interface.h:15:20: error: no include path in which to search for 
> unistd.h
> [...]
> 
> 
> 
> 
> any idea?
> TIA
> dave
> 
> 
> 
> 
> 
> here the full build output:
> 
> 

<snip totally unnecessary stuff>

> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-cdparanoia-3a9.8-14 
> /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-cdparanoia-3a9.8-14' in 
> `/sw/src/fink.build/fink-buildlock-cdparanoia-3a9.8-14_2011.05.23-08.15.35_darwin-i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i 
> /sw/src/fink.build/fink-buildlock-cdparanoia-3a9.8-14_2011.05.23-08.15.35_darwin-i386.deb
> Selecting previously deselected package fink-buildlock-cdparanoia-3a9.8-14.
> (Reading database ... 185480 files and directories currently installed.)
> Unpacking fink-buildlock-cdparanoia-3a9.8-14 (from 
> .../fink-buildlock-cdparanoia-3a9.8-14_2011.05.23-08.15.35_darwin-i386.deb) 
> ...
> Setting up fink-buildlock-cdparanoia-3a9.8-14 (2011.05.23-08.15.35) ...
> 
> gzip -dc /sw/src/cdparanoia-osx-5.tar.gz | /sw/bin/tar -xf -  
> --no-same-owner --no-same-permissions
> perl -pi -e 's,scsi-commands/SCSITaskLib.h,scsi/SCSITaskLib.h,g' 
> interface/*.h interface/*.c
> /var/tmp/tmp.1.AuiAK7
> #!/bin/sh -ev
>          case `uname -r` in
>              10.*) perl -pi -e 's|-O20 -fsigned-char|-O20 -fsigned-char 
> -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5|g' 
> configure
>          esac
> uname -r
>          ./configure --prefix=/sw 
> --mandir=/sw/src/fink.build/root-cdparanoia-3a9.8-14/sw/share/man
> checking build system type... i386-apple-darwin
> checking host system type... i386-apple-darwin
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for executable suffix...
> checking for object suffix... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for ranlib... ranlib
> checking for ar... ar
> checking for install... install
> 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 short... yes
> checking size of short... 2
> checking for int... yes
> checking size of int... 4
> checking for long... yes
> checking size of long... 4
> checking for long long... yes
> checking size of long long... 8
> checking for int16_t... yes
> ./configure: line 3282: short: command not found
> checking for int32_t... yes
> ./configure: line 3328: int: command not found
> checking for u_int16_t... yes
> ./configure: line 3374: short: command not found
> checking for u_int32_t... yes
> ./configure: line 3420: int: command not found
> checking for endian.h... no
> checking for machine/endian.h... yes
> checking for getopt... yes
> checking for getopt_long... yes
> checking for getopt.h... yes
> checking whether make sets ${MAKE}... yes
> checking for gcc option to accept ANSI C... none needed
> checking for an ANSI C-conforming const... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating interface/Makefile
> config.status: creating paranoia/Makefile
>          DISTCC_HOSTS='' MAKEFLAGS='-j1' make
> cd interface && make all
> ln -sf osx_low_interface.h low_interface.h
> ln -sf osx_scsi_interface.c scsi_interface.c
> make libcdda_interface.a CFLAGS="-O20 -fsigned-char -isysroot 
> /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 
> -DENDIAN_H=\<machine/endian.h\>"
> gcc -O20 -fsigned-char -isysroot /Developer/SDKs/MacOSX10.5.sdk 
> -mmacosx-version-min=10.5 -DENDIAN_H=\<machine/endian.h\> -c 
> common_interface.c
> common_interface.c:11:18: error: no include path in which to search for 
> math.h
> In file included from common_interface.c:12:
> low_interface.h:13:19: error: no include path in which to search for 
> stdio.h
> low_interface.h:14:20: error: no include path in which to search for 
> stdlib.h
> low_interface.h:15:20: error: no include path in which to search for 
> unistd.h
> low_interface.h:16:20: error: no include path in which to search for 
> string.h
> low_interface.h:17:19: error: no include path in which to search for 
> errno.h
> low_interface.h:18:19: error: no include path in which to search for 
> fcntl.h
> low_interface.h:20:23: error: no include path in which to search for 
> sys/ioctl.h
> low_interface.h:21:22: error: no include path in which to search for 
> sys/stat.h
> low_interface.h:22:21: error: no include path in which to search for 
> sys/ipc.h
> low_interface.h:23:21: error: no include path in which to search for 
> sys/sem.h
> low_interface.h:24:21: error: no include path in which to search for 
> sys/shm.h
> low_interface.h:25:22: error: no include path in which to search for 
> sys/time.h
> low_interface.h:26:23: error: no include path in which to search for 
> sys/types.h
> In file included from low_interface.h:28,
>                   from common_interface.c:12:
> cdda_interface.h:21:23: error: no include path in which to search for 
> sys/types.h
> cdda_interface.h:22:20: error: no include path in which to search for 
> signal.h
> cdda_interface.h:25:36: error: no include path in which to search for 
> IOKit/scsi/SCSITaskLib.h
> In file included from low_interface.h:28,
>                   from common_interface.c:12:
> cdda_interface.h:33: error: expected specifier-qualifier-list before 
> 'int32_t'
> cdda_interface.h:106: error: expected specifier-qualifier-list before 
> 'sigset_t'
> In file included from common_interface.c:13:
> utils.h:1:18: error: no include path in which to search for 
> machine/endian.h
> utils.h:2:19: error: no include path in which to search for stdio.h
> utils.h:3:19: error: no include path in which to search for errno.h
> utils.h:4:20: error: no include path in which to search for string.h
> In file included from common_interface.c:13:
> utils.h:16: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'swap32'
> utils.h:23: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'swap16'
> utils.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'be32_to_cpu'
> utils.h:34: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'be16_to_cpu'
> utils.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'le32_to_cpu'
> utils.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'le16_to_cpu'
> utils.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'cpu_to_be32'
> utils.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'cpu_to_le32'
> utils.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'cpu_to_be16'
> utils.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'cpu_to_le16'
> utils.h: In function 'copystring':
> utils.h:85: warning: incompatible implicit declaration of built-in 
> function 'malloc'
> utils.h:85: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> utils.h:87: warning: incompatible implicit declaration of built-in 
> function 'strcpy'
> utils.h:90: error: 'NULL' undeclared (first use in this function)
> utils.h:90: error: (Each undeclared identifier is reported only once
> utils.h:90: error: for each function it appears in.)
> utils.h: In function 'catstring':
> utils.h:96: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> utils.h:96: warning: assignment makes pointer from integer without a cast
> utils.h:98: warning: incompatible implicit declaration of built-in 
> function 'calloc'
> utils.h:99: warning: incompatible implicit declaration of built-in 
> function 'strcat'
> utils.h: In function 'cderror':
> utils.h:108: error: 'STDERR_FILENO' undeclared (first use in this function)
> utils.h:108: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> utils.h: In function 'cdmessage':
> utils.h:124: error: 'STDERR_FILENO' undeclared (first use in this function)
> utils.h:124: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> utils.h: In function 'idperror':
> utils.h:147: warning: incompatible implicit declaration of built-in 
> function 'malloc'
> utils.h:147: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> utils.h:148: warning: incompatible implicit declaration of built-in 
> function 'sprintf'
> utils.h:155: error: 'STDERR_FILENO' undeclared (first use in this function)
> utils.h:155: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> utils.h:156: error: 'errno' undeclared (first use in this function)
> utils.h:158: warning: passing argument 1 of 'strlen' makes pointer from 
> integer without a cast
> utils.h:167: warning: passing argument 2 of 'catstring' makes pointer 
> from integer without a cast
> utils.h: In function 'idmessage':
> utils.h:191: warning: incompatible implicit declaration of built-in 
> function 'malloc'
> utils.h:191: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> utils.h:192: warning: incompatible implicit declaration of built-in 
> function 'sprintf'
> utils.h:193: warning: incompatible implicit declaration of built-in 
> function 'strcat'
> utils.h:200: error: 'STDERR_FILENO' undeclared (first use in this function)
> utils.h:200: warning: incompatible implicit declaration of built-in 
> function 'strlen'
> common_interface.c: In function 'data_bigendianp':
> common_interface.c:59: warning: incompatible implicit declaration of 
> built-in function 'calloc'
> common_interface.c:62: error: 'int16_t' undeclared (first use in this 
> function)
> common_interface.c:62: error: 'buff' undeclared (first use in this 
> function)
> common_interface.c:62: warning: incompatible implicit declaration of 
> built-in function 'malloc'
> common_interface.c:118: error: 'NULL' undeclared (first use in this 
> function)
> common_interface.c:120: warning: incompatible implicit declaration of 
> built-in function 'fabs'
> common_interface.c:152: warning: incompatible implicit declaration of 
> built-in function 'sprintf'
> common_interface.c:160: warning: incompatible implicit declaration of 
> built-in function 'sprintf'
> common_interface.c: In function 'FixupTOC':
> common_interface.c:183: error: 'struct TOC' has no member named 
> 'dwStartSector'
> common_interface.c:186: error: 'struct TOC' has no member named 
> 'dwStartSector'
> common_interface.c:188: error: 'struct TOC' has no member named 
> 'dwStartSector'
> common_interface.c:189: error: 'struct TOC' has no member named 
> 'dwStartSector'
> common_interface.c:192: error: 'struct TOC' has no member named 
> 'dwStartSector'
> common_interface.c:199: error: 'struct TOC' has no member named 
> 'dwStartSector'
> common_interface.c:201: error: 'struct TOC' has no member named 
> 'dwStartSector'
> common_interface.c:204: error: 'struct TOC' has no member named 
> 'dwStartSector'
> common_interface.c:207: error: 'struct TOC' has no member named 
> 'dwStartSector'
> make[2]: *** [common_interface.o] Error 1
> make[1]: *** [lib] Error 2
> make: *** [all] Error 2
> ### execution of /var/tmp/tmp.1.AuiAK7 failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-cdparanoia-3a9.8-14
> (Reading database ... 185481 files and directories currently installed.)
> Removing fink-buildlock-cdparanoia-3a9.8-14 ...
> Failed: phase compiling: cdparanoia-3a9.8-14 failed
> 

Your error has *nothing* to do with qt4.  cdparanoia is the package
which is failing to build for you.

We know that your Fink setup is i386 from your build output, but you
haven't specified whether you're on 10.4, 10.5, or 10.6.  "fink -V |
head -n3" can give us this information.

Nor have you provided your Xcode version.  "fink list xcode" can give us
that.

Without these data, it is somewhat difficult to proceed.  cdparanoia
worked for me on on 10.6/i386 using Xcode 3.2.6, but I don't know
whether that corresponds to your system or not.

However, one question does occur to me.  Do you have the MacOS X 10.5
SDK installed?  You can check on this by using "fink list system-sdk-10.5".
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3aio0ACgkQB8UpO3rKjQ8AQACdHNCVEo0T7/xdGQ+YK+t1hNw3
fG0An1FPJYl7SyhMy0KDWs2G7n3o3aQN
=hz78
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to