Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 04:46 AM
12-23-2003 04:46 AM
lib
/usr/local/lib or /opt/gnome/lib?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 04:50 AM
12-23-2003 04:50 AM
Re: lib
To be on the save side, set your SHLIB_PATH and LD_LIBRARY_PATH to include those directories.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 04:53 AM
12-23-2003 04:53 AM
Re: lib
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2003 04:01 PM
12-24-2003 04:01 PM
Re: lib
--
ranga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2003 08:06 PM
12-24-2003 08:06 PM
Re: lib
Not so good configure script don't
All configure scripts from the GNU world, however know about $CONFIG_SITE an environment variable that should point to a shell script in which you can influence all configure's behaviour
http://www.google.com/search?q=.CONFIG_SITE&sourceid=opera&num=0&ie=utf-8&oe=utf-8
should give you some hints
Example (my $CONFIG_SITE on HP-UX and AIX):
--8<--- /pro/3gl/GNU/Policy.sh
# $CONFIG_SITE -> /pro/3gl/GNU/policy.sh
echo "OSTYPE: $OSTYPE, CC: $CC, CFLAGS: $CFLAGS, LDFLAGS: $LDFLAGS"
if [ $OSTYPE = hpux -a ${CC:-x} = x ]; then
CC=cc
# CFLAGS="-Ae -fast +Onolimit"
LDFLAGS="-Wl,+vnocompatwarnings $LDFLAGS"
CFLAGS="-Ae +O2 +Onolimit $CFLAGS"
if [ $HOST = d3 ]; then
CFLAGS=$CFLAGS" +DAportable"
fi
elif [ $OSTYPE = aix -a ${CC:-x} = x ]; then
CC=cc
CFLAGS="-O2 -qmaxmem=204800"
elif [ $OSTYPE = osf1 ]; then
CC=cc
CFLAGS="-O2 -std"
elif [ ${CC:-x} = gcc -o ${CC:-x} = gcc32 -o ${CC:-x} = gcc64 ]; then
CFLAGS="-O4 $CFLAGS"
else
#CC=cc
CFLAGS=-O2
fi
if [ $OSTYPE = hpux -a ${CC:-x} = gcc64 ]; then
PATH="/usr/local/pa20_64:$PATH"
CC=gcc
CFLAGS=$CFLAGS" -mpa-risc-2-0"
LDFLAGS="-s -L/usr/lib/pa20_64 "$LDFLAGS
elif [ $OSTYPE = hpux -a ${CC:-x} = gcc ]; then
if [ $HOST = d3 -o `uname -r` = "B.10.20" ]; then
CFLAGS=$CFLAGS" -mpa-risc-1-1"
else
CFLAGS=$CFLAGS" -mpa-risc-2-0"
fi
fi
case "$CFLAGS:$CC" in
*DA2.0w*|*DD64*|*:gcc64) ;;
*) CFLAGS=$CFLAGS" -I/pro/local/include"
LDFLAGS=$LDFLAGS" -s -L/pro/local/lib"
esac
if [ "${USE_NCURSES:-}" = "YES" ]; then
CFLAGS=`echo "$CFLAGS -I." | sed -e 's,-I,-I/pro/local/include/ncurses -I,'
-e 's, -I.$,,'`
fi
if [ -d /usr/include/X11R6 ]; then
CFLAGS=$CFLAGS" -I/usr/include/X11R6"
fi
if [ -d /usr/lib/X11R6 ]; then
LDFLAGS=$LDFLAGS" -L/usr/lib/X11R6"
fi
echo "OSTYPE: $OSTYPE, CC: $CC, CFLAGS: $CFLAGS, LDFLAGS: $LDFLAGS"
#In $CONFIG_SITE, you can do things like
#
# test x$CPPFLAGS = x && CPPFLAGS='-I/bla/bla/include'
# test x$LDFALGS = x && LDFLAGS='-L/bla/bla/lib'
#
#But even better, you can do things conditionally on whether or not
#you've set --prefix to something other than /usr/local:
#
# if test x$prefix != xNONE -a x$prefix != x/usr/local; then
# test -d $prefix/include && CPPFLAGS="$CPPFLAGS
# -I$prefix/include" test -d $prefix/lib && LDFLAGS="$LDFLAGS
# -L$prefix/lib"
# fi
-->8---
Sorry that the forum removes the formatting
Enjoy, Have FUN! H.Merijn