On Thursday, March 20, 2003, at 11:42 am, David R. Morrison wrote:
Robert Isenberg <[EMAIL PROTECTED]> wrote:
I read in the fink "Unix Porting Guide" about the problems with
libtool. It seems to say that libtool 1.4 in Fink CVS is patched, but
implies that libtool 1.3.5 is not patched. Do I need to apply the
patch mentioned to libtool 1.3.5? or is this already done for me?
Fink's libtool packages are only used if you are a developer using OS X
as your development platform, and want to run libtool to create a build
environment for users of your software (on whatever platform). The
changes to libtool 1.3.5 suggested by Fink have not, as far as I know,
been widely tested on other platforms. So shipping your software with
the Fink-modified libtool 1.3.5 files might not be a good idea.
I am doing a native port of GTK+2 to Mac OS X (i.e. one that doesn't use X11)
and have encountered errors using libtool 1.3.5 that seem to be regarding
quoting. I don't get the errors when I use libtool 1.4 but I'd prefer to use libtool
1.3.5 because the package seems to have been set up for that (ltconfig is present).
On the other hand, the patches to libtool 1.4 have been sent back to the
libtool project, which handles the Darwin/OS X platform much better than
in the past. This is an ongoing project for some members of the Fink
team, who are continuing to work on corrections and improvements to
libtool.
If you're not a developer, but perhaps someone who would like to package
software for Fink, the the page you referenced
http://fink.sourceforge.net/doc/porting/libtool.php#patch-135explains what to do.
The problem is that I do not understand the explanation it gives!! It says:
"After applying this patch [updated 2001-08-30] to the libtool 1.3.5 source, you must delete the files ltconfig and ltmain.sh. They will be recreated from the appropriate .in files when you run configure and make. But that's only half the work - every package using libtool comes with its own copies of ltconfig and ltmain.sh. So you must replace these in every package that you want to build as a shared library. "
My understanding of what this says is that :
1. I need to get the libtool 1.3.5 source (through fink I assume)
2. I guess I would need to apply the .patch file in the normal way
3. ADDITIONALLY I would need to apply the patch mentioned in the document!
Is that correct?
And finally, if you are mainly a Fink user, rest assured that the Fink
package maintainers have incorporated this patch where it was necessary,
into the software packages you want to install.
-- Dave
Thanks,
Robert
