ora siccome il sorgente è uno mi chiedo come posso creare anche io tanti piccoli pacchetti?bluez
bluez-alsa
bluez-gstreamer
bluez-gnome
bluez-cups
...
questo è il configure
Codice: Seleziona tutto
paolo@paolo-desktop:~/Scrivania/bluez-4.29$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc accepts -fPIE... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to build gtk-doc documentation... no
checking for gtkdoc-check... no
checking for ppoll... yes
checking for dlopen in -ldl... yes
checking for DBUS... yes
checking for dbus_watch_get_unix_fd in -ldbus-1... yes
checking for GLIB... yes
checking for ALSA... yes
checking for clock_gettime in -lrt... yes
checking for GSTREAMER... yes
checking for USB... yes
checking for usb_get_busses in -lusb... yes
checking for usb_interrupt_read in -lusb... yes
checking for NETLINK... yes
checking for SNDFILE... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating lib/Makefile
config.status: creating gdbus/Makefile
config.status: creating common/Makefile
config.status: creating sbc/Makefile
config.status: creating src/Makefile
config.status: creating client/Makefile
config.status: creating plugins/Makefile
config.status: creating network/Makefile
config.status: creating serial/Makefile
config.status: creating input/Makefile
config.status: creating audio/Makefile
config.status: creating tools/Makefile
config.status: creating rfcomm/Makefile
config.status: creating compat/Makefile
config.status: creating scripts/Makefile
config.status: creating cups/Makefile
config.status: creating test/Makefile
config.status: creating doc/Makefile
config.status: creating doc/version.xml
config.status: creating bluez.pc
config.status: creating config.h
config.status: executing depfiles commands EDIT:ora se ad esempio entro nella cartella audio dopo averla rinominata bluez-alsa-4.29 la costruzione del pacchetto fallisce
Codice: Seleziona tutto
paolo@paolo-desktop:~/Scrivania/bluez-4.29/bluez-alsa-4.29$ debuild binary
# Add here commands to compile the arch part of the package.
#/usr/bin/make
touch build-arch-stamp
dh_testdir
dh_testroot
dh_clean -k -s
dh_installdirs -s
# Add here commands to install the arch part of the package into
# debian/tmp.
/usr/bin/make DESTDIR=/home/paolo/Scrivania/bluez-4.29/bluez-alsa-4.29/debian/bluez-alsa install
make[1]: Entering directory `/home/paolo/Scrivania/bluez-4.29/bluez-alsa-4.29'
/usr/bin/make install-am
make[2]: Entering directory `/home/paolo/Scrivania/bluez-4.29/bluez-alsa-4.29'
/bin/bash ../libtool --tag=CC --mode=link gcc -I/usr/include/alsa -I../include -I../sbc -Wall -O2 -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -fPIC -module -avoid-version -export-symbols-regex [_]*snd_pcm_.* -pie -o libasound_module_pcm_bluetooth.la -rpath /usr/local/lib/alsa-lib libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo libasound_module_pcm_bluetooth_la-ipc.lo ../sbc/libsbc.la ../lib/libbluetooth.la -lasound -lrt
libtool: link: cannot find the library `../sbc/libsbc.la' or unhandled argument `../sbc/libsbc.la'
make[2]: *** [libasound_module_pcm_bluetooth.la] Error 1
make[2]: Leaving directory `/home/paolo/Scrivania/bluez-4.29/bluez-alsa-4.29'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/paolo/Scrivania/bluez-4.29/bluez-alsa-4.29'
make: *** [install-arch] Error 2
debuild: fatal error at line 1311:
couldn't exec fakeroot debian/rules:
paolo@paolo-desktop:~/Scrivania/bluez-4.29/bluez-alsa-4.29$
