Trying to install libtool from source - newbie


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Trying to install libtool from source - newbie
# 1  
Old 02-17-2014
Trying to install libtool from source - newbie

Hey all,

I am trying to configure software (Open Cascade) and I am receiving the following error:

configure.ac:24: warning: macro `AM_PROG_LIBTOOL' not found in library

I know I must be missing libtool, however, when I try and grab libtool (a lot of sites have the proper tarball and directions -- so I think) I get errors once I get to the "make install" step. I went ahead and changed the permissions for all files associated with the configure and make to read, write, and execute for all, but that does not seem to help.

Upon further research I found that I must do the install on my root directory. When I try that, my permission to the tarball is denied. I'm confused.

I am using putty as my emulator on my Windows system.

Any thoughts/suggestions would be very helpful. I don't know much about Unix/Linux commands, so if you do have a suggestion, could you please kind of talk your way through the commands?

Thank you!
# 2  
Old 02-18-2014
Welcome to Forums.

Follow this steps, and change --prefix=your/installation/path if required, by default installation path is /usr/local, I compiled with gcc

Code:
[akshay@aix Packs]$ wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.tar.gz

[akshay@aix Packs]$ tar -xvf libtool-2.4.tar.gz

[akshay@aix Packs]$ cd libtool-2.4

[akshay@aix libtool-2.4]$ pwd
/home/akshay/Desktop/Packs/libtool-2.4

[akshay@aix libtool-2.4]$ ./configure --disable-static --prefix=/home/akshay/Desktop/Packs/testlib

[akshay@aix libtool-2.4]$ make

[akshay@aix libtool-2.4]$ make install

[akshay@aix libtool-2.4]$ cd ../testlib/

[akshay@aix testlib]$ ls 
bin  include  lib  share

[akshay@aix bin]$ ls 
libtool  libtoolize

[akshay@aix bin]$ ./libtool --version
libtool (GNU libtool) 2.4
Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996

Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[akshay@aix bin]$ ./libtoolize --version
libtoolize (GNU libtool) 2.4
Written by Gary V. Vaughan <gary@gnu.org>, 2003

Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

---------- Post updated at 11:09 AM ---------- Previous update was at 11:07 AM ----------

Note : It's always good if you mention OS, shell you are using.
This User Gave Thanks to Akshay Hegde For This Post:
# 3  
Old 02-18-2014
Thank you so much! This was presented so clearly, and it worked perfectly. Thanks for taking the time to help!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Execution problem with Libtool Versioning control

Hi, Is anybody familiar with libtool could explain me the following issue.? I've created a small factorial program(fact_impl.c, fact_appln.c & fact.h) in order to know about this libtool. >>> fact.h #include<stdio.h> #include<math.h> extern unsigned int fact_num(unsigned int num);... (0 Replies)
Discussion started by: Parameswaran
0 Replies

2. UNIX for Dummies Questions & Answers

Problem with install aquila dsp library from source.

Hi All, I am trying to install aquila-dsp. an open source c++ library from dsp functions in my ubuntu 12.10. I downloaded the aquila source. configured, make and did make install. It seems to be installed in /usr/lib/aquila. The compile fails in linking when I try using api provided by... (0 Replies)
Discussion started by: tamil.pamaran
0 Replies

3. Programming

Question re: remember to run `libtool --finish ...`

Hi. I port/package software for AIX and often get this message during "make install" libtool: install: warning: remember to run `libtool --finish /some/directory` I have run the command manually, and not run it. I am unable to see what difference it is making. Questions: What is the... (1 Reply)
Discussion started by: MichaelFelt
1 Replies

4. UNIX for Dummies Questions & Answers

How to install kernel source?

During installation of one of driver i needed to Remove any earlier version drivers using make clean -r command. Where i m getting following error. # make clean -r Kernel source is not installed make: *** Error 1 My kernel version # uname -r 2.6.18-128.2.1.4.9.el5xen Where... (4 Replies)
Discussion started by: pinga123
4 Replies

5. UNIX for Dummies Questions & Answers

Any tips/suggestions for a newbie beginning to read the Linux Kernel Source Code

Hi All, I recently downloaded the Linux kernel source code, added them all to a project in MS VC++ and plan to read through it so that I can improve the way I code, read/understand a large code database and hopefully contribute something to the development of the Linux OS. I have taken a... (3 Replies)
Discussion started by: clavian
3 Replies

6. UNIX for Dummies Questions & Answers

Rapache, libtool, and Make on Solaris 10

I'd like to first off state that this is my second day using Solaris, so go easy on me. I am trying to install rapache on a Solaris 10 server, and I am running into some frustrating roadblocks. When running configure, I see that it creates its own libtool and sets the tag (according to the... (0 Replies)
Discussion started by: gadonj18
0 Replies

7. Solaris

Solaris Newbie - I just want a minimal install

I'm coming from BSD/Linux where I went from having to install gnome to now running *nix boxes with just the CLI. I love it but now I want to try my hand at solaris. I'm installing solaris 10 in a VM but I am kinda shocked at the install size. I would do the "core" option but I dont know if I'll... (2 Replies)
Discussion started by: sdotsen
2 Replies

8. Debian

Kernel source not found. (can't install network card drivers)

I've had no luck with help on linuxquestions so I figured I'd try here. I'm using debian etch. The problem is that I can not install my network card because it says: Makefile:62: *** Linux kernel source not found. Stop. I have the kernel-headers installed. I've looked all over the... (9 Replies)
Discussion started by: Virtuality
9 Replies

9. HP-UX

how install source file HP-UX

I want to install a source tar file using SAM . How do I do that? Also I want to update all installed software using SAM? (3 Replies)
Discussion started by: mwagz
3 Replies
Login or Register to Ask a Question