[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3.1 Build error on Solaris 9 w/ Sun CC v5.8

From: Mark Reis
Subject: Re: 3.1 Build error on Solaris 9 w/ Sun CC v5.8
Date: Wed, 26 Apr 2006 15:24:57 -0400
User-agent: Thunderbird (X11/20060424)

It appears to be a strange behavior of the configure process.

I wanted to install bash in a non-standard directory "/usr/cs" and
dirent.h is located in /usr/include.

After setting:
export CFLAGS="-I/usr/include"
export CPPFLAGS="-I/usr/include"

I noticed that it insisted on adding:  "-I/usr/cs/include" to the
include statements.  After I removed all of -I/usr/cs/include statements
from the various makefiles, the compile worked.

The one other thing I noticed is that even with --enable-static-link
set, the Makefile still attempted to link to the shared .so libraries
under INTL_LIB and LIBINTL . It was a simple fix to switch them to ".a".

Thanks for the help

Chet Ramey wrote:
> Well, the compiler's not finding <dirent.h>, that much is clear.
> Chet 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]