[MPlayer-users] Mac OS X (10.4) Configuration Failure
Kichigai Mentat
kichigai at comcast.net
Tue May 3 22:40:03 CEST 2005
Can I get some help with the configuration of MPlayer in OS X (10.4)?
I had installed MPlayer earlier on OS X 10.3 (up through 10.3.9) when
I compiled it myself. Included below is my configure.log
============ Checking for cc version ============
Result is: 4.0.0, bad
##########################################
============ Checking for gcc version ============
Result is: 4.0.0, bad
##########################################
============ Checking for gcc-3.4 version ============
Result is: not found
##########################################
============ Checking for gcc-3.3 version ============
Result is: 3.3, ok
##########################################
============ Checking for host cc ============
Result is: gcc-3.3
##########################################
============ Checking for CPU type ============
Result is: 7450 altivec
##########################################
============ Checking for GCC & CPU optimization abilities ============
Result is: 7450
##########################################
============ Checking for assembler support of -pipe option ============
int main(void) { return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -pipe
ld: can't locate file for: -lcrt1.o
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for GCC altivec support ============
int main() {
return 0;
}
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -faltivec
ld: can't locate file for: -lcrt1.o
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
int main() {
return 0;
}
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -maltivec -mabi=altivec
ld: can't locate file for: -lcrt1.o
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: none
##########################################
============ Checking for mplayer binary name ============
Result is: mplayer
##########################################
============ Checking for extra headers ============
Result is: none
##########################################
============ Checking for extra libs ============
Result is: none
##########################################
============ Checking for -lposix ============
int main(void) { return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lposix
ld: can't locate file for: -lcrt1.o
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for -lm ============
int main(void) { return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lm
ld: can't locate file for: -lcrt1.o
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for i18n ============
#include <libintl.h>
int main(void) { gettext("test"); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
/tmp/mplayer-conf-8284-2533.c:1:21: libintl.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
#include <libintl.h>
int main(void) { gettext("test"); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lintl
/tmp/mplayer-conf-8284-2533.c:1:21: libintl.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for iconv ============
#include <stdio.h>
#include <unistd.h>
#include <iconv.h>
#define INBUFSIZE 1024
#define OUTBUFSIZE 4096
char inbuffer[INBUFSIZE];
char outbuffer[OUTBUFSIZE];
int main(void) {
size_t numread;
iconv_t icdsc;
char *tocode="UTF-8";
char *fromcode="cp1250";
if ((icdsc = iconv_open (tocode, fromcode)) != (iconv_t)(-1)) {
while ((numread = read (0, inbuffer, INBUFSIZE))) {
char *iptr=inbuffer;
char *optr=outbuffer;
size_t inleft=numread;
size_t outleft=OUTBUFSIZE;
if (iconv(icdsc, (const char **)&iptr, &inleft, &optr, &outleft)
!= (size_t)(-1)) {
write (1, outbuffer, OUTBUFSIZE - outleft);
}
}
if (iconv_close(icdsc) == -1)
;
}
}
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
/tmp/mplayer-conf-8284-2533.c:1:19: stdio.h: No such file or directory
/tmp/mplayer-conf-8284-2533.c:2:20: unistd.h: No such file or directory
/tmp/mplayer-conf-8284-2533.c:3:19: iconv.h: No such file or directory
/tmp/mplayer-conf-8284-2533.c: In function `main':
/tmp/mplayer-conf-8284-2533.c:11: error: `size_t' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:11: error: (Each undeclared identifier
is reported only once
/tmp/mplayer-conf-8284-2533.c:11: error: for each function it appears
in.)
/tmp/mplayer-conf-8284-2533.c:11: error: parse error before "numread"
/tmp/mplayer-conf-8284-2533.c:12: error: `iconv_t' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:15: error: `icdsc' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:16: error: `numread' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:19: error: parse error before "inleft"
/tmp/mplayer-conf-8284-2533.c:21: error: `inleft' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:21: error: `outleft' undeclared (first
use in this function)
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
#include <stdio.h>
#include <unistd.h>
#include <iconv.h>
#define INBUFSIZE 1024
#define OUTBUFSIZE 4096
char inbuffer[INBUFSIZE];
char outbuffer[OUTBUFSIZE];
int main(void) {
size_t numread;
iconv_t icdsc;
char *tocode="UTF-8";
char *fromcode="cp1250";
if ((icdsc = iconv_open (tocode, fromcode)) != (iconv_t)(-1)) {
while ((numread = read (0, inbuffer, INBUFSIZE))) {
char *iptr=inbuffer;
char *optr=outbuffer;
size_t inleft=numread;
size_t outleft=OUTBUFSIZE;
if (iconv(icdsc, (const char **)&iptr, &inleft, &optr, &outleft)
!= (size_t)(-1)) {
write (1, outbuffer, OUTBUFSIZE - outleft);
}
}
if (iconv_close(icdsc) == -1)
;
}
}
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -liconv
/tmp/mplayer-conf-8284-2533.c:1:19: stdio.h: No such file or directory
/tmp/mplayer-conf-8284-2533.c:2:20: unistd.h: No such file or directory
/tmp/mplayer-conf-8284-2533.c:3:19: iconv.h: No such file or directory
/tmp/mplayer-conf-8284-2533.c: In function `main':
/tmp/mplayer-conf-8284-2533.c:11: error: `size_t' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:11: error: (Each undeclared identifier
is reported only once
/tmp/mplayer-conf-8284-2533.c:11: error: for each function it appears
in.)
/tmp/mplayer-conf-8284-2533.c:11: error: parse error before "numread"
/tmp/mplayer-conf-8284-2533.c:12: error: `iconv_t' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:15: error: `icdsc' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:16: error: `numread' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:19: error: parse error before "inleft"
/tmp/mplayer-conf-8284-2533.c:21: error: `inleft' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:21: error: `outleft' undeclared (first
use in this function)
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for langinfo ============
#include <langinfo.h>
int main(void) { nl_langinfo(CODESET); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
/tmp/mplayer-conf-8284-2533.c:1:22: langinfo.h: No such file or
directory
/tmp/mplayer-conf-8284-2533.c: In function `main':
/tmp/mplayer-conf-8284-2533.c:2: error: `CODESET' undeclared (first
use in this function)
/tmp/mplayer-conf-8284-2533.c:2: error: (Each undeclared identifier
is reported only once
/tmp/mplayer-conf-8284-2533.c:2: error: for each function it appears
in.)
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for language ============
Result is: using en (man pages: en)
##########################################
============ Checking for enable sighandler ============
Result is: yes
##########################################
============ Checking for runtime cpudetection ============
Result is: no
##########################################
============ Checking for restrict keyword ============
void foo(char * restrict p); int main(){}
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
/tmp/mplayer-conf-8284-2533.c:1: error: parse error before "p"
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
void foo(char * __restrict p); int main(){}
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
ld: can't locate file for: -lcrt1.o
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
void foo(char * __restrict__ p); int main(){}
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
ld: can't locate file for: -lcrt1.o
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: none
##########################################
============ Checking for __builtin_expect ============
int foo (int a) {
a = __builtin_expect (a, 10);
return a == 10 ? 0 : 1;
}
int main() { return foo(10) && foo(0); }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
ld: can't locate file for: -lcrt1.o
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for kstat ============
#include <kstat.h>
int main(void) { (void) kstat_open(); (void) kstat_close(0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lkstat
/tmp/mplayer-conf-8284-2533.c:1:19: kstat.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for posix4 ============
#include <time.h>
int main(void) { (void) nanosleep(0, 0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lposix4
/tmp/mplayer-conf-8284-2533.c:1:18: time.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for lrintf ============
#include <math.h>
int main(void) { (void) lrintf(0.0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
/tmp/mplayer-conf-8284-2533.c:1:18: math.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for nanosleep ============
#include <time.h>
int main(void) { (void) nanosleep(0, 0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
/tmp/mplayer-conf-8284-2533.c:1:18: time.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for socklib ============
#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lsocket
/tmp/mplayer-conf-8284-2533.c:1:19: netdb.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lnsl
/tmp/mplayer-conf-8284-2533.c:1:19: netdb.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lsocket -lnsl
/tmp/mplayer-conf-8284-2533.c:1:19: netdb.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lsocket -ldnet
/tmp/mplayer-conf-8284-2533.c:1:19: netdb.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
#include <netdb.h>
int main(void) { (void) gethostbyname(0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lsocket -lbind
/tmp/mplayer-conf-8284-2533.c:1:19: netdb.h: No such file or directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
#include <winsock2.h>
int main(void) { (void) gethostbyname(0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lws2_32
/tmp/mplayer-conf-8284-2533.c:1:22: winsock2.h: No such file or
directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for inet_pton() ============
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { (void) inet_pton(0, 0, 0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
/tmp/mplayer-conf-8284-2533.c:1:23: sys/types.h: No such file or
directory
/tmp/mplayer-conf-8284-2533.c:2:24: sys/socket.h: No such file or
directory
/tmp/mplayer-conf-8284-2533.c:3:23: arpa/inet.h: No such file or
directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { (void) inet_pton(0, 0, 0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lresolv
/tmp/mplayer-conf-8284-2533.c:1:23: sys/types.h: No such file or
directory
/tmp/mplayer-conf-8284-2533.c:2:24: sys/socket.h: No such file or
directory
/tmp/mplayer-conf-8284-2533.c:3:23: arpa/inet.h: No such file or
directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no (=> i'll try inet_aton next)
##########################################
============ Checking for inet_aton() ============
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { (void) inet_aton(0, 0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
/tmp/mplayer-conf-8284-2533.c:1:23: sys/types.h: No such file or
directory
/tmp/mplayer-conf-8284-2533.c:2:24: sys/socket.h: No such file or
directory
/tmp/mplayer-conf-8284-2533.c:3:23: arpa/inet.h: No such file or
directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
int main(void) { (void) inet_aton(0, 0); return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o -lresolv
/tmp/mplayer-conf-8284-2533.c:1:23: sys/types.h: No such file or
directory
/tmp/mplayer-conf-8284-2533.c:2:24: sys/socket.h: No such file or
directory
/tmp/mplayer-conf-8284-2533.c:3:23: arpa/inet.h: No such file or
directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no (=> network support disabled)
##########################################
============ Checking for inttypes.h (required) ============
#include <inttypes.h>
int main(void) { return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
/tmp/mplayer-conf-8284-2533.c:1:22: inttypes.h: No such file or
directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
Result is: no
##########################################
============ Checking for bitypes.h (inttypes.h predecessor)
============
#include <sys/bitypes.h>
int main(void) { return 0; }
gcc-3.3 /tmp/mplayer-conf-8284-2533.c -o /tmp/mplayer-
conf-905-2533.o
/tmp/mplayer-conf-8284-2533.c:1:25: sys/bitypes.h: No such file or
directory
ldd /tmp/mplayer-conf-905-2533.o
otool: can't open file: /tmp/mplayer-conf-905-2533.o (No such file or
directory)
"A company is like a monster. And it's my job to find smaller
monsters for it to eat."
--Charlotte Pickles, "The Rugrats"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20050503/87b9f001/attachment.htm>
More information about the MPlayer-users
mailing list