[Mysql-cocoa-users] Re: SMySQL
Brought to you by:
sergecohen
|
From: Serge C. <ser...@us...> - 2003-11-30 16:58:52
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jonathan,=0D =0D As other mails send today, sorry for answering this late, I guess you =0D= gathered the info you were looking for somewhere else already, in the =0D= opposite case (and also to help future users facing the same pb, and =0D= looking in archives)... The solution is to run ranlib on the =0D libmysqlclient.a that is distributed with the code:=0D =0D in the terminal, cd to the directory where libmysqlclient.a stands and =0D= issue:=0D =0D ranlib libmysqlclient.a=0D =0D That should do.=0D =0D Serge.=0D =0D =0D Le 13 nov. 03, =C3=A0 03:59, Jonathan McGuire a =C3=A9crit :=0D =0D > Hi,=0D >=0D > So I know how to program in Cocoa and would love to try and help you =0D= > out. Unfortunently my understanding of building the this framework so = =0D > I can use it is lacking. Guess I need to learn more about how building = =0D > and stuff work. Anyways when I try to build the 2.2.1 src files from =0D= > the dmg I get a error about the InfoPlist.strings file being missing. = =0D > After unchecking that file form the build list i get these warnings =0D= > and 1 error.=0D >=0D > Building target =E2=80=9CSMySQL_static=E2=80=9D with build style = =E2=80=9CDevelopment=E2=80=9D =0D > (optimization:level =E2=80=980=E2=80=99, debug-symbols:on) =E2=80=94 = (1 error, 5 warnings)=0D > /usr/bin/gcc-3.3 -c =0D > -F/Users/jonathan/Desktop/SMySQL_src_2.2.1/build =0D > -I/Users/jonathan/Desktop/SMySQL_src_2.2.1/build/include -Imysql_bins = =0D > -arch ppc -fno-common -fpascal-strings -O0 -Wmost =0D > -Wno-four-char-constants -Wno-unknown-pragmas -pipe =0D > "-fmessage-length=3D0" -g -pg =0D > -Wp,-header-mapfile,/Users/jonathan/Desktop/SMySQL_src_2.2.1/build/ =0D= > SMySQL.build/SMySQL_static.build/SMySQL_static.hmap "-faltivec" =0D= > "-fno-coalesce" MCPConnection.m -o =0D > /Users/jonathan/Desktop/SMySQL_src_2.2.1/build/SMySQL.build/ =0D > SMySQL_static.build/Objects-normal/ppc/MCPConnection.o=0D > MCPConnection.m:164:2: warning: #warning What happens when inited =0D > twice the NSObject?=0D > MCPConnection.m:197:2: warning: #warning What happens when inited =0D > twice the NSObject?=0D > MCPConnection.m:259:2: warning: #warning What to do if one of the =0D > string is a nil pointer?=0D > MCPConnection.m:305:2: warning: #warning Should throw an exception, =0D= > illegal string pointer (nil)=0D > MCPConnection.m:164:2: warning: #warning What happens = when inited =0D > twice the NSObject?=0D > MCPConnection.m:197:2: warning: #warning What happens = when inited =0D > twice the NSObject?=0D > MCPConnection.m:259:2: warning: #warning What to do if = one of the =0D > string is a nil pointer?=0D > MCPConnection.m:305:2: warning: #warning Should throw an = exception, =0D > illegal string pointer (nil)=0D > /usr/bin/gcc-3.3 -o =0D > /Users/jonathan/Desktop/SMySQL_src_2.2.1/build/ =0D > SMySQL_static.framework/Versions/A/SMySQL_static =0D > "-L/Users/jonathan/Desktop/SMySQL_src_2.2.1/build" "-Lmysql_bins" =0D= > "-F/Users/jonathan/Desktop/SMySQL_src_2.2.1/build" -filelist =0D > /Users/jonathan/Desktop/SMySQL_src_2.2.1/build/SMySQL.build/ =0D > SMySQL_static.build/Objects-normal/LinkFileList "-lmysqlclient" =0D > "-framework" "Cocoa" "-lz.1.1.3" "-arch" "ppc" "-prebind" =0D > "-Wl,-single_module" "-dynamiclib" "-compatibility_version" "2.0.0" =0D= > "-current_version" "2.2.1" "-pg" "-seg1addr" "0x08800000" =0D > -install_name "`echo =0D > "~/Library/Frameworks/SMySQL_static.framework/Versions/A/ =0D > SMySQL_static" | /usr/bin/sed 's!//*!/!g'`"=0D > ld: table of contents for archive: mysql_bins/libmysqlclient.a is out = =0D > of date; rerun ranlib(1) (can't load from it)=0D > ld: warning prebinding disabled because dependent library: =0D > /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit can't be = =0D > searched=0D > /usr/bin/libtool: internal link edit command failed=0D > ld: table of contents for archive: = mysql_bins/libmysqlclient.a is =0D > out of date; rerun ranlib(1) (can't load from it)=0D > ld: warning prebinding disabled because dependent = library: =0D > /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit can't be = =0D > searched=0D >=0D > I'd really like to try out your frame work but I can't figure out how = =0D > to get a project setup using it :( guess I need to reread some of my =0D= > Cocoa books. I'm using panther and Xcode and I have mysql installed on = =0D > my system (I used the mysql package offered by the MySQL site).=0D >=0D > Jonathan=0D >=0D >=0D - ----------------------------------------------------=0D Serge Cohen=0D =0D GPG Key ID: 9CBB58FB=0D - ----------------------------------------------------=0D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQE/yiG+5EPeG5y7WPsRAhwLAKDTWMOdG+HPhuPmgJH+sCHHaDDGQwCg+f46 FwzsodASZ5dPUo20J996Kds=3D =3DdDI2 -----END PGP SIGNATURE----- |