libtool

Salvatore Domenick Desiano sal at ri.cmu.edu
Tue Jan 16 17:17:07 PST 2007


It sounds like GNAT is hard wired to look for libtool. I don't have 
access to the GNAT website or the download, so I can't tell you how to 
change which libtool to look for.

I can think of three possibile solutions:
1) temporarily move /usr/lib/libtool out of the way (not a great idea, 
   and absolutely don't forget to put it back)
2) temporarily link .../glibtool to .../libtool (not great, but 
   workable, and also don't forget to remove it)
3) change the GNAT build system to look for glibtool instead of libtool 
   (the GNAT mailing list is your best bet for this).

-- Sal
smile.



--------------
  Salvatore Domenick Desiano
    Doctoral Candidate
      Robotics Institute
        Carnegie Mellon University

On Wed, 17 Jan 2007, Thomas De Contes wrote:

o 
o Le mercredi, 17 jan 2007, à 00:50 Europe/Paris, Timothy Brown a écrit :
o 
o > On Wed, Jan 17, 2007 at 12:28:28AM +0100, Thomas De Contes wrote:
o > 
o > > what does exactly
o > > port install libtool
o > > ?
o > 
o > It installs the GNU libtool.
o 
o does it make some things diferent than the apple version ?
o 
o > 
o > > while making a tool, i got the error
o > > /usr/bin/libtool: unknown option character `m' in: -macosx_version_min
o > > 
o > > on the list GNAT-OSX at hermes.gwu.edu, someone said me "It looks like it
o > > is using the wrong libtool. Apple has its own. If there is a libtool in
o > > the path that isn't the Apple version then you will have problems
o > > creating dynamic libraries."
o > > but
o > > thomas% which libtool
o > > /usr/bin/libtool
o > > so it seems to be the apple's one
o > 
o > Yes this is correct. This is Apple's one.
o > 
o > > and after have run "port install libtool", it's the same(the error and
o > > the path), and there is no libtool binary in the bin folder of macports
o > > 
o > > so, what should i do ?
o > 
o > It is installed, however it is installed as glibtool.
o > 
o > > ps :
o > > how to know the version of the installed libtool ?
o > 
o > I have it installed, and to find the version:
o > 
o > m1:$ port installed | grep libtool
o >   libtool @1.5.22_0 (active)
o > 
o > m1:$ /opt/local/bin/glibtool --version
o > ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
o 
o (it is /usr/bin/libtool, since
o /Users/thomas/bin/autoinstall/macports/bin/libtool does not exist)
o 
o thomas% libtool --version
o libtool: unknown option character `-' in: --version
o Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]]
o [-arch_only arch] [-sacLT]
o Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]]
o [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #]
o [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#]
o [-segs_read_write_addr 0x#] [-seg_addr_table <filename>]
o [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
o thomas% libtool -v
o libtool: no output file specified (specify with -o output)
o Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]]
o [-arch_only arch] [-sacLT]
o Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]]
o [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #]
o [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#]
o [-segs_read_write_addr 0x#] [-seg_addr_table <filename>]
o [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
o thomas%
o 
o is it right ?? :-/
o 
o 
o > What are you trying to make?
o 
o gnat (ada compiler)
o 
o do you want i give you the instructions to try on your computer ?
o 
o 
o -- 
o Mon CV : http://tDeContes.hd.free.fr/divers/emploi/
o 
o _______________________________________________
o macports-users mailing list
o macports-users at lists.macosforge.org
o http://lists.macosforge.org/mailman/listinfo/macports-users
o 
o 


More information about the macports-users mailing list