Comments (19)
Debian probably has bsd-compatible install,
and not a gnu install.
I added a possible fix.
Please update and try again.
from comcom64.
Hi @TerryTRSPanda, does Debian provide a PPA facility as I looked a while ago and didn't find anything? In the meantime our wiki has details on how to build proper packages for Debian, see https://github.com/dosemu2/dosemu2/wiki/Building-packages-for-Debian
from comcom64.
Oh there's a checkinstall and with instructions for the commandcom file. Oh I think this deb build instruction will save so much headaches with playing with fire with FrankenDebian. Thank you for telling me about these instructions. Most Debian users aren't scared of compiling or the CLI, but it's good practice to limit make installs. I'll try it when I'm energized, I had a busy day.
from comcom64.
The commandcom32 instructions seem to be broken
`sudo make checkinstall
checkinstall --nodoc -y -D make install PREFIX=/usr
checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
**** Debian package creation selected ***
This package will be built according to these values:
0 - Maintainer: [ root@Dobby ]
1 - Summary: [ 32bit command.com ]
2 - Name: [ comcom32 ]
3 - Version: [ 20230423 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ checkinstall ]
7 - Architecture: [ amd64 ]
8 - Source location: [ comcom32 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Recommends: [ ]
12 - Suggests: [ ]
13 - Provides: [ comcom32 ]
14 - Conflicts: [ ]
15 - Replaces: [ ]
Enter a number to change any of them or press ENTER to continue:
Installing with make install PREFIX=/usr...
========================= Installation results ===========================
make[1]: Entering directory '/home/user/src/comcom32'
install -D -t /usr/share/comcom32 -m 0644 comcom32.exe
install: cannot create directory '/usr/share/comcom32': No such file or directory
make[1]: *** [Makefile:51: install] Error 1
make[1]: Leaving directory '/home/user/src/comcom32'
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
make: *** [Makefile:71: checkinstall] Error 1
`
from comcom64.
install: cannot create directory '/usr/share/comcom32': No such file or directory
Suggests to me that /usr/share doesn't exist.
from comcom64.
Doesn't matter because:
-D create all leading components of DEST except the last, or all
components of --target-directory, then copy SOURCE to DEST
It creates with parent.
Obviously an attempt to create anything
wasn't done.
from comcom64.
Mmm, how weird!
from comcom64.
Not so much given that I already switched
fdpp and dosemu2 to the bsd-compatible
syntax of install. comcom32 was forgotten.
from comcom64.
The issues with building in Debian in the replies like the ones between my last reply and this reply is why a Debian PPA might be a good idea. I imagine if issues like this didn't happen with me, they would eventually happen with someone else and they probably happened to others before and just went unreported. I've known how to compile software for over 14 years and I never had an account on any revision control based website.
from comcom64.
Debian probably has bsd-compatible install, and not a gnu install. I added a possible fix. Please update and try again.
Oh you were telling me to rebuild, sorry just woke up. It worked and thanks. I've also heard a big problem with assuming GNU and not actual POSIX standards is stuff like this happens on BSD. GNU doesn't really adhere to the UNIX Philosophy.
from comcom64.
I got a build error on dosemu
`---------------------------------DONE Installing-------------------------------
- You can type 'dosemu' to run DOSEMU2.
make[2]: Leaving directory '/home/user/src/dosemu2/build/src'
make[1]: Leaving directory '/home/user/src/dosemu2/build'
dh_install -O--builddirectory=build
dh_installdocs -O--builddirectory=build
dh_installchangelogs -O--builddirectory=build
dh_installman -O--builddirectory=build
dh_installinit -O--builddirectory=build
dh_installsystemduser -O--builddirectory=build
dh_perl -O--builddirectory=build
dh_link -O--builddirectory=build
dh_installxfonts -O--builddirectory=build
dh_strip_nondeterminism -O--builddirectory=build
dh_compress -O--builddirectory=build
dh_fixperms -O--builddirectory=build
dh_missing -O--builddirectory=build
dh_strip -O--builddirectory=build
dh_makeshlibs -O--builddirectory=build
debian/rules override_dh_shlibdeps
make[1]: Entering directory '/home/user/src/dosemu2'
dh_shlibdeps -X.so
dh_shlibdeps -- -dRecommends -pshlibs-
dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/fdpp/libfdpp.so.32.9 (used by debian/dosemu2/usr/lib/dosemu/libplugin_fdpp.so)
Hint: check if the library actually comes from a package.
dh_shlibdeps: error: dpkg-shlibdeps -Tdebian/dosemu2.substvars -dRecommends -pshlibs- debian/dosemu2/usr/bin/mkfatimage16 debian/dosemu2/usr/bin/dosdebug debian/dosemu2/usr/bin/dosemu.bin debian/dosemu2/usr/lib/dosemu/libplugin_fluidsynth.so debian/dosemu2/usr/lib/dosemu/libplugin_fdpp.so debian/dosemu2/usr/lib/dosemu/libplugin_json.so debian/dosemu2/usr/lib/dosemu/libplugin_sdl.so debian/dosemu2/usr/lib/dosemu/libplugin_libao.so debian/dosemu2/usr/lib/dosemu/libplugin_console.so debian/dosemu2/usr/lib/dosemu/libplugin_XKmaps.so debian/dosemu2/usr/lib/dosemu/libplugin_alsa.so debian/dosemu2/usr/lib/dosemu/libplugin_term.so debian/dosemu2/usr/lib/dosemu/libplugin_ladspa.so debian/dosemu2/usr/lib/dosemu/libplugin_gpm.so debian/dosemu2/usr/lib/dosemu/libplugin_X.so debian/dosemu2/usr/lib/dosemu/libplugin_lpt.so debian/dosemu2/usr/lib/dosemu/libplugin_slirp.so returned exit code 25
dh_shlibdeps: error: Aborting due to earlier error
make[1]: *** [debian/rules:20: override_dh_shlibdeps] Error 25
make[1]: Leaving directory '/home/user/src/dosemu2'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -i -b failed
make: *** [Makefile:65: deb] Error 29
`
from comcom64.
The issues with building in Debian in the replies like the ones between my last reply and this reply is why a Debian PPA might be a good idea.
I don't think anyone is questioning that. Ubuntu provides its Launchpad to create the PPA, Fedora has copr, so if Debian has something similar I'd be happy to add the receipe to make it happen. As yet I know of no Debian equivalent?
from comcom64.
The issues with building in Debian in the replies like the ones between my last reply and this reply is why a Debian PPA might be a good idea.
I don't think anyone is questioning that. Ubuntu provides its Launchpad to create the PPA, Fedora has copr, so if Debian has something similar I'd be happy to add the receipe to make it happen. As yet I know of no Debian equivalent?
Debian has PPAs, Debian just has the old way. Debian doesn't use apt-add-repo, you have to manually edit a sources.list config file and tell apt to add a key file so apt doesn't yell at you for adding an unsigned repo. It will work without a key though, apt will just tell the user it's a bad idea.
from comcom64.
dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/fdpp/libfdpp.so.32.9 (used by debian/dosemu2/usr/lib/dosemu/libplugin_fdpp.so)
Hint: check if the library actually comes from a package.
This probably means dh_makeshlibs didn't
work when fdpp package was built.
@skitt maybe you can hint me what is it?
from comcom64.
Creating a Debian repo is not a great task, but populating it with the packages is. That's why I was looking for a solution like Ubuntu's Launchpad which tracks our git repositories, builds and uploads packages to the PPA several times per day.
from comcom64.
Maybe for future reference we can request Debian include Dosemu2 in future repos. But I'd settle for pre-built debs for now.
from comcom64.
dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/fdpp/libfdpp.so.32.9 (used by debian/dosemu2/usr/lib/dosemu/libplugin_fdpp.so) Hint: check if the library actually comes from a package.
This probably means dh_makeshlibs didn't work when fdpp package was built. @skitt maybe you can hint me what is it?
It did work, but the build picked up libfdpp
from /usr/local/lib/fdpp
rather than /usr/lib/fdpp
. Deleting /usr/local/lib/fdpp
and restarting the dosemu2
build should fix things.
from comcom64.
Ah, good catch!
I need to add that because fdpp uses
rpath, rebuilding dosemu2 package
might be needed after sudo make uninstall
of fdpp.
from comcom64.
So I tried removing fdpp and got another build error with dosemu and I rebuilt fdpp and got the old build error back.
from comcom64.
Related Issues (20)
- DIR with non existent drive returns spurious result HOT 2
- disable CI for entire branch HOT 2
- CD changes drive
- SET accepts any switch letter as meaning /P switch HOT 1
- pipes do not handle prog args
- suppress Runtime error 200 HOT 5
- setting date and time
- saveable history buffer
- Unable to manually set time or date with comcom32 HOT 2
- COMCOM32 wildcard not working
- Continue on error? HOT 1
- Odd trailing character on version string HOT 20
- implement toclip-alike winoldap support HOT 1
- command completion should account for BAT EXE COM files
- `README.md`'s links to build tools does not work. Where to find `dj64-gcc`? HOT 5
- LFN: too many dirs open HOT 3
- copy con file doesn't work HOT 4
- Too many parameters error HOT 1
- Dosemu tests failing on FDPP with Comcom HOT 4
- Openwatcom Wmake not creating FreeCOM config file HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comcom64.