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



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux