Hello all,
Bit of a newbie here. I've installed MySQL via the .dmg for my Powerbook G4 (OS 10.4.8, most recent system updates, Developer Tools 2.4, not 2.4.1), but when I try to recompile with shared libraries I keep getting a lot of make errors.
1.) is there a log of the make procedure so I can find and post the errors?
2.) are the directions on the "Compiling MySQL" page accurate? I'm following the ppc directions exactly.
3.) does it matter that the .dmg file is version 5.0.27 while the source is 5.0.33? Is there anything I need to do differently because of this?
The log of the ./configure statement is called config.log, there is no make log. The directions should work (tested it myself). The versions you use are correct and should work... Can you post your make errors ?
Okay, I'm going to try recompiling, but before I do so, I'm supposed to do all of this from inside the mysql-5.0.33 directory, right? Not a subdirectory?
After the next time I should be able to reproduce some errors and report them here.
/bin/ln -s ../cmd-line-utils/readline readline
echo timestamp > linked_include_sources
make all-recursive
Making all in .
make[2]: Nothing to be done for all-am'.
Making all in include
/bin/cp ../config.h my_config.h
+ '[' no '!=' no ']'
+ touch abi_check
make all-am
make[3]: Nothing to be done for all-am'.
Making all in zlib
...
rm -f libreadline.a
ar cru libreadline.a readline.o funmap.o keymaps.o vi_mode.o parens.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o xmalloc.o history.o histsearch.o histexpand.o histfile.o nls.o search.o shell.o tilde.o misc.o text.o mbutil.o compat.o savestring.o
ranlib libreadline.a
make[3]: Nothing to be done for all-am'.
Making all in sql-common
make[2]: Nothing to be done for all'.
Making all in pstack
Making all in aout
make[3]: Nothing to be done for all'.
make[3]: Nothing to be done for all-am'.
Making all in strings
...
%%% I GOT A WHOLE STREAM OF THESE THROUGHOUT %%%
ranlib: file: libmystrings.a(strstr.o) has no symbols
...
/usr/bin/sed -e 's!\\!\\\\!g' factorial.c > factorial.r
./factorial 1 2 3 4 5 | cat > output1.r
./factorial -\#t:o 2 3 | cat >output2.r
./factorial -\#d:t:o 3 | cat >output3.r
./factorial -\#d,result:o 4 | cat >output4.r
./factorial -\#d:f,factorial:F:L:o 3 | cat >output5.r
nroff -mm user.r > user.t
user.r:204: warning: can't find font C'
user.r:773: warning [p 16, 5.8i]: can't break line
user.r:785: warning [p 16, 8.0i]: can't break line
user.r:795: warning [p 16, 9.8i]: can't break line
user.r:812: warning [p 17, 3.7i]: can't break line
user.r:814: warning [p 17, 3.8i]: cannot adjust line
user.r:1038: warning: indent cannot be negative
groff -mm user.r > user.ps
...
rm -f libvio.a
ar cru libvio.a vio.o viosocket.o viossl.o viosslfactories.o
ranlib: file: libvio.a(viossl.o) has no symbols
ranlib: file: libvio.a(viosslfactories.o) has no symbols
ranlib libvio.a
ranlib: file: libvio.a(viossl.o) has no symbols
ranlib: file: libvio.a(viosslfactories.o) has no symbols
Making all in sql
make all-recursive
Making all in share
make[4]: Nothing to be done for all'.
gcc -DDBUG_OFF -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -o .libs/thread_test thread_test.o ../libmysql/.libs/libmysqlclient.dylib /Users/rick/Desktop/AMP/mysql-5.0.33/zlib/.libs/libz.dylib ../zlib/.libs/libz.dylib -lm
creating thread_test
Making all in netware
make all-am
make[3]: Nothing to be done for all-am'.
Making all in mysql-test
...
creating mysqlmanager
make[3]: Nothing to be done for all-am'.
Yes, it really looks awfull. Could you send the output and the config.log file to my gmail account: diymacserver at gmail.com ! This is difficult to read.
Yes, you should run the ./configure command, the make and make install command from the 5.0.33 source dir.
#
Hello all,
Bit of a newbie here. I've installed MySQL via the .dmg for my Powerbook G4 (OS 10.4.8, most recent system updates, Developer Tools 2.4, not 2.4.1), but when I try to recompile with shared libraries I keep getting a lot of make errors.
1.) is there a log of the make procedure so I can find and post the errors?
2.) are the directions on the "Compiling MySQL" page accurate? I'm following the ppc directions exactly.
3.) does it matter that the .dmg file is version 5.0.27 while the source is 5.0.33? Is there anything I need to do differently because of this?
#
The log of the ./configure statement is called config.log, there is no make log. The directions should work (tested it myself). The versions you use are correct and should work... Can you post your make errors ?
#
Okay, I'm going to try recompiling, but before I do so, I'm supposed to do all of this from inside the mysql-5.0.33 directory, right? Not a subdirectory?
After the next time I should be able to reproduce some errors and report them here.
Thanks
#
I updated XTools to 2.4.1, then tried to recompile. Here are the errors I got, somewhat abridged.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/bin/ln -s ../cmd-line-utils/readline readline
echo timestamp > linked_include_sources
make all-recursive
Making all in .
make[2]: Nothing to be done for
all-am'.all-am'.Making all in include
/bin/cp ../config.h my_config.h
+ '[' no '!=' no ']'
+ touch abi_check
make all-am
make[3]: Nothing to be done for
Making all in zlib
...
rm -f libreadline.a
ar cru libreadline.a readline.o funmap.o keymaps.o vi_mode.o parens.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o xmalloc.o history.o histsearch.o histexpand.o histfile.o nls.o search.o shell.o tilde.o misc.o text.o mbutil.o compat.o savestring.o
ranlib libreadline.a
make[3]: Nothing to be done for
all-am'.all'.Making all in sql-common
make[2]: Nothing to be done for
Making all in pstack
Making all in aout
make[3]: Nothing to be done for
all'.all-am'.make[3]: Nothing to be done for
Making all in strings
...
%%% I GOT A WHOLE STREAM OF THESE THROUGHOUT %%%
ranlib: file: libmystrings.a(strstr.o) has no symbols
...
/usr/bin/sed -e 's!\\!\\\\!g' factorial.c > factorial.r
./factorial 1 2 3 4 5 | cat > output1.r
./factorial -\#t:o 2 3 | cat >output2.r
./factorial -\#d:t:o 3 | cat >output3.r
./factorial -\#d,result:o 4 | cat >output4.r
./factorial -\#d:f,factorial:F:L:o 3 | cat >output5.r
nroff -mm user.r > user.t
user.r:204: warning: can't find font
C'all'.user.r:773: warning [p 16, 5.8i]: can't break line
user.r:785: warning [p 16, 8.0i]: can't break line
user.r:795: warning [p 16, 9.8i]: can't break line
user.r:812: warning [p 17, 3.7i]: can't break line
user.r:814: warning [p 17, 3.8i]: cannot adjust line
user.r:1038: warning: indent cannot be negative
groff -mm user.r > user.ps
...
rm -f libvio.a
ar cru libvio.a vio.o viosocket.o viossl.o viosslfactories.o
ranlib: file: libvio.a(viossl.o) has no symbols
ranlib: file: libvio.a(viosslfactories.o) has no symbols
ranlib libvio.a
ranlib: file: libvio.a(viossl.o) has no symbols
ranlib: file: libvio.a(viosslfactories.o) has no symbols
Making all in sql
make all-recursive
Making all in share
make[4]: Nothing to be done for
gcc -DDBUG_OFF -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -o .libs/thread_test thread_test.o ../libmysql/.libs/libmysqlclient.dylib /Users/rick/Desktop/AMP/mysql-5.0.33/zlib/.libs/libz.dylib ../zlib/.libs/libz.dylib -lm
creating thread_test
Making all in netware
make all-am
make[3]: Nothing to be done for
all-am'.all-am'.Making all in mysql-test
...
creating mysqlmanager
make[3]: Nothing to be done for
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
It quit after this last error.
#
Sorry, I don't know why it's making all the quotes, but I copied and pasted, exactly.
Rick
#
Yes, it really looks awfull. Could you send the output and the config.log file to my gmail account: diymacserver at gmail.com ! This is difficult to read.
Yes, you should run the ./configure command, the make and make install command from the 5.0.33 source dir.
#
It's in the mail!
#
first time installer using these great directions!
when I try to compile i get
"no acceptable C compiler found in $PATH"
#
David, please install the XCode developer tools from your OS X install DVD or download them from http://developer.apple.com