Compile Problems with v3.2.7 on Solaris 10

These are old archives. They are kept for historic purposes only.
Post Reply
jkfield
Posts: 1
Joined: Sat Mar 22, 2008 3:22 pm

Compile Problems with v3.2.7 on Solaris 10

Post by jkfield »

I'm trying to compile Unreal 3.2.7 on Solaris 10 08/07 and the ./Config exits with the following error. I believe this is typically indicative of a configuration error (application specific variable not set properly):

/bin/bash ../../libtool --tag=CC --mode=link /opt/SUNWspro/bin/cc -xlibmil -D_SOLARIS -R'$ORIGIN:$ORIGIN/..' -R/usr/lib -R/usr/X/lib -R/usr/sfw/lib -R/opt/sfw/lib -R/usr/local/lib -lXft -lfontconfig -o libgnu.la dummy.lo getopt.lo getopt1.lo
libtool: link: only absolute run-paths are allowed
gmake[4]: *** [libgnu.la] Error 1
gmake[4]: Leaving directory `/export/install/dnloads/Unreal3.2.7/extras/tre-0.7.5/gnulib/lib'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/export/install/dnloads/Unreal3.2.7/extras/tre-0.7.5/gnulib/lib'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/install/dnloads/Unreal3.2.7/extras/tre-0.7.5/gnulib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/install/dnloads/Unreal3.2.7/extras/tre-0.7.5'
gmake: *** [all] Error 2

I'm using Sun Studio 12 with the following profile:

ForteHome=/opt/SUNWspro
PATH=$ForteHome/bin:/usr/bin:/usr/local/bin:/opt/sfw/bin:/usr/sfw/bin:/sbin:/usr/sbin:/usr/ccs/bin:$PATH
PKG_CONFIG_PATH=/usr/lib/pkgconfig
LD_LIBRARY_PATH=/usr/sfw/lib:/usr/local/lib:/usr/lib:/usr/dt/lib:/usr/X/lib:/usr/openwin/lib:/opt/sfw/lib
CC="$ForteHome/bin/cc"
CXX="$ForteHome/bin/CC"
CFLAGS="-xlibmil"
CXXFLAGS="-xlibmil -xlibmopt -features=tmplife -norunpath"
#LDFLAGS="-R'\$\$ORIGIN:\$\$ORIGIN/..' -R/usr/lib -R/usr/X/lib -R/usr/sfw/lib -R/opt/sfw/lib -R/usr/local/lib -lXft -lfontconfig"

export ForteHome PATH PKG_CONFIG_PATH LD_LIBRARY_PATH CC CXX CFLAGS CXXFLAGS LDFLAGS

I have the following packages installed in support of my build environment

SMCautoc autoconf
SMCautom automake
SMCbison bison
SMCflex flex
SMClgcc346 libgcc
SMCmake GNU make

Any assistance would be greatly appreciated, and thanks in advance.
Post Reply