Re: Recompile source after error
THANK YOU VERY MUCH Bijan! Good and helpful guys like you make this mlist a friendly learning environment. So newbies will not feel so pathetic and be driven away by some unprovoked harsh words. You set a true and good example to distinguish between a helpful respond and a truly helpful one. Thank you, from me and for all newbies like me. tong FYI. - I've been using Linux ever since RH6.2, and just shifted to Debian recently. - The reason I want to recompile Emacs is that I don't like its Windose scrollbar behavior, and want to restore it to X-windows default, just like what xterm's behavior. I've been doing so in RedHat ever since I lost that feature by default. On Wed, 07 Jul 2004 23:07:31 -0400, Bijan Soleymani wrote: Thomas Adam [EMAIL PROTECTED] writes: First here's the real answer to the question. There is a document on the debian webpage called the Debian New Maintainers' Guide. It describes the basics of making a deb package. The part you want is the quick rebuild of the build chapter at: http://www.debian.org/doc/maint-guide/ch-build.en.html#s-quickrebuild 6.2 Quick rebuild With a large package, you may not want to rebuild from scratch every time while you tune a detail in debian/rules. For testing purposes, you can make a .deb file without rebuilding the upstream sources like this: fakeroot debian/rules binary Once you are finished with your tuning, remember to rebuild following the above, proper procedure. You may not be able to upload correctly if you try to upload .deb files built this way. And now for the reply to the reply, --- * Tong* [EMAIL PROTECTED] wrote: Hi, I was trying to compile the emacs from source deb package. The compilation stopped in the middle because of some error. Well, let' see: a) Why on earth are you doing this? What could the kitchen sink of all editors possible *not* have pre-compiled into it that would cause you to want to re-compile emacs? The packaged binary works wonders (if you like Emacs), and there are a bazillion addons if the core-set wasn't enough for you. He just wants to. Maybe he wants to add support for mongolian, or compile in gtk support, etc. b) Since you don't bother saying what the errors were, how the hell can anyone help? He doesn't want help with the simple error, he can fix the error, he wants to know how he can resume compilation without it restarting from the beginning. If I use dpkg-buildpackage, everything will be started all over again. Which command I can use to start from where I was left? If you are unfamiliar with compiling applications you couldn't have picked a harder application. He isn't unfamiliar with compiling applications, he's unfamiliar with compiling debs froms source debs. I want to duplicate the error, fix it and continue on. That statement is contradictory. I suggest you install the binary, and stop this idiocy. He wants to rerun the compilation from the point it failed, note the error, fix the error, then rerun the compilation from that point. He doesn't want compilation restarting each time. Bijan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Recompile source after error
--- * Tong* [EMAIL PROTECTED] wrote: Hi, I was trying to compile the emacs from source deb package. The compilation stopped in the middle because of some error. Well, let' see: a) Why on earth are you doing this? What could the kitchen sink of all editors possible *not* have pre-compiled into it that would cause you to want to re-compile emacs? The packaged binary works wonders (if you like Emacs), and there are a bazillion addons if the core-set wasn't enough for you. b) Since you don't bother saying what the errors were, how the hell can anyone help? If I use dpkg-buildpackage, everything will be started all over again. Which command I can use to start from where I was left? If you are unfamiliar with compiling applications you couldn't have picked a harder application. I want to duplicate the error, fix it and continue on. That statement is contradictory. I suggest you install the binary, and stop this idiocy. -- Thomas Adam = The Linux Weekend Mechanic -- http://linuxgazette.net TAG Editor -- http://linuxgazette.net shrug We'll just save up your sins, Thomas, and punish you for all of them at once when you get better. The experience will probably kill you. :) -- Benjamin A. Okopnik (Linux Gazette Technical Editor) ___ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself http://uk.messenger.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Recompile source after error
Thomas Adam [EMAIL PROTECTED] writes: First here's the real answer to the question. There is a document on the debian webpage called the Debian New Maintainers' Guide. It describes the basics of making a deb package. The part you want is the quick rebuild of the build chapter at: http://www.debian.org/doc/maint-guide/ch-build.en.html#s-quickrebuild 6.2 Quick rebuild With a large package, you may not want to rebuild from scratch every time while you tune a detail in debian/rules. For testing purposes, you can make a .deb file without rebuilding the upstream sources like this: fakeroot debian/rules binary Once you are finished with your tuning, remember to rebuild following the above, proper procedure. You may not be able to upload correctly if you try to upload .deb files built this way. And now for the reply to the reply, --- * Tong* [EMAIL PROTECTED] wrote: Hi, I was trying to compile the emacs from source deb package. The compilation stopped in the middle because of some error. Well, let' see: a) Why on earth are you doing this? What could the kitchen sink of all editors possible *not* have pre-compiled into it that would cause you to want to re-compile emacs? The packaged binary works wonders (if you like Emacs), and there are a bazillion addons if the core-set wasn't enough for you. He just wants to. Maybe he wants to add support for mongolian, or compile in gtk support, etc. b) Since you don't bother saying what the errors were, how the hell can anyone help? He doesn't want help with the simple error, he can fix the error, he wants to know how he can resume compilation without it restarting from the beginning. If I use dpkg-buildpackage, everything will be started all over again. Which command I can use to start from where I was left? If you are unfamiliar with compiling applications you couldn't have picked a harder application. He isn't unfamiliar with compiling applications, he's unfamiliar with compiling debs froms source debs. I want to duplicate the error, fix it and continue on. That statement is contradictory. I suggest you install the binary, and stop this idiocy. He wants to rerun the compilation from the point it failed, note the error, fix the error, then rerun the compilation from that point. He doesn't want compilation restarting each time. Bijan -- Bijan Soleymani [EMAIL PROTECTED] http://www.crasseux.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]