List:General Discussion« Previous MessageNext Message »
From:Drew M Hahn Date:May 14 1999 1:06pm
Subject:Re: Sco 5.0.4 Compile
View as plain text  
Robert,

You do know that the compiled version is SkunkWare, no?

--drew

On Fri, 14 May 1999, Robert Brady wrote:

> Hello all
> 
> I am and trying to compile mysql-3.22.22 on sco3.2.5.0.4
> 
> The configure script is having a few problems, and any help
> would be much appreciated.
> Error message from from config.log was
> 
>       configure:2280: checking for gcc option to accept ANSI
> C                     
>       configure:2315: gcc  -c   -belf  conftest.c
> 1>&5                             
>       gcc: installation problem, cannot exec `cpp': No such file or
> directory      
>       gcc: file path prefix `/usr/local/lib/gcc-lib/elf/egcs-2.91.66/'
> never used  
>       configure: failed program
> was:                                               
>       #line 2297
> "configure"                                                       
> 
> On my Machine I found this directory, with cc1, so I manually
> created /usr/local/lib/gcc-lib/elf/egcs-2.91.66/ and copied the 
> files listed below into it.
> 
> 
> #pwd
> /usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.4/egcs-2.91.66                             
>                                                     
> # l                                                                      
> total 61384                                                              
> -rw-r--r--   1 root     sys        88205 May 13 20:42 SYSCALLS.c.X       
> -rwxr-xr-x   1 root     sys      5244125 May 13 20:42 cc1                
> -rwxr-xr-x   1 root     sys      5424139 May 13 20:42 cc1obj             
> -rwxr-xr-x   1 root     sys      7012529 May 13 20:42 cc1plus            
> drwxr-xr-x   2 root     sys          512 May 13 20:42 coff               
> -rwxr-xr-x   1 root     sys       282322 May 13 20:42 collect2           
> -rwxr-xr-x   1 root     sys       317987 May 13 20:42 cpp                
> -rw-r--r--   1 root     sys         1976 May 13 20:42 crtbegin.o         
> -rw-r--r--   1 root     sys          865 May 13 20:42 crtbeginS.o        
> -rw-r--r--   1 root     sys         1320 May 13 20:42 crtend.o           
> -rw-r--r--   1 root     sys          815 May 13 20:42 crtendS.o          
> -rw-r--r--   1 root     sys          568 May 13 20:42 crti.o             
> -rwxr-xr-x   1 root     sys      9188728 May 13 20:42 f771               
> drwxr-xr-x   7 root     sys         1024 May 13 20:44 include            
> -rw-r--r--   1 root     sys      2930464 May 13 20:44 libg2c.a           
> -rw-r--r--   1 root     sys       240326 May 13 20:42 libgcc.a           
> -rw-r--r--   1 root     sys       542104 May 13 20:43 libobjc.a          
> drwxr-xr-x   2 root     sys          512 May 13 20:42 pic                
> -rw-r--r--   1 root     sys         4566 May 13 20:42 specs              
> #
> 
> The configure script then appeared to run and complete normally,
> so I then tried gmake, which terminated with the following error.
> 
> 
> gmake[2]: Leaving directory
> `/usr/local/mysql-3.22.22/client'                  
> Making all in
> strings                                                          
> gmake[2]: Entering directory
> `/usr/local/mysql-3.22.22/strings'                
> gcc -belf -DSCO -DHAVE_CONFIG_H -I. -I. -I.. -I./../include
> -I../include  -O6  
> -belf -DDBUG_OFF -c
> bfill.c                                                    
> In file included from
> /usr/include/pthread.h:40,                               
>                  from
> ../include/global.h:50,                                  
>                  from
> bfill.c:15:                                              
> /usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.4/egcs-2.91.66/include/pthread/signal.
> h:42: stdtypes.h: No such file or
> directory                                    
> gmake[2]: *** [bfill.o] Error
> 1                                                
> gmake[2]: Leaving directory
> `/usr/local/mysql-3.22.22/strings'                 
> gmake[1]: *** [all-recursive] Error
> 1                                          
> gmake[1]: Leaving directory
> `/usr/local/mysql-3.22.22'                         
> gmake: *** [all-recursive-am] Error
> 2                                          
> #
> 
> It was then I discovered that config.log had the same error.
> Here are the last lines from config.log
> Note the path to signal.h
> 
> configure:6685: checking args to
> readdir_r                                     
> configure:6726: checking style of
> sigwait                                      
> configure:6771: checking style of
> sigwait                                      
> configure:6790: gcc -belf -DSCO -o conftest -O6   -belf -DDBUG_OFF  
> conftest.c
> -lm  -lcrypt -lgen  -lgthreads -lsocket -lgthreads
> 1>&5                        
> In file included from
> /usr/include/pthread.h:40,                               
>                  from
> configure:6781:                                          
> /usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.4/egcs-2.91.66/include/pthread/signal
> h:42: stdtypes.h: No such file or
> directory                                    
> configure: failed program
> was:                                                 
> #line 6776
> "configure"                                                         
> #include
> "confdefs.h"                                                          
> #ifndef
> SCO                                                                    
> #define
> _REENTRANT                                                             
> #endif                                                                         
> #define
> _POSIX_PTHREAD_SEMANTICS                                               
> #include
> <pthread.h>                                                           
> #include
> <signal.h>                                                            
> int main()
> {                                                                   
> sigset_t
> set;                                                                  
> int
> sig;                                                                       
> sigwait(&set);                                                                 
> ; return 0;
> }                                                                  
> configure:6814: checking for
> pthread_attr_setscope                             
> configure:6854: checking can netinet files be
> included                         
> configure:6868: gcc -belf -DSCO -c -O6   -belf -DDBUG_OFF  conftest.c
> 1>&5     
> configure:6971: checking character
> set                                         
>                                                                                
> 
> 
> Here is my setup from
> mysqlbug                                                                  
> 
> 
> MySQL support:  none 
> Synopsis:	Can't make on SCO5.0.4
> Severity:	non-critical
> Priority:	medium 
> Category:	mysql
> Class:		support 
> Release:	mysql-3.22.22 (Source distribution)
> Server: mysqladmin  Ver 7.11 Distrib 3.22.22, for pc-sco3.2v5.0.4 on
> i386
> TCX Datakonsult AB, by Monty
> 
> Running version from SCO Skunkware CD
> 
> Server version		3.21.26-gamma-log
> Protocol version	10
> Connection		Localhost via UNIX socket
> UNIX socket		/tmp/mysql.sock
> Uptime:			2 days 20 hours 1 min 18 sec
> 
> Running threads: 1  Questions: 2531  Reloads: 2  Open tables: 4
> Environment:
> 	<machine, os, target, libraries (multiple lines)>
> System: SCO_SV hawk 3.2 2 i386
> 
> 
> Some paths:  /usr/local/bin/perl /bin/make /usr/local/bin/gmake
> /usr/local/bin/gcc /bin/cc
> GCC: Reading specs from
> /usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.4/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
> Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS='' 
> LDFLAGS=''
> Configure command: ./configure 
> --with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory
> --with-mit-threads=yes
> Perl: This is perl, version 5.003 with EMBED
> 
> 
> 
> -- 
> =====================================================================
> Robert Brady                  rbrady@stripped
> Computer Fiscal Services
> 14 Merritt St           Phone: 61 7 32457522  Fax: 61 7 32457199
> Capabala 4157     Australia
> =====================================================================
> 
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail mysql-thread3341@stripped
> 
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail mysql-unsubscribe@stripped instead.
> 

Thread
Sco 5.0.4 CompileRobert Brady14 May
  • Re: Sco 5.0.4 Compile801) 250-O795 Work14 May
  • Re: Sco 5.0.4 CompileDrew M Hahn14 May