06-04-2010
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 configure output). That libtool is stored in a subdirectory of my pwd. When I run make, you can see below that it tries to grab the libtool from /opt/csw/apache2/share/build and I cannot for the life of me figure out why it is doing that. I copied my libtool to that directory to see if it would work, but its just telling me that I need to add the --tag option.
Here is my output
Quote:
bash-3.00# make
Compiling mod_R
/opt/csw/apache2/sbin/apxs -I/usr/local/lib/R/include -I/home/jesse/rapache-1.1.9/libapreq2/include -I/opt/csw/apache2/include -I/opt/csw/bdb44/include -I/opt/csw/include -c mod_R.c -L/usr/local/lib/R/lib -lR -L/home/jesse/rapache-1.1.9/libapreq2/library/.libs -lapreq2
/opt/csw/apache2/share/build/libtool --silent --mode=compile cc -prefer-pic -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO3 -xarch=386 -xspace -xildoff -I/opt/csw/bdb44/include -I/opt/csw/include -I/opt/csw/bdb44/include -I/opt/csw/include -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -mt -I/opt/csw/apache2/include -I/opt/csw/apache2/include -I/opt/csw/apache2/include -I/opt/csw/bdb44/include -I/opt/csw/include -I/usr/local/lib/R/include -I/home/jesse/rapache-1.1.9/libapreq2/include -I/opt/csw/apache2/include -I/opt/csw/bdb44/include -I/opt/csw/include -c -o mod_R.lo mod_R.c && touch mod_R.slo
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
apxs:Error: Command failed with rc=65536
.
*** Error code 1
make: Fatal error: Command failed for target `mod_R.so'
I ran
find ./ | xargs grep /opt/csw/apache2/share/build and multiple variants, trying to find where the hell in the rapache files does it reference that directory, but nothing comes up. In fact, I can't find where a ton of those extra switches are being defined either... WHERE IS THIS ALL COMING FROM?
Can someone please point me in the right direction to figuring out how to get this installed? I've been at it for 2 days now and I can feel my hair getting grayer.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
i've seen a few posts regarding this issue, and i've tried the resolutions,
but i keep running into the same problem.
i'm trying to compile OpenSSL with the use of rsaref-2.0 (i'm running
through this tutorial... (1 Reply)
Discussion started by: xyyz
1 Replies
2. UNIX for Advanced & Expert Users
compiling 4.3.4
i'm running into the following error:
quote:
--------------------------------------------------------------------------------
Undefined first referenced
symbol in file
uncompress /usr/local/mysql/lib/libmysqlclient.a(my_compress.o)
compress... (2 Replies)
Discussion started by: xyyz
2 Replies
3. Linux
Hi all
I want to compile a source gt_util.c into a lo file,
I use
libtool gcc -g -O -c gt_util.c -I./include
but it prompts me :
cannot determin name of library object from 'include'
how should I use the tool to compile a source to .lo file?
Thanks. (0 Replies)
Discussion started by: steven_TTG
0 Replies
4. Solaris
Hello
I need to do some backup of operation system Solaris 10, but I donīt know how can I do, I would like to do this backup in tape, but I need to do this backup in both to disk and to tape.
How can I do backup of solaris 10 Operation System to disk?
How can I do backup of solaris 10... (1 Reply)
Discussion started by: cata
1 Replies
5. Programming
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
6. Programming
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
7. UNIX for Dummies Questions & Answers
I wonder what would be the difference when using:
lipo -create i386/libAwesome.a armv7/libAwesome.a -o fat/libAwesome.a
and
libtool -static i386/libAwesome.a armv7/libAwesome.a -o fat/libAwesome.a
I have the impression that lipo is more general, and it will simply stick two files from... (0 Replies)
Discussion started by: nacho4d
0 Replies
8. UNIX for Dummies Questions & Answers
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... (2 Replies)
Discussion started by: bphqk3
2 Replies
9. UNIX for Dummies Questions & Answers
The software I'm trying to install uses macros with autoconf, aclocal, libtool, autoheader, and automake. What seems to be going on is an error between libtool and aclocal. From what I understand when I run aclocal, which is in /usr/bin, it searches a different directory for the libtool.m4 which is... (0 Replies)
Discussion started by: bphqk3
0 Replies
LEARN ABOUT LINUX
suninstall
suninstall(1M) System Administration Commands suninstall(1M)
NAME
suninstall - install the Solaris operating system
SYNOPSIS
suninstall
DESCRIPTION
install-solaris(1M) is now the preferred command for starting and restarting the Solaris Installation program. It should be used instead of
suninstall. suninstall is symbolically linked to install-solaris.
suninstall is a forms-based and graphical subsystem for installing the operating system.
suninstall exists only on the Solaris installation media (CD or DVD) and should only be invoked from there. Refer to the Solaris 10 Instal-
lation Guide: Basic Installations for more details.
suninstall allows installation of the operating system onto any standalone system. suninstall loads the software available on the installa-
tion media. Refer to the Solaris 10 Installation Guide: Basic Installations for disk space requirements.
USAGE
Refer to the Solaris 10 Installation Guide: Basic Installations for more information on the various menus and selections.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
SEE ALSO
pkginfo(1), install(1M), install-solaris(1M), pkgadd(1M), attributes(5)
Solaris 10 Installation Guide: Basic Installations
NOTES
It is advisable to exit suninstall by means of the exit options in the suninstall menus.
SunOS 5.10 9 Sep 2004 suninstall(1M)