Re: dosemu 64-bit compile? - SOLVED

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

 



Frank Cox írta:
On Wed, 14 Nov 2007 09:50:12 +0100
Zoltan Boszormenyi <zboszor@xxxxxxxxxxx> wrote:

I don't know why don't you get this error,
maybe we are using different dosemu 1.4.0
or different glibc-devel?...

Well... it compiled and nothing blew up yet in my (so far, limited) testing now
that I have it installed.

Did you compile for i386 or x86_64?

For x86-64. The original src.rpm from dosemu.org doesn't build for me,
with this below:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/zozo/rpmbuild/BUILD/dosemu-root
error: Installed (but unpackaged) file(s) found:
  /usr/lib/dosemu/libplugin_X.so
  /usr/lib/dosemu/libplugin_alsa.so
  /usr/lib/dosemu/libplugin_gpm.so
  /usr/lib/dosemu/libplugin_sdl.so
  /usr/lib/dosemu/libplugin_term.so


RPM build errors:
   user enbeo does not exist - using root
   user enbeo does not exist - using root
   File not found: /home/zozo/rpmbuild/BUILD/dosemu-root/usr/lib64/dosemu
File not found by glob: /home/zozo/rpmbuild/BUILD/dosemu-root/usr/lib64/dosemu/libplugin*.so
   Installed (but unpackaged) file(s) found:
  /usr/lib/dosemu/libplugin_X.so
  /usr/lib/dosemu/libplugin_alsa.so
  /usr/lib/dosemu/libplugin_gpm.so
  /usr/lib/dosemu/libplugin_sdl.so
  /usr/lib/dosemu/libplugin_term.so

I.e the same that happened for you, and similar to what happened to me
on FC6/x86-64 before, so I modified the dosemu.spec file at the time:

--- dosemu.spec~        2007-11-14 10:02:47.000000000 +0100
+++ dosemu.spec 2007-11-14 10:02:47.000000000 +0100
@@ -21,7 +21,7 @@
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
-./configure --prefix=%{_prefix} --mandir=%{_mandir} --with-fdtarball=%{_sourcedir}/dosemu-freedos-bin.tgz +%configure --sysconfdir=/etc/dosemu --with-fdtarball=%{_sourcedir}/dosemu-freedos-bin.tgz
make
%install
mkdir -p $RPM_BUILD_ROOT%{_bindir}

I.e. so it uses the system specified directories for most things,
only the config directory is /etc/dosemu. After this change in
the spec file _only_, I now got the error I quoted, i.e.
open(... , ... | O_CREAT) needs the 3rd (mode) parameter.
I fixed it the the second patch, and the v86dev-dosemu patch
makes dosemu on x86-64 very fast. The patch for vm86dev is
needed to compile it on F8 kernel, and supposedly mainstream
2.6.23[.1] as well.

Best regards,
Zoltán Böszörményi




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux