Building mplayer on Solaris

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



After some investigation, I do have bash installed. It was the first line in the config file causing this. 

Changing #! /bin/sh to #! /bin/bash fixed the issue. 

Now it will still not compile. Here is the output from ./configure:

[donjulio:~/mplayer] brooks$ ./configure
usage: tail [+/-[n][lbc][f]] [file]
       tail [+/-[n][l][r|f]] [file]
usage: tail [+/-[n][lbc][f]] [file]
       tail [+/-[n][l][r|f]] [file]
usage: tail [+/-[n][lbc][f]] [file]
       tail [+/-[n][l][r|f]] [file]
Detected operating system: SunOS
Detected host architecture: i386
Checking for host cc ... cc 
Checking for cross compilation ... yes 
./configure: line 1640: cc: command not found
./configure: line 1645: cc: command not found
./configure: line 1673: cc: command not found
./configure: line 1685: ./cpuinfo: No such file or directory
./configure: line 1686: ./cpuinfo: No such file or directory
./configure: line 1687: ./cpuinfo: No such file or directory
./configure: line 1688: ./cpuinfo: No such file or directory
./configure: line 1689: ./cpuinfo: No such file or directory
./configure: line 1691: ./cpuinfo: No such file or directory
Checking for CPU vendor ...  (::) 
Checking for CPU type ...  
Checking for mtrr support ... auto 
Checking for GCC & CPU optimization abilities ... ./configure: line 1922: test: !=: unary operator expected
CPU optimization disabled. CPU not recognized or your compiler is too old. 
error 
Checking for byte order ... failed to autodetect byte order, defaulting to little-endian 
Checking for extern symbol prefix ... 
Error: Symbol mangling check failed.

Check "configure.log" if you do not understand why it failed.


And the configure log:

[donjulio:~/mplayer] brooks$ cat configure.log 
configuration:


int main(void) {
    int test[(int)sizeof(char *)-7];
    return 0;
}

cc /tmp/mplayer-conf-23900-18721.c  -I.      -o /tmp/mplayer-conf-5926-18721 
./configure: line 69: cc: command not found


============ Checking for host cc ============
Result is: cc 
##########################################

============ Checking for cross compilation ============

int main(void) { return 0; }

cc /tmp/mplayer-conf-23900-18721.c  -I.      -o /tmp/mplayer-conf-5926-18721 
./configure: line 69: cc: command not found


Result is: yes 
##########################################

============ Checking for CPU vendor ============
Result is:  (::) 
##########################################

============ Checking for CPU type ============
Result is:  
##########################################

============ Checking for mtrr support ============
Result is: auto 
##########################################

============ Checking for GCC & CPU optimization abilities ============

int main(void) { return 0; }

cc /tmp/mplayer-conf-23900-18721.c  -I.      -o /tmp/mplayer-conf-5926-18721 -march=i586 -mcpu=i586
./configure: line 69: cc: command not found



int main(void) { return 0; }

cc /tmp/mplayer-conf-23900-18721.c  -I.      -o /tmp/mplayer-conf-5926-18721 -march=i486 -mcpu=i486
./configure: line 69: cc: command not found



int main(void) { return 0; }

cc /tmp/mplayer-conf-23900-18721.c  -I.      -o /tmp/mplayer-conf-5926-18721 -march=i386 -mcpu=i386
./configure: line 69: cc: command not found


Result is: CPU optimization disabled. CPU not recognized or your compiler is too old. 
##########################################

Result is: error 
##########################################

============ Checking for byte order ============

short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'),
                       (('i'<<8)|'g'),(('E'<<8)|'n'),(('d'<<8)|'i'),(('a'<<8)|'n'),0};
int main(void) { return (int)ascii_name; }

cc /tmp/mplayer-conf-23900-18721.c  -I.      -o /tmp/mplayer-conf-5926-18721 
./configure: line 69: cc: command not found


Result is: little-endian 
##########################################

============ Checking for extern symbol prefix ============

int ff_extern;

cc /tmp/mplayer-conf-23900-18721.c  -I.      -o /tmp/mplayer-conf-5926-18721 -c
./configure: line 69: cc: command not found

Any ideas why it;s calling cc? I do have gcc installed. 

Thanks,
Brooks L. 

On 2010-06-07, at 12:33 PM, Marcin 'Rambo' Roguski wrote:

>> Is there any listed work around to get this to build?
> 
> A POSIX-compliant shell. Download recommended patchset
> (unless your Solaris is really ancient), or get and
> install precompiled bash
> 
> -- 
> If all else fails, lower your standards.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux