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

Re: UNable to configure my package

thanks for the reply
i want to add some information that i m using a cross compilation tool
All the source code i have installed in scratchbox is using make install
(not from the deb packages)
So if i want to convert an application to deb package, first i need to
convert all other source code  (becoz i have made changes to them according
to my requirement) that i have installed using make install, otherwise i
wouldn't be able to make a deb package.

thanks and regards

Neil Williams-4 wrote:
> On Wed, 26 Sep 2007 00:22:16 -0700 (PDT)
> varun_shrivastava <varun.celunite@gmail.com> wrote:
>> hi
>> i have made a package which is a simple gtk application.
>> it depends on gtk-directfb-2.0.so.0 ,
>> i included this library in the depends field in control file.
> That should be the -dev version of that package.
> libgtk-directfb-2.0-dev
>> after creating the package when i try to install it using dpkg -i 
>> it displays following error
>> dpkg: dependency problems prevent configuration of clock:
>>  clock depends on libgtk-directfb-2.0 (>= 2.2); however:
>>   Package libgtk-directfb-2.0 is not installed.
> $ sudo apt-get install libgtk-directfb-2.0-0
>> the package is installed at /usr/local/lib but i did a make install
> You should not mix packaging systems - you still need to install the
> libgtk-directfb-2.0-dev binary package (which will bring in the
> libgtk-directfb-2.0-0 package as a dependency) using dpkg (via apt or
> aptitude). You must also ensure that your package builds against this
> version so that it will build on other Debian systems, including the
> autobuilders. dpkg cannot be expected to work with software that is
> installed directly from upstream source instead of from a Debian binary.
>> for this
>> library, i haven't installed it from a gtk-directfb package.
> Why not? You need to install the package in order to install any
> packages that use it.
>> Also i found
>> that as i have manually installed it, there is no gtk.shlibs file at
>> /var/lib/dpkg/info/, so i manually wrote a shlibs.local file in debian/
>> directory for my package.
>> but still i get this error
> Stop working around the lack of the Debian binary - install the binary
> from the Debian mirrors and if your package doesn't build against it,
> fix your package so that it does. If there is a bug in the Debian
> package that prevents your package from working, rebuild
> libgtk-directfb-2.0-0 from source, create a patch to fix that bug and
> report it to the Debian bug tracking system.
> You cannot expect to be able to install your package via dpkg if you
> have not also installed *all* the dependencies of that package via dpkg.
> Either you use:
> Debian --> libgtk-directfb-2.0-0 (/usr/local/) --> clock (/usr/local)
> or
> Debian ==> libgtk-directfb-2.0-0 (Debian) ==> clock (dpkg install)
> You cannot expect it to work as:
> Debian --> libgtk-directfb-2.0-0 (/usr/local/) ==> clock (dpkg install)
> (where --> represents building the upstream source directly and 
> ==> represents installing a Debian package.)
> -- 
> Neil Williams
> =============
> http://www.data-freedom.org/
> http://www.nosoftwarepatents.com/
> http://www.linux.codehelp.co.uk/

View this message in context: http://www.nabble.com/UNable-to-configure-my-package-tf4520501.html#a12897220
Sent from the debian-dpkg mailing list archive at Nabble.com.

Reply to: