-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 22 Mar 2007, Nils Olav Fossum wrote:

Hello,

I have news about the DOSEmu issue:

The slang library was downloaded and unpacked, but not built. Hence, the 
DOSEmu configure found the specified header files, but searched the 
/lib directories of the host for the libslang.a.

I changed the Makefile like so, in order to let DOSemu compile with 
libplugin_term.so. (Because of the libcap issue, I cannot test any further 
currently).

I copy slang.h into fakeheaders and the compiled libslang.a into fakelib 
and I removed the --with-slang from DOSemu, it picks up slang from the 
fake* dirs.
I'm not certain about the dependencies, though. I modelled the item after 
DOSemu's one.

==============
- --- cvs/unattended/linuxboot/Makefile   2007-03-12 23:07:51.000000000 
+0100
+++ Makefile    2007-03-22 16:42:11.000000000 +0100
@@ -167,4 +167,14 @@

+fakelib/libslang.a: $(slang)/configure
+       rm -f $@
+       cd $(cwd)/$(slang)      \
+       && CC="$(CC) $(fakelib_cflags)" ./configure     \
+               --prefix=/usr   \
+       && make \
+       && ln src/objs/libslang.a $(cwd)/fakelib        \
+       && ln src/slang.h $(cwd)/fakeinclude
+       [ -e $@ ]
+
  build-$(dosemu)/config.status: $(dosemu)/.stamp-dosemu-nolock-patch \
- -                       $(dosemu)/configure
+                       $(dosemu)/configure fakelib/libslang.a
         rm -f $@
@@ -174,3 +184,3 @@
                 --without-x --without-gpm --build=i586-linux            \
- -               --prefix=/usr --with-slangdir=$(cwd)/$(slang)
+               --prefix=/usr
         [ -e $@ ]
=============

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRgOy2dOkJV1AYoBwAQI41Qf+KchTAjk+dsc2SgUO0qtT9qtOvIjCF8vb
cmenbqjadAkowcCn6mrLTcO5vLjmnlyIrLejwpVn7jbnSiQB4+AYWf57NYFMK77D
OTyL+FqZ0Dh4yB1B8ch7JYA4AHqVq7c2fwT0a3vmkZ4ifBP6jMiKMq6OdHOgA2Cn
0PIyw0pgR//44Ga0svXWc4aRBE7S+48G67YFsa2xzvXdvbQ9ktLx2+3QroSgluBb
On34r3Fuc+uXQzbv8y/Gr7ZvU4DFUqqTweFfrp9n8gqO1CfXq9Mn65rhDUlr4epw
Up93TA61MgUPFtdC5zkm9T9IP1nBNg0FyPVvdiYuf+EacU7QaLAdjA==
=IFFU
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
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