[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Library packages and build dependencies



Hi all,

I am relatively new to building my own packages (previously I have been
able to just alter sources from the main debian archives to suit my
needs when I needed something customised) and I am having a couple of
"issues". 

I am stuck in a situation where I am having to build specific point
release packages using upstream sources, there are no debian source
packages available for the specific releases I have to match and some of
the packages are dependant on other customised packages (also for which
there are no debianised sources). I have managed to get the things to
build against one another but I keep getting a situation where debhelper
is pulling some dependencies from older libraries installed on the build
system (in particular pulling libpq3 from the build environment rather
than the libpq4 that has been compiled elsewhere). 

I was going to try and fix this by building the specific lib and -dev
packages and installing them in the build environment, but I can't seem
to figure it out. When I look a other peoples packaging I notice that
the lib and -dev packages (lets say for postsgresql-8.1 - libpq4 and
libpq-dev) have their sources listed as the same .tar.gz, .diff.gz
and .dsc that builds the main binary packages. I can't see any listing
for these packages in the debian/control file and I can't see how they
should be built using the debian/rules file. I have tried tweaking the
Build

Have I missed something big here? Is there a straight forward way to
build the lib and -dev packages? or  alternately tell debhelper exactly
what the dependencies should look like? 

I get the feeling that this should be easy to deal with by compiling the
library packages and installing them so that debhelper can find things
in the right place, I am just a little unsure on how to do this.

Thanks in advance.
-- 

Nikolai Lusan
Systems Administrator

Hitwise Pty. Ltd.
Level 7 / 580 St Kilda Road
Melbourne, Victoria 3004
Australia
Phone: +61 3 8530 2400
Fax:  +61 3 9529 8907
www.hitwise.com.au
nikolai.lusan@hitwise.com


Worldwide:  •  United States  •  United Kingdom  •  Australia  •  New
Zealand  •  Singapore  •  Hong Kong 

To subscribe to our complimentary monthly newsletter, visit:
http://www.hitwise.com.au/

The information transmitted may be confidential, is intended only for
the person to which it is addressed, and may not be reviewed,
retransmitted, disseminated or relied upon by any other persons. If you
received this message in error, please contact the sender and destroy
any paper or electronic copies of this message. Any views expressed in
this email communication are those of the individual sender, except
where the sender specifically states otherwise. Hitwise does not
represent, warrant or guarantee that the communication is free of
errors, virus or interference.



Reply to: