>Description:
        
When I was installing mysql from sources, I got a strange error.  I looked at what was
going on, and this is what I got.  first of all, here's the error in from my "make"

/bin/sh ../libtool --mode=link gcc  -O6 -DDBUG_OFF   -rdynamic -o conf_to_src
conf_to_src.o  -ldl -lcrypt -lnsl -lm  -lpthread
mkdir .libs
gcc -O6 -DDBUG_OFF -rdynamic -o conf_to_src conf_to_src.o -ldl -lcrypt -lnsl -lm
-lpthread
/usr/bin/ld: warning: libc.so.5, needed by /lib/libdl.so, may conflict with libc.so.6
/lib/libc.so.5: the `getwd' function is dangerous and should not be used.
/lib/libc.so.5: warning: `siggetmask' is obsolete; `sigprocmask' is best
/lib/libc.so.5: warning: getresgid is not implemented and will always fail
./conf_to_src ..  latin1 > \
              ./ctype_extra_sources.c
make[2]: *** [ctype_extra_sources.c] Error 139
make[2]: Leaving directory `/home/darkness/devel/mysql/mysql-3.23.36/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/darkness/devel/mysql/mysql-3.23.36'
make: *** [all-recursive-am] Error 2

I found that the conf_to_src program was seg faulting and not finishing that last bit
of that file.  (say, three lines and the }; that it needs)  

>How-To-Repeat:
        

I just did ./configure; make and the above error happened.  

>Fix:
        
I relinked the conf_to_src program (which I don't think did anything) and ran it again,
outputting the data to console.  I it still segfaulted, but all the data was on the
screen, so I copied it into ctype_extra_src.c (is that right?) and then did "make"
again.  It seems to be compling fine.

The first time I just added the "};" and didn't think about the missing data, it
complied but mysqld segfaulted right away.  Then I went and upgraded (I was using .32
the first time.. now I'm using .36).    

I hope this helps.  I'm not sure. :-)  Please feel free to contact me about any
questions with this bug.  please user "[EMAIL PROTECTED]".  thanks!

p.s. this computer is a heap I had to take over when I got the job.  I'm not sure if
there are lib conflicts, but... I'll take a closer look.

>Submitter-Id:  <submitter ID>
>Originator:    Seer Snively
>Organization:
  
  -- Seer Snively
  -- Lead Slacker
  -- Nethelp International
>
>MySQL support: none <| licence | email support | extended email support ]>
>Synopsis:      make fails because conf_to_src seg faults
>Severity:      
>Priority:      
>Category:      mysql
>Class:         
>Release:       mysql-3.23.32 (Source distribution)

>Environment:
        
System: Linux cpi 2.2.6 #6 SMP Wed Jun 16 10:31:30 PDT 1999 i686 unknown
Architecture: i686

Some paths:  /usr/bin/perl /usr/bin/make /usr/local/bin/gcc /usr/local/bin/cc
GCC: Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95/specs
gcc version 2.95 19990728 (release)
Compilation info: CC='gcc'  CFLAGS=''  CXX='c++'  CXXFLAGS=''  LDFLAGS=''
LIBC: 
lrwxrwxrwx   1 root     root           13 Jun 12  1999 /lib/libc.so.4 -> libc.so.4.7.6
-rwxr-xr-x   1 root     root       634880 Jun  4  1996 /lib/libc.so.4.7.6
lrwxrwxrwx   1 root     root           14 Jun 12  1999 /lib/libc.so.5 -> libc.so.5.4.46
-rwxr-xr-x   1 root     root       614840 Oct  5  1998 /lib/libc.so.5.4.46
lrwxrwxrwx   1 root     root           13 Jun 16  1999 /lib/libc.so.6 -> libc-2.0.7.so
-rwxr-xr-x   1 root     root      2365709 Jun 16  1999 /lib/libc-2.0.6.so
-rwxr-xr-x   1 root     root       652412 Oct 24  1998 /lib/libc-2.0.7.so
-rw-r--r--   1 root     root     10464086 Jun 16  1999 /usr/lib/libc.a
-rw-r--r--   1 root     root          344 Jun 16  1999 /usr/lib/libc.so
Configure command: ./configure 
Perl: This is perl, version 5.005_03 built for i386-linux

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to