LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-10-2005, 06:06 AM   #1
neocookie
Member
 
Registered: Apr 2004
Location: Leeds, UK
Distribution: FC1, FC2, Debian
Posts: 308

Rep: Reputation: 30
Question dpkg-buildpackage: passing ./configure options?


Hi all

I'm using dpkg-buildpackage to auto build a copy of lighttpd for use on my system.

It works great, though I need to pass some commands to ./configure to enable some modules not enabled by default.

Can anyone tell me how I'd do this?

Thanks
 
Old 08-10-2005, 01:41 PM   #2
lpd
Member
 
Registered: Nov 2004
Distribution: Debian Unstable
Posts: 77

Rep: Reputation: 15
I think you'd need to make a modified lighttpd_version.diff.gz because IIRC dpkg-buildpackage will unpack lighttpd_version.orig.tar.gz in a temporary build directory and then apply the lighttpd_version.diff.gz before starting the build.
I haven't really dug into the debian package build process, maybe there are some dpkg tools or environment options that you could use.
 
Old 08-10-2005, 02:29 PM   #3
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
I don't know about builing packages from scratch, but if you are builidng from a source package you should edit the following file in the source directory: DEBIAN/rules
 
Old 08-27-2008, 09:20 PM   #4
th3g1vr
LQ Newbie
 
Registered: Aug 2008
Location: Willow Glen, CA
Distribution: Linux (in other words all of them!)
Posts: 1

Rep: Reputation: 0
Thumbs up confirmed- editing ./DEBIAN/rules works like a charm!

Quote:
Originally Posted by saman007uk View Post
I don't know about builing packages from scratch, but if you are builidng from a source package you should edit the following file in the source directory: DEBIAN/rules
saman007uk@ since it seems no one else has, I'd like to say thank you- your advice was really helpful. In my case, I wanted to build the latest nightly of VLC (to-be 1.0 (GoldenEye)- Intrepid), and I got an error due to Intrepid not having a new enough version of live555, which I don't use anyway. taking your advice; nano ./vlc-1.0.0-git/debian rules --> changed --enable-live555 \ to --disable-live555 \ , and everything went smoothly after that. this is something worth remembering, thanks!

neocookie@ I know I'm 3 years late on this comeback (though it can't be helped, since the need wasn't presented until now) -- I found this answer thanks to your thread, especially thanks to saman007uk, but ultimately, google. the key to finding these kind of things via google (IMLE) is to seek out results that are on forums and blogs. 99% of the poweruser/linux problems I've had (and couldn't solve on my own) were solved through google search results, with 70% of the answers found tnrough forums like LQ, and ~29 % through blogs. (the remaining 1 % was through IRC)

Last edited by th3g1vr; 08-27-2008 at 09:30 PM. Reason: accounting for slightly unrelated information; IMO
 
  


Reply

Tags
compiling, configure, debian, flags, google, linux, rules, snapshot, vlc



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
problem with dpkg-buildpackage cottonmouth Debian 0 12-12-2004 02:34 PM
Where can I learn about dpkg-buildpackage? Durham Debian 1 02-29-2004 11:12 AM
passing options to build-in-modules nielchiano Linux - General 4 02-17-2004 11:40 PM
Shell script problems, passing options to gcc usernamed Programming 2 09-10-2003 06:47 AM
Passing options using k3b vexer Linux - General 1 06-06-2003 03:19 PM

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

All times are GMT -5. The time now is 07:43 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