> attached you'll find the final patch for the last problem regarding:
> 
> a) DOSEmu does not compile because of slang
> b) libcap does not compile
> c) DOSEmu reboots itself, when winnt.exe finishes
> 
> a) is solved by putting slang into fake*

Hi.

Am I the only one that had problems because configure in dosemu does this, thus 
resulting in *always* choosing /usr/local/include/slang/slang.h over 
fakeinclude?  Since I have slang-1.4.9-8 on my system (RHEL4), I get the DL on 
m 
system, and when I run in unattended, I don't have the shared library available.

The only way I found a way around this was to make my own "fakeslang/src/objs" 
directory, and put libslang.a there, and slang.h in fakeslang/src. (The reason 
--with-slangdir breaks, by the way, is because config.h is taken from the 
slandir source, not the dosemu source, because it includes dosemu-1.3.4, but 
config.h lands in build-dosemu-1.3.4. . .).

Here's the relevant configure code (they should be using $CC -E to see if they 
can find slang.h, I know).

Sean

{ echo "$as_me:$LINENO: checking for S-Lang" >&5
echo $ECHO_N "checking for S-Lang... $ECHO_C" >&6; }
SLANGINC=""
SLANGLIB=""
if test "$with_slangdir" = ""; then
   if test -d $srcdir/../slang; then
     SLANGINC="-I ${srcdir}/../slang/src"
     SLANGLIB="-L ${srcdir}/../slang/src/objs"
   else
     if test -d $prefix/include/slang; then
       SLANGINC="-I${prefix}/include/slang"
     elif test -d /usr/include/slang; then
       SLANGINC="-I/usr/include/slang"
     fi
   fi
else
     if test -f $with_slangdir/src/slang.h; then
     SLANGINC="-I${with_slangdir}/src"
     SLANGLIB="-L${with_slangdir}/src/objs"
   else
         if test -d $with_slangdir/include/slang; then
       SLANGINC="-I${with_slangdir}/include/slang"
     elif test -d $with_slangdir/include; then
       SLANGINC="-I${with_slangdir}/include"
     fi
     SLANGLIB="-L${with_slangdir}/lib"
   fi
fi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to