Skip to Content.
Sympa Menu

freetds - Re: [freetds] Max OS X Panther (solved?)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Daniel Fazekas <fdsubs AT axelero.hu>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Max OS X Panther (solved?)
  • Date: Thu, 6 Nov 2003 15:54:26 +0100


On Nov 5, 2003, at 22:09, Lowden, James K wrote:

Excellent. I think you're the third one to report success with John's hack.

I'm very reluctant to "upgrade" our libtool; there are too many unknowns as
far as I'm concerned. I'm much happier trying to patch it for now.

Could someone please post a "diff -u libtool-orig libtool"? I wonder if
it's not possible to patch ltmain.sh such that libtool Just Works on OS X.
Then we can all go home early.

--- libtool-orig Thu Nov 6 15:34:53 2003
+++ libtool Thu Nov 6 15:38:45 2003
@@ -202,7 +202,7 @@
old_archive_from_expsyms_cmds=""

# Commands used to build and install a shared archive.
-archive_cmds="\$CC \$(if test .\$module = .yes; then echo -bundle; else echo -dynami
clib; fi) \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$linkopts -install_nam
e \$rpath/\$soname \$verstring"
+archive_cmds="\$CC \$(if test .\$module = .yes; then echo -bundle; else echo -dynami
clib; fi) \$allow_undefined_flag -o \$lib \$libobjs \$linkopts -install_name \$rpath/
\$soname \$verstring"
archive_expsym_cmds=""
postinstall_cmds=""
postuninstall_cmds=""




As John noted, the only change is removing \$deplibs from this line.

Also, what version are y'all running? Is everyone using 10.3?

I am, and John also noted that he was using it in his original message, so that's at least 2 out of 3.


Because
there are several case statements in ltmain.sh that look like they might be
references to the version number. I'm guessing, of course. Example:

case $host in
*-*-rhapsody* | *-*-darwin1.[012])
^^^ OS X 0/1/2?

The uname -a on Panther (Mac OS X 10.3) is actually as follows:

Darwin fdsmac.lan 7.0.0 Darwin Kernel Version 7.0.0: Wed Sep 24 15:48:39 PDT 2003; root:xnu/xnu-517.obj~1/RELEASE_PPC Power Macintosh powerpc

and the configure scripts detect it as 'powerpc-apple-darwin7.0.0'.
Jaguar (Mac OS 10.2.X) was using 6.x.x (slightly changed on every point release, eg. going from 10.2.6 to 10.2.8).

and before that, I didn't have a Mac. :)

--
Daniel





Archive powered by MHonArc 2.6.24.

Top of Page