Re: [Oorexx-devel] Try building ooSQLite on Mac ?
Hi Bruce Thanks for the makefile ! I had to do these changes in Makefile.mac : 1) disable readline, seems I don't have it by default (link error) 2) add $(SO_LFLAGS) on the line which builds liboosqlite.dylib (otherwise link error) 3) replace .so by .dylib everywhere (otherwise library not found by oorexx) Now it works for me... Let me know if i have to commit. Jean-Louis 2012/6/8 Mark Miesfeld miesf...@gmail.com On Fri, Jun 8, 2012 at 12:12 PM, CVBruce cvbr...@gmail.com wrote: I'll give it a go. Thanks Bruce. -- Mark Miesfeld -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] Try building ooSQLite on Mac ?
On Sat, Jun 16, 2012 at 10:59 AM, Jean-Louis Faucher jfaucher...@gmail.com wrote: I had to do these changes in Makefile.mac : 1) disable readline, seems I don't have it by default (link error) Yes, even on Linux, readline is not always there. But it is easy to add on Linux, should be easy on OS X also. Maybe it would be best to have it enabled in the make file checked in on all the platforms, so that a formal build for each platform would be consistent. With a note saying for the formal build please install readline, for someone checking out the source for themselves, remove readlin in the make file if they do not have readline and do not want to install it. 2) add $(SO_LFLAGS) on the line which builds liboosqlite.dylib (otherwise link error) 3) replace .so by .dylib everywhere (otherwise library not found by oorexx) Now it works for me... Let me know if i have to commit. If it works, check it in. Bruce can always adjust it if he has to and we could talk about what the final version should be. Other than the readline issue, once it is working it should work on all the current Macs shouldn't it? -- Mark Miesfeld -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] Try building ooSQLite on Mac ?
If it works, check it in. Bruce can always adjust it if he has to and we could talk about what the final version should be. Other than the readline issue, once it is working it should work on all the current Macs shouldn't it? Ok, I will commit 2) and 3) and keep the readline activated. I'm using Mac OS X 10.6.8 Can't tell for the Mac OS X Lion, but no reason it doesn't work. Jean-Louis -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
[Oorexx-devel] Try building ooSQLite on Mac ?
Hi Jean-Louis, Bruce, Rony ... If anyone has some time to try building ooSQLite on a Mac, that would be cool. grin https://oorexx.svn.sourceforge.net/svnroot/oorexx/incubator/ooSQLite If someone tries it, here are some tips. You can also e-mail me directly and I'll try to help. I *think* it might build on a Mac using the MakeFile.lin: # make -f MakeFile.lin would be the first thing to try. If that doesn't work, and it seems to be a compiler / linker setup problem rather than a source code problem, you could try this: In the source code tree there is: src\platform\unix\sqlite-autoconf cd to that directory and run: # CFLAGS=-Os ./configure that wil produce a Makefile file that can be executed to produce sqlite3, a command line shell for SQLite. You could first see if that make file works. It should. What I did on Linux was to examine Makefile for the compiler / linker flags and defines and incorporate a few of them into Makefile.lin I also built sqlite3 using that Makefile and captured the output to see what gets passed to gcc and the linker. On Linux at least, no config.h is produced by configure. If one is produced on OS X, then copy the config.h file to: src/sqlite where the source files for sqlite are. Those files are platform independent and should not be changed. sqlite.c does have code to include config.h, if it exists. But on Linux things compile fine without a config.h. If it is a source code compatibility problem. let me know. There were a few when I first compiled on Linux. They should be easy to fix. Thanks in advance. -- Mark Miesfeld -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] Try building ooSQLite on Mac ?
I'll give it a go. Bruce On Jun 8, 2012, at 11:25 AM, Mark Miesfeld wrote: Hi Jean-Louis, Bruce, Rony ... If anyone has some time to try building ooSQLite on a Mac, that would be cool. grin https://oorexx.svn.sourceforge.net/svnroot/oorexx/incubator/ooSQLite If someone tries it, here are some tips. You can also e-mail me directly and I'll try to help. I *think* it might build on a Mac using the MakeFile.lin: # make -f MakeFile.lin would be the first thing to try. If that doesn't work, and it seems to be a compiler / linker setup problem rather than a source code problem, you could try this: In the source code tree there is: src\platform\unix\sqlite-autoconf cd to that directory and run: # CFLAGS=-Os ./configure that wil produce a Makefile file that can be executed to produce sqlite3, a command line shell for SQLite. You could first see if that make file works. It should. What I did on Linux was to examine Makefile for the compiler / linker flags and defines and incorporate a few of them into Makefile.lin I also built sqlite3 using that Makefile and captured the output to see what gets passed to gcc and the linker. On Linux at least, no config.h is produced by configure. If one is produced on OS X, then copy the config.h file to: src/sqlite where the source files for sqlite are. Those files are platform independent and should not be changed. sqlite.c does have code to include config.h, if it exists. But on Linux things compile fine without a config.h. If it is a source code compatibility problem. let me know. There were a few when I first compiled on Linux. They should be easy to fix. Thanks in advance. -- Mark Miesfeld -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel
Re: [Oorexx-devel] Try building ooSQLite on Mac ?
On Fri, Jun 8, 2012 at 12:12 PM, CVBruce cvbr...@gmail.com wrote: I'll give it a go. Thanks Bruce. -- Mark Miesfeld -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel