LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-20-2018, 02:03 PM   #1
k.king
Member
 
Registered: Oct 2005
Posts: 86

Rep: Reputation: 16
Steps to compile Dosemu from Debian 9 sources


I've downloaded the various source packages for dosemu on deb9 and made a small change I wanted. What steps do I take to recompile it so it includes the contents of the debian patch folder?

If I compile just the dosemu it compiles but complains about not finding things in folders it expects. This seems to be covered by some changes in the debian patches archive.

What steps do I take to apply those patches before I recompile?
I tried to run patch < command but it complained about not find source to amend?
K.
 
Old 08-21-2018, 06:44 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,258

Rep: Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457
would be nice to post exactly what did you download, what did you change, what did you try, what's happened. Exactly. Otherwise noone will tell you anything else just: the error occurred in line 34.
http://catb.org/~esr/faqs/smart-ques...html#beprecise
 
Old 08-21-2018, 12:18 PM   #3
k.king
Member
 
Registered: Oct 2005
Posts: 86

Original Poster
Rep: Reputation: 16
tbh, what I really wanted was guidance on what Debian expects you to do .... They provide the original source package and a separate archive with their patches which appear to have a preset structure to them. If I have something to follow and then get errors in that process, then I can be specific.
K.
 
Old 08-21-2018, 01:32 PM   #4
k.king
Member
 
Registered: Oct 2005
Posts: 86

Original Poster
Rep: Reputation: 16
This is the sort of thing I was looking for
https://wiki.debian.org/BuildingTutorial
and in particular around
https://wiki.debian.org/BuildingTuto...ithout_changes
I need to follow it through but I'm assuming the command
debuild -b -uc -us
takes care of bringing in those pre-existing debian patches, as just using make in the dosemu folder is compiling the pure dosemu code without the debian patches. It looks like it is geared to creating a new .deb package which I could live with, though I was just wanting to recompile dosemu with the debian specific patches and a test modification I want to try.
K.
 
Old 08-22-2018, 12:57 AM   #5
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,258

Rep: Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457
you need to learn google: http://www.dosemu.org/docs/HOWTO/
 
Old 08-22-2018, 01:43 PM   #6
k.king
Member
 
Registered: Oct 2005
Posts: 86

Original Poster
Rep: Reputation: 16
really ....
Your link (which is quite dated) does not address the specific question I had about rebuilding the source as provided by Debian and incorporating the patches they provide.
K.
 
Old 08-22-2018, 06:43 PM   #7
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 792

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
The following command should download the source package and apply all patches. You can then make your code changes and compile by following the directions in the README or INSTALL file.
Code:
$ apt-get source dosemu
See the man page for apt-get: https://manpages.debian.org/stretch/...-get.8.en.html
 
Old 08-23-2018, 12:55 AM   #8
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,258

Rep: Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457Reputation: 5457
Quote:
Originally Posted by k.king View Post
really ....
Your link (which is quite dated) does not address the specific question I had about rebuilding the source as provided by Debian and incorporating the patches they provide.
K.
I still have no idea what are you want [to achieve]. And still no information about what did you download, what did you try, what's happened and actually how is it related to debian at all....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what are the Steps to compile and configure kernel bskumar7080 Linux - Kernel 2 09-23-2009 01:14 AM
compile gcc in steps Pete Dogg Linux - Software 5 09-19-2007 09:47 AM
success: compile dosemu bioe007 Slackware 7 05-03-2007 02:14 AM
Debian sarge sources.list e apt-get, first steps Zingaro2002 Debian 10 05-22-2006 08:28 AM
So what are the steps to compile 2.6.0? CodeWarrior Slackware 15 12-25-2003 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration