[sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Hello, SQLite 3.3.4 Mac OS X Tiger 10.4.5 After ./configure and make SQLite 3.3.4, I see that some files have disappeared: os_test.c os_test.h os_unix.h os_win.h This results in a few undefined symbols: sqlite3OsClose sqlite3FileSize sqlite3OsLock ... Any ideas? Thanks, -- Tito
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Tito Ciuro [EMAIL PROTECTED] writes: Hello, SQLite 3.3.4 Mac OS X Tiger 10.4.5 After ./configure and make SQLite 3.3.4, I see that some files have disappeared: os_test.c os_test.h os_unix.h os_win.h This results in a few undefined symbols: sqlite3OsClose sqlite3FileSize sqlite3OsLock ... Any ideas? First guess would be that 'configure' isn't detecting that OS X is Unix-like. I suspect you might get a hint of what's going on if you carefully inspect the output from 'configure' to see what supported OS it's detecting (if any). Derrell
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Hi. I haven't had any problems compiling under Mac OSX 10.4.5. Even making a universal binary was no problem at all, except that the normal (not the tcl) install process does not work properly and I had to link all object files myself with libtool. What source package did you download? Were these files missing bevor configure and make, too? Best regards, Manfred Am 07.03.2006 um 07:02 schrieb Tito Ciuro: Hello, SQLite 3.3.4 Mac OS X Tiger 10.4.5 After ./configure and make SQLite 3.3.4, I see that some files have disappeared: os_test.c os_test.h os_unix.h os_win.h This results in a few undefined symbols: sqlite3OsClose sqlite3FileSize sqlite3OsLock ... Any ideas? Thanks, -- Tito ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Tito Ciuro [EMAIL PROTECTED] wrote: Hello, SQLite 3.3.4 Mac OS X Tiger 10.4.5 After ./configure and make SQLite 3.3.4, I see that some files have disappeared: os_test.c os_test.h os_unix.h os_win.h This results in a few undefined symbols: sqlite3OsClose sqlite3FileSize sqlite3OsLock Any ideas? I build the OS-X version for the website on Tiger using the ./configure script in the TEA version of SQLite. You might try it as a work-around. http://www.sqlite.org/sqlite-3.3.4-tea.tar.gz -- D. Richard Hipp [EMAIL PROTECTED]
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Hi On my PowerMac G4 with Tiger 10.4.5 (Build 8H14), it works. You can download an archive with finished configure and make steps from the following address: http://www.dinoware.com/mailinglists/sqlite-3.3.4.tar.gz You can look at the configure.log and make.log files to check for differences on your system. Marcel On 06.03.2006, at 21:11, [EMAIL PROTECTED] wrote: Tito Ciuro [EMAIL PROTECTED] writes: Hello, SQLite 3.3.4 Mac OS X Tiger 10.4.5 After ./configure and make SQLite 3.3.4, I see that some files have disappeared: os_test.c os_test.h os_unix.h os_win.h This results in a few undefined symbols: sqlite3OsClose sqlite3FileSize sqlite3OsLock ... Any ideas? First guess would be that 'configure' isn't detecting that OS X is Unix-like. I suspect you might get a hint of what's going on if you carefully inspect the output from 'configure' to see what supported OS it's detecting (if any). Derrell
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Hi Derrell, On 06/03/2006, at 12:11, [EMAIL PROTECTED] wrote: First guess would be that 'configure' isn't detecting that OS X is Unix-like. I suspect you might get a hint of what's going on if you carefully inspect the output from 'configure' to see what supported OS it's detecting (if any). Derrell I don't see anything bizarre. Here's the output: Last login: Mon Mar 6 13:10:04 on ttyp1 Welcome to Darwin! da0304a-dhcp158:~ tciuro$ cd /Users/tciuro/Desktop/sqlite-3.3.4/ da0304a-dhcp158:~/Desktop/sqlite-3.3.4 tciuro$ ./configure checking build system type... i686-apple-darwin8.5.1 checking host system type... i686-apple-darwin8.5.1 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 65536 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.5.1 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag CXX to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin8.5.1 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag F77 to libtool checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk Version set to 3.3 Release set to 3.3.4 Version number set to 3003004 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking switches for the host compiler... -g -O2 checking target compiler... gcc checking switches on the target compiler... -g -O2 checking target linker... gcc checking switches on the target compiler... checking for ranlib... (cached) ranlib -g -O2 checking if host and target
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Hello Manfred, On 06/03/2006, at 12:43, Manfred Bergmann wrote: What source package did you download? http://www.sqlite.org/sqlite-3.3.4.tar.gz Were these files missing bevor configure and make, too? Yes. Thanks, -- Tito
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Hello, On 06/03/2006, at 12:44, [EMAIL PROTECTED] wrote: I build the OS-X version for the website on Tiger using the ./configure script in the TEA version of SQLite. You might try it as a work-around. http://www.sqlite.org/sqlite-3.3.4-tea.tar.gz I get a document not found error. Thanks, -- Tito
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Tito Ciuro [EMAIL PROTECTED] wrote: Hello, On 06/03/2006, at 12:44, [EMAIL PROTECTED] wrote: I build the OS-X version for the website on Tiger using the ./configure script in the TEA version of SQLite. You might try it as a work-around. http://www.sqlite.org/sqlite-3.3.4-tea.tar.gz I get a document not found error. I mistyped the link. Should be: http://www.sqlite.org/sqlite-3_3_4-tea.tar.gz -- D. Richard Hipp [EMAIL PROTECTED]
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Hello Marcel, I should have been more specific. Sorry about that: when I ./ configure and then make, everything is fine. It passes all the tests. Cool. When I create an Xcode project in Mac OS X and put all the SQLite files there, it doesn't compile: ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: _sqlite3OsCheckReservedLock _sqlite3OsClose _sqlite3OsFileSize _sqlite3OsLock _sqlite3OsOpenDirectory _sqlite3OsRead _sqlite3OsSeek _sqlite3OsSetFullSync _sqlite3OsSync _sqlite3OsTruncate _sqlite3OsUnlock _sqlite3OsWrite /usr/bin/libtool: internal link edit command failed It used to compile fine in the past. I see that these symbols are defined in os.h, which is included in the project. Any ideas? Thanks, -- Tito On 06/03/2006, at 12:52, Marcel Strittmatter wrote: Hi On my PowerMac G4 with Tiger 10.4.5 (Build 8H14), it works. You can download an archive with finished configure and make steps from the following address: http://www.dinoware.com/mailinglists/sqlite-3.3.4.tar.gz You can look at the configure.log and make.log files to check for differences on your system. Marcel On 06.03.2006, at 21:11, [EMAIL PROTECTED] wrote: Tito Ciuro [EMAIL PROTECTED] writes: Hello, SQLite 3.3.4 Mac OS X Tiger 10.4.5 After ./configure and make SQLite 3.3.4, I see that some files have disappeared: os_test.c os_test.h os_unix.h os_win.h This results in a few undefined symbols: sqlite3OsClose sqlite3FileSize sqlite3OsLock ... Any ideas? First guess would be that 'configure' isn't detecting that OS X is Unix-like. I suspect you might get a hint of what's going on if you carefully inspect the output from 'configure' to see what supported OS it's detecting (if any). Derrell
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Tito Ciuro [EMAIL PROTECTED] wrote: When I create an Xcode project in Mac OS X and put all the SQLite files there, it doesn't compile: ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: _sqlite3OsCheckReservedLock _sqlite3OsClose _sqlite3OsFileSize _sqlite3OsLock _sqlite3OsOpenDirectory _sqlite3OsRead _sqlite3OsSeek _sqlite3OsSetFullSync _sqlite3OsSync _sqlite3OsTruncate _sqlite3OsUnlock _sqlite3OsWrite /usr/bin/libtool: internal link edit command failed Those are link errors, not compile errors, right? It used to compile fine in the past. I see that these symbols are defined in os.h, which is included in the project. Any ideas? The symbols are *declared* in os.h, but *defined* in os.c. Is os.c in the project? -- James W. Walker, ScriptPerfection Enterprises, Inc. http://www.write-brain.com/
Re: [sqlite] Problems compiling SQLite 3.3.4 on Mac OS X
Hi James! Even though I dragged the entire directory, os.c and shell.c were the only two files no included in the project. Weird... Thanks so much! -- Tito On 06/03/2006, at 17:11, James W. Walker wrote: Tito Ciuro [EMAIL PROTECTED] wrote: When I create an Xcode project in Mac OS X and put all the SQLite files there, it doesn't compile: ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: _sqlite3OsCheckReservedLock _sqlite3OsClose _sqlite3OsFileSize _sqlite3OsLock _sqlite3OsOpenDirectory _sqlite3OsRead _sqlite3OsSeek _sqlite3OsSetFullSync _sqlite3OsSync _sqlite3OsTruncate _sqlite3OsUnlock _sqlite3OsWrite /usr/bin/libtool: internal link edit command failed Those are link errors, not compile errors, right? It used to compile fine in the past. I see that these symbols are defined in os.h, which is included in the project. Any ideas? The symbols are *declared* in os.h, but *defined* in os.c. Is os.c in the project? -- James W. Walker, ScriptPerfection Enterprises, Inc. http://www.write-brain.com/