mysql-cocoa-users Mailing List for MySQL Objective C API for Cocoa (Page 2)
Brought to you by:
sergecohen
You can subscribe to this list here.
2002 |
Jan
(2) |
Feb
|
Mar
(14) |
Apr
(5) |
May
(23) |
Jun
(8) |
Jul
(13) |
Aug
(5) |
Sep
|
Oct
(1) |
Nov
(11) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(9) |
Feb
(6) |
Mar
(13) |
Apr
(2) |
May
(3) |
Jun
|
Jul
(5) |
Aug
(11) |
Sep
(18) |
Oct
(1) |
Nov
(15) |
Dec
(2) |
2004 |
Jan
(3) |
Feb
(3) |
Mar
(8) |
Apr
(1) |
May
(2) |
Jun
(3) |
Jul
(15) |
Aug
(36) |
Sep
(5) |
Oct
|
Nov
(6) |
Dec
(2) |
2005 |
Jan
(1) |
Feb
(11) |
Mar
(1) |
Apr
(6) |
May
|
Jun
(7) |
Jul
(3) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2006 |
Jan
(9) |
Feb
(5) |
Mar
(2) |
Apr
(1) |
May
(9) |
Jun
(2) |
Jul
(1) |
Aug
(4) |
Sep
|
Oct
(1) |
Nov
|
Dec
(2) |
2007 |
Jan
(23) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Eric V. <ev...@cl...> - 2007-01-07 11:40:33
|
Hi, i use the new version of the framework (3.01) to store int, varchar, float and text without problem. But i can't insert an image in a longblob. I have an 2006 Error (MySQL server has gone away) with 4.1.22 or 5.0.27 version. **************************************** #import <Cocoa/Cocoa.h> #import <Foundation/Foundation.h> #import <MCPKit_bundled/MCPResult.h> #import <MCPKit_bundled/MCPConnection.h> int main(int argc, char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; MCPConnection *connection; MCPResult *result; NSImage *image; NSData *tiffData; NSString *string; NSString *query; NSString *nomFichier; int erreur; NSString *message; nomFichier = [[NSString alloc] initWithString:@"~/Pictures/ Berlan_1.png"]; nomFichier = [nomFichier stringByExpandingTildeInPath]; image = [[NSImage alloc] initWithContentsOfFile:nomFichier]; tiffData = [image TIFFRepresentation]; connection = [[MCPConnection alloc] initToHost:@"localhost" withLogin:@"" password:@"" usingPort:0]; if (connection != nil) { [connection selectDB:@"test_image"]; string = [connection prepareBinaryData:tiffData]; query = [[NSString alloc] initWithFormat:@"Insert into %@ (%@) VALUES ('%@');", @"nomTable", @"nomColonne", tiffData]; result = [connection queryString:query]; erreur = [connection getLastErrorID]; message = [connection getLastErrorMessage]; [connection release]; [nomFichier release]; [query release]; [image release]; [tiffData release]; } [pool release]; return 0; } **************************************** Thank you in advance for your help, Eric |
From: Chris B. <cbl...@so...> - 2007-01-01 13:21:03
|
Wahey, fixed it ! :-D The problem was that I was using the .framework from the CocoaMySQL source package which seems to only work for that particular project. What I wanted was the one from the bottom of the FAQ page here:- http://cocoamysql.sourceforge.net/faq.php Hope this helps others Chris On 31 Dec 2006, at 14:38, Chris Blackburn wrote: > ok, a quick poke around the source shows this to be part of the > code which is running in initToHost: > > mConnection = mysql_init(mConnection); > mConnected = NO; > > if (mConnection == NULL) { > [self autorelease]; > return nil; > } > > So, since I am getting nil returned to me the question is why is > mysql_init() not working > > Any ideas? > > Chris > > On 31 Dec 2006, at 12:29, Chris Blackburn wrote: > >> Hi all, >> >> I have the Universal MCPkit_bundled.framework from CocoaMySQL but >> it is not behaving as expected. I have the following code:- >> >> NSString * serverAddress = @"localhost"; >> NSString * serverLogin = @"root"; >> NSString * serverPassword = @""; >> int serverPort = 3306; >> >> MCPConnection * test; >> >> test = [[MCPConnection alloc] initToHost:serverAddress >> withLogin:serverLogin password:serverPassword usingPort:serverPort]; >> >> If I run the above code and breakpoint some instruction afterwards >> I find that instead of initializing test gdb reads it as 0x0. >> >> Why is the system giving me a null pointer and how can I fix it? >> >> Thanks >> >> Chris >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys - and earn >> cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV_______________________________ >> ________________ >> Mysql-cocoa-users mailing list >> Mys...@li... >> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users |
From: Chris B. <cbl...@so...> - 2006-12-31 14:39:07
|
ok, a quick poke around the source shows this to be part of the code which is running in initToHost: mConnection = mysql_init(mConnection); mConnected = NO; if (mConnection == NULL) { [self autorelease]; return nil; } So, since I am getting nil returned to me the question is why is mysql_init() not working Any ideas? Chris On 31 Dec 2006, at 12:29, Chris Blackburn wrote: > Hi all, > > I have the Universal MCPkit_bundled.framework from CocoaMySQL but > it is not behaving as expected. I have the following code:- > > NSString * serverAddress = @"localhost"; > NSString * serverLogin = @"root"; > NSString * serverPassword = @""; > int serverPort = 3306; > > MCPConnection * test; > > test = [[MCPConnection alloc] initToHost:serverAddress > withLogin:serverLogin password:serverPassword usingPort:serverPort]; > > If I run the above code and breakpoint some instruction afterwards > I find that instead of initializing test gdb reads it as 0x0. > > Why is the system giving me a null pointer and how can I fix it? > > Thanks > > Chris > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users |
From: Chris B. <cbl...@so...> - 2006-12-31 12:30:45
|
Hi all, I have the Universal MCPkit_bundled.framework from CocoaMySQL but it is not behaving as expected. I have the following code:- NSString * serverAddress = @"localhost"; NSString * serverLogin = @"root"; NSString * serverPassword = @""; int serverPort = 3306; MCPConnection * test; test = [[MCPConnection alloc] initToHost:serverAddress withLogin:serverLogin password:serverPassword usingPort:serverPort]; If I run the above code and breakpoint some instruction afterwards I find that instead of initializing test gdb reads it as 0x0. Why is the system giving me a null pointer and how can I fix it? Thanks Chris |
From: Camille GOUREAU-S. <ca...@lu...> - 2006-10-08 16:54:06
|
Hi, what is MCPModeler usable for ? Thank you. Camille Et mon blog: www.lutin-ludique.com/bradype/ |
From: Lorenz T. <lo...@te...> - 2006-08-06 11:02:59
|
Hi, Maybe you should take a look at the source code of CocoaMySQL. It =20 also dynamically creates NSTableColumns to display MySQL tables. You =20 find the most actual source code on http://cocoamysql.sourceforge.net/=20= beta.php. In the TableContent class you find a method loadTable: =20 which exactly does this... Best Regards, Lorenz Textor On Aug 4, 2006, at 21:12, mysql-cocoa-users-=20 re...@li... wrote: > Message: 1 > Date: Thu, 3 Aug 2006 16:34:45 -0400 > From: Brian Weitzner <bri...@fc...> > Subject: [Mysql-cocoa-users] Newbie questions part 2 > To: mys...@li... > Message-ID: <4C7...@fc...> > Content-Type: text/plain; charset=3D"us-ascii" > > I'd like to thank everyone who responded to my previous e-mails; you > have all been very helpful. Unfortunately, I still have some > questions. I have read the Table View Programming guide on Apple's > site as well as the NSTableColumn class description. My log now > correctly outputs the number of entries that ought to be there, but > my table doesn't display. I know that the problem is that I don't > have table columns defined. My question is, how would you go about > making NSTableColumns dynamically? For example, querying different > will produce results that have different numbers of tables and > different information within each table- Is there a good way to > declare these tables on the fly? > In my querying method, I have the following: > > NSArray *theColNames; > theColNames =3D [queryResult fetchFieldsName]; > > My tableView:objectValueForTableColumn:row: method is: > > - (id)tableView:(NSTableView *)aTableView > objectValueForTableColumn:(NSTableColumn *)aTableColumn > row:(int)rowIndex > { > id theRecord, theValue; > =09 > NSParameterAssert(rowIndex >=3D 0 && rowIndex < [mRecords = count]); > > theRecord =3D [mRecords objectAtIndex:rowIndex]; > theValue =3D [theRecord objectForKey:[aTableColumn = identifier]]; > NSLog(@"The identifier is %@", [aTableColumn identifier]); > return theValue; > } > > Thank you in advance for your help. If I have missed something very > simple, I apologize- I am extremely new to this. Thanks again! > -- > Brian Weitzner --=20 lorenz textor agnesstrasse 53 8004 z=FCrich phone 043 - 333 00 19 mobile 076 - 531 71 74 email lo...@te... |
From: Brian W. <bri...@fc...> - 2006-08-03 20:34:56
|
I'd like to thank everyone who responded to my previous e-mails; you have all been very helpful. Unfortunately, I still have some questions. I have read the Table View Programming guide on Apple's site as well as the NSTableColumn class description. My log now correctly outputs the number of entries that ought to be there, but my table doesn't display. I know that the problem is that I don't have table columns defined. My question is, how would you go about making NSTableColumns dynamically? For example, querying different will produce results that have different numbers of tables and different information within each table- Is there a good way to declare these tables on the fly? In my querying method, I have the following: NSArray *theColNames; theColNames = [queryResult fetchFieldsName]; My tableView:objectValueForTableColumn:row: method is: - (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex { id theRecord, theValue; NSParameterAssert(rowIndex >= 0 && rowIndex < [mRecords count]); theRecord = [mRecords objectAtIndex:rowIndex]; theValue = [theRecord objectForKey:[aTableColumn identifier]]; NSLog(@"The identifier is %@", [aTableColumn identifier]); return theValue; } Thank you in advance for your help. If I have missed something very simple, I apologize- I am extremely new to this. Thanks again! -- Brian Weitzner |
From: Brian W. <Bri...@fc...> - 2006-08-03 16:27:20
|
Hi, I have tested query string in CocoaMySQL and it works as intended. I am trying to have an application submit a query to a database when a user clicks a button, then have a window open that displays the reult of that query in an NSTableView. Does anyone have any straightforward documentation on how to accomplish this? This is my code for the entire implementation file: #import "Test2.h" #include <SMySQL_bundled/SMySQL_bundled.h> #include <SMySQL_bundled/mysql.h> #include <SMySQL_bundled/typelib.h> @implementation Test2 - (IBAction)Test2:(id)sender { //test query string for this jaun //sample query string NSString *queryString = @"SELECT * FROM AsymUnit LIMIT 0,20"; [self ConnectQueryDisconn:queryString]; [tableView reloadTable]; } -(void)ConnectQueryDisconn:(NSString *)queryString { MCPConnection *theConnec = [MCPConnection alloc]; MCPResult *theRes; NSDictionary *theDict; NSArray *theColNames; theConnec = [theConnec initToHost:@"localhost" withLogin:@"root" password:@"" usingPort:3306]; [theConnec selectDB:@"protbud"]; theRes = [theConnec queryString: queryString]; theColNames = [theRes fetchFieldsName]; [fullResult setArray:[[theRes displayResultAsArray:theRes] retain]]; } - (NSArray *)displayResultAsArray:(MCPResult *)theResult { // fetches the result as an array with a dictionary for each row in it NSMutableArray *tempResult = [NSMutableArray array]; NSDictionary *tempRow; NSMutableDictionary *modifiedRow = [NSMutableDictionary dictionary]; NSEnumerator *enumerator; int i; for ( i = 0 ; i < [theResult numOfRows] ; i++ ) { tempRow = [theResult fetchRowAsDictionary]; enumerator = [tempRow keyEnumerator]; } [tempResult addObject:[NSMutableDictionary dictionaryWithDictionary:modifiedRow]]; NSLog(@"Fecth Result returned %@", tempResult); return tempResult; } -(int)numberOfRowsInTableView:(NSTableView *)aTableView { NSLog(@"The number of rows in fullResult is: %d", [fullResult count]); return [fullResult count]; } - (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex { return [[fullResult objectAtIndex:rowIndex] objectForKey: [aTableColumn identifier]]; } @end When I launch the app, the NSLog displays: "The number of rows in fullResult is: 0" Which makes sense because no query has been executed. When I click the button, named Test2, the NSLog displays "006-08-03 12:24:39.776 ProtBuD[1948] *** -[MCPResult displayResultAsArray:]: selector not recognized [self = 0x3900d0] 2006-08-03 12:24:39.779 ProtBuD[1948] *** -[MCPResult displayResultAsArray:]: selector not recognized [self = 0x3900d0]" Unfortunately, I have no idea why I am getting this error. Any ideas? If anyone has some example code, some documentation (as it is not available on the web page anymore) or some time to help me with this, it would be most appreciated. Thank you very much. -- Brian Weitzner |
From: Brian W. <Bri...@fc...> - 2006-08-02 22:58:38
|
Hi, I am an undergraduate student working on a cocoa app that submits queries to a mysql database based on user input. I am completely new to mysql-cocoa and I am not entirely familiar with setting up and using NSTableViews. What I want to do is have the user click submit, then I will format their input into an query string and submit the query. A new window will open up displaying the results of that query in an NSTableView. -(void)ConnectQueryDisconn:(NSString *)queryString { MCPConnection *theConnec = [MCPConnection alloc]; MCPResult *theRes; NSDictionary *theDict; NSArray *theColNames; //sample query string NSString *querySting = @"select first 20 * from AsymUnit"; theConnec = [theConnec initToHost:@"localhost" withLogin:@"root" password:@"" usingPort:3306]; [theConnec selectDB:@"protbud"]; theRes = [theConnec queryString: querySting]; theColNames = [theRes fetchFieldsName]; [fullResult setArray:[[theRes displayResultAsArray:theRes] retain]]; } - (NSArray *)displayResultAsArray:(MCPResult *)theResult { // fetches the result as an array with a dictionary for each row in it NSMutableArray *tempResult = [NSMutableArray array]; NSDictionary *tempRow; NSMutableDictionary *modifiedRow = [NSMutableDictionary dictionary]; NSEnumerator *enumerator; int i; for ( i = 0 ; i < [theResult numOfRows] ; i++ ) { tempRow = [theResult fetchRowAsDictionary]; enumerator = [tempRow keyEnumerator]; } [tempResult addObject:[NSMutableDictionary dictionaryWithDictionary:modifiedRow]]; NSLog(@"Fecth Result returned %@", tempResult); return tempResult; } -(int)numberOfRowsInTableView:(NSTableView *)aTableView { NSLog(@"The number of rows in fullResult is: %d", [fullResult count]); return [fullResult count]; } - (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(int)rowIndex { return [[fullResult objectAtIndex:rowIndex] objectForKey: [aTableColumn identifier]]; } is what I have so far. querySting will be replaced by the formatted string based on user input. The output I get is in my log, "The number of rows in fullResult is: 0" I thought (was hoping) it would say 20 and not 0. Any ideas on what I am doing wrong? Any help, suggestions, links to documentations or working examples would be most appreciated. Thank you very much. -- Brian Weitzner P.S. Sorry about sending that lengthy snippet of code. |
From: Kelly H. <kh...@po...> - 2006-07-14 22:24:07
|
ok, the fix is really easy. You just have to copy one of my changes from the static target to the bundled target. I've fixed the original directions below to take this into account. 1. from the "Groups" and Files" pane in xcode, open the "Targets" group. 2. click on the MCPKit_bundled target. 3. press Cmd-I to get info. 4. click on the Build tab of the info panel. 5. Choose "All configurations" from the top popup menu, and "search paths" from the menu just below it. 6. double-click on "Library search paths" to edit it. It will say one thing before you edit it, and then this when you start editing: $(LIBRARY_SEARCH_PATHS) $(SRCROOT)/mysql-local/lib 7. add "-$(CURRENT_ARCH)" to the end of that string, so it looks like $(LIBRARY_SEARCH_PATHS) $(SRCROOT)/mysql-local/lib-$(CURRENT_ARCH) 8. click on another field to end editing and commit the change. 9. close the info panel and try building again. Let me know how that works out for you. Note: you may need to also edit the "architectures" setting for the target to be "ppc i386", depending on how you originally set up the universal build for the _system target. -- Kelly -- On Jul 14, 2006, at 2:26:40 PM, Lorenz Textor wrote: > Hi, > > The static version compiles fine, but the bundled version gives > errors. Unfortunately there is a MCPKit_Bundled-Info.plist missing > in your sources. If I copy the Info.plist from the static version, > it stops with the following error: > > Ld /Users/ltextor/Desktop/SMySQL_3.0.1/build/MCPKit.build/Release/ > MCPKit_bundled.build/Objects-normal/i386/MCPKit_bundled normal i386 > cd /Users/ltextor/Desktop/SMySQL_3.0.1 > /usr/bin/gcc-4.0 -o /Users/ltextor/Desktop/SMySQL_3.0.1/build/ > MCPKit.build/Release/MCPKit_bundled.build/Objects-normal/i386/ > MCPKit_bundled -L/Users/ltextor/Desktop/SMySQL_3.0.1/build/Release - > L/Users/ltextor/Desktop/SMySQL_3.0.1/mysql-local/lib -F/Users/ > ltextor/Desktop/SMySQL_3.0.1/build/Release -filelist /Users/ltextor/ > Desktop/SMySQL_3.0.1/build/MCPKit.build/Release/ > MCPKit_bundled.build/Objects-normal/i386/ > MCPKit_bundled.LinkFileList -framework Cocoa -lcrypto -lmysqlclient > -lssl -lz -arch i386 -Wl,-single_module -compatibility_version > 3.0.0 -current_version 3.0.1 -install_name @executable_path/../ > Frameworks/MCPKit_bundled.framework/Versions/A/MCPKit_bundled - > dynamiclib -mmacosx-version-min=10.4 -framework Foundation - > framework AppKit -isysroot /Developer/SDKs/MacOSX10.4u.sdk > /usr/bin/libtool: can't locate file for: -lmysqlclient > /usr/bin/libtool: file: -lmysqlclient is not an object file (not > allowed in a library) > > Any idea what the problem exactly is? Or maybe you could just mail > me a universal build of MCPKit_Bundled? > > Thanks a lot! > Best Regards, > Lorenz > > On Jul 9, 2006, at 00:03, Kelly hawk wrote: > > >> This is "3.0.1" which is the latest stable sources for download >> (not taken from cvs, but a package from the webpage). It also >> includes the latest stable mySQL drivers for intel. Hopefully you >> will be able to just click "build" and get the universal bits. >> Please let me know how it goes. Sorry you can't make it to the >> states this time around... maybe next year! >> Due to mail server limitations, I've had to put the files up on my >> webserver, rather than email them. Please download the zip from: >> http://kellyandbrian.com/SMySQL_3.0.1.zip >> >> -- Kelly -- >> >> On Jul 7, 2006, at 1:01 AM, Lorenz Textor wrote: >> >> >>> Hi, >>> >>> >>>> I had no idea that CocoaMySQL used MySQLCocoa... or however that >>>> would go :-). >>>> well if there is anything I can do to help get the bits out >>>> there for you, let me know. >>>> >>> If you're built is made from the most recent source files (I >>> think it's the one from February 26 2006), then it would be great >>> if you could mail me a build of the MCPKit_bundled version. Then >>> I could build CocoaMySQL as universal binary... >>> >>>> I should also be at WWDC a couple of days, so if anyone else is >>>> attending, we could get together to chat then. I live in the >>>> city, so as long as I can find a pass, I really have no excuse >>>> to not stop by. >>>> >>> Unfortunately I cannot be there. I live in Switzerland so it's a >>> bit far for me... And I'm about to finish my studies so I haven't >>> the time... >>> >>> Thanks a lot, >>> Lorenz >>> >>>> -- Kelly -- >>>> >>>> On Jun 25, 2006, at 3:47:46 AM, Lorenz Textor wrote: >>>> >>>> >>>>> Thanks for sharing your steps! As developer of CocoaMySQL which >>>>> uses >>>>> the SMySQL framework I am very interested in a universal >>>>> version of >>>>> this framework. I know that there is a universal build of the >>>>> framework in the SBG fork of CocoaMySQL but I would prefer getting >>>>> the official SMySQL release as a universal binary (there are some >>>>> fixes in the newest version which aren't in the SBG version). >>>>> If your >>>>> build is made from the most current sources, would it be >>>>> possible to >>>>> release it on the SMySQL website? Or could you, Serge, build it >>>>> as a >>>>> universal binary and put it on the website? I know that it is >>>>> difficult to find the time for this things (just look at the >>>>> release >>>>> dates for CocoaMySQL), but after the update to MySQL 4.1 this >>>>> would >>>>> be the last important feature SMySQL is missing... >>>>> >>>>> Thanks, >>>>> - Lorenz >>>>> >>>>>> Date: Fri, 16 Jun 2006 13:29:00 -0700 >>>>>> Subject: [Mysql-cocoa-users] building MCPKit universal >>>>>> To: mys...@li... >>>>>> >>>>>> >>>>>> longtime user, first-time poster ;-) >>>>>> >>>>>> I just upgraded to a MacBook Pro, so I've been motivated to >>>>>> get this >>>>>> building Universal. I've done it, I thought I'd share my steps: >>>>>> - upgrade to XCode 2.3, which supports per-architecture build >>>>>> flags >>>>>> throughout. >>>>>> - install mysql for OS X x86. >>>>>> - install MCPKit project. >>>>>> - rename mysql-local/lib to lib-ppc and create lib-i386 directory >>>>>> along side it. >>>>>> - in terminal, cp -p /usr/local/mysql/lib /pathToYourMCPKit/ >>>>>> mysql- >>>>>> local/lib-i386 (the -p prevents having to re-run ranlib) >>>>>> - open the MCPKit project. >>>>>> touch and/or create the missing files: Info.plist and >>>>>> MCPKit_prefix.pch >>>>>> - get info on the MCPKit_system target. click the build tab. >>>>>> - edit "Library Search Paths" to be $(SRCROOT)/mysql-local/lib-$ >>>>>> (CURRENT_ARCH) >>>>>> - edit "Architectures" to be "ppc i386" >>>>>> - repeat the above three steps for the MCPKit_bundled target. >>>>>> I have some interest in checking these changes into the >>>>>> repository, >>>>>> but I'm unclear on what the obligations are in regards to >>>>>> uploading >>>>>> mysql binaries. Also, I downloaded 4.1.20, and the ppc version >>>>>> is at >>>>>> 4.1.12. the differences are minor, but it would make sense to >>>>>> sync >>>>>> both up. >>>>>> >>>>>> I am interested in where I can find the official missing >>>>>> Info.plist >>>>>> file. I just grabbed the one for 2.3.1 and changed the version >>>>>> number >>>>>> to 3.0.0/3.0.1. >>>>>> >>>>>> My initial tests with my projects that use MCPFoundation all >>>>>> seem to >>>>>> work, after replacing <SMySQL/SMySQL.h> to the new name. >>>>>> -- Kelly -- >>>>>> >>>>>> >>>>> >>>>> >>>>> Using Tomcat but need to do more? Need to support web services, >>>>> security? >>>>> Get stuff done quickly with pre-integrated technology to make >>>>> your job easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on >>>>> Apache Geronimo >>>>> http://sel.as-us.falkag.net/sel? >>>>> cmd=lnk&kid=120709&bid=263057&dat=121642 >>>>> _______________________________________________ >>>>> Mysql-cocoa-users mailing list >>>>> Mys...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users |
From: Lorenz T. <lo...@te...> - 2006-06-25 10:47:50
|
Thanks for sharing your steps! As developer of CocoaMySQL which uses the SMySQL framework I am very interested in a universal version of this framework. I know that there is a universal build of the framework in the SBG fork of CocoaMySQL but I would prefer getting the official SMySQL release as a universal binary (there are some fixes in the newest version which aren't in the SBG version). If your build is made from the most current sources, would it be possible to release it on the SMySQL website? Or could you, Serge, build it as a universal binary and put it on the website? I know that it is difficult to find the time for this things (just look at the release dates for CocoaMySQL), but after the update to MySQL 4.1 this would be the last important feature SMySQL is missing... Thanks, - Lorenz On Jun 17, 2006, at 21:09, mysql-cocoa-users- re...@li... wrote: > > Date: Fri, 16 Jun 2006 13:29:00 -0700 > From: Kelly Hawk <kh...@po...> > Subject: [Mysql-cocoa-users] building MCPKit universal > To: mys...@li... > Message-ID: <512...@po...> > Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > > longtime user, first-time poster ;-) > > I just upgraded to a MacBook Pro, so I've been motivated to get this > building Universal. I've done it, I thought I'd share my steps: > - upgrade to XCode 2.3, which supports per-architecture build flags > throughout. > - install mysql for OS X x86. > - install MCPKit project. > - rename mysql-local/lib to lib-ppc and create lib-i386 directory > along side it. > - in terminal, cp -p /usr/local/mysql/lib /pathToYourMCPKit/mysql- > local/lib-i386 (the -p prevents having to re-run ranlib) > - open the MCPKit project. > touch and/or create the missing files: Info.plist and > MCPKit_prefix.pch > - get info on the MCPKit_system target. click the build tab. > - edit "Library Search Paths" to be $(SRCROOT)/mysql-local/lib-$ > (CURRENT_ARCH) > - edit "Architectures" to be "ppc i386" > I have some interest in checking these changes into the repository, > but I'm unclear on what the obligations are in regards to uploading > mysql binaries. Also, I downloaded 4.1.20, and the ppc version is at > 4.1.12. the differences are minor, but it would make sense to sync > both up. > > I am interested in where I can find the official missing Info.plist > file. I just grabbed the one for 2.3.1 and changed the version number > to 3.0.0/3.0.1. > > My initial tests with my projects that use MCPFoundation all seem to > work, after replacing <SMySQL/SMySQL.h> to the new name. > -- Kelly -- > |
From: Kelly H. <kh...@po...> - 2006-06-16 20:29:11
|
longtime user, first-time poster ;-) I just upgraded to a MacBook Pro, so I've been motivated to get this building Universal. I've done it, I thought I'd share my steps: - upgrade to XCode 2.3, which supports per-architecture build flags throughout. - install mysql for OS X x86. - install MCPKit project. - rename mysql-local/lib to lib-ppc and create lib-i386 directory along side it. - in terminal, cp -p /usr/local/mysql/lib /pathToYourMCPKit/mysql- local/lib-i386 (the -p prevents having to re-run ranlib) - open the MCPKit project. touch and/or create the missing files: Info.plist and MCPKit_prefix.pch - get info on the MCPKit_system target. click the build tab. - edit "Library Search Paths" to be $(SRCROOT)/mysql-local/lib-$ (CURRENT_ARCH) - edit "Architectures" to be "ppc i386" I have some interest in checking these changes into the repository, but I'm unclear on what the obligations are in regards to uploading mysql binaries. Also, I downloaded 4.1.20, and the ppc version is at 4.1.12. the differences are minor, but it would make sense to sync both up. I am interested in where I can find the official missing Info.plist file. I just grabbed the one for 2.3.1 and changed the version number to 3.0.0/3.0.1. My initial tests with my projects that use MCPFoundation all seem to work, after replacing <SMySQL/SMySQL.h> to the new name. -- Kelly -- |
From: Thouis (R. J. <th...@cs...> - 2006-05-27 18:06:57
|
Yes, that's what I did. Everything's happy now. Ray Jones On 5/27/06, Aaron Jacobs <aj...@ed...> wrote: > Ray, > > You can probably just pull the universal one from the universal > version of CocoaMySQL: > > http://www.theonline.org/cocoamysql/ > > They figured out how to do it somehow. > > What I personally did was manually build libmysqlclient from the > MySQL sources on both architectures and then combine them with lipo. > > Aaron > > > On May 8, 2006, at 10:09 PM, Thouis (Ray) Jones wrote: > > > I am developing an application using msyql-cocoa on one of the new > > intel macs, using xcode 2.2.1. Unfortunately, since the binary > > distribution is ppc only, I can't develop an intel or universal > > binary. That's been fine until now. > > > > Cross-debugging with gdb doesn't seem well supported. I really could > > use the debugger to track down some failures. > > > > Can anyone provide either an intel or universal build of the > > MCPKit_bundled framework, or tell me how to build it? Loading up the > > source in Xcode and trying to build fails badly (I think detailed in > > previous messages on this list). > > > > Hopefully someone has gone down this path before. Otherwise, I'll try > > to tackle it, and see if I can get it to build for universal/intel. > > > > Ray Jones > > > > > > ------------------------------------------------------- > > All the advantages of Linux Managed Hosting--Without the Cost and > > Risk! > > Fully trained technicians. The highest number of Red Hat > > certifications in > > the hosting industry. Fanatical Support. Click to learn more > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=107521&bid$8729&dat=12164= 2 > > _______________________________________________ > > Mysql-cocoa-users mailing list > > Mys...@li... > > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications i= n > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmdlnk&kid=107521&bid$8729&dat=121642 > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users > > |
From: Aaron J. <aj...@ed...> - 2006-05-27 16:44:57
|
Ray, You can probably just pull the universal one from the universal =20 version of CocoaMySQL: http://www.theonline.org/cocoamysql/ They figured out how to do it somehow. What I personally did was manually build libmysqlclient from the =20 MySQL sources on both architectures and then combine them with lipo. Aaron On May 8, 2006, at 10:09 PM, Thouis (Ray) Jones wrote: > I am developing an application using msyql-cocoa on one of the new > intel macs, using xcode 2.2.1. Unfortunately, since the binary > distribution is ppc only, I can't develop an intel or universal > binary. That's been fine until now. > > Cross-debugging with gdb doesn't seem well supported. I really could > use the debugger to track down some failures. > > Can anyone provide either an intel or universal build of the > MCPKit_bundled framework, or tell me how to build it? Loading up the > source in Xcode and trying to build fails badly (I think detailed in > previous messages on this list). > > Hopefully someone has gone down this path before. Otherwise, I'll try > to tackle it, and see if I can get it to build for universal/intel. > > Ray Jones > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and =20 > Risk! > Fully trained technicians. The highest number of Red Hat =20 > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=107521&bid$8729&dat=121642= > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users |
From: R D. <did...@ma...> - 2006-05-10 18:26:49
|
I have had the same problem, and do the same. I use the bundled =20 framework from cocoa-mysql and put it in my project folder and follow =20= the pdf steps on how to compile it in. This project has gone quiet again. RD On 10 May 2006, at 19:00, Jonathan McGuire wrote: > Exactly. Open the app bundle and pull out their framework its UB =20 > and I've had no issues with it. > > I've never been able to compile the src from source-forge so I just =20= > use their frame work as they update it because it just works. > > Jonathan > > After switching to their framework my app on Intel Mac's launched =20 > way faster worked way faster and just kicks butt :) > > > On May 9, 2006, at 11:11 PM, Aaron Jacobs wrote: > >> I think the point is that MySQL-Cocoa uses Cocoa-MySQL (man that's =20= >> hard to talk about). Since it's a Universal Binary, they must =20 >> have figured out how to do it. And since it's open source... >> >> >> On May 10, 2006, at 1:01 AM, Julian Leviston wrote: >> >>> No, not cocoa-mysql... it's mysql-cocoa. >>> >>> One is a framework for building cocoa apps that interact with =20 >>> mysql, the other is an app that uses that framework to allow =20 >>> users to interact with mysql on a bare level. >>> >>> Julian. >>> >>> >>> On 10/05/2006, at 2:45 AM, Jonathan McGuire wrote: >>> >>>> This is what I use. >>>> >>>> http://www.versiontracker.com/dyn/moreinfo/macosx/26072 >>>> >>>> His versions always seem to work fine for me good luck. >>>> >>>> >>>> On May 9, 2006, at 4:19 AM, Thouis (Ray) Jones wrote: >>>> >>>>> I am developing an application using msyql-cocoa on one of the new >>>>> intel macs, using xcode 2.2.1. Unfortunately, since the binary >>>>> distribution is ppc only, I can't develop an intel or universal >>>>> binary. That's been fine until now. >>>>> >>>>> Cross-debugging with gdb doesn't seem well supported. I really =20= >>>>> could >>>>> use the debugger to track down some failures. >>>>> >>>>> Can anyone provide either an intel or universal build of the >>>>> MCPKit_bundled framework, or tell me how to build it? Loading =20 >>>>> up the >>>>> source in Xcode and trying to build fails badly (I think =20 >>>>> detailed in >>>>> previous messages on this list). >>>>> >>>>> Hopefully someone has gone down this path before. Otherwise, =20 >>>>> I'll try >>>>> to tackle it, and see if I can get it to build for universal/=20 >>>>> intel. >>>>> >>>>> Ray Jones >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> Using Tomcat but need to do more? Need to support web services, =20= >>>>> security? >>>>> Get stuff done quickly with pre-integrated technology to make =20 >>>>> your job easier >>>>> Download IBM WebSphere Application Server v.1.0.1 based on =20 >>>>> Apache Geronimo >>>>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=12= 1642 >>>>> _______________________________________________ >>>>> Mysql-cocoa-users mailing list >>>>> Mys...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> Using Tomcat but need to do more? Need to support web services, =20 >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make =20 >>>> your job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on =20 >>>> Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121= 642 >>>> _______________________________________________ >>>> Mysql-cocoa-users mailing list >>>> Mys...@li... >>>> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users >>> >>> >>> >>> ------------------------------------------------------- >>> Using Tomcat but need to do more? Need to support web services, =20 >>> security? >>> Get stuff done quickly with pre-integrated technology to make =20 >>> your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache =20= >>> Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=1216= 42 >>> _______________________________________________ >>> Mysql-cocoa-users mailing list >>> Mys...@li... >>> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users >> >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, =20 >> security? >> Get stuff done quickly with pre-integrated technology to make your =20= >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=12164= 2 >> _______________________________________________ >> Mysql-cocoa-users mailing list >> Mys...@li... >> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121642= > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users |
From: Jonathan M. <j.m...@ma...> - 2006-05-10 18:00:22
|
Exactly. Open the app bundle and pull out their framework its UB and =20 I've had no issues with it. I've never been able to compile the src from source-forge so I just =20 use their frame work as they update it because it just works. Jonathan After switching to their framework my app on Intel Mac's launched way =20= faster worked way faster and just kicks butt :) On May 9, 2006, at 11:11 PM, Aaron Jacobs wrote: > I think the point is that MySQL-Cocoa uses Cocoa-MySQL (man that's =20 > hard to talk about). Since it's a Universal Binary, they must have =20= > figured out how to do it. And since it's open source... > > > On May 10, 2006, at 1:01 AM, Julian Leviston wrote: > >> No, not cocoa-mysql... it's mysql-cocoa. >> >> One is a framework for building cocoa apps that interact with =20 >> mysql, the other is an app that uses that framework to allow users =20= >> to interact with mysql on a bare level. >> >> Julian. >> >> >> On 10/05/2006, at 2:45 AM, Jonathan McGuire wrote: >> >>> This is what I use. >>> >>> http://www.versiontracker.com/dyn/moreinfo/macosx/26072 >>> >>> His versions always seem to work fine for me good luck. >>> >>> >>> On May 9, 2006, at 4:19 AM, Thouis (Ray) Jones wrote: >>> >>>> I am developing an application using msyql-cocoa on one of the new >>>> intel macs, using xcode 2.2.1. Unfortunately, since the binary >>>> distribution is ppc only, I can't develop an intel or universal >>>> binary. That's been fine until now. >>>> >>>> Cross-debugging with gdb doesn't seem well supported. I really =20 >>>> could >>>> use the debugger to track down some failures. >>>> >>>> Can anyone provide either an intel or universal build of the >>>> MCPKit_bundled framework, or tell me how to build it? Loading =20 >>>> up the >>>> source in Xcode and trying to build fails badly (I think =20 >>>> detailed in >>>> previous messages on this list). >>>> >>>> Hopefully someone has gone down this path before. Otherwise, =20 >>>> I'll try >>>> to tackle it, and see if I can get it to build for universal/intel. >>>> >>>> Ray Jones >>>> >>>> >>>> ------------------------------------------------------- >>>> Using Tomcat but need to do more? Need to support web services, =20 >>>> security? >>>> Get stuff done quickly with pre-integrated technology to make =20 >>>> your job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on =20 >>>> Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121= 642 >>>> _______________________________________________ >>>> Mysql-cocoa-users mailing list >>>> Mys...@li... >>>> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users >>> >>> >>> >>> ------------------------------------------------------- >>> Using Tomcat but need to do more? Need to support web services, =20 >>> security? >>> Get stuff done quickly with pre-integrated technology to make =20 >>> your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache =20= >>> Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=1216= 42 >>> _______________________________________________ >>> Mysql-cocoa-users mailing list >>> Mys...@li... >>> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users >> >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, =20 >> security? >> Get stuff done quickly with pre-integrated technology to make your =20= >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=12164= 2 >> _______________________________________________ >> Mysql-cocoa-users mailing list >> Mys...@li... >> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121642= > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users |
From: Aaron J. <aj...@ed...> - 2006-05-10 06:11:25
|
I think the point is that MySQL-Cocoa uses Cocoa-MySQL (man that's =20 hard to talk about). Since it's a Universal Binary, they must have =20 figured out how to do it. And since it's open source... On May 10, 2006, at 1:01 AM, Julian Leviston wrote: > No, not cocoa-mysql... it's mysql-cocoa. > > One is a framework for building cocoa apps that interact with =20 > mysql, the other is an app that uses that framework to allow users =20 > to interact with mysql on a bare level. > > Julian. > > > On 10/05/2006, at 2:45 AM, Jonathan McGuire wrote: > >> This is what I use. >> >> http://www.versiontracker.com/dyn/moreinfo/macosx/26072 >> >> His versions always seem to work fine for me good luck. >> >> >> On May 9, 2006, at 4:19 AM, Thouis (Ray) Jones wrote: >> >>> I am developing an application using msyql-cocoa on one of the new >>> intel macs, using xcode 2.2.1. Unfortunately, since the binary >>> distribution is ppc only, I can't develop an intel or universal >>> binary. That's been fine until now. >>> >>> Cross-debugging with gdb doesn't seem well supported. I really =20 >>> could >>> use the debugger to track down some failures. >>> >>> Can anyone provide either an intel or universal build of the >>> MCPKit_bundled framework, or tell me how to build it? Loading up =20= >>> the >>> source in Xcode and trying to build fails badly (I think detailed in >>> previous messages on this list). >>> >>> Hopefully someone has gone down this path before. Otherwise, =20 >>> I'll try >>> to tackle it, and see if I can get it to build for universal/intel. >>> >>> Ray Jones >>> >>> >>> ------------------------------------------------------- >>> Using Tomcat but need to do more? Need to support web services, =20 >>> security? >>> Get stuff done quickly with pre-integrated technology to make =20 >>> your job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache =20= >>> Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=1216= 42 >>> _______________________________________________ >>> Mysql-cocoa-users mailing list >>> Mys...@li... >>> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users >> >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, =20 >> security? >> Get stuff done quickly with pre-integrated technology to make your =20= >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=12164= 2 >> _______________________________________________ >> Mysql-cocoa-users mailing list >> Mys...@li... >> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121642= > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users |
From: Julian L. <ju...@co...> - 2006-05-10 06:01:22
|
No, not cocoa-mysql... it's mysql-cocoa. One is a framework for building cocoa apps that interact with mysql, =20 the other is an app that uses that framework to allow users to =20 interact with mysql on a bare level. Julian. On 10/05/2006, at 2:45 AM, Jonathan McGuire wrote: > This is what I use. > > http://www.versiontracker.com/dyn/moreinfo/macosx/26072 > > His versions always seem to work fine for me good luck. > > > On May 9, 2006, at 4:19 AM, Thouis (Ray) Jones wrote: > >> I am developing an application using msyql-cocoa on one of the new >> intel macs, using xcode 2.2.1. Unfortunately, since the binary >> distribution is ppc only, I can't develop an intel or universal >> binary. That's been fine until now. >> >> Cross-debugging with gdb doesn't seem well supported. I really could >> use the debugger to track down some failures. >> >> Can anyone provide either an intel or universal build of the >> MCPKit_bundled framework, or tell me how to build it? Loading up the >> source in Xcode and trying to build fails badly (I think detailed in >> previous messages on this list). >> >> Hopefully someone has gone down this path before. Otherwise, I'll =20= >> try >> to tackle it, and see if I can get it to build for universal/intel. >> >> Ray Jones >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, =20 >> security? >> Get stuff done quickly with pre-integrated technology to make your =20= >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=12164= 2 >> _______________________________________________ >> Mysql-cocoa-users mailing list >> Mys...@li... >> https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121642= > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users |
From: Jonathan M. <j.m...@ma...> - 2006-05-09 16:46:04
|
This is what I use. http://www.versiontracker.com/dyn/moreinfo/macosx/26072 His versions always seem to work fine for me good luck. On May 9, 2006, at 4:19 AM, Thouis (Ray) Jones wrote: > I am developing an application using msyql-cocoa on one of the new > intel macs, using xcode 2.2.1. Unfortunately, since the binary > distribution is ppc only, I can't develop an intel or universal > binary. That's been fine until now. > > Cross-debugging with gdb doesn't seem well supported. I really could > use the debugger to track down some failures. > > Can anyone provide either an intel or universal build of the > MCPKit_bundled framework, or tell me how to build it? Loading up the > source in Xcode and trying to build fails badly (I think detailed in > previous messages on this list). > > Hopefully someone has gone down this path before. Otherwise, I'll try > to tackle it, and see if I can get it to build for universal/intel. > > Ray Jones > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, =20 > security? > Get stuff done quickly with pre-integrated technology to make your =20 > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache =20 > Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=120709&bid&3057&dat=121642= > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users |
From: Thouis (R. J. <th...@po...> - 2006-05-09 11:19:26
|
I am developing an application using msyql-cocoa on one of the new intel macs, using xcode 2.2.1. Unfortunately, since the binary distribution is ppc only, I can't develop an intel or universal binary. That's been fine until now. Cross-debugging with gdb doesn't seem well supported. I really could use the debugger to track down some failures. Can anyone provide either an intel or universal build of the MCPKit_bundled framework, or tell me how to build it? Loading up the source in Xcode and trying to build fails badly (I think detailed in previous messages on this list). Hopefully someone has gone down this path before. Otherwise, I'll try to tackle it, and see if I can get it to build for universal/intel. Ray Jones |
From: Thouis (R. J. <th...@cs...> - 2006-05-09 03:09:52
|
I am developing an application using msyql-cocoa on one of the new intel macs, using xcode 2.2.1. Unfortunately, since the binary distribution is ppc only, I can't develop an intel or universal binary. That's been fine until now. Cross-debugging with gdb doesn't seem well supported. I really could use the debugger to track down some failures. Can anyone provide either an intel or universal build of the MCPKit_bundled framework, or tell me how to build it? Loading up the source in Xcode and trying to build fails badly (I think detailed in previous messages on this list). Hopefully someone has gone down this path before. Otherwise, I'll try to tackle it, and see if I can get it to build for universal/intel. Ray Jones |
From: Richard <did...@ma...> - 2006-04-05 09:56:27
|
Hi I've been trying to understand the Mysql framework but have run into many problems. MCPKit_3.0.1 Source, will not compile on my 10.4 Xcode 2.2 , It produces a list of missing files including info.plist MCPKit_3.0.1 Bin, If I connect to the static framework, I get compilation warnings like the following /Users/diddy/projects/cocoa/learn/test_static_sql/test_static_sql.m: 20: warning: 'MCPResult' may not respond to '-fetchFieldsName' /Users/diddy/projects/cocoa/learn/test_static_sql/test_static_sql.m: 20: warning: (Messages without a matching method signature /Users/diddy/projects/cocoa/learn/test_static_sql/test_static_sql.m: 13: warning: unused variable 'aBigIntegerAsString' If I try and run the program it throws up an error on .. names = [result fetchFieldsName]; The only way I have managed to get anywhere so far, is by downloading the 2.3.1 source and using the bundled framework, I cannot get the 2.3.1 static frameworks to compile in without any errors Is there someway I can get round this problem and use the static framework from 3.0.1 or 2.3.1 I'd really like to get going with this. Its very hard without any documentation. The documentation part of the website is down. thanks R D |
From: Nathaniel I. <nd...@bu...> - 2006-03-29 19:51:06
|
Serge Cohen (ser...@us...) wrote on 1/31/06, 8:49 AM: > I've just updated the file packages on sourceforge.... > Can you try it know, and tell me if there is still a problem (well, > indeed I'd be also interested to hear if there is NO problem ;-). I sent this message on Sunday, and haven't seen it show up yet -- apologies if it substantially arrives twice. The source release of 3.0.1 (linked from "download the framework" on the main page) seems to have the same problems as were reported for 3.0, namely lots of missing files, starting with Info.plist. Also, the link to the API usage examples on the main page is currently broken. If there really is no API documentation (the "documentation" link just points back at the main page), then examples become pretty darn important. Thanks, -nat |
From: Markus B. <mar...@in...> - 2006-03-07 06:15:11
|
Hi, I was so happy to find this project, because I love Objective-C and I also love MySQL. But it's hard to write a program with NO documentation. Is there any plan or releasedate for the docs. If I could help you getting the documentation ready and online let me know. Markus |
From: Serge C. <ser...@us...> - 2006-02-26 10:00:43
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Lorenz; I had such problems (indeed problem to connect to pre-4.1 version) =20 and I made a fix, which is just in svn right now. I'll incorporate your new type encoding, and make a new distro =20 (3.0.1) later today... I don't have v5 server to try it with. The main problems comes from the fact that the version 3. of the =20 framework tries to get the timezone of the server, so timestamps are =20 properly interpreted when the server and client are NOT in the same =20 timezone. Different versions of MySQL server have diff. ways to stoer =20= this information, and it's a bit tricky to retrieve it. I'll post the fix later today. Serge. Le 25 f=E9vr. 06 =E0 23:00, Lorenz Textor a =E9crit : > Hi, > > I have updated the old SMySQL framework in CocoaMySQL to the new =20 > version 3.0.0 and it works good for MySQL 5 servers. When =20 > connecting to a 4.1.14 server the application hangs and I get an =20 > error: > *** -[NSConcreteData isEqualToString:]: selector not recognized =20 > [self =3D 0x482b760] > When connecting to a 4.0.18 server the application crashes and I =20 > get an error: > CocoaMySQL has exited due to signal 10 (SIGBUS). > > Both servers work fine with the old version of the framework. > > Has anybody had similar problems with the new framework or is this =20 > problem because of some other code in CocoaMySQL? I have just =20 > checked it with an old source of CocoaMySQL and it works fine until =20= > I change the framework... > > Thanks, > Lorenz > > --=20 > lorenz textor > ** sh ** > eigerstrasse 21 > 8200 schaffhausen > tf 052 - 624 27 91 > ** zh ** > schimmelstrasse 5 > 8003 z=FCrich > tf 043 - 333 00 19 > ** > mobile 076 - 531 71 74 > email lo...@te... > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting =20 > language > that extends applications into web and mobile media. Attend the =20 > live webcast > and join the prime developer group breaking into this new coding =20 > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat=121642= > _______________________________________________ > Mysql-cocoa-users mailing list > Mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysql-cocoa-users > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEAXxC5EPeG5y7WPsRArk1AKDrQrwZWJEnG1aIQn0u9C32K5/hqQCfRLeL Pp6SKLWj43OdatsbQOketDg=3D =3DCnhS -----END PGP SIGNATURE----- |