launchpad-users team mailing list archive
-
launchpad-users team
-
Mailing list archive
-
Message #07133
Packaging a library and an app/lib
I am new to packaging (just built my first Ubuntu packages this week) and have
some questions about libraries.
1. I'm trying to package a library called plytapus. I told dh_make it's a
library, edited files in debian, and ran debuild. Here's the tail of the
output:
make[2]: Leaving directory '/home/phma/package/plytapus-0.6.0/obj-x86_64-
linux-gnu'
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "None"
-- Installing: /home/phma/package/plytapus-0.6.0/debian/tmp/usr/lib/
libplytapus.so.0.6.0
-- Installing: /home/phma/package/plytapus-0.6.0/debian/tmp/usr/lib/
libplytapus.so
-- Installing: /home/phma/package/plytapus-0.6.0/debian/tmp/usr/lib/
libplytapus.a
-- Installing: /home/phma/package/plytapus-0.6.0/debian/tmp/usr/include/
plytapus.h
-- Installing: /home/phma/package/plytapus-0.6.0/debian/tmp/usr/include/
plytapus/config.h
-- Installing: /home/phma/package/plytapus-0.6.0/debian/tmp/usr/include/
plytapus/textio.h
make[1]: Leaving directory '/home/phma/package/plytapus-0.6.0/obj-x86_64-
linux-gnu'
dh_install
dh_install: Cannot find (any matches for) "usr/lib/*/lib*.so" (tried in .,
debian/tmp)
dh_install: plytapus-dev missing files: usr/lib/*/lib*.so
dh_install: Cannot find (any matches for) "usr/lib/*/pkgconfig/*" (tried in .,
debian/tmp)
dh_install: plytapus-dev missing files: usr/lib/*/pkgconfig/*
dh_install: Cannot find (any matches for) "usr/share/pkgconfig/*" (tried in .,
debian/tmp)
dh_install: plytapus-dev missing files: usr/share/pkgconfig/*
dh_install: missing files, aborting
make: *** [debian/rules:18: binary] Error 255
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned
exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
Why didn't it find libplytapus.so? What's supposed to be in pkgconfig?
2. Another program I'd like to package is Quadlods. This can be used two ways:
as a library by C++ programs, and as an application, which can be run by apps
in any language by talking on a socket. Should I tell dh_make it's a library
or an application?
Pierre
--
.i toljundi do .ibabo mi'afra tu'a do
.ibabo damba do .ibabo do jinga
.icu'u la ma'atman.
Follow ups